Click here to Skip to main content
15,887,485 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralCode Converter from "C++" to "C#" Pin
Ahmed Kamal Aly9-Nov-04 22:33
Ahmed Kamal Aly9-Nov-04 22:33 
GeneralRe: Code Converter from "C++" to "C#" Pin
tom_dx10-Nov-04 12:40
tom_dx10-Nov-04 12:40 
Generalnew to .net MFC question Pin
Anonymous9-Nov-04 16:51
Anonymous9-Nov-04 16:51 
GeneralRe: new to .net MFC question Pin
tom_dx10-Nov-04 12:46
tom_dx10-Nov-04 12:46 
GeneralRe: new to .net MFC question Pin
tom_dx10-Nov-04 12:47
tom_dx10-Nov-04 12:47 
GeneralDeploument of Com Interop Pin
skrishnasarma9-Nov-04 1:34
skrishnasarma9-Nov-04 1:34 
GeneralCalling functions from different Forms Pin
Steve698-Nov-04 23:03
Steve698-Nov-04 23:03 
GeneralRe: Calling functions from different Forms Pin
Colin Angus Mackay12-Nov-04 9:45
Colin Angus Mackay12-Nov-04 9:45 
Steve69 wrote:
I have a main form which contains all the functions/methods for my application.

Eek! | :eek: Well, overlooking that design flaw....


Steve69 wrote:
I keep getting a "Reference to a non shared member requires an object reference" exception when i try and call them even though they are public

It isn't the fact that it is public that is stopping you. It is the fact that the property can return different values for different instances of the form (or any class for that matter). So, it need to know which instance - even if there is only one instance in the application.

If you need a property to get/set the same value regardless of which particular instance of a class you are using then you need to declare it as static (or Shared in VB.NET)




Do you want to know more?


GeneralVisual studio .net 2002 or 2003 for windows me Pin
kelcel8-Nov-04 11:06
kelcel8-Nov-04 11:06 
GeneralRe: Visual studio .net 2002 or 2003 for windows me Pin
Charlie Williams8-Nov-04 11:30
Charlie Williams8-Nov-04 11:30 
GeneralNew Component in Toolbox (MS-VS) Pin
kofler5-Nov-04 5:08
kofler5-Nov-04 5:08 
General.NET Setup and Deployment project registry bug. Pin
Shail_Srivastav5-Nov-04 2:32
Shail_Srivastav5-Nov-04 2:32 
GeneralFinding the ideal height for a label Pin
Ægidius Ahenobarbus4-Nov-04 22:03
Ægidius Ahenobarbus4-Nov-04 22:03 
GeneralRe: Finding the ideal height for a label Pin
satya chhikara22-Nov-04 23:37
satya chhikara22-Nov-04 23:37 
GeneralRe: Finding the ideal height for a label Pin
Ægidius Ahenobarbus23-Nov-04 9:06
Ægidius Ahenobarbus23-Nov-04 9:06 
GeneralRe: Finding the ideal height for a label Pin
satya chhikara23-Nov-04 23:07
satya chhikara23-Nov-04 23:07 
GeneralPropertySheets Pin
Member 36334-Nov-04 2:30
Member 36334-Nov-04 2:30 
GeneralRe: PropertySheets Pin
Richard Schneider7-Nov-04 16:55
Richard Schneider7-Nov-04 16:55 
GeneralGetType across assemblies question Pin
-=jarl=-3-Nov-04 23:50
-=jarl=-3-Nov-04 23:50 
Generalcolumn_changed vs. column_changing event~~~ Pin
Rebecca Gao2-Nov-04 19:14
Rebecca Gao2-Nov-04 19:14 
GeneralRe: column_changed vs. column_changing event~~~ Pin
Colin Angus Mackay4-Nov-04 1:12
Colin Angus Mackay4-Nov-04 1:12 
GeneralCalling Windows service in webServices Pin
Sreepathi2-Nov-04 8:28
Sreepathi2-Nov-04 8:28 
Questiondoes anyone have a combined tree & grid control? Pin
nred3331-Oct-04 18:01
nred3331-Oct-04 18:01 
AnswerRe: does anyone have a combined tree & grid control? Pin
bbt8031-Oct-04 18:49
bbt8031-Oct-04 18:49 
GeneralThreading help! Pin
kaptaintens31-Oct-04 11:31
kaptaintens31-Oct-04 11: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.