Click here to Skip to main content
15,922,894 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can I embed a newly created word document in my form? Pin
JUNEYT21-Feb-08 11:56
JUNEYT21-Feb-08 11:56 
GeneralRe: How can I embed a newly created word document in my form? Pin
Arjun Marwaha21-Feb-08 23:14
Arjun Marwaha21-Feb-08 23:14 
GeneralDifferentiated Access to functions Pin
IvanIT21-Feb-08 6:58
IvanIT21-Feb-08 6:58 
GeneralRe: Differentiated Access to functions Pin
Dave Kreskowiak21-Feb-08 7:39
mveDave Kreskowiak21-Feb-08 7:39 
GeneralRe: Differentiated Access to functions Pin
IvanIT21-Feb-08 7:48
IvanIT21-Feb-08 7:48 
GeneralRe: Differentiated Access to functions Pin
Dave Kreskowiak21-Feb-08 8:42
mveDave Kreskowiak21-Feb-08 8:42 
GeneralRe: Differentiated Access to functions Pin
IvanIT21-Feb-08 8:57
IvanIT21-Feb-08 8:57 
QuestionHow to use a DLL to create a simple exe. Pin
chaitannya_m21-Feb-08 4:32
chaitannya_m21-Feb-08 4:32 
Hello Everyone,

I am trying to code a program in VB6 where i have a DLL. My aim is to call some functions from the dll. I am totally new to this VB envoirnment and hence require some help. Actually this is a part of PHP project which is to be interfaced with some other application through this dll. The dll guys gave this code and i simply copy pasted this code in VB application. The minute i compile the code i get an error "Constants, fixed length strings, arrays, user-defined types and declare statements not allowed as public members of object modules."

This is the part of the code, i am getting error on the very first line of the code.

Option Explicit
Declare Function RTSOpen Lib "RTSLINK.DLL" Alias "Open" () As Long
Declare Function Send Lib "RTSLINK.DLL" (ByVal strRequestXML As String) As Long
Declare Function GetLastErrorMessage Lib "RTSLINK.DLL" () As String

Public Sub vbSend()
Dim nResult As Integer
Dim strErrorMsg As String * 255
Dim strRequestXML
Dim strResponseText

....



Regards,
Chaitannya
AnswerRe: How to use a DLL to create a simple exe. Pin
Dave Kreskowiak21-Feb-08 5:49
mveDave Kreskowiak21-Feb-08 5:49 
GeneralRe: How to use a DLL to create a simple exe. Pin
chaitannya_m21-Feb-08 17:39
chaitannya_m21-Feb-08 17:39 
GeneralRe: How to use a DLL to create a simple exe. Pin
Dave Kreskowiak22-Feb-08 2:29
mveDave Kreskowiak22-Feb-08 2:29 
GeneralDatagridview problem Pin
soniasan21-Feb-08 2:26
soniasan21-Feb-08 2:26 
GeneralRe: Datagridview problem Pin
Sandeep Kumar21-Feb-08 3:30
Sandeep Kumar21-Feb-08 3:30 
GeneralRe: Datagridview problem Pin
soniasan21-Feb-08 18:45
soniasan21-Feb-08 18:45 
GeneralRe: Datagridview problem Pin
Sandeep Kumar25-Feb-08 14:49
Sandeep Kumar25-Feb-08 14:49 
GeneralWMI Information Pin
Kumaran21cen21-Feb-08 2:07
Kumaran21cen21-Feb-08 2:07 
GeneralRe: WMI Information Pin
Dave Kreskowiak21-Feb-08 5:47
mveDave Kreskowiak21-Feb-08 5:47 
GeneralRe: WMI Information Pin
koolprasad200321-Feb-08 17:42
professionalkoolprasad200321-Feb-08 17:42 
GeneralSet Default value of Custom registry key Pin
Rupesh Kumar Swami21-Feb-08 0:07
Rupesh Kumar Swami21-Feb-08 0:07 
GeneralRe: Set Default value of Custom registry key Pin
Dave Kreskowiak21-Feb-08 4:49
mveDave Kreskowiak21-Feb-08 4:49 
GeneralTabControl VB Pin
_anil_20-Feb-08 19:38
_anil_20-Feb-08 19:38 
GeneralRe: TabControl VB Pin
Christian Graus20-Feb-08 20:32
protectorChristian Graus20-Feb-08 20:32 
GeneralRe: TabControl VB Pin
_anil_20-Feb-08 20:44
_anil_20-Feb-08 20:44 
GeneralRe: TabControl VB Pin
darkelv20-Feb-08 21:07
darkelv20-Feb-08 21:07 
GeneralRe: TabControl VB Pin
_anil_20-Feb-08 22:27
_anil_20-Feb-08 22:27 

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.