Advertisement

07.20.2008 at 10:12AM PDT, ID: 23580269
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Find Windows (.exe) handle in scripting languages

Asked by IT79637 in PHP Scripting Language, Python Scripting Language, Scripting Languages

Tags:

I'm obsessed in interfacing a web application to an ole server written in Delphi 2007!  The the direction of the flow works as follows:

HTML Page --> VBScript --> Delphi OLE Server --> VBScript --> HTML Page.  Starting at the HTML page works perfect.  I can execute methods on the server and get data back.

There are programs on the internet which if you enter a program name, it will return the handle to that program, provided it is running.   See picture below as an example.

My question is way Out-Of-The-Box.  If I have a Program Name and Handle, can I "somehow stuff" the Handle, Program Pame and DispInterface Name in a VBScript Object and have the VBS Object and have the VBS object work as if it were created this way:

Create the object in VBS          --> Set mySrvObj = CreateObject("ImageDisplaySrv.ImgDisp")
Call a server method from VBS -->   mySrvObj.WorkInvoice(vCompany, vInvType, vDocID, vStaus)

Would other scripting languages, such as PHP, Python, etc... that could do this?

What I want to do is something like this:

Dim myObject
myObject = handle of the object, Disp Interface Name, GUID, program name,  whatever is needed.  I want this for my ole Server

If you know of a resource, please point me in that direction.

Thanks.
I know, I don't want  toooo much!
LOL
Unfortunately, I'm serious.

Thanks much!!!
Start Free Trial
Attachments:
 
Verifies the server is running ImageDisplaySrv.exe The server is behind task manager
Verifies the server is running ImageDisplaySrv.exe  The server is behind task manager
 
 
Keywords: Find Windows (.exe) handle in scri…
 
Loading Advertisement...
 
[+][-]07.21.2008 at 08:16AM PDT, ID: 22051292

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 10:29AM PDT, ID: 22052481

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 10:33AM PDT, ID: 22052510

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 10:37AM PDT, ID: 22052537

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 06:47AM PDT, ID: 22160796

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.11.2008 at 10:37AM PDT, ID: 22206454

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.11.2008 at 10:40AM PDT, ID: 22206485

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, Python Scripting Language, Scripting Languages
Tags: VBScript, Python, PHP, etc.
Sign Up Now!
Solution Provided By: IT79637
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628