473,408 Members | 1,735 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,408 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 1419
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.