Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: VS2008 and Updating controls ? Pin
Not Active24-Dec-08 9:46
mentorNot Active24-Dec-08 9:46 
GeneralRe: VS2008 and Updating controls ? Pin
Mike Bluett24-Dec-08 9:57
Mike Bluett24-Dec-08 9:57 
AnswerRe: VS2008 and Updating controls ? Pin
Dragonfly_Lee22-Dec-08 21:19
Dragonfly_Lee22-Dec-08 21:19 
GeneralRe: VS2008 and Updating controls ? Pin
Mike Bluett23-Dec-08 10:32
Mike Bluett23-Dec-08 10:32 
GeneralRe: VS2008 and Updating controls ? Pin
Dragonfly_Lee23-Dec-08 21:10
Dragonfly_Lee23-Dec-08 21:10 
GeneralRe: VS2008 and Updating controls ? Pin
Mike Bluett24-Dec-08 7:05
Mike Bluett24-Dec-08 7:05 
GeneralRe: VS2008 and Updating controls ? Pin
Not Active24-Dec-08 8:11
mentorNot Active24-Dec-08 8:11 
AnswerRe: VS2008 and Updating controls ? Pin
Mike Bluett24-Dec-08 14:12
Mike Bluett24-Dec-08 14:12 
I found the answer on another forum.

All I needed to do was to make the GLOBAL definition static due to the fact that the the method it is called from is static. Very simple as I expected it might be.

Code as follows:

    public class FileOrganizer<br />
    {<br />
        private static Form1 mainForm;<br />
<br />
<br />
        [STAThread]<br />
        static void Main()<br />
        {<br />
            Application.EnableVisualStyles();<br />
            Application.SetCompatibleTextRenderingDefault(false);<br />
            mainForm = new Form1();<br />
            Application.Run(mainForm);<br />
        }



It's amazing how much of a run-around I was given on this forum.
QuestionNeed Help in How to hook and re-route the c# function calls Pin
venkatcontact22-Dec-08 8:27
venkatcontact22-Dec-08 8:27 
AnswerRe: Need Help in How to hook and re-route the c# function calls Pin
Not Active22-Dec-08 10:10
mentorNot Active22-Dec-08 10:10 
QuestionSpecify entire app.config at runtime Pin
Chazzysb22-Dec-08 5:00
Chazzysb22-Dec-08 5:00 
AnswerRe: Specify entire app.config at runtime Pin
Not Active22-Dec-08 10:07
mentorNot Active22-Dec-08 10:07 
Question.NET 2.0 Windows Service Deployment error on Windows 2008 server. Pin
Member 357347622-Dec-08 4:22
Member 357347622-Dec-08 4:22 
QuestionWriting to an Access DB locks DB Pin
Planker22-Dec-08 3:49
Planker22-Dec-08 3:49 
AnswerRe: Writing to an Access DB locks DB Pin
Dave Kreskowiak22-Dec-08 4:39
mveDave Kreskowiak22-Dec-08 4:39 
GeneralRe: Writing to an Access DB locks DB Pin
Planker22-Dec-08 5:01
Planker22-Dec-08 5:01 
AnswerRe: Writing to an Access DB locks DB Pin
Wendelius22-Dec-08 8:22
mentorWendelius22-Dec-08 8:22 
GeneralRe: Writing to an Access DB locks DB Pin
Dave Kreskowiak22-Dec-08 8:44
mveDave Kreskowiak22-Dec-08 8:44 
GeneralRe: Writing to an Access DB locks DB Pin
Wendelius22-Dec-08 9:31
mentorWendelius22-Dec-08 9:31 
QuestionHow to make Efficient algorithm Pin
wasimsharp22-Dec-08 3:44
wasimsharp22-Dec-08 3:44 
AnswerRe: How to make Efficient algorithm Pin
Pete O'Hanlon22-Dec-08 4:36
mvePete O'Hanlon22-Dec-08 4:36 
GeneralRe: How to make Efficient algorithm Pin
wasimsharp22-Dec-08 20:40
wasimsharp22-Dec-08 20:40 
AnswerRe: How to make Efficient algorithm Pin
Mark Churchill22-Dec-08 19:17
Mark Churchill22-Dec-08 19:17 
GeneralRe: How to make Efficient algorithm Pin
wasimsharp22-Dec-08 20:35
wasimsharp22-Dec-08 20:35 
Questionauto hide Pin
erdem0122-Dec-08 3:27
erdem0122-Dec-08 3:27 

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.