Click here to Skip to main content
15,887,336 members
Home / Discussions / C#
   

C#

 
QuestionHow to expose a class library in windows application as web service for other application Pin
Arun Kumar Babu30-May-06 19:05
Arun Kumar Babu30-May-06 19:05 
AnswerRe: How to expose a class library in windows application as web service for other application Pin
leppie30-May-06 19:32
leppie30-May-06 19:32 
GeneralRe: How to expose a class library in windows application as web service for other application Pin
Arun Kumar Babu30-May-06 19:36
Arun Kumar Babu30-May-06 19:36 
GeneralRe: How to expose a class library in windows application as web service for other application Pin
leppie31-May-06 2:00
leppie31-May-06 2:00 
QuestionAdd New Files To the solution programatically in c#.net Pin
compdesign30-May-06 18:44
compdesign30-May-06 18:44 
AnswerRe: Add New Files To the solution programatically in c#.net Pin
stancrm30-May-06 21:02
stancrm30-May-06 21:02 
QuestionWebBrowser control Pin
hung_ngole30-May-06 18:28
hung_ngole30-May-06 18:28 
AnswerRe: WebBrowser control Pin
Nafiseh Salmani30-May-06 20:29
Nafiseh Salmani30-May-06 20:29 
i cant get your mean!! but i think this code may help you.

change the property Url to about:blank
drop a button to form1 (leave the button1 as name)

bouble click on the button1 and paste following code as event handler

private void button1_Click(object sender, EventArgs e)
{
System.IO.MemoryStream st = new System.IO.MemoryStream ();
string sampleHtml = "Hello world! ";
UTF8Encoding uniEncoding = new UTF8Encoding();
byte[] firstString = uniEncoding.GetBytes(sampleHtml);
webBrowser1.DocumentStream = st;
st.Write(firstString, 0, firstString.Length);
st.Flush();
st.Position = 0;
webBrowser1.DocumentStream = st;
}
GeneralRe: WebBrowser control Pin
hung_ngole31-May-06 1:01
hung_ngole31-May-06 1:01 
QuestionMMF in c# Pin
liqnit30-May-06 18:26
liqnit30-May-06 18:26 
QuestionCrystal Reports Pin
aby.m.a30-May-06 18:18
aby.m.a30-May-06 18:18 
QuestionBlueTooth Pin
ah_jiang_930-May-06 18:14
ah_jiang_930-May-06 18:14 
AnswerRe: BlueTooth Pin
Rey999931-May-06 2:27
Rey999931-May-06 2:27 
QuestionProblems using graphic object to display text on tabPage Pin
printscreen1234530-May-06 18:05
printscreen1234530-May-06 18:05 
QuestionChanging DataGrid Data Pin
Dan Neilsen30-May-06 15:43
Dan Neilsen30-May-06 15:43 
QuestionNavigation help. Pin
tongueless30-May-06 14:48
tongueless30-May-06 14:48 
AnswerRe: Navigation help. Pin
tongueless30-May-06 15:19
tongueless30-May-06 15:19 
QuestionInvoke problem Pin
teejayem30-May-06 14:32
teejayem30-May-06 14:32 
AnswerRe: Invoke problem [modified] Pin
Robert Rohde30-May-06 20:22
Robert Rohde30-May-06 20:22 
Questioncombobox with datagridview Pin
kjosh30-May-06 12:16
kjosh30-May-06 12:16 
QuestiontabPage class Pin
rcwoods30-May-06 12:06
rcwoods30-May-06 12:06 
AnswerRe: tabPage class Pin
likefood30-May-06 13:09
likefood30-May-06 13:09 
QuestionHow to display text from the bottom up in a textBox. Pin
nicknotyet30-May-06 11:34
nicknotyet30-May-06 11:34 
AnswerRe: How to display text from the bottom up in a textBox. Pin
V.30-May-06 11:44
professionalV.30-May-06 11:44 
GeneralRe: How to display text from the bottom up in a textBox. Pin
nicknotyet30-May-06 12:10
nicknotyet30-May-06 12:10 

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.