Black Screen

Discussions about document viewing.
Post Reply
BR549
Posts: 2
Joined: Fri May 16, 2008 9:34 pm

Black Screen

Post by 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

Post by BR549 » Fri May 23, 2008 4:42 pm

Problem Solved:

I created a new ActiveX component and it now works.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest