Example provided by Tony Bhimani (the guy who loves programming)
This example teaches two things.
1. How to create a COM DLL object and register it with Windows.
2. Calling your newly created DLL through ColdFusion.
Directions
callcom.cfm should be placed somewhere on your webserver that uses
ColdFusion. The rest of the files are for the Visual Basic COM DLL object. Uses Apartment model threading (best)
Once the DLL is compiled, you need to register it wth Windows. I suggest copying the DLL to the Windows\System directory. Then use regsvr32.exe to register the DLL.
ex. regsvr32.exe x:\path\filename.dll
Example provided by Tony Bhimani
(the guy who loves programming)
This example teaches two things.
1. How to create a COM DLL object and register it with Windows.
2. Calling your newly created DLL through ColdFusion.
Directions
callcom.cfm should be placed somewhere on your webserver that uses
ColdFusion. The rest of the files are for the Visual Basic COM DLL
object. Uses Apartment model threading (best)
Once the DLL is compiled, you need to register it wth Windows. I
suggest copying the DLL to the Windows\System directory. Then use
regsvr32.exe to register the DLL.
ex. regsvr32.exe x:\path\filename.dll
Any questions should be directed to TonyBhimani@hotmail.com
File List:
@PSC_ReadMe_47_9.txt
1Kb
CfmDoc/
0b
CfmDoc/callcom.cfm
1Kb
VBprj/
0b
VBprj/myCFobj.exp
1Kb
VBprj/myCFobj.lib
3Kb
VBprj/myCFobj.vbp
1Kb
VBprj/myCFobj.vbw
31b
VBprj/somecls.cls
1Kb
readme.txt
1Kb
Similar code
Signature Capture Applet
(Popularity: ) : Basic signature capture in IE and Firefox so it can be stored to a database etc. Web based HTML pages editor
(Popularity: ) : Using this component user without special knowledge or experience can edit website page content. It is very useful for content manager, webmasters and technical writers. CF_ICAL
(Popularity: ) : This tag automates the creation of iCalendar files (.ics). You can use this tag to create a standards compliant calendar file that will work across different programs such as Microsoft Outlook Calendar, Mozilla Calendar, and iCal. File Upload
(Popularity: ) : Allows users on other pc's upload specified file to your wwwroot folder of your choice, and files of your choice. this could take over for large emails, apply apache HTTP server and dynDNS if your not static. BrowserDetector
(Popularity: ) : Detect user's browser type and OS. For example: Browser: IE5, OS: Win98. File Manager
(Popularity: ) : This is a simple file manager. It use CFDIRECTORY tag to navigate through ColdFusion server. It is very useful if you do not have RDS access to log files on remote server.