Off topic question regarding Picture example

Off topic question regarding Picture example

Postby classicmydac » Fri 28 Jul 2006 12:44

I am adapting the example to suit my own application. Everything is working well. I can get data from our pocket PC devices back to the main server.

I now need to add this project to my main project(This collects data & images). I am struggling understanding adding froms from one project to another.

In Picture Project what makes the connect form appear first and where is the call to close the form & open main form?

Any help appreciated.

SteveW
classicmydac
 
Posts: 38
Joined: Fri 23 Dec 2005 11:51

Postby Alexey » Fri 28 Jul 2006 13:10

Code: Select all
      connectForm.ShowDialog();

This makes the connect form appear first.
Clicking Connect button (provided correct credentials were specified) closes connect form and returns control to the main form.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Samples

Postby classicmydac » Mon 31 Jul 2006 10:12

Thanks for the help.

As a newbie to VS & C#. I have used your delphi product for a few years. I have found the samples do most of what people require. I presume most newbies do as I do. Find a sample app that does a basic process(eg connect and update MYSQL) then adapt it and add the funcunality to my application.

I have found it difficult and time consuming understanding the Pictures example but can now populate a grid and send the data back to MYSQL server. I think it would be more beneficial if you had some very simple apps that do a specific task then a beginner does not have to work out the other logic within the example.

Hope this helps

Brilliant product keep up the good work.
classicmydac
 
Posts: 38
Joined: Fri 23 Dec 2005 11:51

Postby Alexey » Mon 31 Jul 2006 11:40

Pictures sample is very simple as it is. What did you not understand?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL