I wish to setup some of my favorites in Internet Explorer programmatically through C# from an HTML file (same as IE export file or similar). Can anyone point me to an example or write code or point me in the right direction.
You can <a href="http://msdn.microsoft.com/en-us/library/ms143368.aspx">File.ReadAllText</a>[<a href="http://msdn.microsoft.com/en-us/library/ms143368.aspx" target="_blank" title="New Window">^</a>] to read in such an IE export file. There's an example on the bottom of that page. One could also <a href="http://msdn.microsoft.com/en-us/library/s2tte0y1.aspx">File.ReadAllLines</a>[<a href="http://msdn.microsoft.com/en-us/library/s2tte0y1.aspx" target="_blank" title="New Window">^</a>], if that's easier with manipulating strings.
Lastly, (you can almost guess it), there's also a <a href="http://msdn.microsoft.com/en-us/library/system.io.file.writealltext.aspx">File.WriteAllText</a>[<a href="http://msdn.microsoft.com/en-us/library/system.io.file.writealltext.aspx" target="_blank" title="New Window">^</a>] method available. You'll find them all in the System.IO namespace[^], which you'll need to add to your "usings".
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
I have searched the web for articles on using Opensource API. to convert word documents to other formats but have yet to find any. I would stick with Office Interop but I cannot install it on the web server I'm currently using unless I signup for a dedicated server. Please point me to a site if you know of one, thanks in advance.
For multiple employees (one or more), I have to generate report
--Report will be same for all employees
--Each page of report viewer will contain a single report for a single employe.
For example, for 10 employees ten report will be in ten pages of a single report viewer.
I've a custom TabControl that inherites Forms.UserControl, not Forms.TabControl. This shall behave just as a normal TabControl codewice. The issue is that TabPages beeing added in the wrong order by the designer. At first it is ok, 2 pages beeing added as expected, #1 and then #2, but when I make any changes to a Page #2, the Text for example - Page #2 beeing added as #1 in designer (the order is now incorrect):
I'm working on desktop application on c#.net...I'm using mssql server 2008r2 for backend. After the completion of my project,when i deploy it to make setup file,will i need to install on a client computer or there is any way to deploy sqlserver along with my project while making a setup file so that i won't need to install sql server on client computer for using my application......
Last Visit: 31-Dec-99 19:00 Last Update: 6-Dec-22 6:20