Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sum datagrid column values by criteria Pin
mike montagne19-Mar-07 6:25
mike montagne19-Mar-07 6:25 
GeneralRe: Sum datagrid column values by criteria Pin
mike montagne19-Mar-07 6:36
mike montagne19-Mar-07 6:36 
QuestionFunction Parameters... Pin
Prashant C16-Mar-07 3:17
Prashant C16-Mar-07 3:17 
AnswerRe: Function Parameters... Pin
theScorp16-Mar-07 3:27
theScorp16-Mar-07 3:27 
AnswerRe: Function Parameters... Pin
Pete O'Hanlon16-Mar-07 3:46
mvePete O'Hanlon16-Mar-07 3:46 
AnswerRe: Function Parameters... Pin
Scott Dorman16-Mar-07 4:37
professionalScott Dorman16-Mar-07 4:37 
QuestionRAS?? Pin
Muammar©16-Mar-07 2:35
Muammar©16-Mar-07 2:35 
AnswerRe: RAS?? Pin
Mike Dimmick16-Mar-07 4:59
Mike Dimmick16-Mar-07 4:59 
It's a strong bet that after creating a new RASCONN object, the hrasconn field is probably zero. To hang up a dial-up connection, you'll need to pass the handle you got back from RasDial or from RasEnumConnections.

You don't show the code, but I'd guess that RAS.RasHangUp is an extern function called through P/Invoke. As such, it won't throw an exception - instead, it will be returning an error code.

Style: in most conventions, the m_ prefix should be reserved for member variables and should never be used for a local variable. In the Windows C API, lp indicates a (long) pointer to an object. I would only use this in C# for actual pointer variables, unless in a P/Invoke declaration where I tend to match the original declaration's parameter names.

Stability. What an interesting concept. -- Chris Maunder

QuestionEnglish please:) Pin
Muammar©16-Mar-07 8:53
Muammar©16-Mar-07 8:53 
QuestionSave a ListView(NewBie) Pin
NGSjamesc16-Mar-07 2:16
NGSjamesc16-Mar-07 2:16 
AnswerRe: Save a ListView(NewBie) Pin
coolestCoder16-Mar-07 2:27
coolestCoder16-Mar-07 2:27 
GeneralRe: Save a ListView(NewBie) Pin
NGSjamesc16-Mar-07 2:56
NGSjamesc16-Mar-07 2:56 
Questionhow can create an ActiveX in C#? Pin
B.A16-Mar-07 1:55
B.A16-Mar-07 1:55 
AnswerRe: how can create an ActiveX in C#? Pin
Muammar©16-Mar-07 2:26
Muammar©16-Mar-07 2:26 
GeneralRe: how can create an ActiveX in C#? Pin
B.A16-Mar-07 2:33
B.A16-Mar-07 2:33 
AnswerRe: how can create an ActiveX in C#? Pin
subrata.jana16-Mar-07 2:28
subrata.jana16-Mar-07 2:28 
GeneralRe: how can create an ActiveX in C#? Pin
B.A16-Mar-07 2:32
B.A16-Mar-07 2:32 
QuestionExtending the Textbox Control in ASP.Net using C# Pin
Neeraj Kr16-Mar-07 0:38
Neeraj Kr16-Mar-07 0:38 
AnswerRe: Extending the Textbox Control in ASP.Net using C# Pin
Pete O'Hanlon16-Mar-07 2:17
mvePete O'Hanlon16-Mar-07 2:17 
AnswerRe: Extending the Textbox Control in ASP.Net using C# Pin
N a v a n e e t h16-Mar-07 2:18
N a v a n e e t h16-Mar-07 2:18 
QuestionCREATING AUTONUMBER COLUMN IN EXCEL Pin
shopi3016-Mar-07 0:36
shopi3016-Mar-07 0:36 
AnswerRe: CREATING AUTONUMBER COLUMN IN EXCEL Pin
Muammar©16-Mar-07 2:32
Muammar©16-Mar-07 2:32 
AnswerRe: CREATING AUTONUMBER COLUMN IN EXCEL Pin
Dave Kreskowiak16-Mar-07 2:46
mveDave Kreskowiak16-Mar-07 2:46 
AnswerRe: CREATING AUTONUMBER COLUMN IN EXCEL Pin
mike montagne16-Mar-07 7:26
mike montagne16-Mar-07 7:26 
QuestionComparing 2 xml Pin
Iker Llanos16-Mar-07 0:28
Iker Llanos16-Mar-07 0:28 

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.