#-- NAME: KJV_Bible_SDBM.pl (or compiled to .exe)
#--
#-- AUTHOR:Eric Hansen U.S.A
#--
#-- DATE: August 29, 2017
#--
#-- LANGUAGE: Win32 Perl - ActiveState ActivePerl v5.6.1, binary build 638
How does one go about displaying an MS-Access SQL Result Set
In a Win32-GUI Listview (datasheet) so that the data stays refreshed?
I imagine one would have to use OLE for this? Some sort of Persistant
Connection to the SQL result set? Or actually wouldn't it have to be
A MS-ACCESS VIEW?
I am
Can some folks recommend to me a PERL compiler vendor/version that they
are
Getting to work fine on Windows XP and backward compatible
With Windows 2000 professional/98SE?
Please supply binary build version of Win32-GUI and
ActiveState/ActivePerl tested with this compiler.
I am seeing problems w
#-- This is a code snipet from a Dual Listbox control dialog which
allows
#-- the user to reorder the columns of a ListView "on-the-fly". The
order
#-- of columns saved is saved in a MS-ACCESS table for each unique
username
#-- so that the user will retain those column order settings for future
#
Here is a great idea sent to me personally from a List Member that I
wanted to post for everyone to see.
QUOTE:
One thought that you may want to consider is caching x number of values
at a time. When the item changes, check the cache FIRST(in a hash based
on the index number as the key),
Here is how I populate my textfields on my maintenance screen when a
user clicks a ListView item.
The index to the record in the database is stored as the last column in
each ListView row so I can
Use it to quickly/easily lookup the database row to fetch the memo
fields in their entirety.
su
The options I have thought of to correct my application are:
1) load the database data memo fields to an associative array at
the same time I load the data to the ListView.
And then populate the maintenance screen's multiline textfields (to hold
the memo fields) in the ListView
ItemC
Can the maximum characters stored in a Listview column be increased to
value above 1023 bytes?
I need to store memo field data from an MS-Access database with more
than 1023 characters
In the field. I have done a print statement in my ODBC fetch statement
to ensure all the memo
Data is returne
This may help. GetChild(NODE) gets the first child.
SO you may want to do a loop and perform GetNetSibling
Until NODE = 0;-Eric
GetChild(NODE)
GetNextSibling(NODE)
GetPrevSibling(NODE)
Here is some code I use to test for a parent node.
-
I have been working with Perl Win32 GUI / MS-ACCESS for over 5 years
And have never come across this issue before until this week. The
reason?
I have never had the situation where my Win32-GUI / Win32-ODBC front-end
To the MS-ACESS database was being used while an MS-ACCESS forms-based
User
dding Data 1
AP export error 1
Bill Manager 18
Can't Load 36
Charges in Wrong Table 43
Data Entry 3
Data Error 1
Eric Hansen
Dallas, Texas USA
Glenn, I have reported issue to IndigoStar today.
I am using Windows XP Professional. Some people on my network
Are using Windows 2000 professional. I have 1 GIG RAM on my PC.
Eric
Below is a sample program to compile and run to witness problems
As stated in root issue.
###
# ActiveState's ActivePerl(Perl Core) 5.6.1.638
# Aldo Calpini's Perl Win32::GUI Module Extension 1.02
# IndigoStar's Perl2exe Com
Then ran fine for everyone on the network.
Eric Hansen
Dallas, TX USA
In order to get this Scrolling Window demo to work,
I had to use the Change method To set most properties of the MDI Frame
and Child Window. The properties just would not activate during normal
widget creation. Is this a bug, or to be expected?
I almost gave up before I thought to try the Change m
Can someone provide me with the
TK to Win32-GUI, Win32-GUI to TKutilities?
Thanks,
Eric
hEdit(
# -name => "RE_MyText",
# -top=> 205,
# -left => 100,
# -height => 96,
# -width => 300,
# -font => $EditFont,
# -style => WS_VISIBLE | WS_VSCROLL | ES_MULTILINE |
ES_WANTRETURN,
#);
# $RE_MyText->SetBkgndColor([196,192,153]);
Eric Hansen
I have attached a screen shot of the application TreeView
Eric Hansen <[EMAIL PROTECTED]> wrote: Hello,
I am using the Win32-GUI1.02 release. I have found some added
functionality over .665
that has me very happy. Namely, a Change Event for the DateTime widget.
But I still
the RichEdit control.
Your thoughts please.
Eric Hansen
Does anyone currently have a paying job opportunity for Win32::GUI development?
WHOOPS, I keep leaving off the top line "use Win32;" when I cut and
paste my code
Into Outlook.If $PWD is not set, image wont be found. Sorry.
-Eric
-Original Message-----
From: Eric Hansen [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 3:40 PM
To: '
$Status->Update();
} else {
$Status->Text("pnode=$parent, node=$node, text=$text");
$Status->Update();
}
}
##
sub Exit_Click {
##
return -1; #-- stops event handler
}
##
sub Window_Terminate {
##
return -1; #-- stops event handler
}
-Original Message-
From: Eric Hansen [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 3:18 PM
To: 'perl-win32-gui-users@lists.sourceforge.net'
Subject: TreeView Image not showing
PERL GUI USERS, I can't get image to display in TreeView. HELP
PLEASE!!
-Eric
PERL GUI USERS, I can't get image to display in TreeView. HELP
PLEASE!!
-Eric
use Win32::GUI;
$M = new Win32::GUI::Menu(
"&File" => "File",
" > E&xit" => "Exit"
);
$W = new Win32::GUI::Window (
-title=> "TreeView Example",
-menu => $M,
-name
The below is what I settled on and it works great.
use Win32::GuiTest qw(SendKeys);
sub Copy_Click {
Win32::GuiTest::SendKeys("^C");
}
-Original Message-----
From: Eric Hansen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 30, 2004 1:49 PM
To: 'perl-
There definitely seems to be a problem getting selected
Text out of a rich edit control. We need syntax of below nature
(Or something simple) for an application to be built with a menu option
Edit->Copy for getting the selected text into the Windows Clipboard.
$Clip = Win32::Clipboard;
I have a program that has dialogbox with 2 listboxes, 4, comboboxes,
And 6 buttons. When the user hits a search button (a button used to
Do a sql lookup and bring data back) I want the dialogbox to be
Disabled so that the user can't mouse click the widgets on the
Dialogbox. I use the disable
This does not work. But I did discover that a DialogBox closes on ESC,
So if you want to prevent this, make it a Window and you don't need
An accelerator object.
-Original Message-
From: Eric Hansen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 4:46 PM
To: 'perl
Win32::GUI::MessageBox($W,$question,"Some Title",36,);
#-- 6=yes, 7=no
if ($ans == 7) {return;}
return -1; #-- stops event handler
}
-Original Message-
From: Eric Hansen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 4:26 PM
To: 'perl-win32-gui-users@li
My Win32::GUI program terminates when the ESC key is pressed.
I only want my users to be able to mouse click File->Exit, or
The X in the upper right corner of the window/dialogbox to end
The program. How can the ESC key be trapped? Thanks, -Eric
Exit_Click {
return -1;
}
Window_Terminate {
I discovered the problem I was having with ListBoxes.
I was trying to have the click event do too much.
I was attempting to populate 4 comboboxes. This
Was to much for the event handler. So what I do
Now is display the last selected items from the 4
Comboboxes in 4 textfields (readonly) instead.
FYI, just an example to share I have been working on
This week. I have been asking for help, so I thought
I would share some code that is a little off the
("Larry") wall. -Eric
#-- Dual ListView Control Example Program
#-- by Eric C. Hansen, [EMAIL PROTECTED]
#-- Items stay sorted as the move b
Do not use pos => [$x,$y], but instead use
top => $x,
left => $y,
For your example would be...
$cs = $main->AddCombobox(
-name => "cs",
-top => 80,
-left => $yval,
-tabstop => 1,
-width => 170,
GREAT!Works like a charm Glenn!
Thanks,
Eric
-Original Message-
From: Glenn W Munroe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 8:06 AM
To: 'Eric Hansen'; perl-win32-gui-users@lists.sourceforge.net
Subject: RE: [perl-win32-gui-users] ListView (C
Can a ListView be setup to stay sorted like a ListBox?
Like LVS_SORTASCENDING or LVS_SORTDESCENDING
And how to declare this?
Is there an easier way like property-sort => 1
Thanks,
Eric
I have a ListBox that I load with 66 items maximum.
When I try and do a $LB->RemoveItem($item) with 58 items or more
In the ListBox, the program crashes. It just ends without any error
displayed.
58 is the magic number. If I have 57 items or less, no problem removing
an item.
I wonde
Hello,
I have tried using several different cursor files to see if it was my
desired cursor file that was
In error, but none of the cursors work with below syntax:
$Cursor = new Win32::GUI::Cursor("C:\\Bibles\\rainbow.cur");
$W->ChangeCursor($Cursor); #-- $W is my window
What could
docs at
http://jeb.ca/perl/win32-gui-docs/index.pl/win32-gui-imagelist
And don't see that syntax documented
Thanks,
Eric
-Original Message-
From: Jez White [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 4:28 AM
To: Frazier, Joe Jr; Eric Hansen;
perl-win32
n32::GUI::Bitmap("C:\\Bibles\\icon.ico",1);#
1 specifies icon type
$W->SetIcon($Icon,0); # 0 = small icon, 1 = big icon
$W->Show();
$W->BringWindowToTop();
Thanks,
Eric
-Original Message-
From: Eric Hansen [mai
nt: Wednesday, July 28, 2004 3:58 PM
To: 'Eric Hansen'; perl-win32-gui-users@lists.sourceforge.net
Subject: RE: [perl-win32-gui-users] How to change window/dialogbox icon
my $icon = new Win32::GUI::Icon("Icon.ico");
my $ni = $Window->AddNotifyIcon(
-icon => $icon,
-
Can someone show me an example how to
Change the camel (perl) icon to a user-defined icon?
In both Windows and DialogBoxes?
I tried using Windows/DialogBox option -icon => $myicon,
Where $myicon is either defined as.
$Icon = new Win32::GUI::Icon("C:\\Bibles\\bible.bmp");
Brad, May a crazed camel jockey hump your ??. It is easier to thread
the eye of a needle than it is to discuss threads with regards to Perl
Gui. My suggestion to you is to stick to UNIX and AWK programming where
you can kick
Off multiple processes running concurrently.
From: "Brad Smith" <[E
Here is an email filter I wrote using Win32::OLE, Win32::GuiTest, and
Win32::Clipboard
Does not use any form of CDO to access the email's internet header.
http://www.echo-computing.com/gpage.html
Eric
Echo Computing
#- -- This program inspects the internet header of all Microsoft Outlook
(2002 SP-2) messages in the user-defined "MyAccount"
#-- directory to determine if the email was sent to
[EMAIL PROTECT
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
Can individual columns of a ListView be hidden or reordered/moved as in
Microsoft Excel?
until you move a child
window (to some degree) so that it is partially hidden
from the client area of the main window.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Eric Hansen
Sent: Friday, November 22, 2002 2:23 PM
To: '[EMAIL PROTECTED] Source
Microsoft says you can use WS_OVERLAPPEDWINDOW combined with WS_VSCROLL
and WS_HSCROLL
To create a window that scrolls. I can not get this to work in
Win32::GUI.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Eric Hansen
Sent: Friday, November 22
Can anyone tell me if scrolling capabilities (left/right, up/down) for a
window and dialogbox
Can easily be implemented or not in Win32::GUI perl.
Thanks,
Eric
This e-mail may be privileged and/or confidential, and the sender
I can't seem to get a window or dialogbox to scroll??
I can get scroll bars to APPEAR using -addstyle => WS_VSCROLL |
WS_HSCROLL
But they provide no functionality?
I want to split my application main window in half and display a 2nd
window
in the top half and a 3rd window in the bottom half.
You might want to check your processes running under task manager after
you exit your script that runs choosecolor. I always have to kill the
process manually.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jonathan Southwick
Sent: Tuesday, November 19,
Sub Textfield_Change {
my $text=$Textfield->Text();
$text=uc($text); # uc uppercase function, or lc lowercase
function
$Textfield->Text($text);
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Lindstrom
Sent: Wednesday, November 06,
Has anybody made a new ListView control class where they have added a
dropdown combobox control to each subitem?
I get an error message when I try to dynamically change the position of
a combobox widget. I have successfully used the ChangeItem method for
ListView controls. Is this not a valid method for comboboxes?
Thanks,
Eric
How can you set the datetime control to only allow user to pick a valid
date from graphic calendar.
As it is, the user has a choice to enter their own date or pick a date.
I know the DateTime control
is not a combobox or else I could add property -style => WS_VISIBLE | 3
| WS_VSCROLL | WS_TABSTO
I need a control that will allow my users to key in a number(qty) or
decimal number (money amount) using just their mouse. A calculator
control with numbers 0-9 btns, plus these btns: sign toggle, clear,
clear entry, decimal. Has anyone made one of these with GUI and can
you share the code plea
Additionally, did you know that if you left mouse click the month in the
Title of the date calendar graphic widget that a drop down list of
months appears, and if you left click the year in the Title area a pick
list of years displays? Also, if you right click you are asked if you
want to goto to
# This script demonstrates the DateTime Widget's use
# by Eric Hansen October 2002 - [EMAIL PROTECTED]
use Win32::GUI;
$W = new Win32::GUI::Window(
-name => "Window",
-text => "Demonstrate DateTime Control",
-width => 275,
-height =
Has anyone written a business application for order entry, inventory
management, accounting? I would like to find one written in GUI Perl with
source code so I can make any customizations I may need. Thanks!! Eric
_
Send and
Yes you can devide a status bar. The below code shows how I use half the
status bar for text and half for a progress bar.
$Status = $W->AddStatusBar(
-name => "Status",
-text => " ",
-font => $SFont,
);
$Progress = new Win32::GUI::ProgressBar($Status,
-name => "Progress",
ndef $Excel;
}
##
# Event Subroutines
#--------#
sub Exit_Click {
return -1; # exits the Win32 GUI Event Handler Win32::GUI::Dialog();
}
sub About_Click {
$msg="";
$msg=$msg . "Program: Excel port
Yes, it is the "-exersize => 1" property setting. It casts out all demons
responsible for resizing a column. Just kidding!!
To: perl-win32-gui-users@lists.sourceforge.net
Cc:
Date: Wed, 08 May 2002 05:43:55 GMT
From: [EMAIL PROTECTED]
Subject: [perl-win32-gui-users] listview columns
hi. is
windows and labels!) have a unique -name. Non-unique
-names won't cause crashes, you just can't access any of the redefined
objects. But missing -names can cause perl to quit. If they do that with the
page fault in the vc runtime, I can't tell, but it's worth a shot.
have fun,
Ha
I just installed ActivePerl binary build 631 (Perl 5.6.1) and Win32-GUI binary
build 0.0.558 which is the latest binary build available according to PPM.
When I run my GUI applications they crash with a Perl page fault in module
MSVCRT.DLL at 017f:780027al everytime. My GUI apps worked f
2112 is a palindrome since it reads same both frontwards and
backwards?
What do you guys and gals think? Is it?
Eric Hansen
Dallas, TX USA
--
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von
> Eric Hansen
> Gesendet am: Freitag, 22. Februar 2002 20:05
> An: perl-win32-gui-users@lists.sourceforge.net
> Betreff: [perl-win32-gui-users] ActivePerl 5.6.1 build 631 with
> Win32-GUI 0.0.558
>
> I just un
I just uninstalled my old build of both ActivePerl and Win32-GUI and installed
the latest releases. Rebooted and everything. Win32-GUI is not working right
anymore I ran a small program (with a ListView, see below code) that ran
fine with older releases of Perl and Win32-GUI, but runs lik
Perl-Win32-GUI-Users"
Sent: Thursday, February 07, 2002 8:18 AM
Subject: Re: [perl-win32-gui-users] Win32-API version 0.20
> in the mean time, you can access my site at this address:
> http://www.perl.it/dada/
> the regular, official address still remains:
> http://dada.perl.it
&g
Thanks Peter. Paul's solution does look straightforward and I'm glad you got it
to work. Thanks for the tip Paul!! I am having a problem however installing
an upgrade to Win32-API. I have installed version 0.01 already, and PPM tells
me it is uptodate when I run PPM "verify --upgrade Win32-A
BELOW CODE MIGHT BE USED TO SIMULATE LISTVIEW CHECKBOXES BY TOGGLING DISPLAYED
IMAGES IN AN IMAGE LIST. YOU CAN SUBSTITUTE THE Bitmap filenames TO THOSE YOU
HAVE ON HAND.
use Win32::GUI;
$W = new Win32::GUI::DialogBox(
-name => "Window",
-text => "ListView Checkboxes Workaround",
can change
the image(check state) by toggling the image within the ItemClick Event. Use
the ItemInfo Method to determine which image is displayed and use the
ChangeItem method to display the other image. Hope this isn't too cheesy for
everyone !!!!
Eric Hansen
Dallas, TX USA
$row = shift;
}
Off the subject a little, here is a little trick that is useful to someone
wanting to initially set focus on a text box and have the data highlighted in
replace/overwrite mode.
EXAMPLE
$DetailSearchTXT->SetFocus();
$DetailSearchTXT->Select(0,length($DetailSearchTXT->Text()));
Regards,
Eric Hansen
Dallas, Texas USA
r
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von
> Eric Hansen
> Gesendet am: Montag, 18. Februar 2002 16:17
> An: perl-win32-gui-users@lists.sourceforge.net
> Betreff: [perl-win32-gui-users] Re: Perl-Win32-GUI-Users dig
We should all really push for this feature to be fully implemented. I have
often wanted it myself to put context sensitive help in my applications.
Eric
Dallas, Texas USA
>>> [EMAIL PROTECTED] 02/17/02 02:14PM >>>
Send Perl-Win32-GUI-Users mailing list submissions to
perl-win32-gui-use
s compiled under both compilers on Windows
OS platforms as well as the Novell Network operating system.
Eric Hansen
Dallas, Texas U.S.A.
74 matches
Mail list logo