I am in the process of writting an application that uses multiple forms in VB.Net 2.0 and the viewer doesn't display the picture is you close the viewer form out and open it back up. It works perfect the first time you open the viewer but after that nothing helps. I've tried doing a viewer.closeimage()...no luck. here is some sample code
[form1]
{event open viewer button click....}
ViewerForm.showdialog(me)
[ViewerForm]
{event open image button click...}
viewer.displayfromfile("myimage.jpg")
{event close form button click...}
me.close()
GdViewer multi form white screen
After Installing VB and Gd app on anonther computer and trying many different things I've found out that if you use formViewer.show() instead of FormViewer.showdialog(me) it works as it should. However, you lose the modal feature. I have a work around so this issue is low priority now. Thanks for your help.
Who is online
Users browsing this forum: No registered users and 2 guests