473,382 Members | 1,646 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,382 software developers and data experts.

Problem with ODBC open dialogs under Windows 2003

Hello,

I have an application that has been running for years
and had little problem with it. We've been retesting the
latest code under Windows 2003 and found a surprise.

There is a certain case where we allow the MDI app
to close the database and the user can later request
the open dialog. This normally calls the CDatabase
open with the flags that allow the ODBC Open Dialog
boxes to be used. Under Windows 2003 the dialogs
are not happening. No errors are emited from the
code. It appears that perhaps the flags have changed
or some other behavior is occuring. I've not found
an applicable note at Microsoft MSDN or using search
engines. The Jet Driver under Windows 2003 was something
like 2608 and under Windows 2000 we found 2300. I'm
not certain of the versions, so I'll have to post those
tommorow after I get them written down again.

Have you seen a similar behavior change? Was it the
drivers or something else?

Thank you,

David
Nov 13 '05 #1
2 2152
On Thu, 7 Apr 2005 01:43:32 UTC, "David" <Fl************@United.Com> wrote:
Hello,

I have an application that has been running for years
and had little problem with it. We've been retesting the
latest code under Windows 2003 and found a surprise.

There is a certain case where we allow the MDI app
to close the database and the user can later request
the open dialog. This normally calls the CDatabase
open with the flags that allow the ODBC Open Dialog
boxes to be used. Under Windows 2003 the dialogs
are not happening. No errors are emited from the
code. It appears that perhaps the flags have changed
or some other behavior is occuring. I've not found
an applicable note at Microsoft MSDN or using search
engines. The Jet Driver under Windows 2003 was something
like 2608 and under Windows 2000 we found 2300. I'm
not certain of the versions, so I'll have to post those
tommorow after I get them written down again.

Have you seen a similar behavior change? Was it the
drivers or something else?

Thank you,

David


Just a follow up for those that might be able to help me.
The ODBC Open Dialogs are what do not appear when the
VC++ v6.0 program calls CDatabase::OpenEx to connect to
the database. The normal parameters are the connect
string and 0. This indicates that the open dialogs are used
when there is a problem with the connect string. We have
other areas of the code that use the parameter to block
the open dialogs. When verifying the parameters to OpenEx
I noticed a parameter that is supposed to force the use
of the open dialogs. That didn't appear to change the
behavior of the application.

What else might be missing from a pristine Windows 2003
installation that differs from a pristine Windows 2000
system? Our application installs the latest MDAC with
the application.

Thank you,

David
Nov 13 '05 #2
maryas
1
Hi. We got the same problem (a year later?)
Do you have an idea what is wrong?.I'm not a VC++( C programmer)
and I'm supporting application that use ODBC(VC++) and it worked fine on 2000,but now we testing it in 2003 - and it crashes w'out attempting to connect to DB.
Any suggestions?
Thanks a lot.
Marina
On Thu, 7 Apr 2005 01:43:32 UTC, "David" <FlyLikeAnEagle@United.Com> wrote:
[color=blue]
> Hello,
>
> I have an application that has been running for years
> and had little problem with it. We've been retesting the
> latest code under Windows 2003 and found a surprise.
>
> There is a certain case where we allow the MDI app
> to close the database and the user can later request
> the open dialog. This normally calls the CDatabase
> open with the flags that allow the ODBC Open Dialog
> boxes to be used. Under Windows 2003 the dialogs
> are not happening. No errors are emited from the
> code. It appears that perhaps the flags have changed
> or some other behavior is occuring. I've not found
> an applicable note at Microsoft MSDN or using search
> engines. The Jet Driver under Windows 2003 was something
> like 2608 and under Windows 2000 we found 2300. I'm
> not certain of the versions, so I'll have to post those
> tommorow after I get them written down again.
>
> Have you seen a similar behavior change? Was it the
> drivers or something else?
>
> Thank you,
>
> David[/color]

Just a follow up for those that might be able to help me.
The ODBC Open Dialogs are what do not appear when the
VC++ v6.0 program calls CDatabase::OpenEx to connect to
the database. The normal parameters are the connect
string and 0. This indicates that the open dialogs are used
when there is a problem with the connect string. We have
other areas of the code that use the parameter to block
the open dialogs. When verifying the parameters to OpenEx
I noticed a parameter that is supposed to force the use
of the open dialogs. That didn't appear to change the
behavior of the application.

What else might be missing from a pristine Windows 2003
installation that differs from a pristine Windows 2000
system? Our application installs the latest MDAC with
the application.

Thank you,

David
May 5 '06 #3

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

Similar topics

1
by: Fons Dijkstra | last post by:
Hello, I'm using the mx.ODBC.Windows package in order to read/write a MSAccess database. Everything works fine apart from the DATE format handling. I'm using the default "datetimeformat" (i.e....
13
by: Wolfgang Kaml | last post by:
Hello All, I have been researching newsgroups and knowledgebase all morning and not found a solution that would solve the problem I have. I am having an ASP or ASPX web page that implement a...
0
by: vginders | last post by:
Hello, We have a legacy application which relies on an Access 97 database (upgrading is nog an option atm). As we are setting up a new server (Windows 2003), we started experiencing problems...
5
by: Eric Twietmeyer | last post by:
Hi, Does anyone know why starting with VS.NET 2002 (and same with 2003) it is no longer possible to browse to a directory that has "ept" as part of the path? It worked fine in Vc 6.x. My...
11
by: CJ Taylor | last post by:
Alright ya'll, lets see if we can solve this stupid error. I have a "server" I am writing (a gateway program that monitors programs in a legacy system that writes out 'text' files to a shared...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
2
by: Frank Millman | last post by:
Hi all I have found a problem using MS Sql Server connecting via the odbc module from python-win32. I am liaising with Mark Hammond, and he is trying to help, but he is very busy, and I...
0
by: sudhaoncyberworld | last post by:
Dear Techies, I do have small issue on connecting oracle server from .net This is the code snippet public string strConString = "Driver={Microsoft ODBC for...
0
by: pgill | last post by:
I have a MS Access 97 frontend to a SQL Server 2005 backend. I am using an ODBC User DSN to link the tables to SQL Server. The users authenticate through groups set up in Windows 2003. Some groups...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...

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.