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

Preventing an ADB Auto-Start

I'm working for the first time on an existing application that
communicates with an SQL Server database. We've backed up the database
and installed it on our own machine, and copied the ADB file to our
PCs.

One problem. We can't open up the ADB file. When clicked, with the
shift key down or not, it spends a long time in hourglass mode, and has
to be stopped via the task manager.

I don't know why it is ignoring the shift key (does this feature not
hold true for ADB files?), but I can guess that it is hanging because
it is not finding the SQL Server database in it's expected location.
Changing the location was of course the first thing I was going to
change in the code once I opened up the ADB file.

Moving the SQL Database to an expected location is not an option (and
probably wouldn't get me to my goal of opening up the ADB file to begin
with). What am I missing when it comes to opening up ADB files? I
don't seem to be able to find the correct key words for Google to find
the answer.

Thanks,
-john

Dec 14 '06 #1
4 2108
On 14 Dec 2006 12:07:24 -0800, jg*****@ripco.com wrote:

Works just fine with the NorthwindCS sample application. What's
different with yours?

-Tom.

>I'm working for the first time on an existing application that
communicates with an SQL Server database. We've backed up the database
and installed it on our own machine, and copied the ADB file to our
PCs.

One problem. We can't open up the ADB file. When clicked, with the
shift key down or not, it spends a long time in hourglass mode, and has
to be stopped via the task manager.

I don't know why it is ignoring the shift key (does this feature not
hold true for ADB files?), but I can guess that it is hanging because
it is not finding the SQL Server database in it's expected location.
Changing the location was of course the first thing I was going to
change in the code once I opened up the ADB file.

Moving the SQL Database to an expected location is not an option (and
probably wouldn't get me to my goal of opening up the ADB file to begin
with). What am I missing when it comes to opening up ADB files? I
don't seem to be able to find the correct key words for Google to find
the answer.

Thanks,
-john
Dec 15 '06 #2

Tom van Stiphout wrote:
On 14 Dec 2006 12:07:24 -0800, jg*****@ripco.com wrote:

Works just fine with the NorthwindCS sample application. What's
different with yours?
Well, if I could open it up, I could tell. Unfortunately...

So you're just performing the shift key trick? Nothing else?

Thanks,
-john

Dec 15 '06 #3

Tom van Stiphout wrote:
On 14 Dec 2006 12:07:24 -0800, jg*****@ripco.com wrote:

Works just fine with the NorthwindCS sample application. What's
different with yours?

-Tom.
Semi-found out the problem. After a set of difficulties that I won't
bore you with, I managed to get to the client's machine and run the
application from there. I found that the timeout setting for the
connection was set to 65465 seconds (that's over 18 hours) and
apparently an ADB application is going to try that regardless of
whether you've held down the shift key or not.

I made a new copy of of the file, with the connection property changed
with a timeout of 30 seconds. I can open up the application now.

Although oddly enough, I don't see an AutoStart macro. Is there
another way to auto-start?

Thanks,
-john

Dec 15 '06 #4
On 15 Dec 2006 15:00:35 -0800, jg*****@ripco.com wrote:

Either an AutoExec macro, or a Startup form (Tools Startup)

-Tom.

>
Tom van Stiphout wrote:
>On 14 Dec 2006 12:07:24 -0800, jg*****@ripco.com wrote:

Works just fine with the NorthwindCS sample application. What's
different with yours?

-Tom.

Semi-found out the problem. After a set of difficulties that I won't
bore you with, I managed to get to the client's machine and run the
application from there. I found that the timeout setting for the
connection was set to 65465 seconds (that's over 18 hours) and
apparently an ADB application is going to try that regardless of
whether you've held down the shift key or not.

I made a new copy of of the file, with the connection property changed
with a timeout of 30 seconds. I can open up the application now.

Although oddly enough, I don't see an AutoStart macro. Is there
another way to auto-start?

Thanks,
-john
Dec 16 '06 #5

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

Similar topics

1
by: David Hane | last post by:
Hi all, I would like give users the ability to experiment with complex queries but I'm worried about them creating queries that will bog down the server. Does anyone have any ideas for...
6
by: Alpha | last post by:
I retrieve a table with only 2 columns. One is a auto-generated primary key column and the 2nd is a string. When I add a new row to the dataset to be updated back to the database. What should I...
3
by: Boni | last post by:
Dear all, I create a big number of a class instances of some class. Sometimes this instances must be collected (all pointers are deleted, but instance is not explicitly disposed).But sometimes I...
5
by: Samuel | last post by:
Hi, I am running into a problem of mixing UICulture = auto and allowing users to select culture using a dropdown list. I am detecting a querystring, "setlang", and when found, setting the...
4
by: Ben Fidge | last post by:
How would I disable IE auto completion on text boxes that receive credit card information? I'd like to continue using standard built-in TextBox server controls if possible. Kind regards Ben
2
by: Chad | last post by:
I am in the process of writing an application that detects the insertion of a pen drive, and if a specific folder structure exists, it shows a form containing data. The problem is that when I...
4
by: microb0x | last post by:
I have an application with a master form with a tab control containing nine tabs, each tab contains a subform. I have command buttons on my main form including: Save , Cancel , Close. My...
1
by: jonefer | last post by:
What is the best mechanism/ convention for preventing stacked datagrids from overlapping each other? I'd like to do something similar to a "can shrink/can grow" in an Access report for an aspx...
6
by: Oleg Konovalov | last post by:
Hi, I have a Java/JavaScript GUI application where I perform a lot of long DB operations , which takes 5-60 secs to perform. Sometimes user double-clicks the button or just gets impatient and...
13
by: Cross | last post by:
I am developing an application that will show movies. When you wach a movie, you do not want the Power Option "Turn off monitor" to be anabled. Is there anyway to fix this from VB.net? (note that I...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.