Click here to Skip to main content
15,897,291 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Third Party DataGrid Pin
Dave Kreskowiak4-Nov-04 6:58
mveDave Kreskowiak4-Nov-04 6:58 
GeneralRadioButton DataBinding Blues Pin
Frank Burcaw4-Nov-04 5:11
Frank Burcaw4-Nov-04 5:11 
QuestionWho called me? Pin
KreativeKai4-Nov-04 3:53
professionalKreativeKai4-Nov-04 3:53 
AnswerRe: Who called me? Pin
Dave Kreskowiak4-Nov-04 4:07
mveDave Kreskowiak4-Nov-04 4:07 
GeneralRe: Who called me? Pin
KreativeKai4-Nov-04 4:14
professionalKreativeKai4-Nov-04 4:14 
GeneralDLL and VB Pin
saramel4-Nov-04 1:58
saramel4-Nov-04 1:58 
GeneralRe: DLL and VB Pin
Dave Kreskowiak4-Nov-04 3:57
mveDave Kreskowiak4-Nov-04 3:57 
GeneralRe: DLL and VB Pin
8-Nov-04 7:53
suss8-Nov-04 7:53 
I have that one problem figured out and I am now able to access the functions; however, I am having a new problem.

I am trying to open a TCPIP connection through a specific piece of software to which I have the DLL that allows me to make the connection.
The function is:

Private Declare Function QTM_OpenTCPIPConnection Lib "QTMClient.dll" _
(ByVal strDestination As String, ByVal strServiceName As String) _
As Boolean

I am trying to set a check to determine if the function was opened successfully. Something like:

errtcp = QTM_OpenTCPIPConnection txtRemoteIP.Text, val(txtRemotePort.Text)
if errtcp = true then
isOpen = True
else
MsgBox "error"
Exit Sub
end if

But no matter what I try errtcp is always FALSE!! Or VB wont let me write the IF statement. I know the connection is working properly because I have software written in C that allows me to open the TCPIP connection. I can't get it to work in VB.

Any advice would be greatly appreciated!!

GeneralRe: DLL and VB Pin
Dave Kreskowiak8-Nov-04 8:04
mveDave Kreskowiak8-Nov-04 8:04 
Questioncan i run .net applications in Windows 95 Pin
Yuvaraj N4-Nov-04 1:31
Yuvaraj N4-Nov-04 1:31 
AnswerRe: can i run .net applications in Windows 95 Pin
Mekong River4-Nov-04 2:38
Mekong River4-Nov-04 2:38 
AnswerRe: can i run .net applications in Windows 95 Pin
Dave Kreskowiak4-Nov-04 3:53
mveDave Kreskowiak4-Nov-04 3:53 
GeneralRe: can i run .net applications in Windows 95 Pin
Frank Burcaw4-Nov-04 8:26
Frank Burcaw4-Nov-04 8:26 
GeneralRe: can i run .net applications in Windows 95 Pin
Dave Kreskowiak4-Nov-04 9:47
mveDave Kreskowiak4-Nov-04 9:47 
GeneralDataGrid Pin
mwharb3-Nov-04 21:34
mwharb3-Nov-04 21:34 
GeneralMDI Problem Pin
nitin_ion3-Nov-04 20:06
nitin_ion3-Nov-04 20:06 
GeneralRe: MDI Problem Pin
Mekong River3-Nov-04 20:54
Mekong River3-Nov-04 20:54 
GeneralRe: MDI Problem Pin
nitin_ion3-Nov-04 21:56
nitin_ion3-Nov-04 21:56 
GeneralRe: MDI Problem Pin
Dave Kreskowiak4-Nov-04 3:49
mveDave Kreskowiak4-Nov-04 3:49 
GeneralRe: MDI Problem Pin
nitin_ion4-Nov-04 16:47
nitin_ion4-Nov-04 16:47 
GeneralRe: MDI Problem Pin
Dave Kreskowiak5-Nov-04 2:49
mveDave Kreskowiak5-Nov-04 2:49 
GeneralRe: MDI Problem Pin
nitin_ion5-Nov-04 20:26
nitin_ion5-Nov-04 20:26 
GeneralRe: MDI Problem Pin
Dave Kreskowiak6-Nov-04 2:22
mveDave Kreskowiak6-Nov-04 2:22 
GeneralRe: MDI Problem Pin
nitin_ion7-Nov-04 23:50
nitin_ion7-Nov-04 23:50 
GeneralRe: MDI Problem Pin
Dave Kreskowiak8-Nov-04 2:48
mveDave Kreskowiak8-Nov-04 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.