By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,742 Members | 1,227 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,742 IT Pros & Developers. It's quick & easy.

raiseevent isssue in Windows XP

P: n/a
Lim
I've developed a program that raise an event. This program works fine on a Windows 2000 Professional PC. However when I try to run the program on a Windos XP Professional PC, the program will not execute the raiseevent function.

How can I resolve the problem?
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You will need to give us some more information. What happens? Do you
get an exception? What kind of event?

David

"Lim" <Li*@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.com:
I've developed a program that raise an event. This program works fine on a
Windows 2000 Professional PC. However when I try to run the program on a
Windos XP Professional PC, the program will not execute the raiseevent
function.

How can I resolve the problem?


Nov 20 '05 #2

P: n/a
Lim
The following is how my program works:
First I have class (clsCommFax.vb) which will create and invoke a number of threads to call a fax sending procedure which is in another class (clsFaxThread.vb). clsFaxThread.vb is inherited from a class (clsCommSend.vb) that implements an interface. In clsCommSend.vb, I had a function that raise an event as follows:

Event InvokeSend() Implements CommInterface.CallSend

Public Function Invokesendfax() As String
MsgBox("Invoke Send Fax :>> RaiseEvent Invoke Send !")
Try
RaiseEvent InvokeSend()
Catch
MsgBox(Err.Description)
End Try
End Function

When I run the program in Windows XP, the msgbox is displayed but it will not execute the RaiseEvent InvokeSend() code. There's no exception produced within the program.

As I've mentioned in my previous post, the the above program manage to run successfully on a Windows 2000 Professional PC.

Any help will be most appreciated. Thanks
"David Williams , VB.NET MVP" wrote:
You will need to give us some more information. What happens? Do you
get an exception? What kind of event?

David

"Lim" <Li*@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.com:
I've developed a program that raise an event. This program works fine on a
Windows 2000 Professional PC. However when I try to run the program on a
Windos XP Professional PC, the program will not execute the raiseevent
function.

How can I resolve the problem?


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.