Click here to Skip to main content
15,868,420 members
Home / Discussions / C#
   

C#

 
AnswerRe: Control Hardware through Software Pin
Alex@UEA22-Jul-08 5:02
Alex@UEA22-Jul-08 5:02 
QuestionHow to remove a AddIn from VStudio 2008 Pin
Tomerland22-Jul-08 3:37
Tomerland22-Jul-08 3:37 
AnswerRe: How to remove a AddIn from VStudio 2008 Pin
Rob Siklos22-Jul-08 8:30
Rob Siklos22-Jul-08 8:30 
QuestionProblem in Remoting Pin
stancrm22-Jul-08 3:33
stancrm22-Jul-08 3:33 
QuestionLogConsole? Recommendations? Pin
tkrn22-Jul-08 2:36
tkrn22-Jul-08 2:36 
AnswerRe: LogConsole? Recommendations? Pin
Mustafa Ismail Mustafa22-Jul-08 3:05
Mustafa Ismail Mustafa22-Jul-08 3:05 
AnswerRe: LogConsole? Recommendations? Pin
wurzel_cidermaker22-Jul-08 4:29
wurzel_cidermaker22-Jul-08 4:29 
QuestionEvent handling in C# Pin
TheComputerMan22-Jul-08 2:13
TheComputerMan22-Jul-08 2:13 
Hi, I am a VB.NET programmer trying to get to grips with C# and it seems as far as I can see that events in VB are very different in C#

I have this in VB:

Public Class CGeneralParameters
    Implements IDisposable
    Public Event ClassError(ByVal e As ClassErrorData, ByVal CriticalError As Boolean, ByVal MustDisplay As Boolean)
    Private m_strConnectionString As String = ""
    Private m_sAppData As String = ""
    Private e As ClassErrorData

The code translator has done this to it:

<pre>public class CGeneralParameters : IDisposable 
{
    <big>private ClassErrorData e;</big>
    private bool CriticalError;
    private bool MustDisplay;
    private string m_strConnectionString = "";
    private string m_sAppData = "";
    <big>private ClassErrorData e;</big>
    public CGeneralParameters() 
    {


and has pushed the structure to the end of the class.

Can I use events in this DLL to pass errors back to the calling program, or shouyld I be looking at another way to do this?
AnswerRe: Event handling in C# Pin
Mustafa Ismail Mustafa22-Jul-08 2:31
Mustafa Ismail Mustafa22-Jul-08 2:31 
AnswerRe: Event handling in C# Pin
Dave Doknjas22-Jul-08 13:20
Dave Doknjas22-Jul-08 13:20 
Questionsocket programming Pin
AlexPizzano22-Jul-08 1:43
AlexPizzano22-Jul-08 1:43 
AnswerRe: socket programming Pin
stancrm22-Jul-08 1:46
stancrm22-Jul-08 1:46 
AnswerRe: socket programming Pin
nelsonpaixao22-Jul-08 13:15
nelsonpaixao22-Jul-08 13:15 
QuestionC++ code to access .NET component Pin
Sitaram Sukumar22-Jul-08 1:35
Sitaram Sukumar22-Jul-08 1:35 
AnswerRe: C++ code to access .NET component Pin
stancrm22-Jul-08 1:43
stancrm22-Jul-08 1:43 
QuestionGeneral Question of thread Pin
Mogaambo22-Jul-08 1:21
Mogaambo22-Jul-08 1:21 
AnswerRe: General Question of thread Pin
N a v a n e e t h22-Jul-08 1:38
N a v a n e e t h22-Jul-08 1:38 
AnswerRe: General Question of thread Pin
Guffa22-Jul-08 2:09
Guffa22-Jul-08 2:09 
QuestionRefreshing DatagridView Pin
Yosh_22-Jul-08 1:16
professionalYosh_22-Jul-08 1:16 
AnswerRe: Refreshing DatagridView Pin
Mustafa Ismail Mustafa22-Jul-08 2:34
Mustafa Ismail Mustafa22-Jul-08 2:34 
AnswerRe: Refreshing DatagridView Pin
nelsonpaixao22-Jul-08 13:22
nelsonpaixao22-Jul-08 13:22 
QuestionHow to get RGB color values of web cam image Pin
DC22522-Jul-08 1:14
DC22522-Jul-08 1:14 
AnswerRe: How to get RGB color values of web cam image Pin
Luc Pattyn22-Jul-08 2:23
sitebuilderLuc Pattyn22-Jul-08 2:23 
RantRe: How to get RGB color values of web cam image Pin
Laleen Dharmasena29-Oct-12 17:59
Laleen Dharmasena29-Oct-12 17:59 
QuestionQuestion Pass certain variables to method. Pin
Member 426786722-Jul-08 0:53
Member 426786722-Jul-08 0:53 

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.