Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Access 2000 runtime/shell/mde??


Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2001, 08:41 AM
Dan25
Guest
 
Posts: n/a
Default Access 2000 runtime/shell/mde??


If you are using the Access 2000 Runtime how do you shell to a *.MDE file?

Shell "C:\Program Files\Common Files\Microsoft Shared\Microsoft Access Runtime\msaccess.exe /runtime C:\database\project.mde"

I have tried this a couple different ways but keep getting

"Unrecognized database format 'C:\database\project.mde'."
Reply With Quote
  #2  
Old 12-11-2001, 08:42 AM
orufet's Avatar
orufet orufet is offline
Paranoid Coder

Retired Leader
 
Join Date: Mar 2001
Location: Canada
Posts: 2,716
Default Re: Access 2000 runtime/shell/mde??

You can use the ShellExecute API call, that should work...
Reply With Quote
  #3  
Old 12-11-2001, 01:49 PM
Dan25
Guest
 
Posts: n/a
Default Re: Access 2000 runtime/shell/mde??

Thanks that worked, but inside the MDE file is a form when you click The Exit button it closes all the forms etc but the access window is still open and does not exit completely and close...

Anyone know why?

Thanks!
Reply With Quote
  #4  
Old 12-11-2001, 04:14 PM
Timbo's Avatar
Timbo Timbo is offline
Green-Eyed

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Bangkok, Thailand
Posts: 10,261
Default Re: Access 2000 runtime/shell/mde??

i'll hazard a guess that your missing a line of 'Application.Quit' somewhere... [img]images/icons/smile.gif[/img]
__________________
"He's not the Messiah. He's a very naughty boy!" - Brian's mum

Can't find the answer? >> Try something new!
Become a Professional
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->