comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Two questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Two questions [message #33227] Mon, 16 December 2002 07:35 Go to next message
Evgeny Turchin is currently offline  Evgeny Turchin
Messages: 12
Registered: August 2002
Junior Member
Hello, All !
I have 2 questions on IDL.
Question #1.
Is it possible to do the sequence of actions which are done with function
DIALOG_DBCONNECT from
DataMiner API but without using the dialog mode ?
Question #2.
What IDL functions and procedures does one need to write a keyboard handler
which could handle events from
function keys and key combinations ? The keyboard handler is supposed to be
used in program with widget interface under
MS Windows ?

Thanks in advance.
Best regards, Evgeny Turchin.
Re: Two questions [message #33298 is a reply to message #33227] Mon, 16 December 2002 13:49 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Evgeny Turchin wrote:
>
> Question #2.
> What IDL functions and procedures does one need to write a keyboard handler
> which could handle events from
> function keys and key combinations ? The keyboard handler is supposed to be
> used in program with widget interface under
> MS Windows ?

Take a look here:
http://groups.google.com/groups?hl=en&lr=&ie=ISO-885 9-1&q=text+widget+trick&btnG=Google+Search&meta= group%3Dcomp.lang.idl-pvwave
HTH,
Pavel
Re: Two questions [message #33300 is a reply to message #33227] Mon, 16 December 2002 12:24 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Evgeny Turchin" <evgturchin@narod.ru> wrote in message
news:atkrlr$2n31$1@ID-154032.news.dfncis.de...
> Question #1.
> Is it possible to do the sequence of actions which are done with function
> DIALOG_DBCONNECT from
> DataMiner API but without using the dialog mode ?

Definitely. You use the IDLDBDatabase object's Connect method. It takes
CONNECTION or DATASOURCE keywords. Looking back over some old code I see
that I connected to a database with the commands

objDB = OBJ_NEW('IDLdbDatabase')
objDB->Connect, datasource='$Station Data'

Unfortunately I do not recall how I set up a data source called '$Station
Data'. I think this pointed to an .mdb file and that I set up the data
source via the ODBC Control Panel (Windows).

Hope this helps.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Serial I/O
Next Topic: Generating PS files and png files at the same time

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:09 PDT 2025

Total time taken to generate the page: 0.00504 seconds