Click here to Skip to main content
15,900,378 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: UserInterface - Help me Pin
BranislavBallay5-Mar-07 23:22
BranislavBallay5-Mar-07 23:22 
AnswerRe: UserInterface - Help me Pin
Zoltan Balazs10-Mar-07 2:11
Zoltan Balazs10-Mar-07 2:11 
AnswerRe: UserInterface - Help me Pin
Sautin.net19-Mar-07 7:51
Sautin.net19-Mar-07 7:51 
QuestionPopup Form Pin
BranislavBallay4-Mar-07 0:42
BranislavBallay4-Mar-07 0:42 
QuestionPassword Form Pin
krajah103-Mar-07 20:46
krajah103-Mar-07 20:46 
AnswerRe: Password Form Pin
Smart_Boy22-Mar-07 0:11
Smart_Boy22-Mar-07 0:11 
QuestionRun Once and accept parameters Pin
Christopher Thornburg2-Mar-07 9:59
Christopher Thornburg2-Mar-07 9:59 
AnswerRe: Run Once and accept parameters Pin
JUNEYT2-Mar-07 11:44
JUNEYT2-Mar-07 11:44 
Please accept my apology I am a bit confused about activating the current instance because you are saying that "run once code working". Therefore, the application is not getting ran for twice.

The second attempt to run application will restore to current instance (right?). If you are dealing C# I can't help but in VB. I would use strings in resources of applications where I store these parameters and then recall them back to use. I have copied a sample code from MSDN for you, I tought that it would give you an idea how to save and retrieve parameters from a resource file of an application. Take this please just an idea... WTF | :WTF:

Imports System
Imports System.Resources
Imports System.IO

Public Class WriteResources

Public Shared Sub Main(ByVal args() As String)
' Create a file stream to encapsulate items.resources.
Dim fs As New FileStream("items.resources", _
FileMode.OpenOrCreate, FileAccess.Write)

' Open a resource writer to write from the stream.
Dim writer = New ResourceWriter(fs)

' Add resources to the resource writer.
writer.AddResource("String 1", "First String")
writer.AddResource("String 2", "Second String")
writer.AddResource("String 3", "Third String")

' Generate the resources, and close the writer.
writer.Generate()
writer.Close()
End Sub

End Class

What a curious mind needs to discover knowledge is noting else than a pin-hole.


AnswerRe: Run Once and accept parameters Pin
Christopher Thornburg2-Mar-07 12:30
Christopher Thornburg2-Mar-07 12:30 
GeneralRe: Run Once and accept parameters Pin
kubben2-Mar-07 16:10
kubben2-Mar-07 16:10 
QuestionCreating a SDI window from a dialog Pin
sascha.billian1-Mar-07 3:44
sascha.billian1-Mar-07 3:44 
QuestionProblem with tabpages Pin
Dnmnt1-Mar-07 1:07
Dnmnt1-Mar-07 1:07 
AnswerRe: Problem with tabpages Pin
Tamimi - Code1-Mar-07 1:24
Tamimi - Code1-Mar-07 1:24 
QuestionImportant question for me Pin
AL-yasofy28-Feb-07 5:24
AL-yasofy28-Feb-07 5:24 
AnswerRe: Important question for me Pin
JUNEYT1-Mar-07 5:42
JUNEYT1-Mar-07 5:42 
AnswerRe: Important question for me Pin
Newbie002-Mar-07 4:43
Newbie002-Mar-07 4:43 
QuestionFolder Pin
AL-yasofy28-Feb-07 5:12
AL-yasofy28-Feb-07 5:12 
Questiondos Pin
AL-yasofy28-Feb-07 5:07
AL-yasofy28-Feb-07 5:07 
AnswerRe: dos Pin
led mike28-Feb-07 5:27
led mike28-Feb-07 5:27 
AnswerRe: dos Pin
kubben28-Feb-07 5:28
kubben28-Feb-07 5:28 
AnswerRe: dos Pin
Newbie0028-Feb-07 10:52
Newbie0028-Feb-07 10:52 
QuestionMonitor UPS Pin
abhiramsss27-Feb-07 21:56
abhiramsss27-Feb-07 21:56 
AnswerRe: Monitor UPS Pin
Pete O'Hanlon28-Feb-07 10:45
mvePete O'Hanlon28-Feb-07 10:45 
QuestionColor Of Tab Control Pin
Vikram.....27-Feb-07 1:42
Vikram.....27-Feb-07 1:42 
AnswerRe: Color Of Tab Control Pin
JUNEYT27-Feb-07 11:14
JUNEYT27-Feb-07 11:14 

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.