For now (since I haven't written an installer), you should do the following:
- Right click on your solution within Solution Explorer in VS.NET, and select Add Reference...
- Browse to the place where you downloaded DropCash.dll, select it and press OK to return to the main VS.NET window.
- Right click on your toolbox, and select Customize toolbox...
- Click on the .NET Framework Components tab, then click Browse, and find DropCash.dll again. Press OK to return to the main menu, where you should notice three new components: DropCashSmall, DropCashMicro, and DropCashWide. These are the frontend components i've included.
- Drag a component to your form to include it. Within properties, set your userid to your Typekey ID you use on DropCash, and enter your campaign string (with underscores) to set up the component. (See Figure 2)
- Set up your application to take some sort of action when you get a 'true' value back from the component interface's campaignMetGoal action (See Figure 3. For example, release bonus features, or remove a nag screen. It's up to you to make an incentive to donate to your campaign!
- ...
- Profit!
Technical Details
The architecture consists of a backend class, DropCashBackend, that downloads campaign information via a DropCash XML Feed, along with a choice of frontend, which performs the user interactions separately from the backend's data processing. This allows for easy and quick customization of new interfaces, without duplication of existing code.
Changelog
1.1 - 10/8/2004
* Added public bool campaignMetGoal() to all interfaces (and backend class)
to allow programs that use the application to take special actions if
the campaign has met its goal.
* Strips HTML tags from Description in XML feed.
1.0 - 10/5/2004
* Initial Release
Known Issues
As of now, there are no "known issues", but so far, it's only been tested on WinXP with Firefox 1.0PR, 0.9.2, Mozilla 1.7.1, and IE 6.0.29... Email me if you'd like to report another working configuration, or if you find any bugs.
Thanks
- Andre Torrez and Jason Kottke, for DropCash itself
- Greg Knauss & Phil Fibiger, who contributed ideas & discussion over Fatburger one lunch.
Return to your regularly scheduled programming