Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obj2Bmp
Message
 
 
To
09/12/2005 10:31:06
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076603
Message ID:
01076618
Views:
36
>Hi All,
>
>I am trying to programatically create bitmap using George Tasker's
>obj2bmp tool.
>
>This is code based on sample provided in help file.
>
>
>set default to C:\obj2bmp
>  IF ! "FOXTOOLS" $ SET("LIBRARY")
>    SET LIBRARY TO SYS(2004) + "FOXTOOLS.FLL" ADDITIVE
>  ENDIF
>
>locaL oForm
>do form form1.scx name oForm
>
>lnHwnd = WhTohWnd(_WFindTitl(oForm.caption))
>
>**** Error comes here!
>*>>>'File WhTohWnd does not exist!
>
>set classlib to OBJ2BMP.VCX additive
>oMaker=createobject('bmpmaker')
>lcFile=oMaker.makebitmap(lnHwnd)
>
>release classlib OBJ2BMP.VCX
>
>
>
>
>What/where is 'WhTohWnd' ?
>
>Any other way to bypass this?
>Perhaps Handle can be taken using some other aproach ?
>
>Any help is greatly appreciated.
>
>Rgds++
>Sergio

I think, it's a Form's window handle. You can get it directly with thisform.hWnd property.
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