Click here to Skip to main content
16,006,845 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud12-Jul-11 7:58
spainchaud12-Jul-11 7:58 
GeneralRe: Can I derive a new chart control from MSChart? Pin
Not Active12-Jul-11 9:04
mentorNot Active12-Jul-11 9:04 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud12-Jul-11 9:50
spainchaud12-Jul-11 9:50 
GeneralRe: Can I derive a new chart control from MSChart? Pin
Not Active12-Jul-11 10:14
mentorNot Active12-Jul-11 10:14 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud12-Jul-11 12:42
spainchaud12-Jul-11 12:42 
AnswerRe: Can I derive a new chart control from MSChart? Pin
Abhinav S16-Jul-11 8:19
Abhinav S16-Jul-11 8:19 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud16-Jul-11 13:38
spainchaud16-Jul-11 13:38 
QuestionProblem with sending fax from windows service Pin
devesh_fic10-Jul-11 20:24
devesh_fic10-Jul-11 20:24 
I am trying to send the fax from my windows service which is written in vb.net. I am facing problem with windows 7 and windows 2008 Server. It works fine with Windows XP

Fax is not getting visible in fax console's outbox. I saw three files in "C:\ProgramData\Microsoft\Windows NT\MSFax\Queue" for every sent fax but this is not visible in fax queue.

I also observed that, when i am trying to send the fax from windows application then it works but anyhow it is getting failed when i am trying to send that from windows service.

I have following code :

Dim oFaxSvrType As Type = Type.GetTypeFromProgID("FaxcomEx.FaxServer")
Dim oFaxSvr As Object = Activator.CreateInstance(oFaxSvrType)
Dim oFaxDocType As Type = Type.GetTypeFromProgID("FaxcomEx.FaxDocument")

Dim sFaxServerName As String

Try
sFaxServerName = Environment.MachineName.Trim

oFaxSvr.Connect(sFaxServerName)
oFaxSvr.Connect(sFaxServerName)

Dim oFaxDoc As Object = Activator.CreateInstance(oFaxDocType)
With oFaxDoc
.Sender.FaxNumber = "1112223333"
.Body = asfilename
.Sender.Name = "test recipient"
.Sender.OfficePhone = "123456789"
.Recipients.add("1113332222")
End With

Dim sFaxJobIds() As String = oFaxDoc.ConnectedSubmit(oFaxSvr)
oFaxDoc = Nothing

Catch ex As Exception
Throw New Exception(ex.Message)
Finally
' clean up com components
Try
oFaxSvr.Disconnect()
Catch ex As Exception
End Try
oFaxSvr = Nothing
End Try


I observed that in task manager, rundll32.exe is getting started when i tried to run this code from windows application but this rundll32.exe is not getting started when i am trying to run this code from windows service.

I am not getting any exception after executing this code but not able to see the fax on outbox.

I ensured that allow service to interact with desktop in service console is checked for fax service and my own windows service.

I need this little bit urgent. Any help ?
AnswerRe: Problem with sending fax from windows service Pin
tosch10-Jul-11 21:38
tosch10-Jul-11 21:38 
AnswerRe: Problem with sending fax from windows service Pin
Dave Kreskowiak11-Jul-11 1:10
mveDave Kreskowiak11-Jul-11 1:10 
AnswerRe: Problem with sending fax from windows service Pin
Ian Gillies26-Aug-11 14:54
Ian Gillies26-Aug-11 14:54 
QuestionCannot connect to Access DB after installing Teradata Pin
Soulus836-Jul-11 10:28
Soulus836-Jul-11 10:28 
AnswerRe: Cannot connect to Access DB after installing Teradata Pin
Roger Wright6-Jul-11 12:23
professionalRoger Wright6-Jul-11 12:23 
AnswerRe: Cannot connect to Access DB after installing Teradata Pin
Shameel11-Jul-11 21:37
professionalShameel11-Jul-11 21:37 
QuestionMessage Removed Pin
6-Jul-11 5:16
professionalN_tro_P6-Jul-11 5:16 
AnswerRe: Can an Action cause a Memory Leak like an Event Handler PinPopular
Ian Shlasko6-Jul-11 5:39
Ian Shlasko6-Jul-11 5:39 
GeneralRe: Can an Action cause a Memory Leak like an Event Handler Pin
#realJSOP6-Jul-11 9:51
professional#realJSOP6-Jul-11 9:51 
AnswerRe: Can an Action cause a Memory Leak like an Event Handler Pin
MicroVirus12-Jul-11 5:53
MicroVirus12-Jul-11 5:53 
AnswerRe: Can an Action cause a Memory Leak like an Event Handler Pin
RobCroll15-Jul-11 7:08
RobCroll15-Jul-11 7:08 
QuestionIncluding CSS Stylesheet file from HTML When Used as a Resource [modified] Pin
JonathanCarling4-Jul-11 3:37
JonathanCarling4-Jul-11 3:37 
AnswerRe: Including CSS Stylesheet file from HTML When Used as a Resource Pin
Shameel4-Jul-11 4:41
professionalShameel4-Jul-11 4:41 
GeneralRe: Including CSS Stylesheet file from HTML When Used as a Resource Pin
JonathanCarling4-Jul-11 5:26
JonathanCarling4-Jul-11 5:26 
GeneralRe: Including CSS Stylesheet file from HTML When Used as a Resource Pin
Shameel4-Jul-11 7:48
professionalShameel4-Jul-11 7:48 
AnswerRe: Including CSS Stylesheet file from HTML When Used as a Resource Pin
#realJSOP6-Jul-11 10:02
professional#realJSOP6-Jul-11 10:02 
QuestionPlugins for Application Pin
Xmen Real 27-Jun-11 7:07
professional Xmen Real 27-Jun-11 7:07 

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.