Greetings paarkhi.  You have  $0.00 DonationCredits. September 18, 2009, 06:51:37 AM  *
click to set your avatar You have 3 messages. Give out some credits.
Show unread posts (since last visit).
Show latest topics. Show recent posts (full text).
Show new replies to your posts (unreplied topics).

Your member group: Supporting Member (logout now).
Thank you for your support of this site.
See who else has donated: View the Supporter Yearbook.
Latest Newsletter: August 20th, 2009 - Codename "Screencast Summer"
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   My Profile Thread Marks Member Map Chat! Downloads Search Unread Posts  
Pages: [1] 2   Go Down
  Reply  |  Mark  |  Notify  |  Send this topic  |  Print  
Author Topic: New C# FARR Plugin: FARRGoogleSuggest  (Read 12649 times)
jpgrosen
Honorary Member
**
Posts: 8


View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« on: December 29, 2007, 02:22:58 AM »
Reply with quoteQuote

Hi,

I have made a Google Suggest plugin. It query's Google just like the Google Toolbar and returns suggestions and checks your spelling.

Type gs and your query.
Example:


Sincerely

Jens Peter Grosen

* FARRGoogleSuggest.zip (64.61 KB - downloaded 976 times.)
« Last Edit: December 29, 2007, 06:26:00 PM by jpgrosen » Report to moderator   Logged
mouser
First Author
Administrator
*****
Posts: 21,354



see users location on a map View Profile WWW Email Personal Message (Offline) Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: December 29, 2007, 02:38:46 AM »
Reply with quoteQuote

WOW!!!

with a fast internet connection this is absolutely outstanding  Kiss Kiss Kiss

incredible -- it feels a bit like magic to me.. damn that's cool.
Report to moderator   Logged
vitalyb
Supporting Member
**
Posts: 122



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #2 on: December 29, 2007, 07:53:12 AM »
Reply with quoteQuote

Works great! Nice work!
Report to moderator   Logged
mouser
First Author
Administrator
*****
Posts: 21,354



see users location on a map View Profile WWW Email Personal Message (Offline) Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: December 29, 2007, 02:25:09 PM »
Reply with quoteQuote

jpgrosen,
i think you are using vitalyb's C# sdk..

others were having trouble getting that to work on some windows machines, including myself -- i think it may have to do with beign built with the latest .net runtimes required, instead of a more conservative build?

ive gotten 2 reports that the farr google suggest plugin isnt loading, and this is what happened for me with vitaly until he uploaded a new build.

vitaly can you share with jpg how to build this for better compatibility?
Report to moderator   Logged
Armando
Charter Member
***
Posts: 2,025



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #4 on: December 29, 2007, 02:59:39 PM »
Reply with quoteQuote

 thumbs up thumbs up thumbs up (but... i'm having the problem mouser mentions...)
« Last Edit: December 29, 2007, 03:08:04 PM by Armando » Report to moderator   Logged

Please, forgive my English, my Spanish, my Portuguese and my Chinese. Et même mon français.
jpgrosen
Honorary Member
**
Posts: 8


View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #5 on: December 29, 2007, 03:15:20 PM »
Reply with quoteQuote

thumbs up thumbs up thumbs up (but... i'm having the problem mouser mentions...)

What is happening. Is there an exception or just nothing? Can you see the plugin in the "Configure Plugins dialog"?
I am using Vitalyb's SDK but it should target .NET 2.0. Are you using the FARRAltTab plugin? (Which was build with the first release of the SDK)

Sincererly

Jens Peter Grosen
Report to moderator   Logged
mouser
First Author
Administrator
*****
Posts: 21,354



see users location on a map View Profile WWW Email Personal Message (Offline) Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: December 29, 2007, 03:20:54 PM »
Reply with quoteQuote

sorry i probably should not have been the one posting this bug report, since it works like a charm for me smiley

maybe the problem people didnt even have .net2 installed.
i'll let them post about their problem -- i think it just wasn't showing in the plugin list.
Report to moderator   Logged
skwire
Charter Member
***
Posts: 580



see users location on a map View Profile WWW Email Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #7 on: December 29, 2007, 03:26:09 PM »
Reply with quoteQuote

i'll let them post about their problem -- i think it just wasn't showing in the plugin list.

Correct, I don't see it in my plugin list.  I've added the files to a "FARRGoogleSuggest" subfolder of my plugins folder.  Restarting FARR doesn't get it to recognise and neither did the manual scan from the FARR options dialog.  Please let me know if I can provide further information.  Thanks.
Report to moderator   Logged

PhilKC
Charter Member
***
Posts: 116



View Profile WWW Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #8 on: December 29, 2007, 03:28:24 PM »
Reply with quoteQuote

The lib is indeed using 2.0, and I presume Vitalyb's to be doing the same.

Sadly, user side support for .NET is patchy at best, mainly due to Microsoft not pushing it upon people. Most people will have 1/1.1, some will have 2.0 and only devs will likely have 3.x.

Looking at the refactored code it would appear that the library would need a total rewrite to bring it down to 1/1.1 standard, no fun at all: I would instead suggest that the .NET wrapper should use the Visual Studio deploy magic to install .NET 2 if it is not found.

.NET 2.0 framework: http://www.microsoft.com/...5E04F5&displaylang=en

(Be sure to check Windows Update for patches etc)

PhilKC
Report to moderator   Logged

It's not a bug, it's an undocumented and unexplainable feature.
Stick it on your site:
skwire
Charter Member
***
Posts: 580



see users location on a map View Profile WWW Email Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #9 on: December 29, 2007, 03:40:15 PM »
Reply with quoteQuote

For the record, I have the following .NET frameworks installed:

Microsoft .NET Framework 1.1
Microsoft .NET Framework 2.0
Microsoft .NET Framework 3.0
Report to moderator   Logged

jpgrosen
Honorary Member
**
Posts: 8


View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #10 on: December 29, 2007, 03:42:40 PM »
Reply with quoteQuote

Correct, I don't see it in my plugin list.  I've added the files to a "FARRGoogleSuggest" subfolder of my plugins folder.

You have placed it correctly.
Can you use any of the other .NET plugins FARRAltTab, FARRTunes, FARREnviormentVariables?

/JP
Report to moderator   Logged
Armando
Charter Member
***
Posts: 2,025



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #11 on: December 29, 2007, 03:55:09 PM »
Reply with quoteQuote

thumbs up thumbs up thumbs up (but... i'm having the problem mouser mentions...)

What is happening. Is there an exception or just nothing? Can you see the plugin in the "Configure Plugins dialog"?
I am using Vitalyb's SDK but it should target .NET 2.0. Are you using the FARRAltTab plugin? (Which was build with the first release of the SDK)

Sincererly

Jens Peter Grosen

Hi Jens,

Yes, FARRAltTab works. I have .Net v2.0.50727 installed.

What I did is create a "FARRGoogleSuggest"  directory in C:\Program Files\FindAndRunRobot\Plugins
and then I extracted your archive in there. Farr didn't seem to detect the plugin. I restarted it. Still nothing...
Report to moderator   Logged

Please, forgive my English, my Spanish, my Portuguese and my Chinese. Et même mon français.
skwire
Charter Member
***
Posts: 580



see users location on a map View Profile WWW Email Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #12 on: December 29, 2007, 04:45:53 PM »
Reply with quoteQuote

Can you use any of the other .NET plugins FARRAltTab, FARRTunes, FARREnviormentVariables?

Yes, FARRAltTab works.  Would you like me to try the others?
Report to moderator   Logged

vitalyb
Supporting Member
**
Posts: 122



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #13 on: December 29, 2007, 05:22:46 PM »
Reply with quoteQuote

Hey jpgrosen. What did you compile it with? I had a problem with mouser with FARRTunes when I compiled it under VS2008, still not sure why.

Recompiling it under VS2005 solved it.
Report to moderator   Logged
mouser
First Author
Administrator
*****
Posts: 21,354



see users location on a map View Profile WWW Email Personal Message (Offline) Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: December 29, 2007, 05:28:14 PM »
Reply with quoteQuote

now that you guys (both google suggest c# and javascript fscript) have mastered web page grabbing, how much longer till we get 2 holy grail plugins:
1) rss fetcher w search ability
2) generic web page regex parser (let user configure web page to grab and how to parse it into items with regex)

in both cases one extra complication is that it would be nice for a user to be able configure multiple sources which could be selected.

e.g.:
frss dc keywords..
where the first thing after the rss is the label telling the rss plugin which configured rss to grab from.
(just typing rss might list the known rss feeds).

how nice would that be smiley

in the second case, it would be similar, so that you could configure it to grab a page and display result(s) either as a list or in richedit mode.
this could be used to grab almost anything from a web page (weather, news, etc).
Report to moderator   Logged
tomos
Charter Member
***
Posts: 3,127



see users location on a map View Profile WWW Personal Message (Online) Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: December 29, 2007, 05:34:54 PM »
Reply with quoteQuote

unfortunately neither this nor FARRAltTab works for me with NET 1,2, & 3
(just added both to correct folders in plugins folder and restarted FARR after each)

other plugins work
these two dont show when I type "aplugins" - I'm not that familiar with FARR plugins in general but dont think I'm doing anything wrong..
Report to moderator   Logged
jpgrosen
Honorary Member
**
Posts: 8


View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #16 on: December 29, 2007, 06:29:15 PM »
Reply with quoteQuote

Hi,

I have recompiled the plugin with the latest SDK and VS 2005. Please see if it makes a difference.
I have updated the first post in this thread with the new plugin.

/JP
Report to moderator   Logged
Armando
Charter Member
***
Posts: 2,025



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #17 on: December 29, 2007, 07:23:21 PM »
Reply with quoteQuote

It works!  smiley
So that was it!  thumbs up thumbs up thumbs up thumbs up
Report to moderator   Logged

Please, forgive my English, my Spanish, my Portuguese and my Chinese. Et même mon français.
mouser
First Author
Administrator
*****
Posts: 21,354



see users location on a map View Profile WWW Email Personal Message (Offline) Read user's biography. Give some DonationCredits to this forum member
« Reply #18 on: December 29, 2007, 07:32:36 PM »
Reply with quoteQuote

it's a bit scary though isnt it, that we don't know why but vs2008 is building incompatible dlls.
Report to moderator   Logged
vitalyb
Supporting Member
**
Posts: 122



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #19 on: December 30, 2007, 02:39:42 AM »
Reply with quoteQuote

it's a bit scary though isnt it, that we don't know why but vs2008 is building incompatible dlls.

Yes it is. And it is even scarier than for some people it doesn't work with VS2005 too.
Report to moderator   Logged
tomos
Charter Member
***
Posts: 3,127



see users location on a map View Profile WWW Personal Message (Online) Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: December 30, 2007, 06:14:05 AM »
Reply with quoteQuote

I have recompiled the plugin with the latest SDK and VS 2005. Please see if it makes a difference.
I have updated the first post in this thread with the new plugin.

I'm afraid still no work here
I have it in correct folder and cant see anything else I can do...

unfortunately neither this nor FARRAltTab works for me with NET 1,2, & 3
(just added both to correct folders in plugins folder and restarted FARR after each)

other plugins work
these two dont show when I type "aplugins" - I'm not that familiar with FARR plugins in general but dont think I'm doing anything wrong..

KlipKeeper, FarrFox, PrinterList, and FarrUninstall are the only plugins I've used so far, but they all work
Report to moderator   Logged
vitalyb
Supporting Member
**
Posts: 122



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #21 on: December 30, 2007, 06:34:26 AM »
Reply with quoteQuote

Tomas I'll talk to you privately then. We'll try a few things.

I'm afraid it could be a problem.
Can you PM me your email?
Report to moderator   Logged
PhilKC
Charter Member
***
Posts: 116



View Profile WWW Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #22 on: December 30, 2007, 06:43:08 AM »
Reply with quoteQuote

Hey jpgrosen. What did you compile it with? I had a problem with mouser with FARRTunes when I compiled it under VS2008, still not sure why.

Perhaps because VS2008 defaults to using .NET 3.5 (3 != 3.5) (See Project -> Properties -> Target Framework)?
Report to moderator   Logged

It's not a bug, it's an undocumented and unexplainable feature.
Stick it on your site:
vitalyb
Supporting Member
**
Posts: 122



see users location on a map View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #23 on: December 30, 2007, 07:01:21 AM »
Reply with quoteQuote

Nope. I compiled it specifically targeted at .NET 2.

I *think* it is something to do with C++ DLLs.
Report to moderator   Logged
tomhogers
Participant
*
Posts: 2

View Profile Personal Message (Offline) Give some DonationCredits to this forum member
« Reply #24 on: January 01, 2008, 09:30:38 PM »
Reply with quoteQuote

I had a similar problem but the recompiled version of plugin is now working. Thmbsup

However, the plugin only shows up in the  Options --> Find and Run Robot Plugins ---> Click to Examine and Configure Plugins ---> Plugin Manager view. It doesn't show up in the DC Updater window.
Report to moderator   Logged
Pages: [1] 2   Go Up
  Reply  |  Mark  |  Notify  |  Send this topic  |  Print  
 
Jump to:  
   Forum Home   My Profile Thread Marks Member Map Chat! Downloads Search Unread Posts  

+ Quick Reply
With a Quick-Reply you can use bulletin board code and smileys as you would in a normal post, but much more conveniently.
BoldItalicizedUnderlineStrikethroughInsert Hyperlink|disable bbc codeInsert CodeInsert Quote|Insert Listspoiler: hide text and show only on user click
Grin smiley Cool Wink Sad Angry cheesy tellme ohmy huh embarassed thumb down thumbs up Thmbsup Cry mad undecided Kiss tongue [more]
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
SMF © 2006-2009, Simple Machines LLC

social bookmark this page