I bought one of those teensy USB breakout boards to play around with.
http://www.pjrc.com/teensy/index.html
I cant find any info on the web about interfacing this board with VB6 to use for I/O.
Anyone have any experience with this?
Thanks Hypetia!
I was thinking that the loop to set all pins false would take more time then redim.
Once again, I am faced with the lack of knowledge I contain.
I am using an IF statement to set the pin() true, based on the printer port input being true.
If the printer port pin goes low, then...
I am polling my printer port for inputs 10,11,12,13, and 15.
I was wondering which method would be faster?
This one:
_____________________________________________
Global pin(5) as boolean
Dim x as integer
'sub to read printer port
For x = 0 To 5: pin(x) = False: Next x
'code to read port and...
We are all jerks at one time or another, but I would not say you were being a jerk.
I would be a jerk if I turned this forum into something less than what it is by arguing, but I would like to say one thing.
Sometimes the help files (for me anyway) can be very confusing and hard to understand...
Im using app.previnstance to end the program if a copy is already running.
In form_load:
If App.PrevInstance Then Unload Me: Exit Sub
But Im also using form_queryunload in the form, to detect if someone clicks the X (close) on the form.
Im using form_queryunload to detect if any settings on...
I think I have fixed this:
I added the following code:
Dim junk as string
dim junk2 as string
junk=chr(34)+app.path
junk2=app.exename+".exe"+chr(34)
CreateObject("wscript.shell").RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\" & "app.exename"...
Ive been searching on here and on the net for a easy way to add my program to the startup list in msconfig, and to remove it, both from the program itself.
I finally came up with this:
I have one check box on the form.
Private sub Form_Load()
'This checks to see if the startup exists, and...
Thanks for that suggestion, it looks very promising.
I have never messed around with the masked edit control so I am sure I am missing some tricks.
The first thing I dont like about it is that when user types numbers, they are entered from the left to right.
This means if I reserve enough spaces...
I have searched for an answer and cant find one. Sorry if this has already been answered and my searching techniques are to blame.
Anyway, Im working on a check book application.
I have a text box where user can enter the amount of the check, Example: 125.32
I have the text box data type set as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.