16,017,261 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by OneInNineMillion (Top 19 by date)
OneInNineMillion
17-Jan-13 5:00am
View
Maybe it interprets 0 as Null?
Sorry but I don't know nearly enough to properly answer your question.
OneInNineMillion
17-Jan-13 4:53am
View
Please edit your OP to remove the code block. That would make it easier to read.
OneInNineMillion
17-Jan-13 4:51am
View
A couple of questions you might want to answer to let us help you better:
Where do you want to store the database?
What does the application do? What kind of use do you expect?
I ask these things because if you want your database to be constantly available and on your PC it might slow your PC down.
I'm sorry I can't provide you with an answer, but I hope the next person will be able to do that. Editing your original post to answer these questions might help that person.
OneInNineMillion
17-Jan-13 3:52am
View
That link seems very helpful. The code doesn't seem to do what's suggested on the other forums though.
Darn ListBoxes, I would just avoid using them lol. Pro approach. Challenge Avoided!
OneInNineMillion
17-Jan-13 3:43am
View
I see now you should have included a line like this (somewhere in your Public Class Form1):
Dim Timer1 As New Timer
And I would recommend setting the interval before enabling the timer.
OneInNineMillion
17-Jan-13 3:31am
View
Nice response. I wonder if there would be a way to close all existing messageboxes before showing a new one. That would prevent the creation of a stack of messageboxes (what is warned for in Solution 1 by SA).
I've tried working out how to close all existing messageboxes but didn't succeed in learning how to do that.
Code-wise this is as far as I got:
For Each Item in Controls
If Item.GetType [something here] Then
'' Closing of MessageBox here
End If
Next
If anyone could explain to me how a MessageBox could/should/would be closed (in code), I would greatly appreciate that.
OneInNineMillion
17-Jan-13 3:03am
View
In response to your question about ProcessLine:
ProcessLine seems to be a custom Sub here.
Crappy example to point out the obvious:
Dim TotalChars As Integer = 0
Private Sub ProcessLine(ByVal LineOfText As String)
TotalChars = TotalChars + LineOfText.Count
End Sub
In this case ProcessLine would help you count the total amount of chars in your file.
Hope that was helpful.
OneInNineMillion
9-Jan-13 14:44pm
View
Agreed.
@ sarathsprakash: It would be very helpful if you could show us what you have so far (code) so we can help you from there.
OneInNineMillion
8-Jan-13 0:33am
View
Awesome, that solved my problem. Thanks for explaining too.
OneInNineMillion
8-Jan-13 0:19am
View
Is this because my program will eventually use more memory if I keep declaring new variables and objects each time (for example) I call a function?
OneInNineMillion
8-Jan-13 0:18am
View
I'm not to worried about the "random sequence" not really being random. The only thing that bothers me really is that I get two identically shuffled decks of cards. I was wondering if there was an easy way to make sure the two decks end up being shuffled differently from each other. Maybe by taking the default time as a seed for one sequence and the time + 1 as a seed for the other.
OneInNineMillion
11-Dec-12 6:34am
View
I'm sorry but I don't know how to work with classes myself, I'll have to look into that :)
I thought maybe you had the same assignment as I once had in class(school) so that's why I got confused
OneInNineMillion
11-Dec-12 5:52am
View
Is this a homework assignment? You're supposed to create your own calculator with basic functionality?
I know I've had that assignment a while back.
If this is the case, please give it your best and feel free to return here anytime with any questions/problems you run into.
OneInNineMillion
11-Dec-12 4:40am
View
sender refers to the button. solved it myself through simple logic. Sorry for bothering you guys. I need to be less lazy...
OneInNineMillion
11-Dec-12 4:38am
View
hmm. Me refers to the form, not the button..
OneInNineMillion
10-Dec-12 7:20am
View
Awesome, I'm so going to mess with the order of things there :P
I've run out of questions at the moment, so ...
A final thanks to you and goodbye for now
OneInNineMillion
10-Dec-12 6:35am
View
Thanks again, I learned something today... I now looked at the the error message's exception detail, kind of understand it. so I have another question: I saw a line in the stackTrace which ended like this: ...\Form1.vb:line 75
another line in the stackTrace ended like this: ...\Form1.Designer.vb:line 103
I don't know where to look for that second (Designer) line in my files/wherever
Also, I 'fixed' my problem with a boolean and a if-statement so the sub triggered by the SelectedValue changed event doesn't do anything.
I now understand why I was getting the error message, and can start trying to further fix things. Thanks a lot for your help!
OneInNineMillion
10-Dec-12 5:49am
View
Thanks for the Reply. I don't know anything about the constructor and I have a question. Could it be that the constructor (I suppose it 'constructs' the form before the Load event is even initiated) triggers a SelectedValue or CheckedChanged event?
I'm driving myself mad with this sites controls lol! I just hope I put it in the right place this time.. gosh..
OneInNineMillion
10-Dec-12 5:46am
View
Deleted
Thanks for the Reply.
I don't know anything about the constructor and I have a question.
Could it be that the constructor (I suppose it 'constructs' the form before the Load event is even initiated) triggers a SelectedValue or CheckedChanged event?
I'm driving myself mad with this sites controls lol!
Show More