Re: CommonDialog returns wrong context



"nb0512" <nb0512@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DE8769A4-7FBF-460A-A5BF-A6388CEF4135@xxxxxxxxxxxxxxxx

Should I really take all Adodc controls out and replace them with code ?
Is
that my only option ? Couldn't I also set the connectionstrings to some
dummy
database at design time using an absolute path (to satisfy the Adodc's
while
initializing) and then in the form load procedure, change the
connectionstring to the App.Path ? This would mean 'only' one copy of the
database (could even be empty).

Thanks
nb0512

Have you tried loading those controls at runtime? That should eliminate any
"out of order" events that may be firing.... that should give you full
control over a forms or variables properties before the control even exists.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm


.



Relevant Pages

  • Re: The Zen nature of a Delphi database application
    ... results directly to UI controls, then write data from the controls to ... then write data back from the modified objects to the DB for storage? ... I load the whole contents of the database into my business objects, ... I have dreamt of the perfect OO database application framework ...
    (comp.lang.pascal.delphi.misc)
  • Re: multiple subform images per main search form record
    ... Document ScreenDumps of: ... get a marker and label all controls with the Name property so when you ... save your word doc in the directory with the database you are documenting ... Show Images from Continuous Subform ...
    (microsoft.public.access.formscoding)
  • Re: When to (not) use the ADO data control
    ... > over is that you should use unbound controls in favor of bound controls. ... simple database program for your own use, ... > programmer that wrote the application used a mixture of DAO data controls ... I am by no means an advocate of bound controls. ...
    (microsoft.public.vb.general.discussion)
  • Re: Setting a referenced object to null
    ... "The controls" is an extremely non-specific description. ... of data that is fetched from a database. ... the variable reference something else. ... need to filter what is seen and what is not seen. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ADD method syntax for collections
    ... any database record was capable of displaying three photographs; ... I get "Photo4" highlighted in a line "If ... or is it a query? ... On that form, I guess you have controls that are, or are supposed to be, bound to the Photo fields. ...
    (microsoft.public.access.formscoding)