ASPFriends.com 'ngfx-io' list Archive - March 2002
Messages
Page: 1
Not answered: Asynch. Read change Beta -> R1? (2 replies)
ASPFriends.com 'ngfx-io' list
Copied from [aspngfreeforall] to [ngfx io] by Charles M. Carroll charlesmarkcarroll@yahoo.com This question was posted earlier but was not answered. I show code in my book that worked great in Beta that no longer works in R1, but I can't quite figure out why. The goal is to do an asynch. read of a file, while doing other work (shown as a for loop writing to the console). I've tried playing with bu...
Sockets (5 replies, VIP)
ASPFriends.com 'ngfx-io' list
Moved from [aspngclient] to [ngfx io] by Marcie Jones marciejones@yahoo.com Does anyone have any experence with Winsockets in DOT net Windows application devleopment? Joe
Appending files (2 replies, VIP)
ASPFriends.com 'ngfx-io' list
Hi all, I have three or more text files that needs to be appended together. From the documentation, I know how to open the first file for appending text but not files? Do I have to open up the other files one by one, read it using a streamreader and the append it to the first file using a streamwriter? Is there a better way to do this? Thanks in advance for your help. Jasmine
Urgent Help! Overwriting text files (3 replies)
ASPFriends.com 'ngfx-io' list
Hi all, I am having problem overwriting a text file. I have the following code in which I create a file and write text strings to it. lfileInfo new FileInfo(gstrResultFolder & lstrHtmlFile) lsw lfileINfo.CreateText lsw.WriteLine(" html head title View Application /title /head body bgcolor ""#ffffff"" ") lsw.close The problem with this is if my file exists I need to overwrite it. From the documenta...
How to send clientcertificate (2 replies, VIP)
ASPFriends.com 'ngfx-io' list
Hello All, Using HttpWebRequest and a 128 bit certificate: What class, properties, methods do I use to send a web request that requires a 128 bit certificate and a proxy? I have assigned a proxy object successfully to my httpwebrequest object and made a request, (this works fine on sites with no certificate requirements) and the response is an error: An unknown error occurred while processing the ...
PushbackInputStream (2 replies, VIP)
ASPFriends.com 'ngfx-io' list
Hi, I need to implement a "PushbackInputStream" functionality (from Java) in C#. I'm migrating some Java code that uses this class... and I want to know if any of you have done something like that before trying to write the "emulation" code myself. Best regards, Andr E9s G Vettori MCSE/MCSD/MCT Thawte Notary andresv@ciudad.com.ar Phone 54(11) 15 4914 2560 Obten E9 tu certificado digital totalmente...
How to Monitor a Directory? (3 replies)
ASPFriends.com 'ngfx-io' list
Moved from [aspngfreeforall] to [ngfx io] by Marcie Jones marciejones@yahoo.com Looking for some good material on how to accomplish some of the following: 1) Must monitor a set of directories (and subdirectories) for newly inserted files. 2) Must locate new file, read and parse through a text file. 3) Must generate a table with information from filename and text file. 4) Must notify via email when...
Cleanup Connections... (2 replies)
ASPFriends.com 'ngfx-io' list
In a user control I have the following code and I may need to add a Dispose or some other kind of garbage collection as I suspect automatic garbage collection is not happening fast enough. Could someone please let me know which objects should call dispose? script language "VB" runat "server" public theurl as string "http://www.learnasp.com/ads/adshowlearnasp.asp" DIM theurlresult as string Sub Pag...
Remotely Accessing a File (3 replies)
ASPFriends.com 'ngfx-io' list
Hi, all. I have a file access question for you. I want to retrieve a certain file on a client machine. I want to do this through an ASP.NET application. Basically, the user has a database file on their machine that they have made some updates to. I then want them to be able to input the path to that file and have the IIS server grab that db file and perform an update against the main database usin...
StreamWriter (12 replies)
ASPFriends.com 'ngfx-io' list
I am using StreamWriter to try to write some data to the HttpWebRequest object, but it keeps failing on the close method. Heres the exception: System.IO.IOException: Cannot close stream until all bytes are written Heres the code: System.IO.Stream ms; ms new System.IO.MemoryStream(); xmlDoc.Save(ms); HttpWebRequest w (HttpWebRequest)WebRequest.Create(strURL); w.Credentials new System.Net.NetworkCre...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification