By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,027 Members | 1,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,027 IT Pros & Developers. It's quick & easy.

OpenDialog?

P: n/a
Hi!

Is there an equivalent of "OpenDialog" in Delphi that can be found in
MS ACCESS 2000?

Me.Name
Nov 13 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi Geir,

I think you might be looking for the function InputBox:

InputBox Function Example

The following example uses the InputBox function to return the user's
name. Note that you can't open a Help file from a dialog box created by
the InputBox function in Microsoft Access.

Sub Greeting()
Dim strInput As String, strMsg As String

strMsg = "Enter your name."
strInput = InputBox(Prompt:=strMsg, _
Title:="User Info", XPos:=2000, YPos:=2000)
MsgBox "Hello, " & strInput
End Sub
Regards,

Jean

Nov 13 '05 #2

P: n/a
Just add Microsoft Common Dialog component to tollbox, then drag it to
your form.
dlg.ShowOpen will do the job.

Nov 13 '05 #3

P: n/a
better to use the OpenSaveFile API code from AccessWeb. it's the first
under the API section.

Nov 13 '05 #4

P: n/a
Use the API approach illustrated at
http://www.mvps.org/access/api/api0001.htm at "The Access Web".

While it may appear overwhelming at first, it's far more reliable than any
other approach.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Geir Baardsen" <ge***********@hotmail.com> wrote in message
news:35**************************@posting.google.c om...
Hi!

Is there an equivalent of "OpenDialog" in Delphi that can be found in
MS ACCESS 2000?

Me.Name

Nov 13 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.