Help - Search - Members - Calendar
Full Version: Google Desktop Search
Desktop Sidebar Forums > Customizations > Panel Announcements
esolu
I will write a better description later but I'm running late. Basically you will need the .Net framework and GDS already installed. This will give you access to it from your side bar.

The only configuration is running a search once and putting in your search code. I'm pretty sure that this code doesn't change, but if it does I will hack it later.

Many thanks to GoMa for helping me with my first contribution biggrin.gif .

Screen Shot

Download from Extension Exchange

If anyone is interested here is the source. All I ask is if you find a use for it give me credit.
Indian_Mayhem
Holy crap blink.gif laugh.gif that was fast.
antu^jamban
Screenshot please biggrin.gif
yyy
Great panel laugh.gif How did you do it so fast? Good work. Just a few suggestion:

-Change the caption of the panel to: "Google Desktop"
-Set the panel's height to be bigger since it hides some of the details.
-Make the panel launch Google Desktop if it is shutted down. I'm not sure if you can but it will be great.

and - you can add it to the Extension Exchange.

Hope to see a second version fun_08.gif
GoMa
esolu - thanks for the panel and the credit. flowers.gif
It is working great.
A few suggestions:
- In Panel.GetFitHeight you might want to return the actual height of the button, instead of this.Height. Returning this.Height makes autofit for the panel meaningless.
- When enter is clicked in the textbox also show the details window, I don't like using the mouse too much. smile.gif
- Escape the text in the Panel Properties. All the '&' signs got out of the text. You need to put a backslash before every one of them, like so: "\&".

Thanks you very much for this panel. I hope that one day it can be incorporated in the Super Duper Command Line. Actually it is possible right now to do it but it will not be as good because it'd open the browser for the results instead of opening the DW.
yyy
I also want the "Enter" feature smile.gif
esolu
All great suggestions. All very doable as well. Thanks guys!

I thought I did the enter button, but I guess I was too excited to get the posted and over looked it. Good catch, I'm a keyboard guy as well. cool.gif
yyy
signs021.gif Thanks flowers.gif
donCarlos
esolu

This is brilliant - as is the google desktop search.

THANKS VERY MUCH FOR THIS! smile.gif
esolu
QUOTE (donCarlos @ Oct 16 2004, 03:45 PM)
esolu

This is brilliant - as is the google desktop search.

THANKS VERY MUCH FOR THIS! smile.gif

NP, it is my pleasure. Stay tuned I will post an updated version on Monday, with some if not all of the requests in this thread.

I will also add it to the Extension Exchange.

Thanks to Desktop Sidebar for making me excited to code again. I get paid to do it everyday and don't have nearly as much fun as this tongue.gif So on Monday I will get paid to do this wink.gif
yyy
I can develop panels all day and not even feel the time moving but I don't have all day sad.gif
esolu
Finished all the changes.... But I applied for Extension Exchange and now I can't get into GMail to get the activation email. Once I can get in, I will post it to the exchange and post a link here.
esolu
Posted in the exchange. I didn't realize that the screenshot would post in the details. I thought it would be a link to the screen shot. I guess I should have posted a cropped version, but I don't see any way to edit sad.gif
Indian_Mayhem
Go down to the bottom right of the page for your plugin and look for the links for the options to edit. I can do it for you if needed...but I would need the screenshot.

No offense, I'm staying away from GDS due to some security and network reasons (not applicable to home users)...so I can't do a screenshot.
esolu
QUOTE (Indian_Mayhem @ Oct 18 2004, 12:07 PM)
Go down to the bottom right of the page for your plugin and look for the links for the options to edit. I can do it for you if needed...but I would need the screenshot.

No offense, I'm staying away from GDS due to some security and network reasons (not applicable to home users)...so I can't do a screenshot.

All better! Thanks for the tips, I couldn't find edit for the life of me blink.gif
Kalior
for some reason my google desktop search # is only 9 digits, so now the panel doesn't think I entered my info, keeps giving me the config message
esolu
QUOTE (Kalior @ Oct 18 2004, 01:45 PM)
for some reason my google desktop search # is only 9 digits, so now the panel doesn't think I entered my info, keeps giving me the config message

Hmmm... How about them apples. I have posted a new version without that check. It will now only give the message if the length=0.

Sorry bout that ohmy.gif
Kalior
cool, where is the new version posted?
<<huge nub
esolu
QUOTE (Kalior @ Oct 18 2004, 03:22 PM)
cool, where is the new version posted?
<<huge nub

In Extension Exchange. Which brings up a good point, gonna remove the package from my first post to avoid confusion.
Kalior
ok, I'm still having trouble, the number in question keeps changing, and whenever I try a search I get this:
Invalid Request
You requested a page that does not exist.
You may have reached this page by clicking on an invalid link or bookmark.
nsm
I get the same error as kalior, although my 10 digit number does not appear to change
coult69
I also get the same error. Followed the directions but I get the "Invalid Request, The Page you requested does not exist"

I verified the 10 digit code, and the Desktop Search works fine on its own.

Anything to do with using FireFox? GDS works in Firefox fine on its own...

Thanks,

Coult69
coult69
Oh ya, I also got that error message about the .Net framework when I installed the panel. I forget the exact language (sorry I did not write it down) but it is something about registered named componets...It still installed successfully, but I seem to remember this coming up with other panels...

Coult69
acommonjo
Good Job, the panel works great for me.

The message the Coult69 is referred to above can be removed by using "Stongly Naming" you panel. You can read the how to here. Basically this will remove the RegAsm message on installation.

~acommonjo
esolu
QUOTE (Kalior @ Oct 18 2004, 09:39 PM)
ok, I'm still having trouble, the number in question keeps changing, and whenever I try a search I get this:
Invalid Request
You requested a page that does not exist.
You may have reached this page by clicking on an invalid link or bookmark.

Hmmm, not sure what this could be. Are you grabbing the code after clicking search once? That's the key part. When you pull it up first there is a number in the address bar, you have to click search once and it will change. That is the number you need.

If that isn't it I may need screenshots or some way of verifying whats going on with yours.
yyy
About the strong name (which coult69 talks about in his second post) you can read here: http://www.desktopsidebar.com/forums/index...?showtopic=2384.

Acommonjo also gave you a link but it is talking about something more complicated. (which also appears in the link I gave you) Basically your panel's users get an error mesage while installing since you haven't signed the panel. You better do it so the installation will be smoother.
coult69
My bad...missed the part about doing the search first. Got a different ID now, and everything works fine...good stuff...

Coult69
Indian_Mayhem
Don't know if you guys share machines with family, friends, etc....
But this is why I have added the GDS to my corporate ban list. Those of you at home should be aware as well. Not to knock GDS, I think it has some extremely useful features...but it is quite scary.

http://story.news.yahoo.com/news?tmpl=stor..._pcworld/118201
coult69
Ya, I saw that yesterday as well and it freaked me out...but I don't share my laptop, so I kept it installed there, but the PC at home is a different story!!!

Coult69
mtaylor007
Guys, I need some help. I installed .net 1.1 and the Google Desktop panel. I also pasted in my code number. I keep getting the "Action Cancelled" page can't be found result.

I must be doing something wrong.
esolu
QUOTE (mtaylor007 @ Oct 21 2004, 05:15 PM)
Guys, I need some help. I installed .net 1.1 and the Google Desktop panel. I also pasted in my code number. I keep getting the "Action Cancelled" page can't be found result.

I must be doing something wrong.

Are you pasting in the right code?

From Post above:
QUOTE
When you pull it up first there is a number in the address bar, you have to click search once and it will change. That is the number you need.
mtaylor007
Yes. I double checked that. In fact I did mess that up the first time, and completely uninstalled and re-installed with the new number trying to fix it.
mtaylor007
Here is the URL that is being constructed by the panel. Anyone see a problem?


res://C:\WINNT\system32\shdoclc.dll/navcancl.htm#http://127.0.0.1:4664/search&s=4257348000?q=google&ie=UTF-8&btnG=Search+Desktop
yyy
Are you running Google Desktop Search while using the panel ?
esolu
QUOTE (yyy @ Oct 23 2004, 04:09 AM)
Are you running Google Desktop Search while using the panel ?

It should start it up if it isn't running.
yyy
Didn't work with the first version, I think. I need to upgrade smile.gif
mtaylor007
I do have the service active at startup, and its running in my tray.

I am using Win2k
shanroy10
I do not have a 8 or 10 digit number, what I have is this:

http://localhost:4664/&s=Ahgm-Enwv04RFke8Q70nVYfQMtc

and it does not like this apparently, any suggestions?
Lachdanon
QUOTE(shanroy10 @ May 11 2005, 05:21 PM)
I do not have a 8 or 10 digit number, what I have is this:

http://localhost:4664/&s=Ahgm-Enwv04RFke8Q70nVYfQMtc

and it does not like this apparently, any suggestions?
*




I have the same thing. Any tips anyone?

Oh yeah, this is my first post clap.gif
samw_61
QUOTE(shanroy10 @ May 12 2005, 07:21 AM)
I do not have a 8 or 10 digit number, what I have is this:

http://localhost:4664/&s=Ahgm-Enwv04RFke8Q70nVYfQMtc

and it does not like this apparently, any suggestions?
*


hmm, same here, looks like the google desktop search has been updated somewhat. I tryed it and it did something really strange to my desktop search. I couldnt even access the search page and had to reinstall google desktop search. I dont have this panel installed anymore, but i would love it if it worked with this new strange code.

bounce013.gif samw
aaa
Today it is the first time I have installed your application
"Desktop Sidebar" on my computer. And my feeling about that: DS is
absolutely amazing. I love it. Good work! I have never seen such a
practical application. Thank you! Although, I have a big problem
with installing "Google Desktop Search plug-in" made by "esolu". When I turn on Desktop Sidebar after installation of the plug-in,
it tells me that the plug-in doesn't work and asks me if I want to
disable it. I have already installed .Net framework. I have
Windows XP PRO. I reinstalled DS as well.

I visited many forums but I didn't find any solution. I have attached a picture with those warning dialogs ("Warning.jpeg").

Hopefully I haven't made too many language mistakes, I come from the Czech
Republic (Central Europe) and English is not my native
language... signs007.gif

Thank you, have a nice day! flowers.gif

Vladimir
Bunti
Greeetings from Frankfurt to New Jersey.
I have a Problem with this Plugin (see the attachments).
user posted imageuser posted image user posted image user posted image user posted image user posted image user posted image
nickrt
Hi

The desktop search is great - but I can only get it to work the first time. I have XP Prof (SP2) and use Firefox, and have .net 1.1.

The first search works fine.

If I try it again, I get the following error ohmy.gif - is there a cure?:


Microsoft .NET Framework: An unhandled exception has occurred in a component in your application... Object reference not set to an instance of an object.


System.NullReferenceException: Object reference not set to an instance of an object.
at DesktopSidebar.IDetailsWnd.Create(Int32 hwndParent, Int32 flags, tagPOINT& origin, tagSIZE& size)
at DSGDS.Panel.doSearch()
at DSGDS.Panel.textBox1_KeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

rztka
QUOTE(nickrt @ Jun 27 2005, 02:43 AM)
Hi

The desktop search is great - but I can only get it to work the first time.  I have XP Prof (SP2) and use Firefox, and have .net 1.1.

The first search works fine.
 
If I try it again, I get the following error  ohmy.gif  - is there a cure?:


Microsoft .NET Framework: An unhandled exception has occurred in a component in your application... Object reference not set to an instance of an object.


System.NullReferenceException: Object reference not set to an instance of an object.
  at DesktopSidebar.IDetailsWnd.Create(Int32 hwndParent, Int32 flags, tagPOINT& origin, tagSIZE& size)
  at DSGDS.Panel.doSearch()
  at DSGDS.Panel.textBox1_KeyDown(Object sender, KeyEventArgs e)
  at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
  at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
  at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
  at System.Windows.Forms.Control.WmKeyChar(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
  at System.Windows.Forms.TextBox.WndProc(Message& m)
  at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
*



Hey, it seems everybody has the same problem... I get exactly the same error as nickrt...first search is ok and then it stop working sad.gif I really like Google Search and I would like it in my DS.. I use last beta (build 92), XP Home, Firefox 1.0.5

nickrt, it's been some time since you write here, did you solve it somehow please?

greets!
nickrt
Hi

Sadly no one seems to be working on the Google Desktop search for the Desktop Sidebar. Perhaps it should be removed from the website - as it doe snot work?!

The Google utility now allows you to select, under preferences:

"Deskbar - A search box in your taskbar"

This is close to having it in the DS - see pic!

esolu
Hey guys, sorry I don't have time to keep things up to date. My hope is that one of the other developers will pick it up biggrin.gif I've posted the source, and I'm available for questions.

I really wish I had time as it is a LOT of fun for me sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.