473,473 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Launching .net forms from non .net application - reducing overhead

I a have a .net application which displays the results of
a database query on a form in graphical format (i.e.
charts and maps). This application is launched from
another legacy Windows application with the query
determined by a number of parameters. This calling
application is not a .net app and does not support the
type of display I am able to achieve with vb.net.
Currently, anytime a user in the intitial application
wishes to see a map a new instance of the .net application
is started up. The overhead of starting the app,
initialising and first login to the database is quite
large compared to the time taken to run the query and
display the results - a second query takes only a fraction
of the time when run from within the .net app.

My question is this :- is there a way to incur this
initialisation overhead only once while still being able
to either launch or call the .net application frequently
from a non .net application ?

Any assistance is much appreciated.

Cheers

Nov 20 '05 #1
1 1036
Cor
Hi ErnieJ,

Does this not sound as an always running service or a webservice.

Just a thought.

Cor
I a have a .net application which displays the results of
a database query on a form in graphical format (i.e.
charts and maps). This application is launched from
another legacy Windows application with the query
determined by a number of parameters. This calling
application is not a .net app and does not support the
type of display I am able to achieve with vb.net.
Currently, anytime a user in the intitial application
wishes to see a map a new instance of the .net application
is started up. The overhead of starting the app,
initialising and first login to the database is quite
large compared to the time taken to run the query and
display the results - a second query takes only a fraction
of the time when run from within the .net app.

My question is this :- is there a way to incur this
initialisation overhead only once while still being able
to either launch or call the .net application frequently
from a non .net application ?

Nov 20 '05 #2

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

Similar topics

15
by: Ralf W. Grosse-Kunstleve | last post by:
****************************************************************************** This posting is also available in HTML format: http://cci.lbl.gov/~rwgk/python/adopt_init_args_2005_07_02.html...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
2
by: Tim Stevens | last post by:
Hello, This is the first time I have had to resort to posting on here, as Ive always been able to find a solution to my problems in the past by browsing postings by others. So, to start with I...
1
by: John A. Bailo | last post by:
Excuse the novice aspects of this question, but: What techniques are available to me for launching one c# application ( console .exe) from another? For example, I know there is the Process and...
6
by: LordHog | last post by:
Hello all, I was wondering what is the best method of launching an application/exectable from within the Managed VC++ environment? I have found some information which describe CreateProcess and...
11
by: vfunc | last post by:
I am a bit confused about XML forms, is this similar to web programming languages like PHP and java ? In particular do you use a compiler or special server to view these XML forms pages and can...
0
by: microb0x | last post by:
Is there any difference in the way an Access .mdb file is launched from directly double-clicking the file through windows explorer versus using code within another Access file to launch the...
0
by: Hasim AH | last post by:
Hi .. Just getting interested to learn C# and needs help. I want to write C# application so that the program will execute and draw graphics when the user select the drawing menu from the main...
0
by: eddie69 | last post by:
Hi, My application has a Toolstrip with a Help button which launches a htm help file. It works fine when the system's default browser is IE. When Firefox is set as default, the application...
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
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...
1
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
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,...
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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
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.