Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: help me, how to autoscroll in richtextbox Pin
J. Dunlap14-Jul-03 21:45
J. Dunlap14-Jul-03 21:45 
GeneralRe: help me, how to autoscroll in richtextbox Pin
dynamic14-Jul-03 22:00
dynamic14-Jul-03 22:00 
GeneralRe: help me, how to autoscroll in richtextbox Pin
KETUINHA14-Jul-03 22:54
KETUINHA14-Jul-03 22:54 
GeneralProperty values from loaded process Pin
Shaun Becker14-Jul-03 15:39
Shaun Becker14-Jul-03 15:39 
GeneralRe: Property values from loaded process Pin
Rocky Moore14-Jul-03 23:29
Rocky Moore14-Jul-03 23:29 
GeneralRe: Property values from loaded process Pin
Shaun Becker15-Jul-03 0:34
Shaun Becker15-Jul-03 0:34 
GeneralRe: Property values from loaded process Pin
Rocky Moore15-Jul-03 2:48
Rocky Moore15-Jul-03 2:48 
GeneralRe: Property values from loaded process Pin
Shaun Becker15-Jul-03 3:46
Shaun Becker15-Jul-03 3:46 
I tried that and it didn't work for me, unless I did something wrong. I had a class library with two classes. The first class just held a static reference to an instance of the second class. Then I had two applications that referenced the class library. Each program checked the first class to see if the static reference was already set. If it wasn't set, it sets the reference to a new instance of the second class. If it was set, it displays the contents of the second class. The class was only static for each application process and not cross-process.

Hopefully I am explaining what I am trying to do correctly. I am writing a logistics application suite. It will have a main program, a maintenance program, an order entry program, and an admin program. The main program will just control security while all other application are running. Whenever any of the other programs start up, first it is going to check if there is already an instance of the application running using System.Diagnostics.Process.GetProcessesByName(). If there is then it will just activate that instance. If there isn't then it will then check if there is an instance of the main application using System.Diagnostics.Process.GetProcessesByName(). If there is an instance of the main application, then it will just get a reference to the user object from the main program. If there isn't an instance of the main application, then it will create a new process of the main application with System.Diagnostics.Process.Start(), which will require the user to log in and that will intialize the user object. Then the executing program will get a reference to the user object from the main program that was just started. I hope this explains everything I am trying to do. If you have any suggestions on how to do this or of a better way to reach the desired outcome, I would greatly appreciate it. Thanks

Shaun
GeneralRe: Property values from loaded process Pin
Rocky Moore15-Jul-03 13:18
Rocky Moore15-Jul-03 13:18 
GeneralRe: Property values from loaded process Pin
Shaun Becker15-Jul-03 15:00
Shaun Becker15-Jul-03 15:00 
QuestionNon-threaded WebRequest? Pin
Arun Bhalla14-Jul-03 14:38
Arun Bhalla14-Jul-03 14:38 
AnswerRe: Non-threaded WebRequest? Pin
Arun Bhalla15-Jul-03 15:51
Arun Bhalla15-Jul-03 15:51 
Generalcreating a dialoge box in c# Pin
Asim N.14-Jul-03 14:37
Asim N.14-Jul-03 14:37 
GeneralRe: creating a dialoge box in c# Pin
Jim Stewart14-Jul-03 15:11
Jim Stewart14-Jul-03 15:11 
GeneralRe: creating a dialoge box in c# Pin
Member 7681715-Jul-03 12:41
Member 7681715-Jul-03 12:41 
GeneralOnIdle() - how do I override it in C#. Pin
mcgahanfl14-Jul-03 13:05
mcgahanfl14-Jul-03 13:05 
GeneralRe: OnIdle() - how do I override it in C#. Pin
Jim Stewart14-Jul-03 14:59
Jim Stewart14-Jul-03 14:59 
GeneralRe: OnIdle() - how do I override it in C#. Pin
mcgahanfl15-Jul-03 7:50
mcgahanfl15-Jul-03 7:50 
GeneralRe: OnIdle() - how do I override it in C#. Pin
Jim Stewart15-Jul-03 8:57
Jim Stewart15-Jul-03 8:57 
GeneralDirectShow and C# Pin
Brian JR14-Jul-03 11:37
Brian JR14-Jul-03 11:37 
GeneralRe: DirectShow and C# Pin
Mazdak14-Jul-03 11:52
Mazdak14-Jul-03 11:52 
GeneralRe: DirectShow and C# Pin
Brian JR14-Jul-03 16:07
Brian JR14-Jul-03 16:07 
GeneralRe: DirectShow and C# Pin
Mazdak14-Jul-03 20:30
Mazdak14-Jul-03 20:30 
GeneralRe: DirectShow and C# Pin
Brian JR15-Jul-03 7:52
Brian JR15-Jul-03 7:52 
GeneralRe: DirectShow and C# Pin
Brian JR15-Jul-03 8:57
Brian JR15-Jul-03 8:57 

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.