Various ways of displaying a "Dialog Box" on click event

C

Chirag

Hi! reader.
Plz. help me out with various methods available to display
a Dialog Box on click event of a button. the ocx which i
am using is giving errors on some machines.
Thankx,
Chirag.
 
T

Tony Toews

Chirag said:
Plz. help me out with various methods available to display
a Dialog Box on click event of a button. the ocx which i
am using is giving errors on some machines.

There could, likely will, be lots of version problems when you go to
distribute the common dialog OCX.. Instead use the common dialog API
calls as documented at the Access Web or the MS Knowledge Base.
Call the standard Windows File Open/Save dialog box
http://www.mvps.org/access/api/api0001.htm
"ACC97: How to Use the Common Dialog API in an Access Database"
http://support.microsoft.com/?kbid=303066
While the article is in A97 the same code will work in newer versions
of Access

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
C

Chirag

Thankx a lot Mr. Tony

-----Original Message-----


There could, likely will, be lots of version problems when you go to
distribute the common dialog OCX.. Instead use the common dialog API
calls as documented at the Access Web or the MS Knowledge Base.
Call the standard Windows File Open/Save dialog box
http://www.mvps.org/access/api/api0001.htm
"ACC97: How to Use the Common Dialog API in an Access Database"
http://support.microsoft.com/?kbid=303066
While the article is in A97 the same code will work in newer versions
of Access

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
.
 
Top