CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Posts
    4

    DDE in ASP (VBScript)

    We need to find out whether or not it is possible to start a DDE object through VBScript (in an ASP file).
    We have to contact a program that does NOT support COM, so we have to do this instead.

    Does anyone know how to do this?


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: DDE in ASP (VBScript)

    in an ASP you would use VBScript or JScript for executing program logic.
    Both languages do not support DDE AFAIK. That makes sense, because DDE is based on Windows handles and messages. ASPs "applications" do not use that kind of stuff.

    On the other hand, you could write a COM object in VB 5 or 6 and do the DDE conversation in that COM object and call that COM object form your ASP.

  3. #3
    Join Date
    Apr 1999
    Posts
    4

    Re: DDE in ASP (VBScript)

    Thanks.

    We've already thought of that approach... making a COM object for the DDE functions and calling that from ASP.

    Now comes the really stupid question. How do you go about calling the COM object from ASP and sending some parameters down?
    We're using VBScript but can't seem to find out how to do it there. It's so easy from Visual Basic (and VBA) (using the CreateObject(ProgID)) but that function (and other similar ones) seem to be "missing" from VBScript.

    By the way... the COM object we're using for tests is built in C++ (MS Visual Studio 6.0) with the ATL wizard.

    What does AFAIK stand for?


  4. #4
    Join Date
    May 1999
    Posts
    3,332

    Re: DDE in ASP (VBScript)

    AFAIK = as far as i know, one of those stupid acronyms.
    use Server.CreateObject

    in your ASP like in
    Set myobj = Server.Createobject("YourServer.YourClass")



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured