| View previous topic :: View next topic |
| Author |
Message |
MartinZ
Joined: 23 May 2008 Posts: 155 Location: Germany
|
Posted: Thu Nov 05, 2009 10:31 pm Post subject: Googleak.NET |
|
|
Hi folks,
here as a sequel to the legendary - but not longer supported - "Googleak"
my adaption "Googleak.NET".
Converting Googleak from "VB6" to Visual Basic 2008 was a hard task, though!!! For this I had to change and reprogram a lot of code, had to fix plenty of new and old bugs and much more.
In some matters i have changed handling: e.g.:
- right click dragging in export-select-mode moves map
- Export selection box must be removed by clicking middle mouse button on the "Selection" Button.
have fun!
27.11.2010 : New Version 1.5.2.0
-bug fix: Open KML-Track / KML-Polygon
-New "TB-Atlas-Explorer" (Middle-Click on TB-Export-"Shoe"-Btn)
09.11.2010 : New Version 1.5.1.1
- many Tracks-related improvements and fixes
- discover altitude of map locations via web service (ALT-Click on screen in "Hand"-mode)
-Waypoints and loaded Tracks are now drawn into OZI-Map and into TB-Map
-several other fixes
26.10.2010 : Tutorial update V0.2
Actual Source Code for 1.5.1.0
25.10.2010 : New Version 1.5.1.0
-Some new features e.g. "Open former Selection" (\tmp\*.sel), Show coordinates in "Geochaching-Style"
-Tiny help for Hotkeys
-Many bug fixes, smaller ones but also fixed some severe bugs
20.10.2010 : Uploaded a little illustrated tutorial for first steps.
19.10.2010 : Version 1.5.0.3
- Polygon selection bug when map smaller than screen: fixed
- stopping download after switching from multi to single thread works now
- Linux Mono compatibility improved: tared maps are possible now , if freeware "p7zip" is installed on Linux.
-other minor fixes
14.07.2010 : Version 1.5.0.1
-new color reduction Algorithm "Xiaolin Wu" (better quality)
-Ctrl-Key+Left MouseButton equ. to Middle Mouse-Button
-rudimentary Linux-Mono compatibility (some probs.remain)
27.04.2010 : added actual source code for 1.4.1.0
27.04.2010 : bugfixed version 1.4.1.0
- "one tile left after download" - bug fixed
- corrupted tiles in tile cache do not stop map-export any more
- nicer icon for multithread
- minor things
06.04.2010 : New beta version Type "AnyCPU" => 64Bit on 64-bit machines
32Bit on 32-bit machines
-Much improved multi threading
-No API calls any more, almost pure ".NET"
-One user defineabe map source (right click on ComboBox)
-new checkbox to show tile-path at mouse cursor position
-Many fixes and more
25.12.2009 : Uploaded actual Source Code
: bugfixed Version 1.3.2.1 (again x86)
24.12.2009 : New beta version Type "AnyCPU" => 64Bit on 64-bit machines
23.12.2009 : New beta version with many changes. "gflax.dll" is not needed any more!
21.11.2009 : New beta version! Source-Code for Visual Basic 2008 Express Edition
11.11.2009 : New beta version!
| Description: |
New Version 1.5.2.0 -bug fix: Open KML-Track / KML-Polygon - "TB-Atlas-Explorer" (Middle-Click on TB-Export-"Shoe"-Btn) |
|
 Download |
| Filename: |
Googleak.NET_1_5_2_0.zip |
| Filesize: |
267.08 KB |
| Downloaded: |
4146 Time(s) |
| Description: |
V1.5.1.1 as of 9.11.2010 -Track-handling improved -Get altitude of locations and trackpoints via web-service -Draw Tracks/Waypoints into TB- and OZI-Maps -fixes |
|
 Download |
| Filename: |
Googleak.NET_1_5_1_1.zip |
| Filesize: |
249.93 KB |
| Downloaded: |
335 Time(s) |
| Description: |
Source code: The actual Visual Basic 2010 source code for V1.5.1.0 Many comments (most of them in German) |
|
 Download |
| Filename: |
Googleak_NET_Sources_1_5_1_0.zip |
| Filesize: |
300.39 KB |
| Downloaded: |
606 Time(s) |
| Description: |
Begin of a little illustrated tutorial for Googleak.NET (zipped pdf) V0.2 |
|
 Download |
| Filename: |
The Googleak_NET Tutorial.zip |
| Filesize: |
2.07 MB |
| Downloaded: |
831 Time(s) |
| Description: |
Version 1.5.1.0 25.10.2010 Feature adds Bug fixes updated YANDEX URLs |
|
 Download |
| Filename: |
Googleak.NET_1_5_1_0.zip |
| Filesize: |
243.8 KB |
| Downloaded: |
167 Time(s) |
| Description: |
Googleak.NET 1.5.0.3 (download/install 7zip from author's page and copy 7zip.exe to Googleak.NET-folder enable tared maps) (Under Linux Mono install "p7zip"; should be callable from commandline with "7z") |
|
 Download |
| Filename: |
Googleak.NET_1_5_0_3.zip |
| Filesize: |
218.9 KB |
| Downloaded: |
198 Time(s) |
Last edited by MartinZ on Sat Nov 27, 2010 1:00 am; edited 22 times in total |
|
| Back to top |
|
 |
caesar1987
Joined: 21 Jun 2008 Posts: 165
|
Posted: Fri Nov 06, 2009 6:46 am Post subject: |
|
|
looks good.
_________________ Samsun i8000 Omnia II (Windows Mobile 6.5, JBlend on Windows mobile v4.0.0 (20091119a) by Aplix Corp.), Evolve goTraxx GPS |
|
| Back to top |
|
 |
x2fer
Joined: 31 Jan 2007 Posts: 1652 Location: Madrid. España
|
Posted: Fri Nov 06, 2009 7:36 am Post subject: |
|
|
It does not work to me...
| Quote: |
| It is not possible to load the file or assembly 'stdole, Versión=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of his dependencies. The system cannot find the specified file. |
Which version of .NET Frameworks is necessary?. In this PC, I have installed and updated the versions V1.1 and V2.0 SP1.
_________________ N500 || C5-03 + BT-Q810 + TrekBuddy 1.2.3 (Español) |
|
| Back to top |
|
 |
Jiff
Joined: 02 Jul 2009 Posts: 13
|
Posted: Fri Nov 06, 2009 9:09 am Post subject: |
|
|
| I've got the same problem. I've got vista home premium with the latest .net framework.
|
|
| Back to top |
|
 |
MartinZ
Joined: 23 May 2008 Posts: 155 Location: Germany
|
Posted: Fri Nov 06, 2009 9:33 am Post subject: .NET framework |
|
|
i compiled it with .NET 2.0
But it seems, that you need "stdole.dll", not the .NET framework.
I updated the zip-file: now includes stdole.dll
|
|
| Back to top |
|
 |
bogi
Joined: 10 Jun 2008 Posts: 148 Location: Slovakia
|
Posted: Fri Nov 06, 2009 10:14 am Post subject: |
|
|
Hi MartinZ, thanks for publishing teh first beta!
I tried to start it too. I got the serie of dialogs I attached bellow. When I clicked to the Details button, I got:
| Code: |
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Googleak.Form1.Form1_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Form.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Googleak.NET
Assembly Version: 3.18.3596.41686
Win32 Version: 0.0.1
CodeBase: file:///D:/mapy/APPS/Googleak.NET.1000/Googleak.NET.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Interop.GflAx
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/mapy/APPS/Googleak.NET.1000/Interop.GflAx.DLL
----------------------------------------
stdole
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase: file:///C:/WINDOWS/assembly/GAC/stdole/7.0.3300.0__b03f5f7f11d50a3a/stdole.dll
----------------------------------------
Microsoft.VisualBasic.Compatibility
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
|
My first attempt was done without using GflAx.dll from MartinZ. I was in a loop of message boxes, I had to klick Quit on the dialog, which has the Details button too.
Then I copied GflAx.dll to the program direcotry. The series of dialogs repeated, but I was able to start the main program. But still I was unable to download tiles as well as display cached tiles (I tried to change MapsPath in conf.cfg).
MartinZ, which concrete .NET version is required to be installed? Or do we need some updated Visual Basic runtime?
| Description: |
|
| Filesize: |
59.35 KB |
| Viewed: |
70705 Time(s) |

|
|
|
| Back to top |
|
 |
MartinZ
Joined: 23 May 2008 Posts: 155 Location: Germany
|
Posted: Fri Nov 06, 2009 10:47 am Post subject: errors... |
|
|
I'll have a look.
i tested googleak.NET on my new Win7 PC, that contains the Visual Basic 2008 IDE and on my old Win XP PC without it.
So i do not think, it has to do with VB-runtimes.
For first, ii looks like them gflax.dll ,an ActiveX COM component library for graphics is not registered.
=>yes, it really is necessary not only to copy GFlax.dll to the Googleak.NET- folder but also to register this dll :
1.) Open Windows's "cmd.exe" with "open as Administrator..." ...
2.) change to folder Googleak.NET_1_0_0_0 with "cd" command. (Gflax.dll has to be copied into this folder!)
3.) Type "regsvr32 GflAx.dll" followed by RETURN-Key
Should work now.
I knew, that use of GFlAx would perhaps make problems for some users. But olegich constructed googleak with this library - so i continued it.
Perhaps i can get rid of it in future version by directly using GDI+ functions. But i am not sure, if they support PNG-fileformat.
Another possibility could be to use "GflSDK" (from same author as GFlAx.dll, the author of "XNView"). But i don't know how to integrate that into Visual Basic by now.
Last edited by MartinZ on Fri Nov 06, 2009 11:07 am; edited 2 times in total |
|
| Back to top |
|
 |
Cactus
Joined: 14 Dec 2007 Posts: 209 Location: Surrey UK
|
Posted: Fri Nov 06, 2009 10:49 am Post subject: |
|
|
Thanks for your efforts here. Much appreciated.
7z.dll and 7z.exe are required to be in the same folder as Googleak.NET, presumably for tarring.
_________________ Nokia 5230
YTEC GNT-1210 GPS receiver (SiRF III Bluetooth) |
|
| Back to top |
|
 |
bogi
Joined: 10 Jun 2008 Posts: 148 Location: Slovakia
|
|
| Back to top |
|
 |
MartinZ
Joined: 23 May 2008 Posts: 155 Location: Germany
|
Posted: Fri Nov 06, 2009 11:39 am Post subject: DLL |
|
|
fine, bogi, nice to hear, that it works now!
found (and fixed) one small bug myself:
-Waypoints are drawn a bit to far to north on the screen, (height of the top command-bar).
fix not yet included in download version. Will wait for next bugs...
|
|
| Back to top |
|
 |
bogi
Joined: 10 Jun 2008 Posts: 148 Location: Slovakia
|
Posted: Fri Nov 06, 2009 11:57 am Post subject: |
|
|
| MartinZ, there are many Googelak fans in Slovakia. There is one long thread about Googleak in gpsforum.sk. More Googleak users do not understand English and they are not registered to this forum. One year before I wrote Slovak manual for Gogoleak. May be that made Googleak so popular in Slovakia and Czech replublic too. May I upload your beta to gpsforum.sk? I always point to this forum too.
|
|
| Back to top |
|
 |
MartinZ
Joined: 23 May 2008 Posts: 155 Location: Germany
|
Posted: Fri Nov 06, 2009 12:05 pm Post subject: Slovakia |
|
|
bogi wrote:
| Quote: |
| May I upload your beta to gpsforum.sk? I always point to this forum too. |
of course!
Feel free, cause it is free!
|
|
| Back to top |
|
 |
Cactus
Joined: 14 Dec 2007 Posts: 209 Location: Surrey UK
|
Posted: Fri Nov 06, 2009 12:12 pm Post subject: |
|
|
OK - next item:
Ask for a large detailed map.
Get the message "Really select 371305 tiles?" - (seems to be asked three times).
Answer "Yes".
Program starts checking how many tiles need to be downloaded.
Navigate to another window and back again.
Get the message "Really select 371305 tiles?" again.
Answer "Yes".
Program restarts checking how many tiles need to be downloaded, from zero.
_________________ Nokia 5230
YTEC GNT-1210 GPS receiver (SiRF III Bluetooth) |
|
| Back to top |
|
 |
MartinZ
Joined: 23 May 2008 Posts: 155 Location: Germany
|
Posted: Fri Nov 06, 2009 12:55 pm Post subject: bugs |
|
|
ooops...
never tried this
|
|
| Back to top |
|
 |
bogi
Joined: 10 Jun 2008 Posts: 148 Location: Slovakia
|
|
| Back to top |
|
 |
|