Type: Posts; User: KKW
Search took 0.01 seconds.
March 11th, 2013 11:39 PM
Ok, So the answer here is to set all forms to the same instance of the DLL:
Form1: Set MyThingy = New DLL
Form2: Set MyThingy1 = Form1.MyThingy
Form3: Set YourThing = Form1.MyThingy
March 11th, 2013 07:22 PM
Iím trying to write an Active X DLL that functions like this:
In a Module.Bas:
Public anyVariable as Double
Any number of forms could/would have a reference to the DLL in the...
February 15th, 2012 09:30 AM
I've had a discussion with a client about a new project. The main concern is as the software provider, can a full blown application be upgraded simply by replacing the EXE with a new...
February 9th, 2012 09:26 AM
Thank you so much!
Your explaination has given me an understanding that I have sought for some time. I have had other projects that I wanted to do this with, but had to devise a different approach...
February 8th, 2012 10:51 PM
Thanks TheGreatCthulhu, for helping me with this!
I copied your example and pasted it into my project.
In the get part, an error on the last square bracket is: "Syntax error; value expected" ...
February 8th, 2012 12:54 PM
Ok, Here's what I've got so far:
public partial class UserControl1 : UserControl
private string flavor = new string;
February 7th, 2012 04:13 PM
I'm writing a user control, and I need to expose/create an array property.
public string Flavor = new string;
February 6th, 2012 07:50 PM
I will conform!
I mean, I will make the changes using the If..ElseIf statements!
February 6th, 2012 09:16 AM
Good morning all!
Here is a snippet in VB.Net that works, but the C# version does not.
Dim a(8) As String
September 23rd, 2011 12:51 PM
Your recommendation of moving to a seperate class file and defining the class as Static is exactly what I needed to do!
Thanks for your help!
September 23rd, 2011 10:26 AM
Here's some info:
This is a couple of forms from my Test2 test project:
September 22nd, 2011 07:15 PM
Now that I have created a class in Form1 that works, how do I access the stored data in the created instance of the class from...
September 21st, 2011 04:14 PM
I'm just an old hack trying to make it in the .Net world!
That was the solution!
Thanks for your help!
September 21st, 2011 12:17 PM
Sorry about that!
I'm getting an error even before I try to compile/execute.
'cannot have instance field initializers in structs'
This line of code gives the error, however, when outside of...
September 21st, 2011 09:42 AM
I'm having trouble with the FieldData part.
Here is a code segment:
public struct dataObj
September 10th, 2011 08:19 AM
Good morning all!
I've written a Windows Form Control Library control that I need to have "Handles" that appear (at runtime) that allow the control to be moved and/or resized. I haven't a clue how...
September 9th, 2011 04:02 PM
Yeah, I was about half afraid that was the case. I'll use the if statement.
September 9th, 2011 02:00 PM
In VB I can use the Select Case function and specify case 0 to 8, or Case a to b
How can I do this in C# without using fall thru?
September 4th, 2011 09:40 PM
I'm trying to get X & Y data points from a Jagged 2D Array, based on the input of data (String) as a search parameter. As far as the searching goes, I know how to do that part. I...
September 3rd, 2011 01:21 PM
I'm working on a Windows Forms Control Library project (2 items) where 1 connects with the other via Named Pipes. In the 1st or Server app, I use the .StartInfo.FileName = the name of the...
September 1st, 2011 09:12 AM
Wow, I don't think I would ever figured that one out, brackets rather than parens!
You solved my problem.
August 31st, 2011 09:46 PM
I just don't know what to do with this. Can someone help?
August 31st, 2011 09:23 PM
Sorry for my absence, I've been ill.
However my condition afforded me extra time to learn about delegates and threads etc.
So it wasn't all bad!
The issue has been resolved by someone else...
I'm hoping someone can help me with this. I'm new to C#, and can't figure out how to correct this.
I get the error: No overload for 'Lbl39Text' matches delegate...
November 12th, 2008 02:27 PM
Having programmed primarily in VB6(3,4,5), moving to .Net has had it's challenges!
Specifically, in VB6 I use:
In a module:
Public Frm As Form
Click Here to Expand Forum to Full Width