Page 1 of 1 1
Topic Options
#207392 - 2013-06-04 02:02 PM PictureBox() issue on Windows 8
Sam_B Offline
Getting the hang of it

Registered: 2005-10-25
Posts: 68
Loc: Bern, Switzerland
Just tried to run some of my scripts on Windows 8 and encountered an issue with PictureBox()...

If I run the following code on a Windows 7 box, the nice Kixtart.org logo is shown as expected. If I run the same code on a Windows 8 box, I only get an empty form...

Any hint what I'm doing wrong?
 Code:
Break On
$System = CreateObject("KiXtart.System")
Dim $Form1
$Form1 = $System.Form()
$Form1.Text = "PictureFormIssueTest"
Dim $PictureBox1
$PictureBox1 = $Form1.Controls.PictureBox()
$PictureBox1.Size = 187, 136
$PictureBox1.Location = 33, 12
$PictureBox1.TabStop = 0
$PictureBox1.Image = $System.Bitmap(@SCRIPTDIR + "\logo_kixtartorg.gif")

$Form1.Show
While $Form1.Visible
	$=Execute($System.Application.DoEvents)
Loop

Top
#207395 - 2013-06-05 08:06 AM Re: PictureBox() issue on Windows 8 [Re: Sam_B]
Sam_B Offline
Getting the hang of it

Registered: 2005-10-25
Posts: 68
Loc: Bern, Switzerland
stupid old man I am... Forgot to register kixforms dll on windows 8 box :-( Sorry for my "spam"
Top
#207400 - 2013-06-07 10:58 PM Re: PictureBox() issue on Windows 8 [Re: Sam_B]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
nice one.

happens to the best though ;\)
_________________________



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 739 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.19 seconds in which 0.166 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