HomeActive Query Builder.Net BackgroundWorker

.Net BackgroundWorker


Can i create and use a QueryBuilder within a seprate thread?

For example:
Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork

Dim qBuilder As New ActiveDatabaseSoftware.ActiveQueryBuilder.QueryBuilder
---- fails here

End Sub





Darrell | email
January 30 2008, 03:33 PM
Dear Darrel,

Thank you for your question. We will investigate the problem and let you know about results as soon as possible.

Sergey.
Sergey Smagin | email
8 hours, 31 mins since original post
Dear Darrel,

The latest beta version (1.4.9.74) introduces the new constructor that allows you to create the query builder object without any visual controls, hereby avoiding all the controls related problems.

You may create the instance using the following constructor:
QueryBuilder(bool nonVisualMode)

For example:
Dim qBuilder As New
ActiveDatabaseSoftware.ActiveQueryBuilder.QueryBuilder(true)

Hope this helps you to cope with your task.

Sincerely
Sergey Smagin
Sergey Smagin | email
15 hours, 46 mins since original post
Works perfect...Thanks!
Darrell | email
4 days, 15 hours since original post
This topic is closed