|
how to run console application in command prompt.
the keywords to run...
like csc Program.cs...........
whats it i dont know exactly how to do it.
|
|
|
|
|
After you have compiled the application, you will find the .exe file in the bin folder. That is the program that you run.
---
Year happy = new Year(2007);
|
|
|
|
|
csc compiles the cs file. The exe will be generated. You then run the exe.
|
|
|
|
|
You know there is a Main method like this;
static void Main(string[] args)
args is an array which contains commands of your program.exe
check this one;
static void Main(string[] args)<br />
{<br />
if (args[0] == "hello")<br />
{<br />
Console.WriteLine("args[0] = {0}", args[0]);<br />
}<br />
if (args[1] == "world")<br />
{<br />
Console.WriteLine("args[1] = {0}", args[1]);<br />
}<br />
}
in this case, write "programpath\yourprogramname.exe hello world" and viola!
|
|
|
|
|
"
I have done one desktop application in visual c#, i want to give
online updations for that software .
i need full flow and coding for this "
i think given link (http://www.codeproject.com/useritems/QuickClickOnceArticle.asp)has the answer for my question...
thank u ...keep in touch with me
we are in illusionary life
|
|
|
|
|
Post follow-ups as replies in the same thread instead of starting a new thread.
---
Year happy = new Year(2007);
|
|
|
|
|
You are welcome.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
its only for testing purpose
ok Developer
|
|
|
|
|
doing testing
ok Developer
|
|
|
|
|
Stop wasting bandwidth. There are millions of messages on these forums. If it didn't work already I think we'd know!
|
|
|
|
|
Why don't you test your own message board. This one works fine.
|
|
|
|
|
Congratulations! You failed the test!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i need a program in c# that this program write value of sound decibel from sound card in a textarea
i don't need a graphical program . i need program that can getback to me value
|
|
|
|
|
is there any way i can move enumerator back one position
bia
|
|
|
|
|
No. You can only more forward one step or back to the beginning.
---
Year happy = new Year(2007);
|
|
|
|
|
Just curious, why would you need that?
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
actually im makin an urdu editor and if any arror occurs i ned to move bak to previous word nd i hasd to code a loooong loong process for this thas y
thanks ny ways
|
|
|
|
|
Why not simply maintain a moving cache of the last N entries you iterated through? e.g
foreach (string x in y)
{
/* operations here */
string previousx = x;
}
|
|
|
|
|
I have done one desktop application in visual c#, i want to give
online updations for that software .
i need full flow and coding for this.
we are in illusionary life
|
|
|
|
|
Wow. That's almost a haiku.
Anyway, you want to look at something called ClickOnce[^] deployment.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
You can publish your project and use click once method, that is perfect 4 u
|
|
|
|
|
Do anyone know how to read the shapefile formats.
I want to do a simple application to show the map of some places using shapefile. Please help me
Regards
Hari krishnan
|
|
|
|
|
Some libraries exist as part of other applications (see for example here[^]).
If you want to do your own implementation you can read the format specification here.[^]. Notice that it is a bit of a WTF. They where unable to figure out if they should use little endian or big endian, so they made the obvious choice of using both in the same file - one for the file structure information, and another for the data itself.
|
|
|
|
|
thanks for the quick reply.. i was looking for some code using which i can finsh the map drawing quickly
|
|
|
|
|
I have created a progress form with a progress bar(Marquee) which i am trying to display while a stored procedure is run in the background which can take several minutes, the progres form works fine as does the stored procedure but the progress form will not display correctly while the stored procedure is being called, is there a way of forcing the form to display correctly and run while the SP is called in the background.
Any help would be greatly appreciated
many thanks
|
|
|
|