FW: [perl-win32-gui-users] Microsoft Access database connection string

2003-05-02 Thread Darrik Mazey
-Original Message- From: Darrik Mazey [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2003 6:09 PM To: Eric Hansen Subject: RE: [perl-win32-gui-users] Microsoft Access database connection string this is a snippet from code that i wrote recently using DBI and DBD::ODBC and mi

Re: [perl-win32-gui-users] Microsoft Access database connection string

2003-05-02 Thread Eric Hansen
You can create a text file with the following information on the fly and output it to a filename and directory of your choice. I give mine a *.dsn extension. Notice DefaultDir= and DBQ= should point to the directory and filename you output the DSN info to. [ODBC] DRIVER=Microsoft Access Dri

[perl-win32-gui-users] Microsoft Access database connection string

2003-05-02 Thread Cruickshanks, Darin
All, Can anyone tell me what needs to be in an on-the-fly (without creating a DSN) connection string to a Microsoft Access database? Cheers, Darin Darin Cruickshanks Labs Manager, Computing Service University of Essex [EMAIL PROTECTED] 01206 8

Re: [perl-win32-gui-users] Messagebox

2003-05-02 Thread Jeremy White
How I use messagebox: return Win32::GUI::MessageBox($window, $text, "Warning", MB_YESNO | MB_ICONWARNING | MB_DEFBUTTON2); You need to have the window object passed in - I think that is why it is returning nothing. Cheers, jez. From: "Steffen Mueller" <[EMAIL PROTECTED]> To:

[perl-win32-gui-users] TreeView nodes

2003-05-02 Thread Cruickshanks, Darin
All, Does anyone have any code snippets or remember from memory?! how to use the ->expand function to expand a node in a treeview? I've read the docs but am getting nowhere. Cheers, Darin Darin Cruickshanks Labs Manager, Computing Service Unive

RE: [perl-win32-gui-users] Messagebox

2003-05-02 Thread Stuart Arnold
Please don't use the "1" and "2"... of the returns. The IDOK, IDCANCEL, etc are actually in Win32::Shell32 I don't know why that is, I'd have thought it was core/fundamental since these are standard IDs. ;-} -stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [perl-win32-gui-users] Messagebox

2003-05-02 Thread Cruickshanks, Darin
I'm unsure which buttons you want to appear on the message box, but making a guess from the text, this would display a message box with Ok and Cancel buttons and $result would contain a 1 if the Ok button was clicked and a 2 if the Cancel button was clicked - $result = Win32::MsgBox("Please fill