?
Solved

The Registry, DDE & LinkTopic

Posted on 1998-07-08
2
Medium Priority
?
367 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 200 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Suggested Courses

741 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