Sponsored White Papers, Webcasts, and Downloads
Additional Resources
- Scraping Website
- Just Wondering, How Does One Go About Writing A Program, where a user enters in a website and then the website gets fed through the streamreader and eventually scrapes all the html content from that website. Does Anyone have any examples of this??
- Tags: Web site development, Web technology, Web site, Does
- Q&A 2005-03-22
- Caching
- How to remove a cache variable on application close in asp.netExplicit removal on an object from cache example below:public void Application_OnStart{System.IO.StreamReader sr =new System.IO.StreamReader("pi.txt");string pi = sr.ReadToEnd;Context.Cache.Add("pi", pi, null,Cache.NoAbsoluteExpiration,new TimeSpan(0, 5, 0),CacheItemPriorityDecay.Never,new CacheItemReomovedCallback(this.OnRemove));}public void OnRemove(string key, object val, CacheItemRemovedReason r){// respond to cache removal here}Setting an absolute expiration for a...
- Tags: coolmanohar@...
- Q&A 2004-12-21
- Vb.net2003 - Dos mode Printing
- Dos mode printing i want to write a file direct to the printerportin vb6 i used to printer.port,penter.enddoc....Check the PrintDocument.Print method in the VS on line help includes an example.Public Class PrintingExample Private printFont As Font Private streamToPrint As StreamReader Private...
- Tags: Dim linesPerPage, DOS, DOS Mode, Dos mode Printing, Dos-mode Printing, jomonthekkel@..., Nothing, printing, programming, Single
- Q&A 2004-12-22
- Extraction of Text File
- Hi again! I need to write code that reads a text file. I need to be able to parse the file based on the 1st character of every line. If the character is a "1", skip to the next line, if it's a "2", read every line...
- Tags: vishalluthra
- Discussion threads 2007-08-17
- How to print document through C# coding?
- Hi everybody,Can anybody tell me how to print a document throgh C# coding.I did using streamreader, but then document is not getting printed as it originally is.Bullets,styles,spaces are different in the print out from that in screen.then i tried using printdialog, but a blank page is getting printed or the...
- Tags: rajkar001@..., programming, C#
- Q&A 2006-07-21
- Edit Word Doc On Web Before Download
- I have a web site which has a Word document for users to download. Before they download I would like to edit the document to insert the username they have logged in to the web site so I know who they are, and a unique file ID number that I...
- Tags: John Gordon, Microsoft Word, programming, Web, XML, XXXXXX
- Q&A 2005-03-15
- Read and write text files with Visual Basic .NET
- Reading and writing text files is an essential task in any programming language. Follow this step-by-step approach to working with text files in VB .NET using the System.IO namespace.Years ago, when I first learned to program in BASIC, I came across a sample program for reading a text file. The...
- Tags: Microsoft development tools, Programming languages, .NET, Bruce Walton, Microsoft Visual Basic.Net, text-file, WriteLine, Microsoft Visual Basic
- Technical articles 2002-08-12
- A utility to parse fixed length flat files in C# using XML templates
- This article is also available as a TechRepublic download, which includes the sample application and the accompanying code.Fixedlength flat files hold data without delimiters between the fields of data.Usually the layout of a fixed length flat file is shown in a series of columnswith each column having a starting point...
- Tags: C#, XML, Zach Smith
- Technical articles 2007-02-06
- How do I... Serialize a hash table in C# when the application requires it?
- Unfortunately, the .NET Framework does not allow serialization of any object that implements the IDictionary interface. This restriction includes, but is not limited to, hash tables. Like many developers, I have run into this restriction head on and been disappointed about the inability for serialization on hash tables. ...
- Tags: Table, Object, List, OrderedTable, NameValuePair, .Net, C#, Software Development, Software/Web Development, Programming Languages, Zach Smith
- Blog posts 2007-10-01
- Convert a string into a byte array in VB.NET
- If you need to convert a string into a byte array in VB.NET, you can use the GetBytes method or one of the encoding objects available in the System.Text namespace. This tip shows various encoding types and looks at ways to convert a string into a byte array.Encoding typesThere are...
- Tags: Vb.net, Programming
- Blog posts 2007-06-14
- Access directories and files with C# using the System.IO namespace
- Developers often have to access directories and files in order to gather information and make necessary changes to the file system, as well as to modify the content of individual files. In this article, we willdiscuss the System.IOnamespace, which provides necessary classes for working with directories andfiles. We will use...
- Tags: C#, Irina Medvinskaya, Microsoft Access, namespace, System.IO, System.IO namespace
- Technical articles 2006-05-24
- Scott's Thoughts & Stuff
- Scott's Thoughts & Stuffblog rootWelcome!Hi everyone!Thanks for taking the time out of your busy schedule to visit my corner of the web. I'm going to use this blog as a sounding board for my thoughts on pretty much everything, so if you're interested in anything, check back often. I'll be...
- Tags: Web site development, Web technology, RSS, n3bu1a, external Website, ADODB.Recordset, e-mail, Web site
- Discussion threads 2005-06-14
- Learn to navigate .NET IO streams
- Does .NET's streaming IO model have you feeling a little adrift? Get your bearings on this new programming feature.One of the wrinkles that the .NET Framework brings to the developer's table is a new IO system built around streams. It's new, that is, for VB programmers, who have likely never...
- Tags: .NET, Application servers, Microsoft .NET, Microsoft .NET Framework, Lamont Adams
- Technical articles 2002-01-14
- << Previous
- page 1 of 1
- Next >>