Click here to Skip to main content
15,915,074 members
Home / Discussions / C#
   

C#

 
GeneralRe: Keeping track of connected users on a server? Pin
Lord Kixdemp11-Dec-06 12:14
Lord Kixdemp11-Dec-06 12:14 
AnswerRe: Keeping track of connected users on a server? Pin
Ravi Bhavnani11-Dec-06 12:20
professionalRavi Bhavnani11-Dec-06 12:20 
GeneralRe: Keeping track of connected users on a server? Pin
Lord Kixdemp11-Dec-06 12:53
Lord Kixdemp11-Dec-06 12:53 
GeneralRe: Keeping track of connected users on a server? Pin
Ravi Bhavnani12-Dec-06 2:08
professionalRavi Bhavnani12-Dec-06 2:08 
GeneralRe: Keeping track of connected users on a server? Pin
Lord Kixdemp12-Dec-06 13:16
Lord Kixdemp12-Dec-06 13:16 
QuestionReading an XML file Pin
yonidebest11-Dec-06 11:14
yonidebest11-Dec-06 11:14 
AnswerRe: Reading an XML file Pin
gnadeem11-Dec-06 11:18
gnadeem11-Dec-06 11:18 
AnswerRe: Reading an XML file Pin
Kent Sharkey11-Dec-06 12:14
staffKent Sharkey11-Dec-06 12:14 
GeneralRe: Reading an XML file Pin
yonidebest12-Dec-06 2:55
yonidebest12-Dec-06 2:55 
GeneralRe: Reading an XML file Pin
Kent Sharkey12-Dec-06 8:07
staffKent Sharkey12-Dec-06 8:07 
GeneralRe: Reading an XML file Pin
yonidebest12-Dec-06 8:31
yonidebest12-Dec-06 8:31 
GeneralRe: Reading an XML file [modified] Pin
Kent Sharkey12-Dec-06 8:37
staffKent Sharkey12-Dec-06 8:37 
GeneralRe: Reading an XML file [modified] Pin
yonidebest12-Dec-06 14:48
yonidebest12-Dec-06 14:48 
GeneralRe: Reading an XML file Pin
Kent Sharkey13-Dec-06 7:08
staffKent Sharkey13-Dec-06 7:08 
GeneralRe: Reading an XML file Pin
yonidebest13-Dec-06 10:01
yonidebest13-Dec-06 10:01 
AnswerRe: Reading an XML file [modified] Pin
meeram39511-Dec-06 22:17
meeram39511-Dec-06 22:17 
GeneralRe: Reading an XML file Pin
yonidebest12-Dec-06 2:59
yonidebest12-Dec-06 2:59 
QuestionBrowser preview Pin
netJP12L11-Dec-06 10:56
netJP12L11-Dec-06 10:56 
I have a function that takes a string in html format and print it ona printer in my small windows c# program. I am wondering how can i add print preview functionality to this. I have no clue.
To print a richTextbox i just used like that, but this is a webbroweser control.
thanks
printpreivewDialog pp = new printpreivewDialog();
pp.document=doc;
pp.ShowDialog();

public void PrintHtml(string sHtml,bool bPromt)
{
frmObj.axD.DocumentHTML=sHtml;

for(;frmObj.axD.Busy!=false;)
{
System.Windows.Forms.Application.DoEvents();
}
object opt=null;
if (bPromt)
opt="1";
frmObj.axD.PrintDocument(ref opt);
}
QuestionClickonce - how to Build deliverables once and Deployed universally Pin
tiongbox10011-Dec-06 10:31
tiongbox10011-Dec-06 10:31 
Questioncopy a byte array to a UInt16 array Pin
NYTSX11-Dec-06 9:58
NYTSX11-Dec-06 9:58 
AnswerRe: copy a byte array to a UInt16 array Pin
Guffa11-Dec-06 14:13
Guffa11-Dec-06 14:13 
QuestionCopy File Pin
TAREQ F ABUZUHRI11-Dec-06 9:01
TAREQ F ABUZUHRI11-Dec-06 9:01 
AnswerRe: Copy File Pin
Eric Dahlvang11-Dec-06 10:08
Eric Dahlvang11-Dec-06 10:08 
QuestionCopy File Pin
TAREQ F ABUZUHRI11-Dec-06 8:59
TAREQ F ABUZUHRI11-Dec-06 8:59 
AnswerRe: Copy File Pin
Eric Dahlvang11-Dec-06 9:04
Eric Dahlvang11-Dec-06 9:04 

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.