GdViewer multi form white screen

Discussions about document viewing.
Post Reply
coeus
Posts: 5
Joined: Tue Oct 09, 2007 6:42 pm

GdViewer multi form white screen

Post by coeus » Sat Dec 15, 2007 9:45 pm

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()

coeus
Posts: 5
Joined: Tue Oct 09, 2007 6:42 pm

Post by coeus » Sat Dec 15, 2007 9:56 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests