I created an ActiveX Calendar Control in VB. (Because all the other ones are ugly)
Everything is going great... Except the fact that it's just pretty, and does nothing useful...
Project: Create an Inventory Management program using FoxPro6 (gag)
Current Task: Create a Calendar that shows the number of chairs instock on each day. (Vb6 ActiveX Custom Control, OCX)
Brick Wall: It looks pretty, but doesn't connect to the data.
The goal of the Calendar (and the real reason I made it in the first place) is to count up all the available items on a certain day and display the Inventory Status on each day in a month view.
(ignore the random button, that's my test database connection button..)
The calendar and internal math work great -- But use random data!
Assuming I know everything about VB worth knowing (Except Database connectivity) How in the world do I go about connecting to a FoxPro6 database. Here is the Catch -- I'd like to be able to reuse it. Adding a special property used this way:
(This is how i'd like for it to be used)
objCalendar.RecordType = "Fox Pro 6"
objCalendar.RecordSource = "Inventory!Category"
Or whatever, but you get the idea. Maybe auto updating, or whatever.
I don't know which references i'd need, and i prefer not to have any extra required files. I'd prefer the program to work on Windows 95 WITHOUT MDAC 2.5 (or whatever we're up to now..)
I'd like to use the data control that comes with VB6.
The data is READONLY, I can't imagine the calendar changing anything, but if you can put together some two way street that'd be fine.
Name of the game is REUSABLE.. No hardcoding the paths or database types.
I'd give it a 5,000 rating, but I hear that's frowned upon..