Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #2248

Re: VisualBasic 2 VO - reading ESRI SHP files

From "Willie Moore" <williem@wmconsulting.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: VisualBasic 2 VO - reading ESRI SHP files
Date 2011-10-11 13:10 -0500
Organization Aioe.org NNTP Server
Message-ID <j720qp$t5k$1@speranza.aioe.org> (permalink)
References <j715vr$r6i$1@news.siol.net> <j71cl4$5p9$1@speranza.aioe.org> <j71vte$5ja$1@news.siol.net>

Show all headers | View raw


Andrej,

Have you used the debugger to try to look into the OCX? If you really get 
stuck you can always write some vb code to interface the OCX into your code. 
Working with OCXs is much easier in Vulcan.net or VB.net.

Regards,
Willie

"andrej Terkaj"  wrote in message news:j71vte$5ja$1@news.siol.net...

Thank you Willie  !

Doesn't work ! I made definitions as you proposed oSHP AS OBJECT

oRecord := oSHP[ThisRecord]     // VO Error operator used on non-array (I
agree)

Best regards

Andrej Terkaj




"Willie Moore" <williem@wmconsulting.com> wrote in message
news:j71cl4$5p9$1@speranza.aioe.org...
> Andrej,
>
> Have you tried something like the code below. You might have to type 
> oRecord and oFld as object until you are sure what you are getting.
>
> Regards,
> Willie
>
> FOR ThisRecord := 1 to oSHP:RecordCount
>    oRecord := oSHP[ThisRecord]
>    FOR ThisData := 1 to (oRecord:ShapeFields):Count
>        oFld := oRecord:ShareFields[ThisData]:value
>   NEXT
> NEXT
>
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-11 12:32 +0200
  Re: VisualBasic 2 VO - reading ESRI SHP files Carlos Rocha <carlos.rochaDELETETHIS@doossier.com> - 2011-10-11 13:03 +0100
    Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-11 19:29 +0200
      Re: VisualBasic 2 VO - reading ESRI SHP files Carlos Rocha <carlos.rochaDELETETHIS@doossier.com> - 2011-10-11 19:35 +0100
        Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-11 21:44 +0200
          Re: VisualBasic 2 VO - reading ESRI SHP files Carlos Rocha <carlos.rochaDELETETHIS@doossier.com> - 2011-10-12 00:50 +0100
            Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-12 08:52 +0200
            Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-14 15:52 +0200
      Re: VisualBasic 2 VO - reading ESRI SHP files Carlos Rocha <carlos.rochaDELETETHIS@doossier.com> - 2011-10-11 19:37 +0100
  Re: VisualBasic 2 VO - reading ESRI SHP files "Willie Moore" <williem@wmconsulting.com> - 2011-10-11 07:26 -0500
    Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-11 19:54 +0200
      Re: VisualBasic 2 VO - reading ESRI SHP files "Willie Moore" <williem@wmconsulting.com> - 2011-10-11 13:10 -0500
        Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-11 20:30 +0200
          Re: VisualBasic 2 VO - reading ESRI SHP files dlzc <dlzc1@cox.net> - 2011-10-11 14:53 -0700
            Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-12 08:42 +0200
              Re: VisualBasic 2 VO - reading ESRI SHP files dlzc <dlzc1@cox.net> - 2011-10-12 06:46 -0700
          Re: VisualBasic 2 VO - reading ESRI SHP files "Willie Moore" <williem@wmconsulting.com> - 2011-10-11 17:20 -0500
            Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-12 08:48 +0200
  Re: VisualBasic 2 VO - reading ESRI SHP files Johan Nel <johan.nel@xsinet.co.za> - 2011-10-11 23:55 -0700
    Re: VisualBasic 2 VO - reading ESRI SHP files "andrej Terkaj" <aterkaj@task.si> - 2011-10-12 13:11 +0200

csiph-web