473,395 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

after installing office 2003



Dear Sirs,

I am using access 97 database and connecting to it via VB6 using
Microsoft DAO 3.6. I had office 2002 after opening a report using the
follwing method then after pressing escape on the report the access
database used to close by itself.

now that i installed office 2003 the database is still open after
pressing escape.

Dim AccessApp As Access.Application
Set AccessApp = New Access.Application
With AccessApp
.OpenCurrentDatabase gsDatabase
.Visible = True
.RunCommand acCmdAppMaximize
.DoCmd.OpenReport "Activities", acViewPreview, , ""
.RunCommand acCmdAppMaximize
End With

i don't mind writing in the access datatabse, i already wrote

Private Sub Report_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

CloseCurrentDatabase closed the database but i need to close access too

i wonder if there is an option in access i could do to keep my version
unchanged

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
2 1418
elie chucrallah wrote:

Dear Sirs,

I am using access 97 database and connecting to it via VB6 using
Microsoft DAO 3.6. I had office 2002 after opening a report using the
follwing method then after pressing escape on the report the access
database used to close by itself.

now that i installed office 2003 the database is still open after
pressing escape.

Dim AccessApp As Access.Application
Set AccessApp = New Access.Application
With AccessApp
.OpenCurrentDatabase gsDatabase
.Visible = True
.RunCommand acCmdAppMaximize
.DoCmd.OpenReport "Activities", acViewPreview, , ""
.RunCommand acCmdAppMaximize
End With

i don't mind writing in the access datatabse, i already wrote

Private Sub Report_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

CloseCurrentDatabase closed the database but i need to close access too

i wonder if there is an option in access i could do to keep my version
unchanged


Use AccessApp.DoCmd.Quit to close Access.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

Nov 12 '05 #2


thank you sir it worked

Regards

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chuck Arney | last post by:
After installing Office 2003 PRO and attempting to run SETUP to install the Visual Studio Tools for Office version 2003, I get the error message "Your computer must have Microsoft Office...
1
by: Dave Smithz | last post by:
Hi there, Summary: Installing Visual Studio 6 AFTER Visual Studio 2003 trial and Office 2003 - Is it safe? I know this has been asked many times before, but I have seen postings about...
2
by: elie chucrallah | last post by:
Dear Sirs, I am using access 97 database and connecting to it via VB6 using Microsoft DAO 3.6. I had office 2002 after opening a report using the follwing method then after pressing escape on...
0
by: HelenD | last post by:
Last night took the plunge and upgraded to Office 2003 pro, and told it to get rid of 2000. Realized too late that some programs (such as FMS Develper Suite) do not yet include the components to...
5
by: Sagaert Johan | last post by:
hi I have the following problem: I have a C# application that uses an activeX . I installed the application and the NET 1.1 Runtimes on a clean pc When running the application i discover...
5
by: Pieter | last post by:
Hi, I have a VB.NET (2.0) application that integrates with Outlook 2003. I have windows XP SP2. The users had Windows 2000, and Office 2000. They upgraded (!) to Office 2003. But: - an...
0
by: mart_nl | last post by:
Hi, I'm using Visual Studio 2005 (VB.Net) and want to program towards Outlook 2003. I've installed Office 2003 Professional edition including Outlook and installed Outlook Primary Interop...
0
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista...
3
by: Owen Jenkins | last post by:
I've had to reinstall XP (groan) and all my applications incl Access 97, Office 2000 and Access 2003. In doing so I believe I have installed all the graphics drivers, but my database (97) cannot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.