Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default from VBA to DLL VB6 for security's sake:recommendations sought

I've used VBA code to automate various Excel data analyses and
charting. For code security's sake I'd like to transfer most of this
functionality into DLLs. (And, to be honest, as an exercise for
learning VB6 - yes I know VB6 is now unsupported and we're all
supposed to be seguing to .NET but frankly where I work we'll transfer
to .NET no time soon)

Question is - where to start? Right now my my VBA coding is functional
& I've got Paul Lomax's 'VB and VBA in a Nutshell'.

What would everyone's recommendations be on
- other books? Visual Basic 6 Core Language Little Black Book: The
Indispensable Guide of Day-to-Day VB6 Programming Tips and Techniques
(Paperback) by Steven Holzner (Author) is one that has caught my eye,
As has Code Complete: A Practical Handbook of Software Construction
(Paperback)
by Steve McConnell (Author) 900 pages $26 ... a little ambitious,
perhaps, but learning about good design structure presumably no bad
thing.

- software; Enterprise edition of VB6? or Visual studio? Which would
be best? why?

- and has anyone some recommendations for neat tutorials out there?
I've digested ChipPearson's 'Creating a COM Addin', and the ms pages
http://support.microsoft.com/kb/238228 & http://support.microsoft.com/?id=291392;
needless to say ChIP's was the most comprehensible. Are there any
sites for taking this further?

Many thanks in advance

Matthew

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default from VBA to DLL VB6 for security's sake:recommendations sought

Matthew,

You should take a look at Professional Excel Development. It has good
content on calling VB6 dlls from Excel:

http://www.amazon.com/Professional-E.../dp/0321262506

Once you've got the mechanics of that down, it's not much different from
coding VBA.

hth,

Doug
"Matthew Dodds" wrote in message
...
I've used VBA code to automate various Excel data analyses and
charting. For code security's sake I'd like to transfer most of this
functionality into DLLs. (And, to be honest, as an exercise for
learning VB6 - yes I know VB6 is now unsupported and we're all
supposed to be seguing to .NET but frankly where I work we'll transfer
to .NET no time soon)

Question is - where to start? Right now my my VBA coding is functional
& I've got Paul Lomax's 'VB and VBA in a Nutshell'.

What would everyone's recommendations be on
- other books? Visual Basic 6 Core Language Little Black Book: The
Indispensable Guide of Day-to-Day VB6 Programming Tips and Techniques
(Paperback) by Steven Holzner (Author) is one that has caught my eye,
As has Code Complete: A Practical Handbook of Software Construction
(Paperback)
by Steve McConnell (Author) 900 pages $26 ... a little ambitious,
perhaps, but learning about good design structure presumably no bad
thing.

- software; Enterprise edition of VB6? or Visual studio? Which would
be best? why?

- and has anyone some recommendations for neat tutorials out there?
I've digested ChipPearson's 'Creating a COM Addin', and the ms pages
http://support.microsoft.com/kb/238228 &
http://support.microsoft.com/?id=291392;
needless to say ChIP's was the most comprehensible. Are there any
sites for taking this further?

Many thanks in advance

Matthew



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default from VBA to DLL VB6 for security's sake:recommendations sought

I've got a little example VB6 DLL that is invoked from Excel. It is the full
package, VB6 code, an executable, and an Excel test harness. If you would
like, I can send you a copy. Is that a valid email?



--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Matthew Dodds" wrote in message
...
I've used VBA code to automate various Excel data analyses and
charting. For code security's sake I'd like to transfer most of this
functionality into DLLs. (And, to be honest, as an exercise for
learning VB6 - yes I know VB6 is now unsupported and we're all
supposed to be seguing to .NET but frankly where I work we'll transfer
to .NET no time soon)

Question is - where to start? Right now my my VBA coding is functional
& I've got Paul Lomax's 'VB and VBA in a Nutshell'.

What would everyone's recommendations be on
- other books? Visual Basic 6 Core Language Little Black Book: The
Indispensable Guide of Day-to-Day VB6 Programming Tips and Techniques
(Paperback) by Steven Holzner (Author) is one that has caught my eye,
As has Code Complete: A Practical Handbook of Software Construction
(Paperback)
by Steve McConnell (Author) 900 pages $26 ... a little ambitious,
perhaps, but learning about good design structure presumably no bad
thing.

- software; Enterprise edition of VB6? or Visual studio? Which would
be best? why?

- and has anyone some recommendations for neat tutorials out there?
I've digested ChipPearson's 'Creating a COM Addin', and the ms pages
http://support.microsoft.com/kb/238228 &
http://support.microsoft.com/?id=291392;
needless to say ChIP's was the most comprehensible. Are there any
sites for taking this further?

Many thanks in advance

Matthew



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default from VBA to DLL VB6 for security's sake:recommendations sought

I was going to suggest this book. It's the best Excel development book there
is.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Doug Glancy" wrote in message
...
Matthew,

You should take a look at Professional Excel Development. It has good
content on calling VB6 dlls from Excel:

http://www.amazon.com/Professional-E.../dp/0321262506

Once you've got the mechanics of that down, it's not much different from
coding VBA.

hth,

Doug
"Matthew Dodds" wrote in message
...
I've used VBA code to automate various Excel data analyses and
charting. For code security's sake I'd like to transfer most of this
functionality into DLLs. (And, to be honest, as an exercise for
learning VB6 - yes I know VB6 is now unsupported and we're all
supposed to be seguing to .NET but frankly where I work we'll transfer
to .NET no time soon)

Question is - where to start? Right now my my VBA coding is functional
& I've got Paul Lomax's 'VB and VBA in a Nutshell'.

What would everyone's recommendations be on
- other books? Visual Basic 6 Core Language Little Black Book: The
Indispensable Guide of Day-to-Day VB6 Programming Tips and Techniques
(Paperback) by Steven Holzner (Author) is one that has caught my eye,
As has Code Complete: A Practical Handbook of Software Construction
(Paperback)
by Steve McConnell (Author) 900 pages $26 ... a little ambitious,
perhaps, but learning about good design structure presumably no bad
thing.

- software; Enterprise edition of VB6? or Visual studio? Which would
be best? why?

- and has anyone some recommendations for neat tutorials out there?
I've digested ChipPearson's 'Creating a COM Addin', and the ms pages
http://support.microsoft.com/kb/238228 &
http://support.microsoft.com/?id=291392;
needless to say ChIP's was the most comprehensible. Are there any
sites for taking this further?

Many thanks in advance

Matthew





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default from VBA to DLL VB6 for security's sake:recommendations sought

On 24 May, 00:14, "Bob Phillips" wrote:
I've got a little example VB6 DLL that is invoked from Excel. It is the full
package, VB6 code, an executable, and an Excel test harness. If you would
like, I can send you a copy. Is that a valid email?

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"MatthewDodds" wrote in message

...

I've used VBA code to automate various Excel data analyses and
charting. For code security's sake I'd like to transfer most of this
functionality into DLLs. (And, to be honest, as an exercise for
learning VB6 - yes I know VB6 is now unsupported and we're all
supposed to be seguing to .NET but frankly where I work we'll transfer
to .NET no time soon)


Question is - where to start? Right now my my VBA coding is functional
& I've got Paul Lomax's 'VB and VBA in a Nutshell'.


What would everyone's recommendations be on
- other books? Visual Basic 6 Core Language Little Black Book: The
Indispensable Guide of Day-to-Day VB6 Programming Tips and Techniques
(Paperback) by Steven Holzner (Author) is one that has caught my eye,
As has Code Complete: A Practical Handbook of Software Construction
(Paperback)
by Steve McConnell (Author) 900 pages $26 ... a little ambitious,
perhaps, but learning about good design structure presumably no bad
thing.


- software; Enterprise edition of VB6? or Visual studio? Which would
be best? why?


- and has anyone some recommendations for neat tutorials out there?
I've digested ChipPearson's 'Creating a COM Addin', and the ms pages
http://support.microsoft.com/kb/238228&
http://support.microsoft.com/?id=291392;
needless to say ChIP's was the most comprehensible. Are there any
sites for taking this further?


Many thanks in advance


Matthew


Not for the first time I think praise be to this newsgroup; thank you
Doug, Jon, Bob for your responses. I should have known to look out for
the book you recommended; I have their Excel 2000/Excel 2002 VBA
Programmer's Reference (Wrox Press) and it's the most well thumbed
book in the house.

Bob, yes that's a real email, and thank you for your kind offer - I
suspect I'm not yet able to make good use of it, but please yes, that
would be very helpful. What does it do? I'd like to be able to view
the code so I can understand better - hope that can be possible, once
I sort out the software-to-buy issue. Thank you.

My remaining unaddressed issue (besides trivial matter of the VB6
learning curve, lol) is software package availability, versions and
recommendations; I'm a bit at sea as to what distinguishes the various
editions - can anyone offer a quick precis & recommendation? I want to
be able first and foremost to write in-process DLLS for Excel, to
create installation packages (if that's the right terminology) so
their distribution is idiot proof, and to be able to release time-
limited versions so they go dead after a trial period. (I've just come
across "Microsoft Visual Basic Enterprise Edition - ( v. 6.0 ) - media
- CD - Win - English." at less than Ł30 - shurely shome mistake?))

What would the group recommend?

Thanks in advance for your contributions, and enjoy the weekend.
Matthew
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISABLE AUTO CONVERT FOR GOD'S SAKE! John3005 Excel Discussion (Misc queries) 8 November 5th 08 09:28 PM
Proper function fix sought Niniel Excel Discussion (Misc queries) 3 September 6th 07 04:46 PM
Pivoting for the sake of look Hari Charts and Charting in Excel 0 May 29th 06 12:22 PM
what a help document in Excel VBA! Should be revised for the sake zhuge Excel Programming 0 May 20th 05 09:35 PM
VBA help sought H.S Excel Programming 1 March 17th 05 09:06 AM


All times are GMT +1. The time now is 12:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"