|
-
Mar 31st, 2004, 11:26 AM
#1
Thread Starter
Hyperactive Member
Define an excel built-in function
Hey All,
How do I define the built-in FORMAT function? My Excel app requires it
Is it something like:
Declare Function Format Lib "kernel32" ..................?
Thanks,
CJ
-
Mar 31st, 2004, 11:40 AM
#2
You don't define it - just use it. But what is it that you need to format?
-
Mar 31st, 2004, 11:49 AM
#3
Thread Starter
Hyperactive Member
My app gets errors on PCs that don't have the VB libraries installed.
By defining everrything - so far- the erroes have gone away.
I'm getting an error on the line that is defining the Format builtin function. So I think If I define it, the error will go away.
I'm formatting a value located in a Worksheet Cell and assigning it to a text box on a form.
Thanks,
CJ
-
Mar 31st, 2004, 11:59 AM
#4
Oh, I see ...
VB executables are not stand along programs - they must installed properly by whatever packaging utility you can use - perhaps Package And Deployment Wiazard (aka P&DW) that comes shipped with VB. So, if you just copy/pasted your exe file from dev machine to user - build distribution package first and then install it.
-
Mar 31st, 2004, 01:38 PM
#5
Thread Starter
Hyperactive Member
Thanks for your reply.
The thing is the client wants the app to run over the Internet ( on their web server) so I cannot install anything to anyone's computer because of firewalls and other software.
Can you suggest another way around this?
CJ
-
Mar 31st, 2004, 05:57 PM
#6
You may package at least vb's runtime files + referenced libraries and zip'm up but your users will have to know how to register those files. Another way (and it's much better and cleaner too) create a self extract install package and have link to it available on your page so they can download and install first.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|