|
What's wrong with you? You have posted this 3 times now. I have given a reply here[^], you haven't followed up. Colin gave another reply here[^], still you haven't followed up. What is the point in asking again and again?
|
|
|
|
|
I need help diplaying tha time on one of my windows forms next to my calendar. I need a code that will display the long time, hours, minutes and seconds. This is urgent please help!
|
|
|
|
|
I'll give you a head start: part of a DateTime struct is about time.
Now hurry and nit some code together.
|
|
|
|
|
txmxax25 wrote: This is urgent please help!
I'm sure it's not. If it was, you'd have used google, or perhaps even bought a book at some point.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
|
Wow - one more worthless and lazy clown doing work they are not skilled to do, who expects me to do their job for them, and who doesn't like me for refusing to be at their beck and call. Boo hoo. How ever shall I live ? Oh, wait, I've made something of myself in life, which is why I am more than happy to offer free help on these forums to people who deserve it. You just got added to my other list, you ignorant retard.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
|
I notice he's too dumb to even spell it right.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
|
Wow, you really know how to make friends, don't you ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
you really know how to suck dick dont you.
|
|
|
|
|
You realise that every reply like this decreases the odds of anyone here helping you ever again, right ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Christian Graus wrote: decreases the odds
not possible to decrease the odds here, I feel!
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
Well, they are probably already hovering around zero, it's true.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
In Device Manager there are descriptions of the PC's serial ports with the port number in parenthesis. I would like access to these descriptions in C#. For Example my application uses a USB to Serial Adapter. Device manager reports it as "USB Serial Port (COM1)". Using the System.IO.SerialPort.GetPortNames() only returns the information in parenthesis. Is there any way to get the information before that i.e. "USB Serial Port"?
|
|
|
|
|
i don't think you can do this from your app. The usb com number is decided by the usb to serial driver.
*12Code
|
|
|
|
|
My windows service is check one exe file is running or not. If it is not run, windows service is run this exe file. (This exe file is a winform application)
I try this;
In Windows Service installer side; serviceProcessInstaller1 Account propert is: User
And I enter user name and password when service is installed...
Windows service run this exe file, I see exe file name on the Task Manager Processes tab but I can't see this exe file GUI.
After that I try this;
In Windows Service installer side; serviceProcessInstaller1 Account propert is: LocalSystem
I set "Allow service interact with desktop" propery on the Windows Service Management --> Service Property --> Log On tab.
But my problem is not solved, Windows service run this exe file, I see exe file name on the Task Manager Processes tab but I can't see this exe file GUI.
How can I start GUI application from a windows service?
|
|
|
|
|
Can you show the code used to start exe?
|
|
|
|
|
string exeFileFullAddress = "C:\\Test\\abc.exe";
System.Diagnostics.Process.Start(exeFileFullAddress);
But I alread try following
ProcessStartInfo psi = new ProcessStartInfo("C:\\Test\\abc.exe");
psi.RedirectStandardInput = true;
psi.RedirectStandardOutput = true;
psi.RedirectStandardError = true;
psi.UseShellExecute = true;
Process p = Process.Start(psi);
OR
System.Diagnostics.Process Proc = new System.Diagnostics.Process();
Proc.StartInfo.FileName = "C:\\Test\\abc.exe";
Proc.StartInfo.UseShellExecute = false;
Proc.StartInfo.CreateNoWindow = false;
Proc.Start();
|
|
|
|
|
The solution to make windows service run a GUI application is to set the Windows service run with the "Local system account" and activate the "Allow service to interact with desktop" from the "log on " tab in the Service properties. (when you double click on the Service in the Service console)
But it is not recommended to do such a thing.(for security reasons)
|
|
|
|
|
Okay, lets assume I have 2 socket servers running on separate computer and in third computer I've a client, client do not know that how many servers are running in LAN or whats their IP addresses. Now, I want to make a search for available connections.
Any way guys ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Have them all reply to a UDP broad cast. The broadcast can specify the ip and port which the servers should report to.
Natza Mitzi
|
|
|
|
|
I think I dont get you but are you trying to say that I should start a new server that will have all info about running servers ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
No, he is assuming you can modify the code each one is using.
He wants you to have the socket servers programmed to respond to a UDP broadcast, and you should program your client to send that UPD broadcast.
Are you able to modify the server code in that way?
Codemonkeys don't do it at all. Too busy coding.
|
|
|
|
|
Naruki wrote: Are you able to modify the server code in that way?
Why I cant ?
Well, the thing is I'm developing a pocket pc application. When you select file, right click on it(not actually) and select 'Send via wifi' then it opens my client application. But now I have to know the ip of the server to which I want to send the file and I want to write a code to search all the servers in homenetwork. Like bluetooth, when you send file it searches for another devices.
Both client and server written by me so I can modify the code
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|