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
Solved

The Registry, DDE & LinkTopic

Posted on 1998-07-08
2
361 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

840 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