> > I want to ask a question about the netmon system written by Mr. Pete Sass:
> > Is the grid in the front end primary network monitoring window connected in some way to the same table in the back end? Or is the connection made automatically by vfp?
> > If it is to be done manually, can somebody please guide me as to how it is done in that particular project? And why is there no code for that in the source codes of the monitoring system? I am trying to understand this project for a long time so a genuine and early reply would be greatly appreciated.
> >
> > Thanks a lot....
>
>
> Afternoon from Canada,
> If you right-click on the main form with the Grid and select
> the Data Environment option you will find the table "Monitor"
> is in the Data Environment for this form.
> If you now right-click on the Grid and review the properties
> in the Data tab you will see the grid is bound to the
> Monitor table via the RecordSource property set to monitor and
> the RecordSoruceType set to 1-Alias.
> Check the ControlSource for the each column in the grid and you
> will find the grid's column bound to the fields in the Monitor
> table.
> So there is no source code to bind the Monitor table to the
> grid object. It is bound via properties in the grid object.
> However interestinly enough look at the Column3 and you will
> see it contains 2 objects called image1 and image2. These
> images are the OK and NO gif images displayed depending upon
> a successful ping or not to an ipaddress.
> Pete "the IceMan", from the Great White North of Canada.
Thanks a lot sir. I am always amazed by your patience and lucidity in explaining the concepts.
I also wanted to know what does RecordSourceType set to 1-Alias mean?
Secondly i wanted to ask whether in the code for the ping program i can use the command
thisformset.monitor.image1.Picture = 'ok.gif'
in order to select an image based on whether a computer can be reached or not.
Thanks....
COMPLETE THREAD
|  | | netmon Posted by coder yogi @ 10/22/2008 8:02:14 PM |
|