Page 1 of 1 1
Topic Options
#198210 - 2010-03-26 05:24 PM Kixforms on Windows 7 - Images not displaying.
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
I've just tested one of my Kixforms programs on Windows 7 and found the Picturebox images do not display.
All I get is a grey box of the right dimensions, but no image.

Anyone help?

Regards,
_________________________
Bill

Top
#198218 - 2010-03-27 10:44 AM Re: Kixforms on Windows 7 - Images not displaying. [Re: BillBarnard]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Hi Bill,

Is it kixforms clasic or .net?
.net works just fine for me on Win7 Pro.

Can you share some code?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#198231 - 2010-03-29 03:21 PM Re: Kixforms on Windows 7 - Images not displaying. [Re: Mart]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
I'm just registering the classic kixforms.dll and using the following code:-

 Code:
; picbox.kix
; display a simple image on a simple form
; No Worky on Win 7

break on

$system = CreateObject("kixtart.system")

$form = $system.form()
$form.text = "Test Image"
$form.top = 0
$form.left = 0
$form.width = 1024
$form.height = 768
$form.backcolor = &408040
$form.borderstyle = 1
; $form.center
$form.show

$form.fontname = "Arial"
$form.fontsize = 10
$form.printxy(10, 10, "Hello")

$image = "DSC01197.JPG"

$picbox = $form.picturebox()
$picbox.top = 84
$picbox.left = 112
$picbox.width = 800
$picbox.height = 600
$picbox.borderstyle = 4

$picbox.image = "@curdir\" + $image

$picbox.show

sleep 5
_________________________
Bill

Top
#198232 - 2010-03-29 03:24 PM Re: Kixforms on Windows 7 - Images not displaying. [Re: BillBarnard]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
As a follow up I am running Kix 4.61 on Windows 7 Enterprise
@dos is 6.1
_________________________
Bill

Top
#198233 - 2010-03-29 03:32 PM Re: Kixforms on Windows 7 - Images not displaying. [Re: BillBarnard]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
Sorted it now thanks.

I had registered on old version of kixforms.dll V2.3.0.45 instead of the latest one V2.46.55.0

Thanks for the interest Mart.

Regards,
_________________________
Bill

Top
#198240 - 2010-03-29 04:38 PM Re: Kixforms on Windows 7 - Images not displaying. [Re: BillBarnard]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Great that you have it working now. I had the same issue once. It's so easy to get the versions mixed up.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 601 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.133 seconds in which 0.099 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org