|
-
Aug 21st, 2001, 04:06 AM
#1
Thread Starter
Junior Member
vb to vbscript (1 error in my this example)
My vb code:
Dim sname As String
Dim test1 As New Class1
sname = Space$(255)
Call test1.CallAPI(sname, 255)
This all works, now i want it in vbscirpt:
Dim sname
Dim test1
set test1 = CreateObject("testdll2.Class1")
sname = space(255)
Call test1.CallAPI(sname, 255) //This line of code contains an error but i dont know how to solve it, maybe it has to do sth with the types?
Can smb help?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|