Is This possible?

technix

Active Member
Joined
May 19, 2002
Messages
326
Only Part of this deals with Excel however, if you can help with all parts please do so.

I would like to have an install program (I have Borland C++ 5.0 however, I do not know how to code in it. YET!) With this install program I would like for it to create a registry key that contains the install date and a serial number, Here is the excel part, how do I get excel to get that date and number from the registry so that I can use them in my VBA to keep my project from working past the 30 days.

I hope this makes sense

Derrick
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

dmckinney

Board Regular
Joined
Jul 10, 2002
Messages
120
look in vba help for getsetting and savesetting. That'll save in the part of the registry reserved for vba. If you need to save elsewhere then you'll need to use an api call, but you're more likely to run into security issues (i.e. not allowed to write to the registry.)
 

technix

Active Member
Joined
May 19, 2002
Messages
326
On 2002-09-11 07:54, dmckinney wrote:
look in vba help for getsetting and savesetting. That'll save in the part of the registry reserved for vba. If you need to save elsewhere then you'll need to use an api call, but you're more likely to run into security issues (i.e. not allowed to write to the registry.)

Thank you the getsetting is what I will need from the vba part now I just have to figure out how to create my install program
with C++ do any of you have any good resources for c++ coding and learning sites comparable to this fantastic resource

Derrick
 

Forum statistics

Threads
1,144,274
Messages
5,723,447
Members
422,497
Latest member
dougy99

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top