Click here to Skip to main content
15,850,190 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Setup making software for VB.net Pin
jzonthemtn28-Mar-08 3:12
jzonthemtn28-Mar-08 3:12 
GeneralShowing rtf file Pin
sjs4u27-Mar-08 20:59
sjs4u27-Mar-08 20:59 
GeneralRe: Showing rtf file Pin
Christian Graus28-Mar-08 2:45
protectorChristian Graus28-Mar-08 2:45 
GeneralGraphs Pin
screwfunk0127-Mar-08 16:11
screwfunk0127-Mar-08 16:11 
GeneralRe: Graphs Pin
Christian Graus27-Mar-08 17:17
protectorChristian Graus27-Mar-08 17:17 
GeneralRe: Graphs Pin
jzonthemtn28-Mar-08 3:11
jzonthemtn28-Mar-08 3:11 
QuestionIs it possible to and edit an excel file from Visual Basic 2005? Pin
Graham Latto27-Mar-08 9:52
Graham Latto27-Mar-08 9:52 
AnswerRe: Is it possible to and edit an excel file from Visual Basic 2005? Pin
Justin Porteous27-Mar-08 10:33
Justin Porteous27-Mar-08 10:33 
Hope this helps, make sure you add your references.

<br />
'Open in Excel<br />
        Dim myExcel As New Microsoft.Office.Interop.Excel.Application()<br />
        Dim workBook As Microsoft.Office.Interop.Excel.Workbook<br />
        Dim workSheet As New Worksheet<br />
<br />
        Try<br />
<br />
            If myExcel Is Nothing Then<br />
                'Failed to load Excell Object<br />
            Else<br />
<br />
                workBook = myExcel.Workbooks.Open("C:\myfile.xls", 0, True, 5, "", "", True, XlPlatform.xlWindows, "\t", False, False, 0, True, 1, 0)<br />
                workSheet = workBook.ActiveSheet<br />
<br />
                workSheet.Cells(1, 1) = "My value"<br />
<br />
                workBook.Close()<br />
<br />
            End If<br />
<br />
<br />
        Catch ex As Exception<br />
            'Handle Exception<br />
        End Try<br />
<br />
        myExcel.Close()<br />

GeneralRe: Is it possible to and edit an excel file from Visual Basic 2005? Pin
Justin Porteous27-Mar-08 10:35
Justin Porteous27-Mar-08 10:35 
GeneralRe: Is it possible to and edit an excel file from Visual Basic 2005? Pin
Graham Latto27-Mar-08 10:53
Graham Latto27-Mar-08 10:53 
GeneralRe: Is it possible to and edit an excel file from Visual Basic 2005? Pin
Paul Conrad27-Mar-08 13:28
professionalPaul Conrad27-Mar-08 13:28 
GeneralProblems with ListView Group showing in an MDI application Pin
Faruk Ansari27-Mar-08 9:27
Faruk Ansari27-Mar-08 9:27 
GeneralRe: Problems with ListView Group showing in an MDI application Pin
Dave Kreskowiak28-Mar-08 5:15
mveDave Kreskowiak28-Mar-08 5:15 
GeneralRe: Problems with ListView Group showing in an MDI application Pin
Faruk Ansari28-Mar-08 6:07
Faruk Ansari28-Mar-08 6:07 
GeneralRe: Problems with ListView Group showing in an MDI application Pin
Dave Kreskowiak28-Mar-08 6:19
mveDave Kreskowiak28-Mar-08 6:19 
QuestionSave image from WebBrowser Control Pin
Justin Porteous27-Mar-08 9:08
Justin Porteous27-Mar-08 9:08 
GeneralRe: Save image from WebBrowser Control Pin
jzonthemtn28-Mar-08 3:18
jzonthemtn28-Mar-08 3:18 
GeneralRe: Save image from WebBrowser Control Pin
Justin Porteous28-Mar-08 5:10
Justin Porteous28-Mar-08 5:10 
GeneralRe: Save image from WebBrowser Control Pin
Justin Porteous28-Mar-08 5:14
Justin Porteous28-Mar-08 5:14 
GeneralRead File Content and Store it in string Line by Line Pin
aaraaayen27-Mar-08 4:54
aaraaayen27-Mar-08 4:54 
GeneralRe: Read File Content and Store it in string Line by Line Pin
Xmen Real 27-Mar-08 7:42
professional Xmen Real 27-Mar-08 7:42 
AnswerRe: Read File Content and Store it in string Line by Line Pin
Justin Porteous27-Mar-08 9:17
Justin Porteous27-Mar-08 9:17 
QuestionDataTable problem Pin
siddy1727-Mar-08 2:42
siddy1727-Mar-08 2:42 
GeneralRe: DataTable problem Pin
nlarson1127-Mar-08 3:21
nlarson1127-Mar-08 3:21 
GeneralRe: DataTable problem Pin
Eduard Keilholz27-Mar-08 3:24
Eduard Keilholz27-Mar-08 3:24 

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.