Solved

Coldfusion and VB

Posted on 2002-06-28
3
161 Views
Last Modified: 2013-12-24
I am going to be "integrating" with someone else who is using a Visual Basic Program they made.  I am wondering, how I can call that Visual Basic Program from Coldfusion.  Both my Coldfusion, and his Visual Basic will be looking at the same database, but I just need to know how to call his Visual Basic App. I don't know anything about Visual Basic, but he will handle all the code once he gets a "request" from coldfusion.

Any Ideas???

Ben
0
Comment
Question by:bptacek
3 Comments
 
LVL 3

Expert Comment

by:SewellM
ID: 7117808
Well,  since it is vb, you may need to use a com call.  The best place to start looking into com for cf is at http://www.cfcomet.com

Its a start.  Hope it helps.

Michael
0
 
LVL 5

Accepted Solution

by:
heathprovost earned 100 total points
ID: 7119246
Well, there are basically 4 different approaches you could make. It all depends on the type of VB code you have there. If it is something that takes parameters on a command-line and returns a result through stdout, you could just call it using <CFEXECUTE>. If it can be compiled as a COM object, then you could possibly call it through <CFOBJECT>. The other approach would be to make the VB code an ISAPI extension or a web service (SOAP).  An ISAPI extension could be used directly since it by nature generally outputs HTML code, but you code technically call it from CF using <CFHTTP> (although this would be a very ineffecient method). As a SOAP service, you may be able to have it output WDDX compliant XML, then you could use WDDX to call it. There is a fifth option, which would be creating a CFX tag, but I dont think that VB can be used to write CFX tags... I could be wrong about that though. Like I said it all depends on what you need to accomplish.

Heath
0
 

Author Comment

by:bptacek
ID: 7119436
Ok, well thanks for the info... I will have to try and look into those things mentioned above.  

Thanks
ben
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now