Click here to Skip to main content
15,890,438 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProject Database Pin
'Drew15-Jun-07 12:04
'Drew15-Jun-07 12:04 
QuestionInserting new records in a child table Pin
Psyfo15-Jun-07 11:31
Psyfo15-Jun-07 11:31 
AnswerRe: Inserting new records in a child table Pin
bigjokey15-Jun-07 12:10
bigjokey15-Jun-07 12:10 
QuestionVB.Net Custom ListView Row Height Pin
bigjokey15-Jun-07 10:38
bigjokey15-Jun-07 10:38 
AnswerRe: VB.Net Custom ListView Row Height PinPopular
Tarakeshwar Reddy15-Jun-07 10:54
professionalTarakeshwar Reddy15-Jun-07 10:54 
GeneralRe: VB.Net Custom ListView Row Height Pin
bigjokey15-Jun-07 11:13
bigjokey15-Jun-07 11:13 
QuestionExporting data of Datagrids to Excel in VB.NET Pin
hsprasain15-Jun-07 9:59
hsprasain15-Jun-07 9:59 
AnswerRe: Exporting data of Datagrids to Excel in VB.NET Pin
Taylor Kobani16-Jun-07 4:19
Taylor Kobani16-Jun-07 4:19 
0.Add Excel Object Library 11 Refrence to your project which is a COM
1. Instatiate an Excel application:
dim xlApp as new Excel.Application
2.define an Excel worksheet
dim xlWRK as Excel.Worksheet
3.define an Excel workbook
dim xlWBK as Excel.Workbook
4.Open a workbook in the instantiated application:
xlWBK=xlapp.workbooks.open("YourFile")
5.Get the sheet on the workbook
xlWRK=xlwbk.worksheets(0)
6.Get the value on the worksheet
dim value as string = xlwrk.cells(1,1).value()
Note:Indexes of cells wil begin from 1
Note:Call xlapp.quit when you do not need the application(it may remain in the memory)
Note:You can view the excel application by changing the visible property of xlapp to true(xlapp.visible=true)







A.E.K

GeneralRe: Exporting data of Datagrids to Excel in VB.NET Pin
hsprasain16-Jun-07 10:09
hsprasain16-Jun-07 10:09 
QuestionContextmenu not always showing on right clicking DataGrid Pin
GuyThiebaut15-Jun-07 9:17
professionalGuyThiebaut15-Jun-07 9:17 
AnswerRe: Contextmenu not always showing on right clicking DataGrid Pin
Taylor Kobani16-Jun-07 4:29
Taylor Kobani16-Jun-07 4:29 
GeneralRe: Contextmenu not always showing on right clicking DataGrid Pin
GuyThiebaut16-Jun-07 6:34
professionalGuyThiebaut16-Jun-07 6:34 
Questionusing recordset in MS Access to place values into array Pin
reegan4115-Jun-07 3:20
reegan4115-Jun-07 3:20 
AnswerRe: using recordset in MS Access to place values into array Pin
GoodID21-Jun-07 17:56
GoodID21-Jun-07 17:56 
Questioncan any one tell reular exp to validate domain name Pin
koolprasad200315-Jun-07 3:08
professionalkoolprasad200315-Jun-07 3:08 
AnswerRe: can any one tell reular exp to validate domain name Pin
Tom Wright15-Jun-07 3:53
Tom Wright15-Jun-07 3:53 
GeneralRe: can any one tell reular exp to validate domain name Pin
koolprasad200315-Jun-07 21:15
professionalkoolprasad200315-Jun-07 21:15 
AnswerRe: can any one tell reular exp to validate domain name Pin
berghain15-Jun-07 4:47
berghain15-Jun-07 4:47 
GeneralRe: can any one tell reular exp to validate domain name Pin
koolprasad200315-Jun-07 21:13
professionalkoolprasad200315-Jun-07 21:13 
AnswerRe: can any one tell reular exp to validate domain name Pin
Steven J Jowett15-Jun-07 5:46
Steven J Jowett15-Jun-07 5:46 
GeneralRe: can any one tell reular exp to validate domain name Pin
koolprasad200315-Jun-07 21:13
professionalkoolprasad200315-Jun-07 21:13 
QuestionTransfer Datetime field from MS-Access to SQL server? Pin
.NetRams15-Jun-07 2:11
.NetRams15-Jun-07 2:11 
AnswerRe: Transfer Datetime field from MS-Access to SQL server? [modified] Pin
GuyThiebaut15-Jun-07 9:26
professionalGuyThiebaut15-Jun-07 9:26 
GeneralOutput From Stored Procedures Pin
Dreamer200715-Jun-07 1:52
Dreamer200715-Jun-07 1:52 
GeneralRe: Output From Stored Procedures Pin
Tom Wright15-Jun-07 3:44
Tom Wright15-Jun-07 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.