Forum: Visual Basic 4 / 5 / 6 Jan 24th, 2009 |
| Replies: 27 Views: 1,892 hi
try formatting the data before actually submitting it to the database initially... its been a fairly long time since i've done that much with formatting text in visual basic, so i'm not really... |
Forum: Visual Basic 4 / 5 / 6 Jan 14th, 2009 |
| Replies: 7 Views: 1,065 hello zawpai
I don't fully understand, and may have misunderstood your initial problem. You were having problems with the MouseDown event, which you were trying to use to cause your program to run... |
Forum: Visual Basic 4 / 5 / 6 Jan 13th, 2009 |
| Replies: 7 Views: 1,065 MouseDown is when you push the mouse button down... it's not a full click, just when you press the button...
Click is a full click... mouse down / mouse up in close succession over the same object... |
Forum: Visual Basic 4 / 5 / 6 Jan 13th, 2009 |
| Replies: 5 Views: 1,496 Unfortunately, alt isn't a standard key... so you're pretty much going to have to use the key up and key down events if you want full detection of what they're doing...
is key down - alt is... |
Forum: Visual Basic 4 / 5 / 6 Jan 13th, 2009 |
| Replies: 2 Views: 637 hi, i posted about this a while back... should help you out some...
http://www.daniweb.com/forums/thread158280.html |
Forum: Visual Basic 4 / 5 / 6 Jan 13th, 2009 |
| Replies: 7 Views: 1,065 when you say running the application continuously, i'm assuming you mean there's looping going on?
alright... well, there are a few ways you could do it... easiest way might be defining a boolean... |
Forum: Visual Basic 4 / 5 / 6 Nov 26th, 2008 |
| Replies: 10 Views: 1,237 hi,
well, you can't call DataArrival; its an event that fires when you recieve data through that winsock control... you can use it to tell your program what to do with set data, but as far as i... |
Forum: Visual Basic 4 / 5 / 6 Nov 25th, 2008 |
| Replies: 10 Views: 1,237 well, unfortunately i don't remember how to convert an enum to its string value... not sure i ever knew actually ;). anyway; the enum set up for this is
MSWinsockLib.StateConstants
others you... |
Forum: Visual Basic 4 / 5 / 6 Nov 24th, 2008 |
| Replies: 10 Views: 1,237 ambiguous name detected because you have to lead the variable name with a b (naming convention for boolean), otherwise you're matching the sub name completely which works as an abiguity...
as for... |
Forum: Visual Basic 4 / 5 / 6 Nov 23rd, 2008 |
| Replies: 10 Views: 1,237 ... i really need to drink more coffee at night...
ok, since you're using the winsock control, you have a few options you can use... in this case, the name of your control is Winsock2 i think...... |
Forum: Visual Basic 4 / 5 / 6 Nov 23rd, 2008 |
| Replies: 10 Views: 1,237 well, one way to tell what subs were successful and which ones weren't would be to create a set of boolean flags... for example...
private bSomeSub as boolean
private bSomeFunction as boolean
... |
Forum: Visual Basic 4 / 5 / 6 Nov 23rd, 2008 |
| Replies: 23 Views: 1,540 was just wondering about the check for reset... instr will check within String1 for an instance of String2, string2 being reset, if String1 is set to anything including reset, it'll come back as... |
Forum: Visual Basic 4 / 5 / 6 Nov 23rd, 2008 |
| Replies: 23 Views: 1,540 looking at that, wouldn't think so...
alright, unrelated to the form not disapearing... i have a question about your code...
what happens if someone uses presetpass as their password? (or some... |
Forum: Visual Basic 4 / 5 / 6 Nov 22nd, 2008 |
| Replies: 23 Views: 1,540 not a command as far as i know, there use to be a sleep command in qbasic (i think)... but writing a pause sub is doable to say the least... assuming one was written for use with this program, how... |
Forum: Visual Basic 4 / 5 / 6 Nov 20th, 2008 |
| Replies: 1 Views: 465 well; depending on where this image is... if it's within your project - as opposed to an external file - you could print it from whatever image control it's in... if it is an external file you could... |
Forum: Visual Basic 4 / 5 / 6 Nov 20th, 2008 |
| Replies: 2 Views: 433 loop it (any kind of loop will do, if you don't use a For Next loop, just add a counter variable and increment it each time) though i'm assuming you have these employees in an array of some sort..?... |
Forum: Visual Basic 4 / 5 / 6 Nov 20th, 2008 |
| Replies: 5 Views: 484 yeah; i didn't actually give an answer, i just explained the question... if you follow the link the wording of the question could use some work; i did list a way to do part 3, but the method isn't an... |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2008 |
| Replies: 6 Views: 1,725 try using a resource file, you can specify different string sets for different languages... i've not done this before though; but when working with resource files that's one of the primary suggested... |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2008 |
| Replies: 1 Views: 627 well, there are different ways to use the printer; i don't really remember them off hand. the standard way isn't as easy as one would like, but it'll work...
to test this, and save on paper; i... |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2008 |
| Replies: 5 Views: 484 part 1 is basicly just putting the data into the arrays; you can hard code this within the program if you want since the data is fixed for this question. hardcoding data could be set in the form_load... |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2008 |
| Replies: 5 Views: 484 alright, what part aren't you understanding?
part 1 is creating 5 arrays and setting their values somewhere within the program.
part 2 is creating another 3 arrays to store the results of your... |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2008 |
| Replies: 8 Views: 1,511 please ignore the MsgBox x listed within the code...
(edit)Sorry, i didn't notice the edit this post button until just now...(/edit) |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2008 |
| Replies: 8 Views: 1,511 hello; this is probably a bit of an overkill; but when i was thinking about it, then testing it; i didn't actually write the months in the checkboxes. so if you were going to actually list the month... |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2008 |
| Replies: 4 Views: 503 personally, i'd create a type, could be public or private, going to go public for now...
public type lotStyle
stLot as string
cPrice as currency
end type
Public LotStuff() as lotStyle
... |