| | |
How to display Excel file in a tabPage?
Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Jun 2006
Posts: 2
Reputation:
Solved Threads: 0
Hi All,
My VB.NET program uses tabControl, which consists 8 tabPages, as the user interface. Basically, everything is done there, except when Excel file is opened.
My program reads Excel file by the following function:
VB:
When the Excel file is read, it is not attached in the VB program, but shown up independently. How can I show it in one of the tabPages?
Mike
My VB.NET program uses tabControl, which consists 8 tabPages, as the user interface. Basically, everything is done there, except when Excel file is opened.
My program reads Excel file by the following function:
VB:
VB.NET Syntax (Toggle Plain Text)
Private Sub btnReadFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReadFile.Click excelApp = New Excel.Application excelApp.Visible = True excelApp.UserControl = True excelApp.DisplayAlerts = False xls = excelApp.Workbooks.Open(txtInFile.Text) init() EndSub
When the Excel file is read, it is not attached in the VB program, but shown up independently. How can I show it in one of the tabPages?
Mike
![]() |
Similar Threads
- Generate Report as PDF and Excel file (Java)
- Open Excel file from Visual Basic (Visual Basic 4 / 5 / 6)
- update excel file from vb (Visual Basic 4 / 5 / 6)
- How to display a HTML file (in browser window) from Java Program...? (Java)
- grabbing source from excel file (was: please, somebody help me!!!) (Visual Basic 4 / 5 / 6)
Other Threads in the VB.NET Forum
- Previous Thread: creating menus programatically
- Next Thread: move previouse record in VB.net
| Thread Tools | Search this Thread |
"crystal .net .net2005 .net2008 2008 access add application array assignment basic beginner box browser button buttons click code combo convert cpu cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationthesis dissertationtopic dosconsolevb.net editvb.net exists fade filter firewall forms html image images input isnumericfuntioncall listview math mobile module mssqlbackend mysql navigate number opacity open panel picturebox picturebox2 port print printing printpreview record regex reports" reuse right-to-left savedialog serial settings shutdown socket sqldatbase sqlserver storedprocedure string temp temperature textbox timer timespan transparency txttoxmlconverter useraccounts usercontol usercontrol vb vb.net vb.nettoolboxvisualbasic2008sidebar vbnet vista visual visualbasic.net visualstudio.net web winforms wpf wrapingcode xml year





