Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Googleak.NET
Goto page 1, 2, 3 ... 14, 15, 16  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools
View previous topic :: View next topic  
Author Message
MartinZ



Joined: 23 May 2008
Posts: 158
Location: Germany

PostPosted: Thu Nov 05, 2009 10:31 pm    Post subject: Googleak.NET Reply with quote

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!


Last edited by MartinZ on Sun Sep 03, 2017 12:36 pm; edited 23 times in total
Back to top
View user's profile Send private message
caesar1987



Joined: 21 Jun 2008
Posts: 165

PostPosted: Fri Nov 06, 2009 6:46 am    Post subject: Reply with quote

looks good. Smile
_________________
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
View user's profile Send private message
x2fer



Joined: 31 Jan 2007
Posts: 1662
Location: Madrid, Spain

PostPosted: Fri Nov 06, 2009 7:36 am    Post subject: Reply with quote

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.

_________________
Sony Xperia M4 Aqua || N500 || C5-03 + BT-Q810 + TrekBuddy 1.33 (Español)
Back to top
View user's profile Send private message Visit poster's website
Jiff



Joined: 02 Jul 2009
Posts: 12

PostPosted: Fri Nov 06, 2009 9:09 am    Post subject: Reply with quote

I've got the same problem. I've got vista home premium with the latest .net framework.
Back to top
View user's profile Send private message
MartinZ



Joined: 23 May 2008
Posts: 158
Location: Germany

PostPosted: Fri Nov 06, 2009 9:33 am    Post subject: .NET framework Reply with quote

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
View user's profile Send private message
bogi



Joined: 10 Jun 2008
Posts: 148
Location: Slovakia

PostPosted: Fri Nov 06, 2009 10:14 am    Post subject: Reply with quote

Hi MartinZ, thanks for publishing teh first beta! Smile
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?



untitled.JPG
 Description:
 Filesize:  59.35 KB
 Viewed:  97216 Time(s)

untitled.JPG


Back to top
View user's profile Send private message
MartinZ



Joined: 23 May 2008
Posts: 158
Location: Germany

PostPosted: Fri Nov 06, 2009 10:47 am    Post subject: errors... Reply with quote

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
View user's profile Send private message
Cactus



Joined: 14 Dec 2007
Posts: 214
Location: Fife, Scotland

PostPosted: Fri Nov 06, 2009 10:49 am    Post subject: Reply with quote

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 Lumia 635, Windows Phone 10
Nokia Lumia 520, Windows Phone 8.1
Back to top
View user's profile Send private message
bogi



Joined: 10 Jun 2008
Posts: 148
Location: Slovakia

PostPosted: Fri Nov 06, 2009 11:34 am    Post subject: Re: errors... Reply with quote

MartinZ wrote:

3.) Type "regsvr32 GflAx.dll" followed by RETURN-Key


Ooops, my bad! I read it previously but then I forgot to register the DLL. Embarassed
Thanks MartinZ for pointing to it.

After registration it started without any error message! Very Happy

I tried to download and create small Ozi map, it functioned well! Smile
I will test it a bit more.



untitled.JPG
 Description:
 Filesize:  144.44 KB
 Viewed:  97184 Time(s)

untitled.JPG


Back to top
View user's profile Send private message
MartinZ



Joined: 23 May 2008
Posts: 158
Location: Germany

PostPosted: Fri Nov 06, 2009 11:39 am    Post subject: DLL Reply with quote

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
View user's profile Send private message
bogi



Joined: 10 Jun 2008
Posts: 148
Location: Slovakia

PostPosted: Fri Nov 06, 2009 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message
MartinZ



Joined: 23 May 2008
Posts: 158
Location: Germany

PostPosted: Fri Nov 06, 2009 12:05 pm    Post subject: Slovakia Reply with quote

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
View user's profile Send private message
Cactus



Joined: 14 Dec 2007
Posts: 214
Location: Fife, Scotland

PostPosted: Fri Nov 06, 2009 12:12 pm    Post subject: Reply with quote

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 Lumia 635, Windows Phone 10
Nokia Lumia 520, Windows Phone 8.1
Back to top
View user's profile Send private message
MartinZ



Joined: 23 May 2008
Posts: 158
Location: Germany

PostPosted: Fri Nov 06, 2009 12:55 pm    Post subject: bugs Reply with quote

ooops...
never tried this
Back to top
View user's profile Send private message
bogi



Joined: 10 Jun 2008
Posts: 148
Location: Slovakia

PostPosted: Fri Nov 06, 2009 12:58 pm    Post subject: Re: Slovakia Reply with quote

MartinZ wrote:
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!

Thanks MartinZ. Smile

Alternative download links for the first Googleak.NET beta:
http://bogi.gpsforum.sk/tools/Googleak.NET_1_0_0_0.zip
http://bogi.gpsforum.sk/tools/GflAx.zip
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools All times are GMT
Goto page 1, 2, 3 ... 14, 15, 16  Next
Page 1 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group