473,386 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

double-click and launch application

Hi there - I am writing a paint program (I am following a learning tutorial,
there is no point to writing a paint program) and I want to extend it so
that I can copy the contents of my drawing and paste it into Microsoft Word.
Then I want to double click on the diagram in Microsoft Word and have my
paint program loaded with the drawing ready for editing.

For this seemingly basic functionality, is there an example out there on how
to do this double-clicking and application launch functionality in Microsoft
Word, or Excel, or any other application.

Thank you
Pete


Nov 20 '05 #1
2 1572
"Peter Ignarson" <pi*******@hotmail.com> wrote in message 04 July 2004

Sorry for this repost. I have spent two whole days looking for an
example and can't find one. Please direct me in the right place,
please.
Thank you
Pete

Hi there - I am writing a paint program (I am following a learning tutorial,
there is no point to writing a paint program) and I want to extend it so
that I can copy the contents of my drawing and paste it into Microsoft Word.
Then I want to double click on the diagram in Microsoft Word and have my
paint program loaded with the drawing ready for editing.

For this seemingly basic functionality, is there an example out there on how
to do this double-clicking and application launch functionality in Microsoft
Word, or Excel, or any other application.

Thank you
Pete

Nov 20 '05 #2
Peter,

This is more a Windows OS question than it is a VB.NET question.

What you have to do is register a file extension. For instance if you named
your files something.slm you would need to register the slm extension and in
this registration you would tell Windows the name of the program you want to
launch. Then when you dbl-click the file in word, word will make a call to
the OS to launch the editor for the file.

-Sam Matzen
"Peter" <pi*******@hotmail.com> wrote in message
news:a6*************************@posting.google.co m...
"Peter Ignarson" <pi*******@hotmail.com> wrote in message 04 July 2004

Sorry for this repost. I have spent two whole days looking for an
example and can't find one. Please direct me in the right place,
please.
Thank you
Pete

Hi there - I am writing a paint program (I am following a learning tutorial, there is no point to writing a paint program) and I want to extend it so
that I can copy the contents of my drawing and paste it into Microsoft Word. Then I want to double click on the diagram in Microsoft Word and have my
paint program loaded with the drawing ready for editing.

For this seemingly basic functionality, is there an example out there on how to do this double-clicking and application launch functionality in Microsoft Word, or Excel, or any other application.

Thank you
Pete

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Sydex | last post by:
When I compile code I get error C2664: 'Integration::qgaus' : cannot convert parameter 1 from 'double (double)' to 'double (__cdecl *)(double)' in this part : double Integration::quad2d(double...
20
by: Anonymous | last post by:
Is there a non-brute force method of doing this? transform() looked likely but had no predefined function object. std::vector<double> src; std::vector<int> dest; ...
31
by: Bjørn Augestad | last post by:
Below is a program which converts a double to an integer in two different ways, giving me two different values for the int. The basic expression is 1.0 / (1.0 * 365.0) which should be 365, but one...
10
by: Robert Palma | last post by:
I'm having trouble figuring out how to pass a pointer to a double array (1 dimensional) to a C function. Declaring array as: double xx; Declaring func. int process( double *input ) Calling...
3
by: BlueTrin | last post by:
I am using a DLL written in C, it uses some pointers on functions, I have defined a wrapper around it in C# which uses some delegates: #region Delegates and Marshalling to call solvopt public...
67
by: lcw1964 | last post by:
This may be in the category of bush-league rudimentary, but I am quite perplexed on this and diligent Googling has not provided me with a clear straight answer--perhaps I don't know how to ask the...
1
by: JWest46088 | last post by:
I keep getting these error messages: area(double,double) in Rectangle cannot be applied to () return "Area: " + Rectangle.area() + "\tCircumference: " + Rectangle.perimeter(); ...
11
by: Ole Nielsby | last post by:
First, sorry if this is off-topic, not strictly being a C++ issue. I could not find a ng on numerics or serialization and I figure this ng is the closest I can get. Now the question: I want...
2
by: dj10fld | last post by:
I am getting a (cannot convert double to double in assignment errors) here is a part of my code #include <iostream> #include <iomanip> #include <cmath> using namespace std; #define MaxSize...
2
by: Genro | last post by:
#include<stdio.h> #include<TX/graphics.h> #include<time.h> // I need help! struct Krug{ double _x; double _y; double _skox; double _skoy; double...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.