Solved

The Registry, DDE & LinkTopic

Posted on 1998-07-08
2
363 Views
Last Modified: 2008-02-01
I am using Win'95, VB5, and various versions of Excel.

I have two questions:

1) Where do you look in the Win'95 registry to find out if an application is
   installed on a PC? e.g. Excel so I can get the path for the .exe

2) When I want to DDE to Excel, what is the correct syntax when setting up the LinkTopic
   property when the spreadsheet isn't called sheet1 and is in a different directory?
   
Thanks.
0
Comment
Question by:eggs
[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
2 Comments
 
LVL 9

Accepted Solution

by:
Dalin earned 100 total points
ID: 1465204
eggs,
1. Why registry? you can use findfile to get the the path, either from explorer or in vb.

2. When you are doing DDE, you need to have excel running and the worksheet loaded. so you refers the name of the sheet if it is not called sheet1.

If you have additional questions, let me know.
Regards
Dalin
0
 

Author Comment

by:eggs
ID: 1465205
Thanks for the reply.
Fair enough for 1)
As for 2) I am rewriting this app that was previously written in Visual dbase, where one command initiated the link, found excel wherever it was, and opened the spreadsheet required. The problem is that sometimes the spreadsheet 'overruns' so that another sheet is required which uses totals from the first etc. I'm a little disappointed if this is the only way to solve my problem.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

737 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