Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: Does the IPv6 protocol deal with UDP datagrams ??? Pin
Dimitri Witkowski7-Jan-10 2:21
Dimitri Witkowski7-Jan-10 2:21 
AnswerRe: Does the IPv6 protocol deal with UDP datagrams ??? Pin
harold aptroot7-Jan-10 2:25
harold aptroot7-Jan-10 2:25 
QuestionGetting invalid IP address............. Pin
3bood.ghzawi7-Jan-10 1:51
3bood.ghzawi7-Jan-10 1:51 
AnswerRe: Getting invalid IP address............. Pin
SeMartens7-Jan-10 2:46
SeMartens7-Jan-10 2:46 
GeneralRe: Getting invalid IP address............. Pin
Luc Pattyn7-Jan-10 3:51
sitebuilderLuc Pattyn7-Jan-10 3:51 
Question.net event in Excel Pin
zecodela7-Jan-10 0:08
zecodela7-Jan-10 0:08 
AnswerRe: .net event in Excel Pin
Dave Kreskowiak7-Jan-10 0:42
mveDave Kreskowiak7-Jan-10 0:42 
GeneralRe: .net event in Excel Pin
zecodela7-Jan-10 1:02
zecodela7-Jan-10 1:02 
I am not sure about the Excel Object Model.

I want to have a C# library I can call a C# function, which i have done with help of below article.

http://blogs.msdn.com/eric_carter/archive/2004/12/01/273127.aspx

I also want to have setup callback, event in the C# space and i can get the callback/event inside Excel.

eg. i have an event like below, i can get the event with AlarmEventHandler. I just want to have such event happening in Excel.

(below code copied from msdn)

public class AlarmClock
{
    public event AlarmEventHandler Alarm;

    protected virtual void OnAlarm(AlarmEventArgs e)
    {
       if (Alarm != null)
       {
          // Invokes the delegates.
          Alarm(this, e);
       }
    }
}
public static void Main (string[] args)
{
       // Instantiates the event receiver.
       WakeMeUp w= new WakeMeUp();

       // Instantiates the event source.
       AlarmClock clock = new AlarmClock();

       // I want to able to get this event inside Excel VBA space.
      <big> clock.Alarm += new AlarmEventHandler(w.AlarmRang);</big>

       clock.Start();
 }

GeneralRe: .net event in Excel Pin
dojohansen7-Jan-10 1:45
dojohansen7-Jan-10 1:45 
QuestionReading File From Network drive Pin
Lijo Rajan6-Jan-10 23:56
Lijo Rajan6-Jan-10 23:56 
AnswerRe: Reading File From Network drive Pin
Dimitri Witkowski7-Jan-10 0:15
Dimitri Witkowski7-Jan-10 0:15 
GeneralRe: Reading File From Network drive Pin
Lijo Rajan7-Jan-10 0:18
Lijo Rajan7-Jan-10 0:18 
GeneralRe: Reading File From Network drive Pin
Dimitri Witkowski7-Jan-10 0:35
Dimitri Witkowski7-Jan-10 0:35 
GeneralRe: Reading File From Network drive Pin
Dimitri Witkowski7-Jan-10 1:47
Dimitri Witkowski7-Jan-10 1:47 
AnswerRe: Reading File From Network drive Pin
#realJSOP7-Jan-10 0:19
mve#realJSOP7-Jan-10 0:19 
QuestionVisio Org Chart Wizard Pin
adi.rusu6-Jan-10 22:20
adi.rusu6-Jan-10 22:20 
AnswerRe: Visio Org Chart Wizard Pin
george982328-Apr-11 7:04
george982328-Apr-11 7:04 
QuestionC# Resource Help !!!!! Pin
jojoba20106-Jan-10 21:17
jojoba20106-Jan-10 21:17 
AnswerRe: C# Resource Help !!!!! Pin
SeMartens6-Jan-10 22:37
SeMartens6-Jan-10 22:37 
Questionsoap extensions? Pin
Member 44084976-Jan-10 20:57
Member 44084976-Jan-10 20:57 
Questionreport viewer report Pin
Member 5903106-Jan-10 20:11
Member 5903106-Jan-10 20:11 
AnswerRe: report viewer report Pin
Abdul Rahman Hamidy6-Jan-10 23:59
Abdul Rahman Hamidy6-Jan-10 23:59 
QuestionCrystal Report Pin
pkj6-Jan-10 18:47
pkj6-Jan-10 18:47 
AnswerRe: Crystal Report Pin
Saksida Bojan6-Jan-10 19:35
Saksida Bojan6-Jan-10 19:35 
QuestionLibrary Plotter 3D Pin
sabitzhabit6-Jan-10 17:21
sabitzhabit6-Jan-10 17:21 

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.