473,511 Members | 12,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Offline application

My client got branch in some small city, their network connection is not
stable.
He suggest us to change the application" each time user login the system, it
will automically d/l the master file into his workstation', so, the querry
or searching can be performed in local pc, If the user want to update the
account record, It will connect the sql server (located in data centre) and
update the data.

Does anyone got some idea on it ??
Thanks in advance.
(it seems offline application, but it is not a web form, the application is
run in vb.net)
Nov 24 '05 #1
5 2016
well typicly the server should be the computer with the most power so
searching on the server should be much faster as on the client
also how big will this master file be ?? , how about data synchronization to
the client ?? ( user a changes something in the master db , if user b
connected before these changes were applied he will not see this changes )

if we are talking about small amounts of data , ( i.ow. fast method of
fetching the complete updated database ) you could ( again ) choose for a
smart data client aproach
create a trigger in your database that will change a value( guid ) when a
update / insert / delete takes place on the table on startup retrieve all
data and now poll the database once in while to see if there was a
alteration on the master table ( so you know you should retrieve the new
dataset )

if you are so lucky that you use SQL 2000 or better SQL 2005 you may
investigate notification services ,,,, ( with this it is possible for your
app to subscribe to a dataset for notifications on that dataset , basicly a
callback event to your app takes place whenever such an event occurs )

regards

Michel Posseth [MCP]
"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:Ob**************@TK2MSFTNGP15.phx.gbl...
My client got branch in some small city, their network connection is not
stable.
He suggest us to change the application" each time user login the system,
it will automically d/l the master file into his workstation', so, the
querry or searching can be performed in local pc, If the user want to
update the account record, It will connect the sql server (located in data
centre) and update the data.

Does anyone got some idea on it ??
Thanks in advance.
(it seems offline application, but it is not a web form, the application
is run in vb.net)

Nov 24 '05 #2
Dear Agnes,

I think what you need is called transactions. Transactions are database
actions where the action completely fails or completely succeeds.
If it will completely fail then you don't need to worry as all is reverted
back to the state before the action. This way your database will not become
corrupt.
However, having an unstable network connection, can mean that your
transactions will fail often. I don't think you can do anything to prevent
your application to inform its users that the transaction failed (eg with a
msgbox or something). If you where to build an advanced checking system to
see if your connection is still alive, the transaction could still fail, as
the network connection can die between checking and the transaction. IMO,
you should just try and do the transactions and if it fails, inform the user
and let them try again.

However, there are more people on this forum which may have a better
suggestion, so stick around and here them too!

Michel van den Berg
"Agnes" <ag***@dynamictech.com.hk> schreef in bericht
news:Ob**************@TK2MSFTNGP15.phx.gbl...
My client got branch in some small city, their network connection is not
stable.
He suggest us to change the application" each time user login the system,
it will automically d/l the master file into his workstation', so, the
querry or searching can be performed in local pc, If the user want to
update the account record, It will connect the sql server (located in data
centre) and update the data.

Does anyone got some idea on it ??
Thanks in advance.
(it seems offline application, but it is not a web form, the application
is run in vb.net)

Nov 24 '05 #3
Maybe they should better spent there money in stabilizing there network
connection first

just my thoughts

"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:Ob**************@TK2MSFTNGP15.phx.gbl...
My client got branch in some small city, their network connection is not
stable.
He suggest us to change the application" each time user login the system,
it will automically d/l the master file into his workstation', so, the
querry or searching can be performed in local pc, If the user want to
update the account record, It will connect the sql server (located in data
centre) and update the data.

Does anyone got some idea on it ??
Thanks in advance.
(it seems offline application, but it is not a web form, the application
is run in vb.net)

Nov 24 '05 #4
Michel,
Maybe they should better spent there money in stabilizing there network
connection first


In China, I thought that they were quiet busy there?

Cor
Nov 24 '05 #5
Agnes,

Probably is this the horse behind the car. To get that data you need a
stable connection because it is probably much huger than you need now.

Otherwise you would have to do it as if the workstation is a PDA, in fact is
that where .Net is made for, and create dataset files as complete as is
needed (and write those than intermidiate to disk). Not that it is much
work, however probably a complete different approach as you have designed
now.

(You cannot do a select on that dataset, you need to process it as a
dataset)

Just my thought,

Cor
Nov 24 '05 #6

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

Similar topics

1
285
by: Jeff Dillon | last post by:
We are using SQL2000 back end for our current web-based ASP application, and moving to .NET. We would like a solution where users could connect at the office for example with their laptop (or...
0
1597
by: moko | last post by:
This is a bit long-winded. Can somebody read thru these 2 use cases, and tell me if it is feasible ? :- Use Case : Replication before Offline Synch Scenario 1 : Oracle Server , MSDE client ...
0
1160
by: Mark Kamoski | last post by:
Hi-- How can one detect, programmatically, if an application is set to "work offline"? The situation is this. I have a project hosted at a site on the web. When I am developing locally, I...
0
1271
by: ASPDeveloper12345 | last post by:
I have web application that exists on a remote server. I can debug the project remotely without any problems. Since we have many developers, I would like to debug the application locally, so I...
3
1558
by: Robert Scheer | last post by:
Hi. When IE is offline and I try to create a new web application, I receive an error that says that I need IE online in order to create the new application. What is the relationship of IE and...
3
1728
by: George Durzi | last post by:
I've developed a web based sales contact software for my company. Account managers use the software to record sales activity they've made. Recently, they've been complaining that there are times...
2
1618
by: John | last post by:
Hi I need to write a vb2005/sql server2005 app running over a LAN. Some users who use laptop need to have the app to have an offline mode for when they are away. I am new to net and would like...
6
2967
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in...
10
6807
by: Michael Hoffmann | last post by:
Hello, I hope this doesn't come across as totally newbieish, but I've been searching the web and the IBM docs until smoke is coming out of my head. Scenario: We are trying to take primitive...
0
7148
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
7367
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
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7517
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...
1
5072
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
4743
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...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1581
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
451
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.