Click here to Skip to main content
15,889,034 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: make report Pin
Richard MacCutchan31-Aug-15 20:57
mveRichard MacCutchan31-Aug-15 20:57 
AnswerRe: make report Pin
ZurdoDev2-Sep-15 5:25
professionalZurdoDev2-Sep-15 5:25 
QuestionSQL Linq, IQueryable, Join and multiple contains Pin
jkirkerx26-Aug-15 10:28
professionaljkirkerx26-Aug-15 10:28 
QuestionEasy to use VB.net code with Tesseract 3.02 Pin
ezio200024-Aug-15 23:54
ezio200024-Aug-15 23:54 
AnswerRe: Easy to use VB.net code with Tesseract 3.02 Pin
Eddy Vluggen31-Aug-15 7:09
professionalEddy Vluggen31-Aug-15 7:09 
GeneralConversion from C# to VB.Net Pin
James Frimpong24-Aug-15 11:42
James Frimpong24-Aug-15 11:42 
GeneralRe: Conversion from C# to VB.Net Pin
Dave Kreskowiak24-Aug-15 13:13
mveDave Kreskowiak24-Aug-15 13:13 
QuestionExport Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit24-Aug-15 5:09
Benniiit24-Aug-15 5:09 
Please I'm using vb.net 2013 and Microsoft office 2013. The below code is able to display the datagridview

into excel 2007. But the code does not display onto excel 2013 and no error gets reported. I suspect the

excel 2013 format could be the cause but i do not know how to go about it.


<pre lang="vb"

Dim ExcelSheet As Object
Dim i As Integer
Dim j As Integer

'create object of excel
ExcelApp = CreateObject("Excel.Application")
ExcelBook = ExcelApp.WorkBooks.Add
ExcelSheet = ExcelBook.WorkSheets(1)

With ExcelSheet
For i = 1 To Me.DataGridViewGCL.RowCount
.cells(i, 1) = Me.DataGridViewGCL.Rows(i - 1).Cells("GclNo").Value
For j = 1 To DataGridViewGCL.Columns.Count - 1
.cells(i, j + 1) = DataGridViewGCL.Rows(i - 1).Cells(j).Value
Next
Next
End With

ExcelApp.Visible = True
'
ExcelSheet = Nothing
ExcelBook = Nothing
ExcelApp = Nothing

></pre>
AnswerRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Eddy Vluggen24-Aug-15 5:23
professionalEddy Vluggen24-Aug-15 5:23 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit24-Aug-15 7:54
Benniiit24-Aug-15 7:54 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Eddy Vluggen24-Aug-15 8:06
professionalEddy Vluggen24-Aug-15 8:06 
AnswerRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
ChandraRam24-Aug-15 5:27
ChandraRam24-Aug-15 5:27 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit24-Aug-15 7:55
Benniiit24-Aug-15 7:55 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
ChandraRam25-Aug-15 3:44
ChandraRam25-Aug-15 3:44 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit25-Aug-15 7:14
Benniiit25-Aug-15 7:14 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
ChandraRam25-Aug-15 7:55
ChandraRam25-Aug-15 7:55 
AnswerRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
GuyThiebaut28-Aug-15 4:39
professionalGuyThiebaut28-Aug-15 4:39 
QuestionGood freeware barcode reader library Pin
vincentvdm22-Aug-15 22:04
vincentvdm22-Aug-15 22:04 
AnswerRe: Good freeware barcode reader library Pin
Eddy Vluggen24-Aug-15 5:27
professionalEddy Vluggen24-Aug-15 5:27 
QuestionAdd a DTPicker in a Column of grid in vb6.0 Pin
Anand_@ndy21-Aug-15 19:08
Anand_@ndy21-Aug-15 19:08 
AnswerRe: Add a DTPicker in a Column of grid in vb6.0 Pin
Eddy Vluggen24-Aug-15 5:26
professionalEddy Vluggen24-Aug-15 5:26 
QuestionHow To Set H-Scrolling And V-Scrolling With AspxpivoteGrid Devexpress Pin
Member 1174163219-Aug-15 22:30
Member 1174163219-Aug-15 22:30 
AnswerRe: How To Set H-Scrolling And V-Scrolling With AspxpivoteGrid Devexpress Pin
Eddy Vluggen24-Aug-15 5:23
professionalEddy Vluggen24-Aug-15 5:23 
QuestionVB, SQL Linq, 2 Joins and multiple Groups Pin
jkirkerx18-Aug-15 8:41
professionaljkirkerx18-Aug-15 8:41 
QuestionSql Linq, Adding a group Join or Join and performing Sums, I can't figure out the Join in VB Pin
jkirkerx17-Aug-15 13:45
professionaljkirkerx17-Aug-15 13:45 

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.