Hello
is there a way to install a c# console application as a service?
if no, is there a way to start it automatically without putting a shortcut in the "startup" folder?
another question: my software got a thread wich run in an infinite loop, this avoid exiting the application. but when i launch it, the "wait" cursor is always shown... does anybody got a solution to display the wait cursor only during launch of the soft, but not while the thread is running?
thx.
warenbe
just found this:
http://www.codeplex.com/managedserviceswm
seems really interesting...
Related
I'm just a newbie here on the board as well as a user of an O2 XDAII.
I would just like to ask if anybody have made a stop-watch or timer software that could be installed on the XDAII?
Thanks in advance.
Yes, actually I have as my first attemt at a .Net CF application.
It is a very simple stopwatch/strokecount application. If you want it, I can upload it.
That was a quick reply... please do upload it. If it is not a hassle, can you also indicate on how do I load it....I am really very new with my new toy..it's too high tech for my existing knowledge. TIA Kim
Now, as you will be able to see, it is an application in a very rough stage. AND there is a little thing that is not implemented (Save splits).
What you do is you unpack the zip file to a folder on your harddrive. Then you uploade the exefile to your XDA II using ActiveSync and Explore. (You just press the explore button in ActiveSync and you can copy/paste the .exe file to your device there.)
You can put the exefile anywhere, but you have to your Explore on your XDA II to execute the file. (I think you can make the program show in programs by placing a link in the \Windows\Start Menu\Programs folder)
Now, in order to use the app, here is a little explanation of the buttons.
Time gives you the pace of your presses. You have to press this button 3 times before you get a result. It gives you the number of presses you would have if you continued for 1 minute. (Used in rowing and swimming)
Then you have your start/stop button, and a split button. And the reset, just clears the boxes. Unfortunatly I have not made it pause. When you stop the watch, it starts from 0. This will be in another release
Hope you can use it, and do not hesitate to come with some surgestions.
Oh, and by the way, if you have .Net framework 1.1 installed on your pc, you can try out the application on that too....
You can also try these freewares:
Pocket Counter
StopTime
You may find them in the PocketPCFreewares site
tnx to you two
I don't know what else you are adding to the app but I would suggest button mapping.
wildthing said:
I would just like to ask if anybody have made a stop-watch or timer software that could be installed on the XDAII?
Click to expand...
Click to collapse
You could look at Spb Time - multiple up and down timers, very nice.
gunsandrosses said:
I don't know what else you are adding to the app but I would suggest button mapping.
Click to expand...
Click to collapse
Actually that was part of my first alpha version made in eVC++ 4.0. But after switching over to C# and .Net I haven't gotten around to it. BUT it is going to be in there.
anyone know a stopwatch for the wizard - supporting wm5?
thx
Hello everybody.
I'm writing an application which starts several other applications (exe and cab files). I want my application to wait for the called process. Can anyone tell me how I can do that?
I've read about an API function called "WaitForInputIdle". But it seems like this function does not exist in User32.dll or even in Windows CE. Do I just have to use another library? If yes which one do I have to invoke?
For now I just check for the called process an set my main thread asleep for one second if the called process is still running. But in my opinion this is not really a nice solution...
Can someone please give me a hint?
Thanks in advance.
Alex
If you use CreateProcess you get back the handle to that process in the PROCESS_INFORMATION structure.
You can use this handle with WaitForSingleObject API to suspend your thread until the process terminates.
Yepp...
Hi levenum.
Thanks for this tip. It works fine.
Hey everybody, I've got a HTC Wizard phone running Wm5 and I would like to write a different today screen application (not a new plugin, but replace entirely the today app - plugins host).
I search the net for informations about the application, but I could only find out that is called host.exe.
Does any one know what kind of restrictions are for this type of application?
Does it need to respond to some specific things?
And how can I replace it with my exe?
Or at least where can I find such information?
Thanks
It seems to me that the today app doesn't need to meet any special requirements. You can replace it with any app. However you will lose the start menu and the clock bar if the new application doesn't provide such functionality.
There is one thing I could not find: how can you specify the application that will be started as today screen.. I assume this would be a reg key but i could not find it yet.
hi,
i am about to start my first developing project as i am looking for a way to either replace the complete today screen by startup with "cprog.exe" (which is the builtin phone-app) or embed the phone app's dialpad (3g kaiser style) as a plugin in the today screen.
before starting i was thinking as to why to develop a today-plugin and somehow rewriting the whole phone-app.
as the phone-app already exists i am thinking about kind of wrapping the exe so that it can be used as a plugin. or in other words, to write a plugin which runs the app in a specified frame within the today screen.
do you think that this would work?
do you have some more thoughts or other ideas on this?
does there already exists such a wrapper?
do you have a good source to start from as this would be my first project?
galaxys already sent me this link http://forum.xda-developers.com/showthread.php?t=332800
but maybe there is for my purposes a more specific one.
thanksfor your help
oliver
Hi Guys
Wondered if anyone knew of a way of locking down all the hardware buttons with a registry change on WM5?
Or at least specific ones?
Reason being I'm developing a flash lite data driven app for a device specific service with issued handsets to users during a corporate event - they need to be "locked down" to stop the user activating the phone using the "make call" buttons etc.
Although I can make the Flash app run "full screen" I can't stop the other buttons switching to other apps.
Regards
Derek
2 suggestions.
1 if you are trying to gain lock out control A_C's S2U2 program accomplashes this. If you need something other than his program I recommend that you PM him and asked him out he accomplished it with his lock.
2 you may want to try a program like hbutton. It would allow you to assign controls of the buttons to certain actions. One of the action options could be to do nothing. You could set them all to that.
Try using GXOpenInput();
it will redirect all input screen/keys to your app and then you can ignore then if you want.
Chris
chrisstavrou
I've just googled that command and found this page...
http://msdn.microsoft.com/en-us/library/ms831632.aspx
Seems like a good solution - only problem is, I'm not a .Net developer, so how would I pass this into the Flash Lite App as a .swf is loaded on the handset?
is there a way of passing this system variable in almost like a command-line before the app is opened?
Or would I need an executable on the PocketPC to somehow pass that in opening flashlite and the .swf in one go?
Thanks
Thanks for all the useful suggestions, I'm now following them up - cheers guys!