it's working fine for me what i have done is...
1) create new window w_test
2) put one button on that cb_1
3) go to menu..Insert > Control > OLE... > It will open Insert Object dialogue box
4) Click on 'Cancel' and now click on window anywhere
5) Again it will open 'Insert Object' dialoge box... click on 'Cancel'
6) There is one blank OLE object inserted on your window.
7) write following script in clicked event of cb_1
ole_1.InsertFile(< some .lpeg file name >)
8) Run application. and click on button it will insert the specified file in OLE object. And that file looks pretty good.
Let me know if you want some other approach..
Regards,
Sandeep
Main Topics
Browse All Topics





by: sandeep_patelPosted on 2007-02-15 at 03:10:48ID: 18539248
Hi,
I think it is because of the height and width of the photos you are loading.... Will it be the same everytime ?
Regards,
Sandeep