Click here to Skip to main content
15,891,657 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Not Understanding Delegates (User Error) Pin
Eddy Vluggen21-Aug-12 2:56
professionalEddy Vluggen21-Aug-12 2:56 
GeneralRe: Not Understanding Delegates (User Error) Pin
Clark Kent12321-Aug-12 4:28
professionalClark Kent12321-Aug-12 4:28 
GeneralRe: Not Understanding Delegates (User Error) Pin
Eddy Vluggen21-Aug-12 4:50
professionalEddy Vluggen21-Aug-12 4:50 
QuestionMultiple checkbox in Excel file Pin
oanaa1119-Aug-12 21:20
oanaa1119-Aug-12 21:20 
AnswerRe: Multiple checkbox in Excel file Pin
Sonhospa19-Aug-12 23:37
Sonhospa19-Aug-12 23:37 
AnswerRe: Multiple checkbox in Excel file Pin
Clark Kent12320-Aug-12 3:26
professionalClark Kent12320-Aug-12 3:26 
AnswerStore Keywords in Excel doc Pin
David Mujica20-Aug-12 4:02
David Mujica20-Aug-12 4:02 
AnswerCode snipet Pin
David Mujica20-Aug-12 4:30
David Mujica20-Aug-12 4:30 
maybe this function will get you started ...

VB
Imports Microsoft.Office.Interop
' You will need to include a reference to the Microsoft Excel 14 Object library in order for this to work. (Excel 2010 example)

Private Function GetExcelComments(ByVal sFname As String) As String
     Dim sRetVal As String = ""
     Dim ExcelApp As New Excel.Application
     Dim ExcelBook As Excel.Workbook
     Dim DocProps As Object

     ExcelApp.Workbooks.Open(sFname, , True)
     ExcelBook = ExcelApp.Workbooks(1)

     docprops = ExcelBook.BuiltinDocumentProperties

     sRetVal = DocProps("Comments").Value.ToString

     ' Use this block of code to list all of the
     ' document properties available.

     'If Not (DocProps Is Nothing) Then
     '    Dim i As Integer
     '    For i = 1 To DocProps.Count
     '        Debug.Print(DocProps(i).Name)
     '    Next i
     'End If

     ExcelBook.Close(True)
ExcelApp.Quit()


    
     Return sRetVal

 End Function

GeneralRe: Code snipet Pin
oanaa1120-Aug-12 20:10
oanaa1120-Aug-12 20:10 
QuestionHow to code the next button Pin
garyu8717-Aug-12 22:09
garyu8717-Aug-12 22:09 
AnswerRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 2:05
professionalEddy Vluggen18-Aug-12 2:05 
GeneralRe: How to code the next button Pin
garyu8718-Aug-12 2:38
garyu8718-Aug-12 2:38 
GeneralRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 5:49
professionalEddy Vluggen18-Aug-12 5:49 
GeneralRe: How to code the next button Pin
garyu8718-Aug-12 20:01
garyu8718-Aug-12 20:01 
GeneralRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 23:21
professionalEddy Vluggen18-Aug-12 23:21 
Questionvb interface wih HP impedance tester Pin
seow22716-Aug-12 21:55
seow22716-Aug-12 21:55 
AnswerRe: vb interface wih HP impedance tester Pin
Eddy Vluggen17-Aug-12 3:27
professionalEddy Vluggen17-Aug-12 3:27 
AnswerRe: vb interface wih HP impedance tester Pin
Dave Kreskowiak17-Aug-12 3:29
mveDave Kreskowiak17-Aug-12 3:29 
QuestionPrintPreviewControl causes exception Pin
kmoorevs16-Aug-12 3:06
kmoorevs16-Aug-12 3:06 
AnswerRe: PrintPreviewControl causes exception Pin
Kenneth Haugland18-Aug-12 13:00
mvaKenneth Haugland18-Aug-12 13:00 
QuestionManually registering .tlb files Pin
Karthik Chintala16-Aug-12 1:21
Karthik Chintala16-Aug-12 1:21 
AnswerRe: Manually registering .tlb files Pin
Shameel16-Aug-12 1:56
professionalShameel16-Aug-12 1:56 
GeneralRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:00
Karthik Chintala16-Aug-12 2:00 
QuestionRe: Manually registering .tlb files Pin
Shameel16-Aug-12 2:01
professionalShameel16-Aug-12 2:01 
AnswerRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:08
Karthik Chintala16-Aug-12 2:08 

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.