1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

VB6 & USB with Oshonsoft...please help!!!

Discussion in 'Oshonsoft' started by dim78, Mar 13, 2013.

  1. dim78

    dim78 New Member

    Joined:
    Nov 9, 2012
    Messages:
    17
    Likes:
    0
    Location:
    Hellas (Greece)
    Hi again from me.....

    After 3-4 months of work in my pic code , and in VB6...is all fine!!!

    the project is working with my PC....so it's time to make my VB6 project in EXE.....

    and???? ---> Compile error: Variable not define!!!!! ............. aaaaaaaaaa...boom!!!!


    If HIDTerminal1.HID_Detected = True Then Exit Sub

    (HIDTerminal is my problem!!!!) can anybody please help???? to make my VB6 ..EXE??????
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK
    I'm not sure what your problem is... Are you saying that only after making the EXE, the application fails... Or is it failing when you compile..

    I have compiled this before without issue..... What OS are you using?
     
  3. dim78

    dim78 New Member

    Joined:
    Nov 9, 2012
    Messages:
    17
    Likes:
    0
    Location:
    Hellas (Greece)
    Thank you Ian...

    my problem appears when i am tring to compile.....
    i dont know what i have may have change and it cant compile a exe file....
    when i run it (without compile) it work ok..... my OS is Windows XP
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,180
    Likes:
    644
    Location:
    Ex Yorks' Hants UK

    hi dim,
    Zip up and post your complete VB code, I will run thru it
    for you.

    E.
     
  6. dim78

    dim78 New Member

    Joined:
    Nov 9, 2012
    Messages:
    17
    Likes:
    0
    Location:
    Hellas (Greece)
    I dont remeber where i found the Oshonsoft VB6 running-example...
    i try my code again now on a USBDev2 (Oshonsoft-stand alone example) and it work fine.... (?!)
     
  7. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,180
    Likes:
    644
    Location:
    Ex Yorks' Hants UK

Share This Page