Click here to Skip to main content
15,890,336 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threading passing parameters to thread Pin
Muhammad Nauman Yousuf6-Aug-07 8:10
Muhammad Nauman Yousuf6-Aug-07 8:10 
AnswerRe: Threading passing parameters to thread Pin
justintimberlake5-Aug-07 17:52
justintimberlake5-Aug-07 17:52 
QuestionHow to load data from database using threading and progressbar Pin
vkuttyp5-Aug-07 8:48
professionalvkuttyp5-Aug-07 8:48 
AnswerRe: How to load data from database using threading and progressbar Pin
Luc Pattyn5-Aug-07 8:56
sitebuilderLuc Pattyn5-Aug-07 8:56 
GeneralRe: How to load data from database using threading and progressbar Pin
vkuttyp6-Aug-07 1:28
professionalvkuttyp6-Aug-07 1:28 
QuestionPleas give me Your help Pin
Thaer Hamael5-Aug-07 8:30
Thaer Hamael5-Aug-07 8:30 
AnswerRe: Pleas give me Your help Pin
Malcolm Smart5-Aug-07 11:26
Malcolm Smart5-Aug-07 11:26 
Questionwindows service set up issue Pin
sujithapril5-Aug-07 8:13
sujithapril5-Aug-07 8:13 
i have a setup project setup1 which deploys two windows services windows
service1,windows service2.i also added some custom installation actions into
it using projectinstaller.cs.In windowsservice1 oninstall event,i attached a
database ;(create database for attach command) .
in windowsservice2 onuninstall event,i deletes the databse using "drop
database";
the setup exe installs the windows services successfully.but when i
uninstall them, the drop database does not work as sql server places a lock
on mdf files.(cant drop database as mdf file is in use).how can i solve this
problem. Also since uninstall operation is not transactional, only the
windowsservice1 gets uninstalled. when i again try to uninstall ,it shows
"the specified service does not exist as an i nstalled service"(probably the
setup again tries to unstall the already uninstalled windowsservice1).

How can i solve these problems?
i need a way to unlock the mdf files before executing drop database
command
And in unstall event of windows service 1, i need a way to check if it is
already uninstalled
public override void UnInstall()
{
how to check whether the service already uninstalled()?;
base.Uninstall();

}
AnswerRe: windows service set up issue Pin
PaulPrice5-Aug-07 21:26
PaulPrice5-Aug-07 21:26 
GeneralRe: windows service set up issue Pin
sujithapril6-Aug-07 7:15
sujithapril6-Aug-07 7:15 
GeneralRe: windows service set up issue Pin
PaulPrice6-Aug-07 21:43
PaulPrice6-Aug-07 21:43 
QuestionPlace form 10px from right side of screen. Pin
jafingi5-Aug-07 7:46
jafingi5-Aug-07 7:46 
AnswerRe: Place form 10px from right side of screen. Pin
Hessam Jalali5-Aug-07 8:58
Hessam Jalali5-Aug-07 8:58 
AnswerRe: Place form 10px from right side of screen. Pin
Luc Pattyn5-Aug-07 8:59
sitebuilderLuc Pattyn5-Aug-07 8:59 
AnswerRe: Place form 10px from right side of screen. Pin
jafingi5-Aug-07 9:38
jafingi5-Aug-07 9:38 
QuestionAsymetric Cryptography Problem Pin
unforgiven_wild_rose5-Aug-07 5:11
unforgiven_wild_rose5-Aug-07 5:11 
AnswerRe: Asymetric Cryptography Problem Pin
Hessam Jalali5-Aug-07 6:27
Hessam Jalali5-Aug-07 6:27 
GeneralRe: Asymetric Cryptography Problem Pin
unforgiven_wild_rose5-Aug-07 20:50
unforgiven_wild_rose5-Aug-07 20:50 
GeneralRe: Asymetric Cryptography Problem Pin
Hessam Jalali6-Aug-07 1:02
Hessam Jalali6-Aug-07 1:02 
GeneralRe: Asymetric Cryptography Problem Pin
unforgiven_wild_rose6-Aug-07 23:52
unforgiven_wild_rose6-Aug-07 23:52 
QuestionComboBox In DataGridView Pin
Thaer Hamael5-Aug-07 4:21
Thaer Hamael5-Aug-07 4:21 
QuestionTry to use C# code in C++ code as com instance ... Pin
Yanshof5-Aug-07 1:56
Yanshof5-Aug-07 1:56 
QuestionReading file as binary. Success. But...... Pin
Life as a Coder5-Aug-07 1:12
Life as a Coder5-Aug-07 1:12 
AnswerRe: Reading file as binary. Success. But...... Pin
Colin Angus Mackay5-Aug-07 1:27
Colin Angus Mackay5-Aug-07 1:27 
NewsRe: Reading file as binary. Success. But...... Pin
Life as a Coder5-Aug-07 1:35
Life as a Coder5-Aug-07 1:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.