OLE
OLE
HI, folks
I'm working around windows like paint brush,every things goes well,
but i want to add auto-open picture to my program, if you drag & drop file to window you can get file info like : path,name,size,...
note: I'm using visual basic 6 under windows xp
about the subject name OLE i think my problem solved
if i use OLE or any things like taht
any comments will help
Cheers
Ahmad T. Dajani
I'm working around windows like paint brush,every things goes well,
but i want to add auto-open picture to my program, if you drag & drop file to window you can get file info like : path,name,size,...
note: I'm using visual basic 6 under windows xp
about the subject name OLE i think my problem solved
if i use OLE or any things like taht
any comments will help
Cheers
Ahmad T. Dajani
Distance doesn't make you any smaller,
but it does make you part of a larger picture.
but it does make you part of a larger picture.
Re: OLE
sorry i don't meant that, just i want to add code to my programeCombuster wrote: fill in the OLEdrop events - I don't know by hard which one but it has a parameter that contains a list of files
to make
drag & drop any file to my window programe to get file
info. like path,...
ThankX again
Distance doesn't make you any smaller,
but it does make you part of a larger picture.
but it does make you part of a larger picture.
Re: OLE
anyway, i need path in order to open dragged-file in my windowCombuster wrote:the filename includes the path, and for any other information you'll need the filename
Distance doesn't make you any smaller,
but it does make you part of a larger picture.
but it does make you part of a larger picture.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: OLE
http://www.catb.org/~esr/faqs/smart-questions.htmlAhmadTayseerDajani wrote:HELP
Re: OLE
Combuster wrote:http://www.catb.org/~esr/faqs/smart-questions.htmlAhmadTayseerDajani wrote:HELP
Code: Select all
while(1){
cout<<"I READ IT BEFORe";
}
& get information from second object(file) like path,size,date..
if possible,if not i will search another method to solve my case
thx,
Distance doesn't make you any smaller,
but it does make you part of a larger picture.
but it does make you part of a larger picture.
Re: OLE
Hi,
You have already been informed that there is an OLEdrop even which passes the name of the file to your program. You can then use the file name to get other information about it. What hasn't been answered about your question?
The first Google hit for "vb6 ole drop" is here and although I had no idea how to do OLE drag and drops in VB6 I already now have a pretty good idea, particularly because of pages 3 and 4 of the article. Note that one of the objects that can be dropped is a "file list".
You should have been able to find this information yourself from the answers given above. If this does not answer your question adequately, you need to learn to phrase your questions better.
Cheers,
Adam
You have already been informed that there is an OLEdrop even which passes the name of the file to your program. You can then use the file name to get other information about it. What hasn't been answered about your question?
The first Google hit for "vb6 ole drop" is here and although I had no idea how to do OLE drag and drops in VB6 I already now have a pretty good idea, particularly because of pages 3 and 4 of the article. Note that one of the objects that can be dropped is a "file list".
You should have been able to find this information yourself from the answers given above. If this does not answer your question adequately, you need to learn to phrase your questions better.
Cheers,
Adam
Re: OLE
I seriously suggest you reread it. And this time, actually understand it and put its advice into practice.Code: Select all
while(1){ cout<<"I READ IT BEFORe"; }
Your posts smack of someone with social problems.