|
-
Jun 14th, 2000, 10:27 PM
#1
Thread Starter
Addicted Member
Hello!
I have kind an annoying problem. I created function for loading pictures and it uses some kind of "logic". But here's a problem:
Public Function LoadPic(ID As String, cond As Condition) as IPictureDisp
Dim SomeStr As String
'.....
'..... here goes code
'.....
' And on the end I use
Set LoadPic = LoadPicture(pic & ".jpg")
End Function
And then VB generates an unexpected error, when I try to set my function to LoadPicture. Can you help me with this?
Zvonko Bostjancic
Ilirska Bistrica, Slovenia
[email protected]
Using VS6 Professional with SP3
Programming mostly in VB and I've started to learn VC++ & MFC
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
|