Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What the f... is this now
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048571
Message ID:
01051274
Views:
20
>... continued ....
>
>However despite using the Test-Save05 this should now work with or without extension:
>
>
>
>oIconBuddy = NewObject("IconBuddy", "IconBuddy.vcx")
>? oIconBuddy.CreateTMPIcons( getFile(), .T., .T. )
>
>*-- and if You did choose a file without ext.
>? oIconBuddy.GetTMPIconFileName("", .T., .T.)
>
>*-- or for an FXP (that You must have selected before)
>? oIconBuddy.GetTMPIconFileName("fxp", .T., .T.)
>
>
Thanks, Frank. Your new version works fine for me and I don't have to change my code. Also is it OK to remove version6 from the IconBuddy.vcx? I did so in my version.

One more question: if I use thisform.oIconBuddy = newobject(...) I have to do thisform.oIconBuddy = null in form's destroy, right?

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform