request all to help me for the following issue... 1.As a part of the requirements in my application there will be a windows service running 24/7. 2.this windows service will launch a windows application(GUI) to take user input.. The above application worked fine till windows XP... but on windows vista & windows 7 before launching application from windows service an "interactive Service Desktop" pop-up is launched automically with options "view my app" and "ask me later" by clicking on "view my app"...my application GUI popup is launched....otherwise it is not launched... How to avoid the intermediate popup i.e.,"interactive service desktop"? Please help me..
balu12345
Posts
-
avoid interactive service desktop but need to launch application from service on vista & windows 7 -
service & interactive service desktop on vistarequest all to help me for the following issue... 1.As a part of the requirements in my application there will be a windows service running 24/7. 2.this windows service will launch a windows application(GUI) to take user input.. The above application worked fine till windows XP... but on windows vista & windows 7 before launching application from windows service an "interactive Service Desktop" pop-up is launched automically with options "view my app" and "ask me later" by clicking on "view my app"...my application GUI popup is launched....otherwise it is not launched... How to avoid the intermediate popup i.e.,"interactive service desktop"? Please help me..
-
Server header-asp.net problemHi All, In my Webpage i have a Button control. On the button Click i have following functionalities **1.**To show the "progress bar" Icon during retrieving data from Sqlserver Database.. **2.**After retrieving a Data from DB a csv report will be generated. For Point 1--the below is the code i have used Code snippet for busy Icon: ============================ Response.Write("<div ID='mydiv' STYLE='position:absolute;z-index:5000;top ;left ;width:100%;height:100%;'><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td class='copy' align='right' height='260'><img src='./processingimage.gif' width='0' align='absmiddle'></td></tr><tr><td class='copyblack' style='font-family:arial;font-size:14px' align='center'><img src='./processingimage.gif' border='0' align='absmiddle'><br><br>" + strBusyMessage + "<br>" + strReportCreteria + "</td></tr></table>") Response.Write(" ") Response.Write("</div>") Response.Write("<script> var mydiv = document.getElementById('mydiv');</script>") Response.Write("<script language=javascript>") Response.Write("function StartShowWait(){mydiv.style.visibility ='visible';}") Response.Write("function HideWait(){mydiv.style.visibility = 'hidden';}") Response.Write("StartShowWait();</script>") 'Page.Session.Add("SessionID", Session.SessionID) Response.Flush() ================================= For point 2: please see the below code snippet Code snippet to generate CSV report. ================================================== Response.AddHeader("Content-Disposition", "attachment; filename=" + CSVName) Response.ContentType = "application/csv" Response.Write(CSVContent) Response.Flush() Response.Close() ===================================================== when coming to above mention code line(bold one in above snippet) i am getting the below error "Server cannot append header after HTTP headers have been sent" Please help me in resolving the above error.
-
Server cannot append header after HTTP headersHi All, In my Webpage i have a Button control. On the button Click i have following functionalities **1.**To show the "progress bar" Icon during retrieving data from Sqlserver Database.. **2.**After retrieving a Data from DB a csv report will be generated. For Point 1--the below is the code i have used Code snippet for busy Icon: ============================ Response.Write("<div ID='mydiv' STYLE='position:absolute;z-index:5000;top:0;left:0;width:100%;height:100%;'><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td class='copy' align='right' height='260'><img src='./processingimage.gif' width='0' align='absmiddle'></td></tr><tr><td class='copyblack' style='font-family:arial;font-size:14px' align='center'><img src='./processingimage.gif' border='0' align='absmiddle'><br><br>" + strBusyMessage + "<br>" + strReportCreteria + "</td></tr></table>") Response.Write(" ") Response.Write("</div>") Response.Write("<script> var mydiv = document.getElementById('mydiv');</script>") Response.Write("<script language=javascript>") Response.Write("function StartShowWait(){mydiv.style.visibility ='visible';}") Response.Write("function HideWait(){mydiv.style.visibility = 'hidden';}") Response.Write("StartShowWait();</script>") 'Page.Session.Add("SessionID", Session.SessionID) Response.Flush() ================================= For point 2: please see the below code snippet Code snippet to generate CSV report. ================================================== Response.AddHeader("Content-Disposition", "attachment; filename=" + CSVName) Response.ContentType = "application/csv" Response.Write(CSVContent) Response.Flush() Response.Close() ===================================================== when coming to above mention code line(bold one in above snippet) i am getting the below error "Server cannot append header after HTTP headers have been sent" Please help me in resolving the above error.
-
scan using Twain in c#.netHi all, Please help me with your ideas From c#.net application how to perform scan operation using twain protocol? thanks
-
LPR failed after 10 jobsHi all, I am getting the error after performing LPR on 10 jobs "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond" please help me...
-
Perl & c#.netHi all, I need to execute a perl application from c#.net. There is a perl application,It accepts 4 parameters and display the result. Please guide me for below points 1.How to execute the perl application from C#.net? 2.How to pass the parameters to perl application from c#.net? Please help me.. thanks in advance
-
Asp.net support Webdav Protocol?Hi, Please help me with your ideas for the following 1.Does .net support for WEBDAV protocol? 2.Can I implement .net remoting using WEBDAV protocol? Right now I implemented .net remoting using TCP/IP protocol.It is working fine.I need to change this to support the WEBDAV protocol. Please help me.
-
Remoting using WEBDAV ProtocolHi, Please help me with your ideas for the following 1.Does .net support for WEBDAV protocol? 2.Can I implement .net remoting using WEBDAV protocol? Right now I implemented .net remoting using TCP/IP protocol.It is working fine.I need to change this to support the WEBDAV protocol. Please help me.
-
Edit the PRN file generated by PCL driverIam Using c#.net,I made the following 2 methods for it First Method: public void writetofile(string JobOwnerName, string genfilename) { try { string fileContent = string.Empty; string NewOwnername = "@PJL SET JOBATTR=" + '"' + "@JOAU=" + JobOwnerName + '"';//@PJL SET JOBATTR="@JOAU + JobOwnerName + " string strTextFileName = genfilename; string strTextToInsert = NewOwnername; ArrayList lines = new ArrayList(); StreamReader rdr = new StreamReader(strTextFileName); //String search_str = "%-12345X@PJL JOB"; //String search_str = "%-12345X@PJL JOB MODE=PRINTER"; String search_str = "@PJL JOB MODE=PRINTER"; string line; string s = "@PJL SET JOBATTR=" + '"' + "@JOAU="; while ((line = rdr.ReadLine()) != null) { if (line.StartsWith(s)) { lines.Remove(line); } else { lines.Add(line); } } rdr.Close(); lines.Insert(lines.IndexOf(search_str) + 1, strTextToInsert); StreamWriter wrtr = new StreamWriter(strTextFileName); foreach (string strNewLine in lines) wrtr.WriteLine(strNewLine); wrtr.Close(); } catch (Exception ex) { } } 2nd method: string JobOwnerName = "suman" + '"'; string path = @"C:\D.prn"; string temp = @"C:\DD.prn"; string test1 = "@PJL SET JOBATTR=" + '"' + "@JOAU=" + JobOwnerName + '"'; string s = "@PJL SET JOBATTR=" + '"' + "@JOAU="; string line; StreamReader sr = new StreamReader(File.Open(path, FileMode.Open)); StreamWriter sw = new StreamWriter(File.Open(temp, FileMode.Create)); while ((line = sr.ReadLine()) != null) { line = sr.ReadLine(); if (line.StartsWith(s)) { line = line.Replace(line.Substring(line.IndexOf('"') + 7), JobOwnerName); sw.WriteLine(line); sw.Wr
-
Edit the PRN file generated by PCL driverHi All, I have .Prn file which was generated out of PCL printer.I need to find a string in that file and then I have to replace it with another string. Iam able to do it by using stream writer,streamreader,Binary reader,binary writer and file streams. But if gave a print(LPR)for it, it get failed and giving me syntax error as Illegal tag. If I print original file it is printing very well. I came to know that while writing it has lost some of its originality ,so it was failed The original file size is like 16k, after the editing it becoming as 22k.. more over it is not normal file,It is a file generated by PCL printer. So may be during the conversion it is losing printer supported font. so that's the reason printer cannot understand the file(after editing)to print.so it gives syntax error as Kernel and Illegal tag error. I even cannot compare both file because the file is generated by PCL printer which has some non-readable data I have no clues to overcome this problem Please help me Thanks in advance
-
LPR failed on Edited PRN fileHi, Thanks for the reply, The original file size is like 16k, after the editing it becoming as 22k.. more over it is not normal file,It is a file generated by PCL printer. So may be during the conversion it is losing printer supported font. so that's the reason printer cannot understand the file(after editing)to print.so it gives syntax error as Kernel and Illegal tag error. I even cannot compare both file because the file is generated by PCL printer which has some non-readable data I have no clues to overcome this problem kindly help me
-
Edit & print PCL generated PRN fileHi, Thanks for the reply, The original file size is like 16k, after the editing it becoming as 22k.. more over it is not normal file,It is a file generated by PCL printer. So may be during the conversion it is losing printer supported font. so that's the reason printer cannot understand the file(after editing)to print.so it gives syntax error as Kernel and Illegal tag error. I have no clues to overcome this problem kindly help me
-
Edit & print PCL generated PRN fileHi All, I have .Prn file which was generated out of PCL printer.I need to find a string in that file and then I have to replace it with another string. Iam able to do it by using stream writer,streamreader,Binary reader,binary writer and file streams. But if gave a print(LPR)for it, it get failed and giving me syntax error as Illegal tag. If I print original file it is printing very well. I came to know that while writing it has lost some of its originality ,so it was failed Please help me Thanks in advance
-
LPR failed on Edited PRN fileHi All, I have .Prn file which was generated out of PCL printer.I need to find a string in that file and then I have to replace it with another string. Iam able to do it by using stream writer,streamreader,Binary reader,binary writer and file streams. But if gave a print(LPR)for it, it get failed and giving me syntax error as Illegal tag. If I print original file it is printing very well. I came to know that while writing it has lost some of its originality ,so it was failed Please help me Thanks in advance
-
Turn-off monitor using c#.netHi all, I need to turn offpower-off) the remote computer(Machine) monitor.Can any help me on this scenario.Is it is possible to do by c#.net. Let me clearly explain me there are Server and clients... From server machine I need to turn off(power-off) the client system monitor kindly help me....
-
Remotely Turn off computer monitorHi all, I need to turn offpower-off) the remote computer(Machine) monitor.Can any help me on this scenario.Is it is possible to do by c#.net. Let me clearly explain me there are Server and clients... From server machine I need to turn off(power-off) the client system monitor kindly help me....
-
application on system trayHi, I developed a windows application.Now after installation it should be shown in system tray beside date & time. Then on the right click of this i have to show some options like enable/disable. Iam new to c#.Kindly help me on this. Thanks to all bye
-
Invoke Windows app on client from ServerHi Mike, I not asking any readymade solution. Just I need some start-up help. Any how Thanks for your reply.Iam request you to not underestimate others.In forums no one can give complete solution,but memebers just give their idea and some valuable information(any links) for the beginners.
-
Invoke Windows app on client from ServerHi all, I have a windows application in client machine.I want to invoke(windows app screen should also be visible)that windows application(client machine) from server machine. Here both client and server machines are in LAN and WAN. Problem: 1.Invoke the windows application(windows app screen should also be visible in client machine) from server machine. 2.After application opens in client machine,then user enters some data,that data have to be written to a file which is in server machine. I succeeded to solve the above problem using webservices But suddenly I was asked to solve it using .net Remoting.....Iam new to .net remoting kindly help me in solving the above problem using .net Remoting