Done it! :D Using window handles I managed to open the process inside my own form
synunn
Posts
-
Start Application inbedded on a form -
Start Application inbedded on a formCheers, i thought that'll be the case. I guess I'll jut have to study the code :(
-
Start Application inbedded on a formCheers, I'm trying to take an existing assemby and use it as part of a display. The application displays a graph using some hardware sensors. As this works fine within itself I'm trying to load the application into my form as a control. :)
-
Start Application inbedded on a formHello :) I'm trying to start an application inside a custom control. This may not be the best approach so if you have any idea's on the subject please let me know. At the moment I'm mearly trying to get notepad onto Form1 as it where. Please help
-
System Tray Icon with background processes [modified] -
Make NotifyIcon without a Form [modified]I hope 5 is a good vote because I'd give you 55 if I could!! I've been screawing around with background threads and alsorts of other tricks, it's been driving me mad. Nice one! that's brilliant! :-D :) :-D :) :-D :) :-D :) :-D :) :-D :) :-D :) :-D :) :-D :) :-D :) :-D :)
-
Make NotifyIcon without a Form [modified]I'd like to make an app run from the sys tray without pressenting a form. The problem is the object goes out of scope after creation unless I use:
while(this.Created) { Application.DoEvents(); }
The class has to inheret from IDisposable so that Created can be set to false and exit the loop. I do not like using this loop as it puts the cpu usage up to 100% untill anEvent
occurs. Any ideas on another approach?:confused: -- modified at 6:43 Thursday 6th July, 2006 DOh, spelling mistakes! -
Changing Mouse CursorYeah, i've settled for SysTray but i'm having this problem now
-
Changing Mouse CursorYeah, i've settled for SysTray but i'm having this problem now http://www.codeproject.com/script/comments/forums.asp?msg=1561813&forumid=1649&XtraIDs=1649&searchkw=synunn&sd=4%2F6%2F2006&ed=7%2F5%2F2006#xx1561813xx
-
sms messages from asp.net application??I use these guys for my applications.
-
System Tray Icon with background processes [modified]Hi kids :) Background I'm writing a system service style application. It consists of a
NotifyIcon
in the sys'tray that has several functions that are called from theContextMenu
/Event
s. When the app' starts it should do nothing but sit there until the 'Start Sending'MenuItem
'sEvent
is called. This event starts a new Thread which checks a file repository betweenThread.Sleep(15*60*1000)
. Problem To cut to the chase, the application is maxing out the cpu usage during a loop:while(this.Created){ Application.DoEvents();}
How to I prevent this excesive usage? Do I need to access the System Idle Process? This usage doesn't actually halt the server or even slow it down it just capitalizes the usage as there is no other contender for the cpu's attention. I have tried to drop theThread.Priority
toBelowNormal
but the applicationsThread
remains atNormal
in Task Manager. -- modified at 5:41 Wednesday 5th July, 2006 -
Changing Mouse CursorGood question, in actuallity I'm probably more determined to change the cursor in this manner because I'm quite pleased with the animation I've created.
-
Changing Mouse CursorGood point, if I hooked the user32.dll it'd be current user presumably. I had considered systray but thought it could be easily overlooked. I suppose I could use alternating bright colours to draw the eye... cheers
-
Changing Mouse CursorI'll explain further as nobody has replied :( I'm writing a server app' that is started from a scheduled task, it requires no gui as the config file contains everything it needs to start and another app feeds it with data. I'd like something to show the application is running on the server so that people don't think the computer needs rebooting due to laggyness (if there is such a word). I have made an animated cursor that could be used to show this application is running. The only method of showing it I know of requires the application to have a form and the mouse cursor to be within its area. Please help if you can.:^)
-
RowStateBindingContext is reactive to you location in the table, so by clicking next you are modifing it. Why where you hoping for it not to be changed?
-
Stupid APC PowerChuteYeah that sucks, almost as much as not testing it until there's a powercut and though it had never complained about being overloaded it supplied ten seconds of run time! Said the voice of experience. Not even enough runtime to finish my expletives! :doh:
-
Weird problem with Button.ImageHave you tried
GetManifestResourceNames()
to see if the image is present? that is asumingresources
is anAssembly
. -
Changing Mouse CursorHi :)
Form frm = new Form() frm.Cursor = new Cursor(_filename_);
Works fine if you have a form and the mouse cursor is over the form. I would like to get at the default mouse cursor so that I can change the pointer even if there is no form. Cheers Si