473,504 Members | 13,830 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stop/Start MSDE Process

how i can do it?
Under Xp/2000, i write a application that stop/start this serices, but
under Win98, how i do it?
Exists a method via SqlServer or a dos command to stop/start the MSDE
program?

Thanks a lot

Tomas

--
Questa è una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Jul 20 '05 #1
3 3700
hi Thomas,
"tombat" <to***@tombat.it> ha scritto nel messaggio
news:ch**********@newsreader.mailgate.org...
how i can do it?
Under Xp/2000, i write a application that stop/start this serices, but
under Win98, how i do it?
Exists a method via SqlServer or a dos command to stop/start the MSDE
program?


you can have a look at the SQL-DMO object model, which expose the
objSqlServer.Start and objSqlServer.Stop method..
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply

Jul 20 '05 #2
> you can have a look at the SQL-DMO object model, which expose the
objSqlServer.Start and objSqlServer.Stop method..


Dal nome sembri italiano... intanto grazie per la risposta che non ho
però capito molto bene, quei due metodi dove posso utilizzarli?

--
Questa è una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Jul 20 '05 #3
salve,
"tombat" <to***@tombat.it> ha scritto nel messaggio
news:ch**********@newsreader.mailgate.org...
you can have a look at the SQL-DMO object model, which expose the
objSqlServer.Start and objSqlServer.Stop method..


Dal nome sembri italiano... intanto grazie per la risposta che non ho
però capito molto bene, quei due metodi dove posso utilizzarli?


nella tua applicazione, devi referenziare l'oggetto SQL-DMO, contenuto nella
dll sqldmo.dll nella cartella \80\Tools\Binn dell'installazione di SQL
Server
dopo di che ne usi semplicemente il modello ad oggetti che, come indicato,
espone quei metodi...
puoi cosi' integrarli nella tua applicazione ed eventualmente effettuare lo
start al momento della prima connessione, ovvero creare un mini progetto da
eseguire allo startup della macchina ed effettuare il tentativo di start del
servizio...
saluti
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply

Jul 20 '05 #4

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

Similar topics

5
8411
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows...
1
1879
by: DB developer | last post by:
Hello friends I am trying to create a deployment project to distribute my VB.NET application with MSDE database. I am using VS.NET with MSDE 2000 deployment toolkit (release candidate) to achieve...
12
2255
by: Vadym Stetsyak | last post by:
Hi there! Is there any way how can I stop garbage collection for a period of time. Lets say, I have a form. Before form load I pause the GC and when the form is shown resume GC
3
3062
by: Wardeaux | last post by:
All, I've written a "setup" wrapper that calls a sequence of "setup.exe", and all works except when I call the setup.exe for the MSDE, then it gets about half way through and then hangs... The...
4
1814
by: Piedro | last post by:
Hi group I'm trying to run the msde setup from my program with the following piece of code and the msde setup just keeps crashing after it has run for a couple of seconds. If I try to run the setup...
6
3211
by: Peter Proost | last post by:
Hi group, I've got a program that creates a bat and a sql file and then executes the bat file the bat file is called temp.bat and looks like this: osql -U"user" -P"password"...
11
6221
by: HC | last post by:
I posted this in one of the VB forums but I'm starting to think it might be more appropriate to have it here, since it really seems to be a SQL server (MSDE/Express 2005) problem: Hey, all, I...
9
5742
by: HC | last post by:
Hello, all, I started out thinking my problems were elsewhere but as I have worked through this I have isolated my problem, currently, as a difference between MSDE and SQL Express 2005 (I'll just...
3
1822
by: shimajavar | last post by:
Hi all I have the following code: a line is growing up by clicking on "up" button, it has another button"start" which I want it to stop the process of growing the line...How can I make a button to...
0
7098
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
7298
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
7366
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
7017
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
7471
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
5610
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,...
1
5026
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
4698
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
406
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.