#171433 - 2006-12-13 02:30 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Benny69]
|
Viggen
Starting to like KiXtart
Registered: 2002-03-22
Posts: 110
|
I'll give this a go... (as soon as I figure out how to place the button text to the right and the ico to the left)
|
Top
|
|
|
|
#171434 - 2006-12-13 02:52 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Benny69]
|
Jochen
KiX Supporter
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
Top
|
|
|
|
#171436 - 2006-12-13 03:42 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesson 01
[Re: Witto]
|
Jochen
KiX Supporter
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
Top
|
|
|
|
#171438 - 2006-12-13 03:57 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Benny69]
|
Viggen
Starting to like KiXtart
Registered: 2002-03-22
Posts: 110
|
Aahhh... *done*
|
Top
|
|
|
|
#171439 - 2006-12-13 04:07 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Viggen]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Jochen, Shawn's example does work fine, the problem you are having is that the Base64 string is created from a .ico file.
Shawn's example with the correct Base64 string:
Break On
$System = CreateObject("Kixforms.System")
$Form = $System.Form()
$Form.Text = "Demo"
$Form.Icon = $System.Icon.FromBase64String(UserIconString())
$Form.Center
$Form.Show
While $Form.Visible
$= Execute($System.Application.DoEvents)
Loop
Exit 0
Function UserIconString()
$UserIconString = "
AAABAAEAEBAQAAAAAAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAwAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD/
/wD/AAAA/wD/AP//AAD///8AAAAAAAAAAAAP/////4iP8A////iAAI/wD///AACQj/AP//8I
8AD/8A///wj/iI/wD///CIAAj/AP//8AAKCP8A///wiAAP/w+IiAAI////DwAACwj///8PCP
8AD////w8I////////AACJmZmZmZkA4ImZmZmZmQAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
EndFunction
|
Top
|
|
|
|
#171443 - 2006-12-13 05:35 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Jochen]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
I have not said yet but I think that Friday morn would be good.
|
Top
|
|
|
|
#171451 - 2006-12-13 07:48 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Benny69]
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11624
Loc: CA
|
Dang... Friday - LOL - I suppose that is the end of the week
Was here at work till 02:30 and might be late again tonight (new database error reported I might have to fix tonight).
Oh well. I'll "borrow" from the others when they post maybe .
|
Top
|
|
|
|
#171454 - 2006-12-13 09:01 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: NTDOC]
|
pearly
Getting the hang of it
Registered: 2004-02-04
Posts: 92
|
Uh oh, I completely forgot about this. Will get on it this week. May just have a partial working on form.
|
Top
|
|
|
|
#171494 - 2006-12-14 11:06 AM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Benny69]
|
Viggen
Starting to like KiXtart
Registered: 2002-03-22
Posts: 110
|
The only Events and Functions you should work on/create is for:- 'Exit MenuItem' to exit the form.
- The minimum size of the form.
- The 'Form.Icon' - Base64 string.
- The 'ImageList' - Base64 string.
Is it allowed to add a function to hinder the possibility of setting the splitter to high or to low? (or is that something for a later lesson?)
/Viggen
|
Top
|
|
|
|
#171497 - 2006-12-14 12:48 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Viggen]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
|
Top
|
|
|
|
#171522 - 2006-12-14 07:11 PM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Benny69]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
You may post your code at 06:00 am GMT Friday Morn.
|
Top
|
|
|
|
#171539 - 2006-12-15 01:46 AM
Re: KiXforms.Net Learning Series - Windows Registry Run Project 01 - Lesso
[Re: Gargoyle]
|
Benny69
Moderator
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
thats fine, i am sure they will trickle in all day, its just a start time.
|
Top
|
|
|
|
Moderator: NTDOC, ShaneEP, Mart, Radimus, Glenn Barnas, Jochen, Allen
|
0 registered
and 115 anonymous users online.
|
|
|