I was so amazed at how easy it was to embed google maps into a vb app I decided to post a quick example to help anyone get started. This is a simple example. Google's api has all kinds of things to help customize your map. You can find out anything you need to know from here: [url]http://code.google.com/apis/maps/documentation/javascript/reference.html[/url] You will need to: Create a new windows forms app. Add a class named GoogleControl and paste the GoogleControl code into it. Add a new html doc to the project and name it GoogleMap.htm and set its Build action to CopyIfNewer Copy …

Member Avatar
Member Avatar
+4 forum 46

Just a simple exploration of the goslate module (uses the Google Translate API) to translate some common languages. However, some IDE's create character problems. Note: Your computer has to be connected to the Internet to access Google.

Member Avatar
Member Avatar
+3 forum 3

When using emails as usernames you want them to be unique over your table, but this can be a problem if you consider a GMail account, because of their [username](https://support.google.com/mail/answer/12096?hl=en) [policy](https://support.google.com/mail/answer/10313?hl=en). They allow: * dots * digits * letters * plus addressing text by using the `+` sign, i.e. `orange+juice@gmail.com` * length between 6 and 30 characters, excluding dots and the appended part But when resolving the username they do not consider: * dots * different capitalization * plus addressing So, when you write to: UserName@gmail.com u.sername@gmail.com user.name+forum@gmail.com .u.s.e.r.n.a.m.e.@gmail.com u.serName+doh@googlemail.com You will always match the same account: username@gmail.com This class …

Member Avatar
Member Avatar
+2 forum 1

This is a script that was supposed to be very basic, just running a command with my scripts arguments attached. I didn't realize that if user 'cj' opens firefox, when user 'root' does '**firefox -new-tab**' it doesn't work. Firefox will just open a new window, and thats exactly what I didn't want to happen. The whole point was to open in a new-tab. So finding the user that logged onto the desktop, when the script was ran by root became the challenge. You can find out who ran the script alot of ways, but thats not what I wanted. Sometimes …

Member Avatar
Member Avatar
+0 forum 3

The class GoogleSuggest will help you to grab the Google suggestion(s) for given expression. [B]Note[/B]: The urllib2 module has been split across several modules in Python 3.0 named urllib.request and urllib.error. The 2to3 tool will automatically adapt imports when converting your sources to 3.0. Example and output: [QUOTE] >>> ================================ RESTART ================================ >>> >>> suggestions = GoogleSuggest("daniweb").read() >>> for suggest in suggestions: print suggest daniweb daniweb llc daniweb wiki daniweb popup daniweb c++ daniweb forum daniweb java daniweb login daniweb php daniweb python >>> suggestion = GoogleSuggest().read("google") >>> for suggest in suggestion: print suggest google maps google.com google earth google …

Member Avatar
Member Avatar
+0 forum 2

The End.