Click here to Skip to main content
15,889,315 members
Home / Discussions / C#
   

C#

 
AnswerRe: Visualizing Windows Form interactively!!!! Pin
Alok Sharma ji2-Apr-09 12:38
Alok Sharma ji2-Apr-09 12:38 
AnswerRe: Visualizing Windows Form interactively!!!! Pin
DaveyM692-Apr-09 5:26
professionalDaveyM692-Apr-09 5:26 
AnswerRe: Visualizing Windows Form interactively!!!! Pin
Alok Sharma ji3-Apr-09 6:57
Alok Sharma ji3-Apr-09 6:57 
QuestionDatagridview ComboboxColumn Error: System.ArgumentException: The value of DatagridviewComboboxCell is invalid [modified] Pin
Priya Prk2-Apr-09 4:37
Priya Prk2-Apr-09 4:37 
AnswerRe: Datagridview ComboboxColumn Error: System.ArgumentException: The value of DatagridviewComboboxCell is invalid Pin
Rajdeep.NET is BACK2-Apr-09 4:47
Rajdeep.NET is BACK2-Apr-09 4:47 
GeneralRe: Datagridview ComboboxColumn Error: System.ArgumentException: The value of DatagridviewComboboxCell is invalid Pin
Priya Prk2-Apr-09 4:53
Priya Prk2-Apr-09 4:53 
QuestionCSharp equivalent functions Pin
BINOVAR2-Apr-09 4:35
BINOVAR2-Apr-09 4:35 
AnswerRe: CSharp equivalent functions Pin
Dan Neely2-Apr-09 4:39
Dan Neely2-Apr-09 4:39 
BINOVAR wrote:
1.What is the equivalent settings for option strict on and option explicit on in c# ?


There isn't one. These constraints are always enforced and cannot be disabled.


BINOVAR wrote:
2.I have a class in another project ( VC++). I want to access the methods and properties in VC++ class from my project in C#. The VC++ is a standalone EXE project and hence I cant add any
reference to my project. But in VB I found a method named GetObject( "AssemblyName") to retrieve the object in runtime. As VB.Net supports early binding by setting option explicit ON , the
methods and properties of the VC++ class can be accessed by creating an instance of system.object. Can anyone please tell me how can we do the same in C#.net ?


Look into p/invoke; I know you can access native dll's that way, I've never tried abusing an exe like that. Worst case would be writing a VB.net wrapper dll and calling that from C#.


BINOVAR wrote:
3.Is there any C# equivalent function for "ON ERROR RESUME NEXT" in VB ? We can use Try catch but catch block will be excuted if any error occur in try block.


No. And you shouldn't be using it in VB either unless you like corrupting your state and data.

Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall

AnswerRe: CSharp equivalent functions Pin
Skymir2-Apr-09 5:01
Skymir2-Apr-09 5:01 
GeneralRe: CSharp equivalent functions Pin
Colin Angus Mackay2-Apr-09 9:04
Colin Angus Mackay2-Apr-09 9:04 
GeneralRe: CSharp equivalent functions Pin
Skymir2-Apr-09 10:41
Skymir2-Apr-09 10:41 
AnswerRe: CSharp equivalent functions Pin
Colin Angus Mackay2-Apr-09 9:05
Colin Angus Mackay2-Apr-09 9:05 
QuestionSplit Pin
TerRO_GirL2-Apr-09 4:20
TerRO_GirL2-Apr-09 4:20 
AnswerRe: Split Pin
Blue_Boy2-Apr-09 4:47
Blue_Boy2-Apr-09 4:47 
GeneralRe: Split Pin
TerRO_GirL2-Apr-09 4:50
TerRO_GirL2-Apr-09 4:50 
AnswerRe: Split Pin
Rob Philpott2-Apr-09 5:55
Rob Philpott2-Apr-09 5:55 
GeneralRe: Split Pin
TerRO_GirL2-Apr-09 7:37
TerRO_GirL2-Apr-09 7:37 
GeneralRe: Split Pin
Rob Philpott2-Apr-09 22:12
Rob Philpott2-Apr-09 22:12 
AnswerRe: Split Pin
12Code2-Apr-09 20:15
12Code2-Apr-09 20:15 
QuestionDisplaying contents of datatable in email Pin
developer_zone12-Apr-09 3:42
developer_zone12-Apr-09 3:42 
AnswerRe: Displaying contents of datatable in email Pin
Dino Mulahusic2-Apr-09 4:20
professionalDino Mulahusic2-Apr-09 4:20 
GeneralRe: Displaying contents of datatable in email Pin
developer_zone12-Apr-09 4:29
developer_zone12-Apr-09 4:29 
QuestionCopyright TextBox! Help..... Pin
Rajdeep.NET is BACK2-Apr-09 3:40
Rajdeep.NET is BACK2-Apr-09 3:40 
AnswerRe: Copyright TextBox! Help..... Pin
Tom Deketelaere2-Apr-09 3:41
professionalTom Deketelaere2-Apr-09 3:41 
GeneralRe: Copyright TextBox! Help..... Pin
Rajdeep.NET is BACK2-Apr-09 4:43
Rajdeep.NET is BACK2-Apr-09 4:43 

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.