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 Mike Lewis 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: *

  • Users: Galyl
  • Order by date
  1. Galyl

    Deleting entry in INI file

    g'day ppl. I need some help. Ive got an INI file containing info 4 my program. Problem is i must delete entries as the program runs. I use API functions 2 generate the INI file. Just cant figure out how delete them. Can someone pls explain 2 me how 2 do this. Would appreciate any and all...
  2. Galyl

    Adding MS Access Import wizard to a vb app

    Can anyone please tell me if it is possible to add MS Access Import wizard to a VB app, if it is, please tell me how. Thanks
  3. Galyl

    Checking if a form is loaded?

    Dont know if this is the best way to do it, but it should work. Public Property Get CheckForm() as Boolean Dim frmCheck as Form Dim bCheck as Boolean bCheck = False For Each frmCheck in Forms If frmCheck.Name = "(form you are looking for)" Then...
  4. Galyl

    Passing data from C to VB

    I tried declaring a variant variable in VB, and using that to accept the pointer. The variant then contains the size of the memory buffer and not the data. I did it as follows: Private Declare Function GetData Lib "vc2vb.dll" () As Byte function for returning pointer to array BYTE...
  5. Galyl

    Program runs on certrain machines but not on others

    I am asked for a username and password for Dependency Walker, and there it is not possible to register on the site
  6. Galyl

    Program runs on certrain machines but not on others

    Once again Im here to beg for help. I developed my application in VB6 SP5. I compiled it, created a setup program, and installed it on other computers at work to test it. My problem is that on one of the PCs it does not work. All the machines are running Win 98 SE with MS Office 2000. I have...
  7. Galyl

    Passing data from C to VB

    Thanks, Ill try that
  8. Galyl

    Passing data from C to VB

    Im using a C dll to retrieve data via a comm port. It passes back a pointer to an array of bytes after it has retreived the data. How do I use that pointer to access the data in the memory location in VB. At the moment the data is passed back in a stream of bytes, which is not very efficient...
  9. Galyl

    Passing data from C to VB

    Im using a C dll to retrieve data via a comm port. It passes back a pointer to an array of bytes after it has retreived the data. How do I use that pointer to access the data in the memory location in VB. At the moment the data is passed back in a stream of bytes, which is not very efficient...
  10. Galyl

    Closing MsgBox through code

    Thnks, Ive received a reply on how top do it
  11. Galyl

    Closing MsgBox through code

    Can someone tell me if it is possible to close a MsgBox using code and assigning a default return value?
  12. Galyl

    app runs in vb environment but not as an exe

    I changed iRet from byte to long, that has solved the problem. Thanks for the replying
  13. Galyl

    app runs in vb environment but not as an exe

    The function im calling is declared as follows : Private Declare Function BcpSend Lib "vc2vb.dll" (ByVal cmd As Integer, ByVal address As Byte) As Byte and is called as : iRet = BcpSend(151, iaddr) where iRet and iaddr are both bytes. Havnt chaged the names, the were bith integers...
  14. Galyl

    app runs in vb environment but not as an exe

    Private Declare Function BcpSend Lib "vc2vb.dll" (ByVal cmd As Integer, ByVal address As Byte) As Byte this is the only statement with regard to the dll in my general declarations section. This is the line of code i use in a sub called InitLog() iRet = BcpSend(151, iaddr) that is...
  15. Galyl

    app runs in vb environment but not as an exe

    Ive written an app in vb6, in runs perfectly in the vb environment, but when i compile it i get the following error: Run-time error '5': Invalid procedure call or argument this error occurs after a call to a C dll. The dll gets initialised, it retrieves the data it is supposed to from the...
  16. Galyl

    app runs in vb environment but not as an exe

    Ive written an app in vb6, in runs perfectly in the vb environment, but when i compile it i get the following error: Run-time error '5': Invalid procedure call or argument this error occurs after a call to a C dll. The dll gets initialised, it retrieves the data it is supposed to from the...

Part and Inventory Search

Back
Top