Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Word, PowerPoint, Outlook, and Other Office Products > Need help w/ file compression


Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2002, 01:25 PM
jnelson jnelson is offline
Newcomer
 
Join Date: Aug 2002
Location: Kentucky
Posts: 12
Default Need help w/ file compression


Hello All!

I am new to this group, and to VBA. I am working with a terminal emulation software and need to "modernize" some routines that we use.

We currently have a process in place where a user runs the program and downloads data to a floppy drive in a compressed (using PKZip for DoS) format. We are having problems running this under W2K and I would like to redo the compression method using VBA.

I have downloaded some freeware compression DLLs for VB and was wondering how to use this in VBA.

Has anyone worked with calling external file compression programs from VBA?

TIA
Brad
__________________
Object.Add = Deep_Profound_Quote
Reply With Quote
  #2  
Old 08-31-2002, 09:14 AM
Wamphyri's Avatar
Wamphyri Wamphyri is offline
Variable not defined

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Ottawa, Ontario
Posts: 4,793
Default

What DLLs are you using? Most likely you are going to have to reference them. Tools -> References then choose the DLLs to reference.
__________________
-Carl
Reply With Quote
  #3  
Old 09-02-2002, 02:49 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

Reply With Quote
  #4  
Old 09-02-2002, 01:36 PM
jnelson jnelson is offline
Newcomer
 
Join Date: Aug 2002
Location: Kentucky
Posts: 12
Cool

Thanks for the replies.

It appears that both of these can work fine with VB, but can these be called from VBA?

My limitation is that all of the code needs to be in VBA.

Thanks,
Brad
__________________
Object.Add = Deep_Profound_Quote
Reply With Quote
  #5  
Old 09-02-2002, 03:44 PM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

I see no reason why the code couldn't be used from within VBA
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->