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

Eventlog.writeline is not working in dll

P: n/a
Am I missing something? This code is in a class that is compiled into a
dll. I have a service that imports the dll and I am getting an error
"501" when running the ftp from the dll. So I added the eventlog to the
dll and rereferenced it into the service. But the eventlog is not working.

Dim MyEvent As New Diagnostics.EventLog
MyEvent.WriteEntry(MessageString)

Any Ideas?

Thanks,
Phil
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.