I am using SQL Express to connecto to SQL server.
When some error when connecting, ODBC driver put message but this message was under main app window.
It is difficult to show him when it occur, must several times click to "desktop" button on right bottom corner on desktop.
Is some way to set this message to always on top ?
I know, this is "foreign" messages, then can be problem do it.
I can hide my main app windows and after it call ODBC driver:
oConnection := SQLConnection():new()
oConnection:driverConnect(nil, @cConnectString
but if is some way, will be better.
how redirect output from ODBC driver to top ?
Re: how redirect output from ODBC driver to top ?
I think those messages will go to the top if you make sure that your main window is your SetAppWindow().
The eXpress train is coming - and it has more cars.
Re: how redirect output from ODBC driver to top ?
Yes, this was problem, I must modify setting actually window by setappwindow
But better for me was hide program window when connecting to SQL server and show after connect. when error, user see this ODBC Driver notify , for example when incorrect password etc.
thanks
But better for me was hide program window when connecting to SQL server and show after connect. when error, user see this ODBC Driver notify , for example when incorrect password etc.
thanks
Re: how redirect output from ODBC driver to top ?
Solved !
I play with setappwindow, store it in variable, then return again correct window handle.
Now works everything file, also in SQL Express is parameter for windowhandle, this works good.
Thanks-
I play with setappwindow, store it in variable, then return again correct window handle.
Now works everything file, also in SQL Express is parameter for windowhandle, this works good.
Thanks-