Click here to Skip to main content
15,917,875 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting temperatures Pin
Scott Dorman12-Mar-07 4:04
professionalScott Dorman12-Mar-07 4:04 
QuestionA question about GDI release [modified] Pin
rockinfog12-Mar-07 1:32
rockinfog12-Mar-07 1:32 
QuestionDialing Modem... Pin
Saeedses12-Mar-07 0:29
Saeedses12-Mar-07 0:29 
QuestionConvert Pin
netvano12-Mar-07 0:53
netvano12-Mar-07 0:53 
Questiongetting data from an sql database in a datagrid Pin
Keshav V. Kamat11-Mar-07 23:21
Keshav V. Kamat11-Mar-07 23:21 
AnswerRe: getting data from an sql database in a datagrid Pin
rvlemmings12-Mar-07 1:31
rvlemmings12-Mar-07 1:31 
Questionproxy pac in .NET 2.0 C# Pin
drifters11-Mar-07 21:49
drifters11-Mar-07 21:49 
AnswerRe: proxy pac in .NET 2.0 C# Pin
Scott Dorman12-Mar-07 4:00
professionalScott Dorman12-Mar-07 4:00 
If the network connection being used requires the use of a proxy, then you would need to set that information using an XmlResolver. See this MSDN reference[^] for more details, but it seems straight-forward.

C#
XmlTextReader rdr = new XmlTextReader("http://localhost/bookstore/books.xml");
rdr.XmlResolver.Credentials = CredentialCache.DefaultCredentials;
XmlDocument doc = new XmlDocument();
doc.Load(rdr);
There is no support in .NET for working with PAC files directly. You can tell .NET to use the IE settings or set your own, but if you want to deal with PACs you will need to do some interop. (Hmmm...maybe it's time to finally finish my article on this...)

-----------------------------
In just two days, tomorrow will be yesterday.

QuestionWi-Fi Pin
kikka11-Mar-07 21:16
professionalkikka11-Mar-07 21:16 
QuestionCapture LogOff event Pin
MPR200611-Mar-07 21:12
MPR200611-Mar-07 21:12 
AnswerRe: Capture LogOff event Pin
Stefan Troschuetz11-Mar-07 22:08
Stefan Troschuetz11-Mar-07 22:08 
GeneralRe: Capture LogOff event Pin
MPR200611-Mar-07 22:13
MPR200611-Mar-07 22:13 
AnswerRe: Capture LogOff event Pin
pbraun12-Mar-07 3:52
pbraun12-Mar-07 3:52 
Questionc# assemblies app.config [modified] Pin
christalin11-Mar-07 19:45
christalin11-Mar-07 19:45 
AnswerRe: c# assemblies app.config Pin
Stefan Troschuetz11-Mar-07 22:04
Stefan Troschuetz11-Mar-07 22:04 
GeneralRe: c# assemblies app.config [modified] Pin
christalin11-Mar-07 22:56
christalin11-Mar-07 22:56 
QuestionHow To Reorder Record in DataGridView during Runtime? Pin
indiaone11-Mar-07 20:29
indiaone11-Mar-07 20:29 
QuestionProblem using "System.Management" to get the DVD name? Pin
Khoramdin11-Mar-07 18:22
Khoramdin11-Mar-07 18:22 
AnswerRe: Problem using "System.Management" to get the DVD name? Pin
Niiiissssshhhhhuuuuu12-Mar-07 0:58
Niiiissssshhhhhuuuuu12-Mar-07 0:58 
QuestionHow to Insert/Read a BLOB Field With DB2 DataBase? Pin
weiweiplay11-Mar-07 17:53
weiweiplay11-Mar-07 17:53 
AnswerRe: How to Insert/Read a BLOB Field With DB2 DataBase? Pin
Udhaya Kumar.D12-Mar-07 0:32
Udhaya Kumar.D12-Mar-07 0:32 
QuestionXML serializer problem and replacement... Pin
Super Lloyd11-Mar-07 14:13
Super Lloyd11-Mar-07 14:13 
QuestionMenu question [modified] Pin
Mike Hankey11-Mar-07 14:05
mveMike Hankey11-Mar-07 14:05 
Questioncreate an object from a VC++ class Pin
MinaFawzi11-Mar-07 13:18
MinaFawzi11-Mar-07 13:18 
AnswerRe: create an object from a VC++ class Pin
S. Senthil Kumar11-Mar-07 15:00
S. Senthil Kumar11-Mar-07 15:00 

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.