Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SkennyR

    Teensy USB board and VB6

    Im not having any luck finding what I need to know.
  2. SkennyR

    Teensy USB board and VB6

    Didnt think of that. I will have to search for some examples of using HID.
  3. SkennyR

    Teensy USB board and VB6

    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?
  4. SkennyR

    Which way is faster?

    Interesting. I ran your code and got pretty close to same results.
  5. SkennyR

    Which way is faster?

    OK, I haven't used that before, sounds very useful. Thanks!
  6. SkennyR

    Which way is faster?

    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...
  7. SkennyR

    Which way is faster?

    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...
  8. SkennyR

    Proper way to use app.previnstance with form_queryunload

    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...
  9. SkennyR

    Proper way to use app.previnstance with form_queryunload

    OK, my apologies George for taking up your time..
  10. SkennyR

    Proper way to use app.previnstance with form_queryunload

    One more question. Whats the advantage of using Call YourForm.Show(vbModal) over just simply YourForm.Show ? The latter seems to work fine for me.
  11. SkennyR

    Proper way to use app.previnstance with form_queryunload

    Thanks George, I inserted your code in the module and it works like a charm! How do you guys make this stuff look so simple? Again, thanks!!!
  12. SkennyR

    Proper way to use app.previnstance with form_queryunload

    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...
  13. SkennyR

    Add/Remove startup items in MSConfig

    Thanks!! A Star for you, my good man.
  14. SkennyR

    Add/Remove startup items in MSConfig

    Hey thanks strongm! That is a much neater way of doing it. Do you see any inherent problems with doing it this way?
  15. SkennyR

    Add/Remove startup items in MSConfig

    No comments from anyone?
  16. SkennyR

    Add/Remove startup items in MSConfig

    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"...
  17. SkennyR

    Add/Remove startup items in MSConfig

    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...
  18. SkennyR

    Currency question about a text box

    That looks very interesting, short and sweet. I will give it a try. Thanks!
  19. SkennyR

    Currency question about a text box

    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...
  20. SkennyR

    Currency question about a text box

    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...

Part and Inventory Search

Back
Top