Solved

Coldfusion and VB

Posted on 2002-06-28
3
169 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to insert an Iframe into 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 : Open Page or Post…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

738 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