Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   [HELP] Export dari Database/dataset ke file xls/excel (https://forum.ceriwis.com/showthread.php?t=573631)

Servermaster 20th November 2011 02:02 AM

[HELP] Export dari Database/dataset ke file xls/excel
 

Agan2 programmer pro yang terhormat di :ceriwislove:



Need help gan..

ane pake VB.NET 2005






Quote:







Imports Microsoft.Office.Interop



...

Dim Excel As Excel.ApplicationClass

Dim XBook As Excel.Workbook

Dim XSheet As Excel.Worksheet

Dim SaveFDlg As SaveFileDialog

...



XBook = Excel.Workbooks.Add

XSheet = XBook.ActiveSheet






waktu ane debug, muncul error saat XBook = Excel.Workbooks.Add




Spoiler for Error:






Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))











mohon bantuannya gan...

:tanya: :kabur: :tanya:



belum dapat ide

:ide::ide::ide:



terimakasih gan

</div>


All times are GMT +7. The time now is 02:24 PM.