Click here to Skip to main content
15,890,186 members
Home / Discussions / COM
   

COM

 
Questionvista security and out-of-proc COM servers Pin
WayneS21-Aug-09 4:18
WayneS21-Aug-09 4:18 
QuestionInvokeHelper Pin
MsmVc21-Aug-09 0:37
MsmVc21-Aug-09 0:37 
AnswerRe: InvokeHelper Pin
Vi221-Aug-09 1:07
Vi221-Aug-09 1:07 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 1:18
MsmVc21-Aug-09 1:18 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 1:30
Vi221-Aug-09 1:30 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 1:41
MsmVc21-Aug-09 1:41 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 1:44
Vi221-Aug-09 1:44 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 1:50
MsmVc21-Aug-09 1:50 
See i don't much about InvokeHelper.I had download a project from Codeproject and make new project with the help of downloaded project.I am sending you a project link which have example code and Dll.
Link is here
Automating Microsoft Excel and Word Together[^]
I am creating a new dll and write a new function.
Public Function Get_List(SheetNumber As Long) As String
   '   Dim myExcel As Object
   Dim Counter1 As Integer
   Dim Returnstring As String
        Dim myWorkBook As Excel.Workbook
        Dim tworksheet As Excel.Worksheet

  '      myExcel = CreateObject("Excel.Application")
 '       myWorkBook = myExcel.Workbook.Open("C:\sample.xls")

        For Each tworksheet In myWorkBook.Worksheets
    '        Me.ListBox1.Items.Add (tworksheet.Name)
    Returnstring = tworksheet.Name
    If iindex = Counter1 Then
    Get_List = Returnstring

    End If
    Counter1 = Counter1 + 1
        Next
End Function
And try to access in vc++.Then i am getting error

Plz help me
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:09
Vi221-Aug-09 2:09 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:23
MsmVc21-Aug-09 2:23 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:32
Vi221-Aug-09 2:32 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:46
MsmVc21-Aug-09 2:46 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:51
Vi221-Aug-09 2:51 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 3:00
MsmVc21-Aug-09 3:00 
GeneralRe: InvokeHelper Pin
MsmVc23-Aug-09 19:48
MsmVc23-Aug-09 19:48 
GeneralRe: InvokeHelper Pin
gaurav_quexst24-Aug-09 1:08
gaurav_quexst24-Aug-09 1:08 
QuestionHow to display images of my custom filetype in IE Pin
srivas20-Aug-09 19:59
srivas20-Aug-09 19:59 
QuestionHow to unregister the event in BHO? Pin
Jacobb Michael20-Aug-09 1:22
Jacobb Michael20-Aug-09 1:22 
Questionhow to create online quiz in html Pin
robert(m.tech)20-Aug-09 0:18
robert(m.tech)20-Aug-09 0:18 
AnswerRe: how to create online quiz in html Pin
Stephen Hewitt20-Aug-09 2:06
Stephen Hewitt20-Aug-09 2:06 
QuestionC# BHO problem Pin
svt gdwl19-Aug-09 18:55
svt gdwl19-Aug-09 18:55 
AnswerRe: C# BHO problem Pin
Jacobb Michael19-Aug-09 23:56
Jacobb Michael19-Aug-09 23:56 
QuestionDesign + technical issue Pin
Ahmed Charfeddine19-Aug-09 0:31
Ahmed Charfeddine19-Aug-09 0:31 
AnswerRe: Design + technical issue Pin
Ahmed Charfeddine19-Aug-09 0:45
Ahmed Charfeddine19-Aug-09 0:45 
GeneralRe: Design + technical issue Pin
Baltoro19-Aug-09 14:39
Baltoro19-Aug-09 14:39 

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.