Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Member Avatar for SteveyD

Greetings again. I have a form with a textbox for the user to enter a com port number. When the form and application is closed, how can I get the user's info to populate the textbox when the application is opened again?

Member Avatar for timmyjoshua
0
119
Member Avatar for SteveyD

I have a small file that compares the time and runs a routine based on the result. DateTime now = DateTime.Now; //get the current time //The DateTime constructor goes (YYYY, MM, DD, HH, MM, SS) DateTime start = new DateTime(now.Year, now.Month, now.Day, 00, 00, 00); DateTime end = new DateTime(now.Year, …

Member Avatar for Momerath
0
95
Member Avatar for SteveyD

Using the snippet below, how would I make the *String songName* a Global for use in other areas of the code? a return? get;set;? Any help would be appreciated. public void Initialize(IExecutable executableObject, SetupData setupData, XmlNode setupNode) { this.m_setupdata = setupData; this.m_setupnode = setupNode; this.m_channels = executableObject.Channels; EventSequence sequence = …

Member Avatar for SteveyD
0
99
Member Avatar for SteveyD

Not sure if I am explaining this correctly but here goes.. I am working on a .dll that depending on a value determined at startup, will select which method to use next. At the very beginning of this dll, [CODE]private string _Ver = Application.ProductVersion;[/CODE] Now if _Ver < 2 then …

Member Avatar for thines01
0
87
Member Avatar for SteveyD

Taking a string result collected from a function in a class (not a form) resultstring1 I want the string resultstring1 to be available to Form1 and Form2. How do I pass the string?

Member Avatar for SteveyD
0
70
Member Avatar for SteveyD

I'm encountering some problems with converting Delpi7 pascal to C#, maybe a fresh set of eyes will see what I can't. Pascal [CODE] procedure TForm1.Button5Click(Sender: TObject); var Data: TData; i: integer; s: string; begin if not (CheckBox1.Checked) then begin StatusBar1.SimpleText:='Bidirectional operation not allowed'; exit; end; for i:=0 to 255 do …

Member Avatar for SteveyD
0
1K
Member Avatar for SteveyD

Hello, Still fairly new to all this. I'm looking for an example on how to let the user select a program name and path, and declare it variable A. There is more to this request, but I'd trying to figure this out on my own and not beg for a …

Member Avatar for SteveyD
0
83
Member Avatar for SteveyD

Hello I'm stuck on a CS1501 compile error for this line value = PortAccess.Out(PortNum + 1); its supposed to change the Port from 888 to 889 Am I over complicating it? It's late, I can no longer see the forest for all these trees.. =P [CODE] public bool inportbit() // …

Member Avatar for SteveyD
0
117
Member Avatar for SteveyD

Greetings again I have a small utility that reports which printer port has been selected. Its returning the correct data, but in binary, LPT 1 = 0x378 = 888 Right now its reports in the message box "Printer Port 888" I would like to change that to read "Printer Port …

Member Avatar for kvprajapati
0
119
Member Avatar for SteveyD

Greetings again. I'm encountering an error with the following section of my script. If I include the commented section my program returns the following error; "(Router -Startup) the URL cannot be empty. Parameter name : url" With it commented out like below, the .dll functions correctly. [code] public List<Form> Startup() …

Member Avatar for SteveyD
0
815
Member Avatar for SteveyD

Steve here. Novice C# coder with lots of questions.. East Coast, Canada.

0
44
Member Avatar for SteveyD

Hello I'm trying to write a class library for a program. The program underwent a revision recently and previous class libraries will no longer work. the original method used in the class libraries was; [code] List<Form> Startup() [/code] and the new method is now [code] void Startup(); [/code] using [code] …

Member Avatar for sknake
0
91