Click here to Skip to main content
15,889,176 members
Home / Discussions / C#
   

C#

 
GeneralRe: Click-Once :: Publishing And Updates In Different Locations Pin
Matt U.7-Aug-13 2:01
Matt U.7-Aug-13 2:01 
QuestionC# Garbage Collection and GC.Collect() Pin
DSLoginYea5-Aug-13 7:38
DSLoginYea5-Aug-13 7:38 
AnswerRe: C# Garbage Collection and GC.Collect() Pin
Eddy Vluggen5-Aug-13 7:51
professionalEddy Vluggen5-Aug-13 7:51 
AnswerRe: C# Garbage Collection and GC.Collect() Pin
Abhinav S5-Aug-13 17:00
Abhinav S5-Aug-13 17:00 
AnswerRe: C# Garbage Collection and GC.Collect() Pin
Bernhard Hiller5-Aug-13 22:49
Bernhard Hiller5-Aug-13 22:49 
QuestionRun Windows project which is set up as a service Pin
vkEE5-Aug-13 2:37
vkEE5-Aug-13 2:37 
AnswerRe: Run Windows project which is set up as a service Pin
Richard MacCutchan5-Aug-13 3:18
mveRichard MacCutchan5-Aug-13 3:18 
AnswerRe: Run Windows project which is set up as a service Pin
Ron Nicholson5-Aug-13 3:39
professionalRon Nicholson5-Aug-13 3:39 
I do something like the following. Basically you need to have a windows form or WPF app ready to run. You can do this by just adding one to your project. You comment the service and uncomment the forms code to run in VS. Put it back to run as a service. If this isn't already set for you then you have some work to do to make it run, but it shouldn't be hard. This code is in the Program.cs file

C#
static class Program
{

    //static void Main()
    //{
    //    Application.EnableVisualStyles();
    //    Application.SetCompatibleTextRenderingDefault(false);
    //    Application.Run(new Form1());
    //}

    static void Main()
    {
        ServiceBase[] ServicesToRun;

        ServicesToRun = new ServiceBase[] { new myNewService() };
        ServiceBase.Run(ServicesToRun);
    }
}

AnswerRe: Run Windows project which is set up as a service Pin
Bernhard Hiller5-Aug-13 22:53
Bernhard Hiller5-Aug-13 22:53 
Questioncreate hyberlink in string using RichTextBox control in WPF Pin
senthil kumar 2224-Aug-13 23:53
professionalsenthil kumar 2224-Aug-13 23:53 
AnswerRe: create hyberlink in string using RichTextBox control in WPF Pin
Richard MacCutchan5-Aug-13 1:05
mveRichard MacCutchan5-Aug-13 1:05 
Questiongridview inside gridview with insert update and delete Pin
vipulparmar904-Aug-13 22:49
vipulparmar904-Aug-13 22:49 
AnswerRe: gridview inside gridview with insert update and delete Pin
Mycroft Holmes4-Aug-13 23:02
professionalMycroft Holmes4-Aug-13 23:02 
AnswerRe: gridview inside gridview with insert update and delete Pin
madhubsu@gmail.com5-Aug-13 1:57
madhubsu@gmail.com5-Aug-13 1:57 
Questionhow to make backup and restore for ".mdf" file Pin
Awad Bekhet3-Aug-13 1:11
Awad Bekhet3-Aug-13 1:11 
AnswerRe: how to make backup and restore for ".mdf" file Pin
Code-Hunt3-Aug-13 1:55
Code-Hunt3-Aug-13 1:55 
GeneralRe: how to make backup and restore for ".mdf" file Pin
Awad Bekhet3-Aug-13 2:13
Awad Bekhet3-Aug-13 2:13 
GeneralRe: how to make backup and restore for ".mdf" file Pin
Code-Hunt3-Aug-13 2:19
Code-Hunt3-Aug-13 2:19 
GeneralRe: how to make backup and restore for ".mdf" file Pin
Awad Bekhet3-Aug-13 4:08
Awad Bekhet3-Aug-13 4:08 
AnswerRe: how to make backup and restore for ".mdf" file Pin
jschell3-Aug-13 5:16
jschell3-Aug-13 5:16 
GeneralRe: how to make backup and restore for ".mdf" file Pin
Awad Bekhet3-Aug-13 5:59
Awad Bekhet3-Aug-13 5:59 
GeneralRe: how to make backup and restore for ".mdf" file Pin
Pete O'Hanlon3-Aug-13 21:59
mvePete O'Hanlon3-Aug-13 21:59 
AnswerRe: how to make backup and restore for ".mdf" file Pin
Eddy Vluggen3-Aug-13 5:54
professionalEddy Vluggen3-Aug-13 5:54 
GeneralRe: how to make backup and restore for ".mdf" file Pin
Awad Bekhet3-Aug-13 6:00
Awad Bekhet3-Aug-13 6:00 
GeneralRe: how to make backup and restore for ".mdf" file Pin
Eddy Vluggen3-Aug-13 22:58
professionalEddy Vluggen3-Aug-13 22:58 

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.