Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 22 Apr 2008 09:11:00 -0700,    group: microsoft.public.win32.programmer.ui        back       


InfoTip problem   
Hi, 

   I have written a small application to extract information from some of my 
files, and display it as an info tip. 

Everything works locally (with the files on my PC), but as all of these 
files are stored on a different PC I need to get the info tip working across 
the network, does anyone have any idea how to go about registering for this? 
If I watch the calls to the registry with Regmon, for any infotip over the 
network, there seems to be no lookup except whether to display a tip or not, 
and then just the file size and type are displayed, which must be coming from 
somewhere, but where?

Cheers!
date: Tue, 22 Apr 2008 09:11:00 -0700   author:   MonkeyHunter

Re: InfoTip problem   
>   I have written a small application to extract information from some of my 
>files, and display it as an info tip. 
>
>Everything works locally (with the files on my PC), but as all of these 
>files are stored on a different PC

What's the significance of the files being on a different PC?

Presumably they're being viewed in exactly the same way, just that
they're in a network shared directory.

Are these particularly large files, or on a particularly slow network
connection?

Dave
date: Wed, 23 Apr 2008 00:09:47 +0100   author:   David Lowndes lid

Re: InfoTip problem   
Hi Dave,

   Thanks for the input. 

   The files are on a mapped network drive, but I have also tried navigating 
to the files using a UNC path, I have tried different combinations of Windows 
for hosting the files XP to XP, XP to 2K etc. 

For testing purposes ive cut everything down to just work with file 
extensions, and am working with zero k files, over a quick network; so it's 
not that. 

> What's the significance of the files being on a different PC?

This is of course what im trying to get to the bottom of, there seems to be 
a difference in the way the shell handles infotips for network files, as it 
looks up whether to display them or not in the registry, but then does not 
look up the infotip for the extension to display like normal. However it does 
display an infotip, but it just contains the File Type and Size for all file 
types on the network. What i really need to know is where this infotip comes 
from, so I can somehow register my code...

You can check this out if you want by hovering over a word file on a network 
share, it will only display the Type and size, as opposed to the plethora of 
information you usually get.

Cheers!


"David Lowndes" wrote:

> >   I have written a small application to extract information from some of my 
> >files, and display it as an info tip. 
> >
> >Everything works locally (with the files on my PC), but as all of these 
> >files are stored on a different PC
> 
> What's the significance of the files being on a different PC?
> 
> Presumably they're being viewed in exactly the same way, just that
> they're in a network shared directory.
> 
> Are these particularly large files, or on a particularly slow network
> connection?
> 
> Dave
>
date: Wed, 23 Apr 2008 02:00:03 -0700   author:   MonkeyHunter

InfoTip problem Solution (QuickTip)   
Ok, after some more digging using Regmon, it turns out that when you hover 
over files in a network share the shell looks up QuickTip before InfoTip. So 
now I can get everything working. 

For anyone interested, more information on this is available  (easy when you 
know what your looking for!) here:

http://windowsxp.mvps.org/quicktip.htm

Cheers,
   Scott.


"MonkeyHunter" wrote:

> Hi Dave,
> 
>    Thanks for the input. 
> 
>    The files are on a mapped network drive, but I have also tried navigating 
> to the files using a UNC path, I have tried different combinations of Windows 
> for hosting the files XP to XP, XP to 2K etc. 
> 
> For testing purposes ive cut everything down to just work with file 
> extensions, and am working with zero k files, over a quick network; so it's 
> not that. 
> 
> > What's the significance of the files being on a different PC?
> 
> This is of course what im trying to get to the bottom of, there seems to be 
> a difference in the way the shell handles infotips for network files, as it 
> looks up whether to display them or not in the registry, but then does not 
> look up the infotip for the extension to display like normal. However it does 
> display an infotip, but it just contains the File Type and Size for all file 
> types on the network. What i really need to know is where this infotip comes 
> from, so I can somehow register my code...
> 
> You can check this out if you want by hovering over a word file on a network 
> share, it will only display the Type and size, as opposed to the plethora of 
> information you usually get.
> 
> Cheers!
> 
> 
> "David Lowndes" wrote:
> 
> > >   I have written a small application to extract information from some of my 
> > >files, and display it as an info tip. 
> > >
> > >Everything works locally (with the files on my PC), but as all of these 
> > >files are stored on a different PC
> > 
> > What's the significance of the files being on a different PC?
> > 
> > Presumably they're being viewed in exactly the same way, just that
> > they're in a network shared directory.
> > 
> > Are these particularly large files, or on a particularly slow network
> > connection?
> > 
> > Dave
> >
date: Wed, 23 Apr 2008 02:43:00 -0700   author:   MonkeyHunter

Re: InfoTip problem Solution (QuickTip)   
>Ok, after some more digging using Regmon, it turns out that when you hover 
>over files in a network share the shell looks up QuickTip before InfoTip. So 
>now I can get everything working. 
>
>For anyone interested, more information on this is available  (easy when you 
>know what your looking for!) here:
>
>http://windowsxp.mvps.org/quicktip.htm

Scott,

Thanks for that - something did ring a bell with me wrt slow
connections, I just wasn't aware of the details.

FWIW, it's also documented on MSDN under the topic titled "Property
Lists":

"
InfoTip Properties displayed in an Info Tip when a user hovers over an
item.QuickTip. Note: This value was present in Windows XP. 

QuickTip Properties displayed when it is difficult to retrieve
properties directly from an item, such as when the item must be
accessed over a slow network connection. It is recommended that the
properties named here, such as Type or Size, do not require opening
the file stream to determine their value. Note: This value was present
in Windows XP. 
"

Dave
date: Wed, 23 Apr 2008 12:10:02 +0100   author:   David Lowndes lid

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us