dbTalk Databases Forums  

Library Reference not recognised - comdlg32.ocx - Microsft CommonDialog Control issue

comp.databases.ms-access comp.databases.ms-access


Discuss Library Reference not recognised - comdlg32.ocx - Microsft CommonDialog Control issue in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Duncan
 
Posts: n/a

Default Library Reference not recognised - comdlg32.ocx - Microsft CommonDialog Control issue - 04-04-2010 , 02:25 AM






I have used an application developed in Access 2003 very well
previously.
I bought a new machine with Windows 7 and reloaded Access 2003 (Office
2003).
It now does not run a function within the application.
I believe comdlg32.ocx is the problem as the reference for the modules
is not recognised.
I unselected Microsoft Common Dialog Control 3.0 (SP3) and it has
disappeared as well.

Error
Run time error 438 - Object does not support this property or object
Function
Private Function fileName() As String
Me.CommandOpenFileDialogue.Filter = "Text|*.txt|All|*.*"
Me.CommandOpenFileDialogue.ShowOpen
fileName = Me.CommandOpenFileDialogue.fileName
End Function

I have uninstalled and reloaded without any luck. Any suggestions
would be
appreciated.
--
Duncan Edgar

Reply With Quote
  #2  
Old   
bsn
 
Posts: n/a

Default Re: Library Reference not recognised - comdlg32.ocx - Microsft Common Dialog Control issue - 04-04-2010 , 07:31 AM






"Duncan" <duncanjx (AT) optusnet (DOT) com.au> skrev i en meddelelse
news:2fbab11b-b3ac-4a46-a20c-92770d4128d2 (AT) r1g2000yqj (DOT) googlegroups.com...
Quote:
I have used an application developed in Access 2003 very well
previously.
I bought a new machine with Windows 7 and reloaded Access 2003 (Office
2003).
It now does not run a function within the application.
I believe comdlg32.ocx is the problem as the reference for the modules
is not recognised.
ComDlg without comdlg32.ocx...
Try this
http://www.meadinkent.co.uk/aopendlg.htm
Bjarne

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.