LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Add a new Toolbar to Excel by using Active X

HELP!!!!
I should make an installationprogramm for some self-programmed Excel-Makros, programmed by Visual Basic. The software should create a new Toolbar into Ms Excel and add the makros.
First, I tried to do it by Borland C++-Builder, then i tried CVI and at last even Visual Basic, but my problem is, that i couldn't find any compiler where the Active X functions are really good documentated.
The CVI Excel8 object library contains the functions "Excel_ToolbarsAdd", to make a new Toolbar and "Excel_ToolbarButtonsAdd", to make the buttons. This functions have a lot of parameters and i have no idea what to do with them. I couldn't find a good Help, where all this parameters are documentated. The help of CVI guides me to the
Visual-Basic Help there i can't find any toolbar-object. Can anyone help me? Is anywhere a good book with a documentation of this functions?
0 Kudos
Message 1 of 4
(3,123 Views)
Hi Mirjam, I has similar problems with Excel - Version conflicts, exports,
iports and more...more...

"Mirjam" wrote in message
news:5065000000080000007F370000-1007855737000@exchange.ni.com...
> HELP!!!!
> I should make an installationprogramm for some self-programmed
> Excel-Makros, programmed by Visual Basic. The software should create a
> new Toolbar into Ms Excel and add the makros.
> First, I tried to do it by Borland C++-Builder, then i tried CVI and
> at last even Visual Basic, but my problem is, that i couldn't find any
> compiler where the Active X functions are really good documentated.
> The CVI Excel8 object library contains the functions
> "Excel_ToolbarsAdd", to make a new Toolbar and
> "Excel_ToolbarButtonsAdd", to make the buttons.
This functions have a
> lot of parameters and i have no idea what to do with them. I couldn't
> find a good Help, where all this parameters are documentated. The help
> of CVI guides me to the Visual-Basic Help there i can't find any
> toolbar-object. Can anyone help me? Is anywhere a good book with a
> documentation of this functions?
0 Kudos
Message 2 of 4
(3,123 Views)
Hi Mirjam, I has similar problems with Excel - Version conflicts, exports,
iports and more...more...


"Ivaylo Iltchev" wrote in message
news:3c3c4fff@newsgroups....
> Hi Mirjam, I has similar problems with Excel - Version conflicts, exports,
> iports and more...more...
>
> "Mirjam" wrote in message
> news:5065000000080000007F370000-1007855737000@exchange.ni.com...
> > HELP!!!!
> > I should make an installationprogramm for some self-programmed
> > Excel-Makros, programmed by Visual Basic. The software should create a
> > new Toolbar into Ms Excel and add the makros.
> > First, I tried to do it by Borland C++-Builder, then i tried CVI and
> > at last even Visual Basic, but my problem is, that i couldn't find any
> > comp
iler where the Active X functions are really good documentated.
> > The CVI Excel8 object library contains the functions
> > "Excel_ToolbarsAdd", to make a new Toolbar and
> > "Excel_ToolbarButtonsAdd", to make the buttons. This functions have a
> > lot of parameters and i have no idea what to do with them. I couldn't
> > find a good Help, where all this parameters are documentated. The help
> > of CVI guides me to the Visual-Basic Help there i can't find any
> > toolbar-object. Can anyone help me? Is anywhere a good book with a
> > documentation of this functions?
>
>
0 Kudos
Message 3 of 4
(3,123 Views)
Sorry I send accidentally more replays than I want 😞



Hi Mirjam, I have similar problems with Excel - Version conflicts, exports,
imports and more...more...



I have VS 6 ent, CB5ent and NI Mes. Suite Test Ed.



Using Office with CB is really nightmare,

LabWindows is a bit little good,

But VB was most flexible and easy to use with Office



I use a VB6.0 ActiveX library as proxy with only required exports:

Write cell(s) formulas, change interior and (Important) late binding -



dim exc as Object

set exc = CreateObject("Excel.Application")



"Mirjam" wrote in message
news:5065000000080000007F370000-1007855737000@exchange.ni.com...
> HELP!!!!
> I should make an installationprogramm for some self-programmed
> Excel-Makros, programmed by Vis
ual Basic. The software should create a
> new Toolbar into Ms Excel and add the makros.
> First, I tried to do it by Borland C++-Builder, then i tried CVI and
> at last even Visual Basic, but my problem is, that i couldn't find any
> compiler where the Active X functions are really good documentated.
> The CVI Excel8 object library contains the functions
> "Excel_ToolbarsAdd", to make a new Toolbar and
> "Excel_ToolbarButtonsAdd", to make the buttons. This functions have a
> lot of parameters and i have no idea what to do with them. I couldn't
> find a good Help, where all this parameters are documentated. The help
> of CVI guides me to the Visual-Basic Help there i can't find any
> toolbar-object. Can anyone help me? Is anywhere a good book with a
> documentation of this functions?
0 Kudos
Message 4 of 4
(3,123 Views)