Solved

Coldfusion and VB

Posted on 2002-06-28
3
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
What You Need to Know when Searching for a Webhost Provider
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. 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 :…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

615 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