Loading...

Black Screen

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Black Screen

Postby BR549 » Fri May 23, 2008 4:08 pm

I have an ActiveX component on an Access form. I use the following code to open a .tif file from a network location.


DoCmd.OpenForm "Graphics Viewer"
Forms![Graphics Viewer].gdViewer2.DisplayFromFile (DrawingLocation)
Forms![Graphics Viewer].gdViewer2.SetZoomFit

When I run the code, all I get is a black screen in the gdviewer window. I have tried typing in a full path that is a known .tif file and I still get the black screen. The funny thing is that this was working until I made some changes in another part of the program. Any ideas?
BR549
 
Posts: 2
Joined: Fri May 16, 2008 9:34 pm

Re: Black Screen

Postby BR549 » Fri May 23, 2008 4:42 pm

Problem Solved:

I created a new ActiveX component and it now works.
BR549
 
Posts: 2
Joined: Fri May 16, 2008 9:34 pm


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests