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