|
-
May 15th, 2001, 11:26 PM
#1
Thread Starter
Addicted Member
Empty Value? Help...
Goodday everybody...
I've build a COM which has the following function:
Public Sub func1(sFile as String)
Dim sName as String
sName = sFile
End Sub
If I call this function, let's say sFile is pass as "One", it doesn't worked. In other words, I try to assign the sFile value into sName, but when I check on the value of sName, it's empty/blank, while the value in sFile is what I passed, "One".
Hope someone out there can provide me an answer and solution.
Thanks in advanced.
P.S. this function is called from a program written in VC++.
-
May 16th, 2001, 06:41 AM
#2
Fanatic Member
Can't see a problem.
There's nothing wrong with your function.
Are you saying that the actual assigning of 'sName = sFile' doesn't work? I don't believe it.
There must be something else you're not telling us.
-
May 16th, 2001, 10:38 PM
#3
Thread Starter
Addicted Member
I've told you all that I need to tell. That's why I'm curious why it doesn't work.
Anyway, I've managed to solve it.
Thanks for your help, simonm.
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
|