Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 3rd, 2008, 04:59 AM
Authorized User
 
Join Date: Jan 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default DDEInitiate returning zero

Code:
    Dim chan As Integer
    MsgBox (server & topic & request)
    chan = Application.DDEInitiate("server", topic)
    MsgBox (chan)
    theArray = Application.DDERequest(chan, "id8?result")
    'MsgBox (theArray(1))
    Application.DDETerminate chan
DDEInitiate keeps returning zero.....


how do i fix this ?




 
Old January 3rd, 2008, 02:46 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

The 1st argument, where you have "server", doesn't seem like a legitimate application name.

What are you trying to connect to?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning Nothing from a constructor Imar Pro VB.NET 2002/2003 8 June 29th, 2012 02:00 PM
help on returning records memewang Crystal Reports 0 April 14th, 2007 08:48 PM
BSTR * is not returning value sudharshansalvaji Visual C++ 1 October 16th, 2006 04:27 AM
Returning a value Neal XSLT 6 October 13th, 2006 11:41 AM
Function not returning anything... goatboy Beginning PHP 2 December 1st, 2003 12:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.