Click here to Skip to main content
15,908,775 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hit test with a Region Pin
Nick Parker4-Aug-04 11:30
protectorNick Parker4-Aug-04 11:30 
GeneralRe: Hit test with a Region Pin
squonk4-Aug-04 13:34
squonk4-Aug-04 13:34 
QuestionWhere can I find the private key associated to my certificate? Pin
Escroto4-Aug-04 9:31
Escroto4-Aug-04 9:31 
AnswerRe: Where can I find the private key associated to my certificate? Pin
Heath Stewart4-Aug-04 12:07
protectorHeath Stewart4-Aug-04 12:07 
GeneralCasting problem Pin
BrcKcc4-Aug-04 8:19
BrcKcc4-Aug-04 8:19 
Generalconceptual question about cryptography and CAPICOM Pin
pelos4-Aug-04 6:33
pelos4-Aug-04 6:33 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
Heath Stewart4-Aug-04 7:10
protectorHeath Stewart4-Aug-04 7:10 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
pelos5-Aug-04 1:53
pelos5-Aug-04 1:53 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
Heath Stewart5-Aug-04 2:29
protectorHeath Stewart5-Aug-04 2:29 
GeneralSorting in HashTables/SortedLists etc Pin
MrEyes4-Aug-04 6:12
MrEyes4-Aug-04 6:12 
GeneralRe: Sorting in HashTables/SortedLists etc Pin
Heath Stewart4-Aug-04 7:05
protectorHeath Stewart4-Aug-04 7:05 
GeneralRe: Sorting in HashTables/SortedLists etc Pin
scadaguy4-Aug-04 12:09
scadaguy4-Aug-04 12:09 
QuestionHowto write values into a Access DB? Pin
bin_jackson4-Aug-04 6:11
bin_jackson4-Aug-04 6:11 
AnswerRe: Howto write values into a Access DB? Pin
Nick Parker4-Aug-04 6:50
protectorNick Parker4-Aug-04 6:50 
GeneralRe: Howto write values into a Access DB? Pin
bin_jackson4-Aug-04 7:00
bin_jackson4-Aug-04 7:00 
GeneralFolderBrowser crashes with long paths Pin
Lasome4-Aug-04 5:47
Lasome4-Aug-04 5:47 
GeneralRe: FolderBrowser crashes with long paths Pin
Heath Stewart4-Aug-04 5:54
protectorHeath Stewart4-Aug-04 5:54 
GeneralRe: FolderBrowser crashes with long paths Pin
Lasome4-Aug-04 5:59
Lasome4-Aug-04 5:59 
GeneralRe: FolderBrowser crashes with long paths Pin
Nick Parker4-Aug-04 6:10
protectorNick Parker4-Aug-04 6:10 
GeneralRe: FolderBrowser crashes with long paths Pin
Heath Stewart4-Aug-04 7:01
protectorHeath Stewart4-Aug-04 7:01 
Generalrun time properties in icon Pin
aberger564-Aug-04 5:33
aberger564-Aug-04 5:33 
GeneralRe: run time properties in icon Pin
Heath Stewart4-Aug-04 5:49
protectorHeath Stewart4-Aug-04 5:49 
GeneralRe: run time properties in icon Pin
Nick Parker4-Aug-04 5:55
protectorNick Parker4-Aug-04 5:55 
aberger56 wrote:
So the question is, is there a way to have the properties under the desktop icon be something like "myprogram.exe test.ini" or "myprogram.exe live.ini"

In short, yes, your application can take arguments which is why you can write Main as such. I would suggest you look at other options such as extracting the path from a config file.

public static void Main(string[] args)
{
   string path = args[0];
   if(path != null)
   {
   //... continue on.
   }
}


- Nick Parker
My Blog | My Articles

GeneralRe: run time properties in icon Pin
aberger564-Aug-04 6:13
aberger564-Aug-04 6:13 
QuestionC# Socket Problem??? Pin
Korjiro4-Aug-04 5:31
Korjiro4-Aug-04 5:31 

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.