Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
QuestionNon-Rectangular Forms Pin
AB777118-Jul-06 0:06
AB777118-Jul-06 0:06 
AnswerRe: Non-Rectangular Forms Pin
RizwanSharp19-Jul-06 11:53
RizwanSharp19-Jul-06 11:53 
QuestionSending A Message to the Network User's Pin
Chetan Ranpariya17-Jul-06 23:59
Chetan Ranpariya17-Jul-06 23:59 
AnswerRe: Sending A Message to the Network User's Pin
RizwanSharp19-Jul-06 11:57
RizwanSharp19-Jul-06 11:57 
QuestionWhats the best practice for getting XML out of an SQL query? Pin
Red_Wizard_Shot_The_Food17-Jul-06 23:53
Red_Wizard_Shot_The_Food17-Jul-06 23:53 
AnswerRe: Whats the best practice for getting XML out of an SQL query? Pin
J4amieC18-Jul-06 0:41
J4amieC18-Jul-06 0:41 
AnswerRe: Whats the best practice for getting XML out of an SQL query? Pin
Not Active18-Jul-06 2:41
mentorNot Active18-Jul-06 2:41 
QuestionProblem to print HTML File ... Pin
SD317-Jul-06 23:40
SD317-Jul-06 23:40 
Hello, I have a big problem to print an html file directly to the printer. I
use an "AxSHDocVw.AxWebBrowser" object. Briefly, this is my code:

AxSHDocVw.AxWebBrowser myBrowser;
...
//this set of instruction prepare my document in html to be printed

string HtmlFileName = "Test.html";
Object o = new Object();
o = System.Reflection.Missing.Value;
myBrowser.Silent = true;
myBrowser.Navigate(HtmlActualFileName, ref o, ref o, ref o, ref o);


// when it is ready the callback goes here
private void myBrowser_DocumentComplete(object sender, System.EventArgs e)
{
myBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref o, ref o);
}

When i call it (ExecWB) it generates an exception "Trying to revoke a drop
target that has not been registered".

Someone know how I can solve this problem, or if there is a quicker o
simpler method to solve it?

Thank you,
Regards,
SD3
Confused | :confused:
QuestionC# BHO question [modified] Pin
elefas17-Jul-06 23:27
elefas17-Jul-06 23:27 
QuestionStarting a service depending on SQLEXPRESS? Pin
mav.northwind17-Jul-06 23:06
mav.northwind17-Jul-06 23:06 
AnswerRe: Starting a service depending on SQLEXPRESS? Pin
Paul Brower18-Jul-06 1:29
Paul Brower18-Jul-06 1:29 
GeneralRe: Starting a service depending on SQLEXPRESS? Pin
mav.northwind18-Jul-06 3:16
mav.northwind18-Jul-06 3:16 
Questionusing hashtable in settings (app.config) Pin
Badscher17-Jul-06 22:40
Badscher17-Jul-06 22:40 
AnswerRe: using hashtable in settings (app.config) Pin
engsrini17-Jul-06 23:55
engsrini17-Jul-06 23:55 
GeneralRe: using hashtable in settings (app.config) Pin
Badscher18-Jul-06 0:06
Badscher18-Jul-06 0:06 
QuestionA specified logon session does not exist Pin
dabuskol17-Jul-06 22:13
dabuskol17-Jul-06 22:13 
QuestionHow to disable right click mouse, select and copy text in WebBrowser Pin
COBECTb17-Jul-06 22:02
COBECTb17-Jul-06 22:02 
AnswerRe: How to disable right click mouse, select and copy text in WebBrowser Pin
Vivek.Sivasamy17-Jul-06 22:32
Vivek.Sivasamy17-Jul-06 22:32 
Questionhowto determine ip? help please ... Pin
cmpeng3417-Jul-06 21:57
cmpeng3417-Jul-06 21:57 
AnswerRe: howto determine ip? help please ... Pin
Gavin Roberts18-Jul-06 0:53
Gavin Roberts18-Jul-06 0:53 
AnswerRe: howto determine ip? help please ... Pin
Mr. VB.NET18-Jul-06 0:58
Mr. VB.NET18-Jul-06 0:58 
Questionpsl, Help me, Pin
tranglt17-Jul-06 21:39
tranglt17-Jul-06 21:39 
AnswerRe: psl, Help me, Pin
J4amieC17-Jul-06 21:56
J4amieC17-Jul-06 21:56 
GeneralRe: psl, Help me, Pin
tranglt17-Jul-06 22:14
tranglt17-Jul-06 22:14 
GeneralRe: psl, Help me, Pin
leppie17-Jul-06 22:19
leppie17-Jul-06 22:19 

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.