Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Servermaster Servermaster is offline
Member Aktif
 
Join Date: Nov 2011
Posts: 257
Rep Power: 14
Servermaster mempunyai hidup yang Normal
Default [HELP] Export dari Database/dataset ke file xls/excel

Agan2 programmer pro yang terhormat di



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...





belum dapat ide





terimakasih gan



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 10:06 PM.


no new posts