VB6 and GM

rieeatmee
rieeatmee Global Mapper User
edited March 2009 in SDK
Hii..
I wanna ask, I made A program with VB6 to process a ASCII (.asc) file , this file contain a elevation data convert it from srtm file
Now after I process the data using my program (result in ASCII too) I wanna open this in VB6.
how to connected VB6 and GM?
what the code to open ASCII file in vb6?

Thankss

Comments

  • global_mapper
    global_mapper Administrator
    edited March 2009
    There is a sample demonstrating how to use the Global Mapper SDK from VB.NET on the Developers page at GLOBAL MAPPER. A similar approach can be used from VB6.

    You would use the GM_LoadGenericAciiTextLayer function to load the data file.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • rieeatmee
    rieeatmee Global Mapper User
    edited March 2009
    Unable to load DLL 'GlobalMapperInterface': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
    it's show when I want the test Global Mapper SDK from VB.NET ? why?
    em did GM have an OCX component file so I can add it to component in vb6?

    Thanks
  • global_mapper
    global_mapper Administrator
    edited March 2009
    You need to make sure that the entire contents of the bin folder from the SDK is available in your application folder so that the GlobalMapperInterface.dll file can be found and loaded. The Global Mapper SDK is a standard Windows DLL usable from pretty much any development environment (just like the Windows kernel and system DLLs) and not an OCX component.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com