Dear list members (especially Justin Ward):
I am interested in event driven GX programming using VB in a GX too. I was
able to create a VB program to change formats of gridded data sets from our
in-house binary format to a GRD grid but it worked by having my VB
application get the file, read it in, write the data as a GXF file then
starting an external application (the one that GeoSoft has in their
examples, actually) that converts GXF to a GRD. I finally decided to do
this as a more integrated GX without VB but would have liked to make the VB
version work better.
I would like to be able to do two things,
1) Get an array of floats (maybe x,y,z values, for example) from a data
base, pass them to my application, process them, then write them back to a
data base. It seems to me that the only way to do this is to create a temp
file outside of GeoSoft with my x, y, z values, have my app read them in,
then write them out externally after processing, then import this data set
to my data base (yuchhh).
2) Get mouse clicks from a profile plot and have my application capture them
to get x,y points then use them to process other data. (i.e., to select
profile limits, or flag bad data points from the profile plot)
I would like to know if anyone has had experiences with using VB too and
would appreciate any suggestions on how to do either of these things.
Thanks
Jerry Hensel
Chevron Petroleum Technology Company
Gravity and Magnetics Specialist
Geophysical Services Team
[EMAIL PROTECTED]
(281) 596-3132
> -----Original Message-----
> From: Ward, Justin [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, July 19, 2000 6:41 AM
> To: [EMAIL PROTECTED]
> Subject: [gxnet]: Event driven GX programming.
>
> Dear List,
>
> Event driven GX programming. Can it be done?
> I have hundreds of maps in a directory which I have to open
> and close manually. I have tried to port an existing VB program, which
> scrolls through jpeg images (using a spinner control), to a VB Class
> module
> which manipulates Geosoft maps, without success. The problem lies in
> getting the information from a control on a form, to the class module
> where
> the GX functions must be called from.
>
> Maybe the question I should ask is "Does anyone but me GX
> develop in Visual Basic?". I can program in C, so if anyone has a C
> solution, I will try to implement that instead. I will have to get a C
> compiler though.
>
> Lastly, how can I pause a GX for a user definable number of
> minutes? From memory the "Delay" function in MS C/C++ could be used.
> Hmmm.....maybe I should install a C compiler.........
>
> Regards,
>
> Justin Ward
> _______________________________________________________
> More mailing list info http://www.geosoft.com/support/listserv/index.html
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html