944,120 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 4731
  • VB.NET RSS
Jan 17th, 2007
0

1 .Exporting data from Dataset to XLl sheet in VB.net Windows Application &vice versa

Expand Post »
HiHow to Export data from Dataset to Excel sheet in VB.net Windows Application
and also How to convert Excel Sheets into Data set Using VB.net coding(Windows Application)



how to Convert Dataset into XL Sheet to the VB.net Windows Application only by using the default resource(dll) available in VB.net.



ie without need to add Office Primary Interop Assemblies of the Microsoft Excel 2003 or without the need for installing the Microsoft Office.



We are developing a Product using VB.net (Windows Application). After Developing the Product , we need to install it in different Location which may or may not have Microsoft office.
So is it possible to write coding in VB.net to convert a data set into Excel sheet & vice versa by using the Normal features of VB.net instead of the need to Install Microsoft Office in the Client System adding reference to PIA in the VB.net Application






The Below are some method/ideas by which data set con be converted into Excel Sheet but it is not suitable for our company.
so we are searching
for another Idea / Method which does not require the installation of Microsoft Office



Method 1:
One way is to Office Primary Interop Assemblies in the Microsoft Excel 2003.
1) By adding .net Programmability Support to the Microsoft Excel 2003.


2) When you want to use the Excel 2003 PIAs in a .NET-based application, add a reference to them in the Add Reference dialog box of Visual Studio .NET.
3) Once you add this reference, you can manipulate the Excel COM objects as though they were native .NET-based assemblies.
4) VB.net Coding can be Used to Convert the Dataset into XL Sheets.
Refer :http://msdn2.microsoft.com/en-us/library/aa159891(office.11).aspx


few other methods are
  1. http://www.dotnetspider.com/kb/Article950.aspx
  2. http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q318373
  3. http://weblogs.asp.net/donxml/archive/2003/08/21/24908.aspx
  4. http://www.dotnetjohn.com/articles.aspx?articleid=78
  5. http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q317109
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
sathya_k_83 is offline Offline
12 posts
since Sep 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: 8th Grade 14 IT Tech?
Next Thread in VB.NET Forum Timeline: Sms system program





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC