Search found 587 matches

by lazi
Thu Dec 06, 2012 11:58 am
Forum: General programming
Topic: Program Quits when going offline...
Replies: 17
Views: 13890

Re: Program Quits when going offline...

@evil

Do you use dial-up connection?
Connected to a router I tried to netshutdown and it closed mui-owb and waiting the network to shutdown. Meanwhile the hollywood script is gone unresponsible even to ctrl-c.

This seems to be a bad issue, so it would be nice to solve it somehow.
by lazi
Thu Dec 06, 2012 11:40 am
Forum: General programming
Topic: OpenURL() function under Windows
Replies: 9
Views: 6663

Re: OpenURL() function under Windows

I have problems on xp pro sp2 too with urlopen. I made this workaround and it works even on win7. ("localhost" is th url) x=GetVersion() If x.platform="Win32" Run (ReplaceStr(ReadRegistryKey(#HKEY_CLASSES_ROOT,"http/shell/open/command/"),"%1","localhost")) Else OpenURL("localhost") EndIf
by lazi
Wed Dec 05, 2012 10:19 pm
Forum: General programming
Topic: sqlite topic request
Replies: 1
Views: 2382

sqlite topic request

Andreas!

I think sqlite is quite heavy stuff which may worth an own topic inside "Hollywood".
There we could discuss our Hollywood related sqlite experiences, problems.

Thanks!
by lazi
Wed Dec 05, 2012 10:15 pm
Forum: General plugin questions
Topic: Sqlite custom collating sequence
Replies: 4
Views: 5638

Sqlite custom collating sequence

Hi! Could somebody with sqlite knlowledge explain me the following snippet from the tests-sqlite3.hws? I'd like to able to sort international strings with correct order. Currently I got the order like this: A B C [...] Á the correct order would be: A Á B [...] ;---------------------------- ;-- Test ...
by lazi
Tue Nov 13, 2012 8:05 pm
Forum: General programming
Topic: Client-Spoofing with Downloadfile
Replies: 5
Views: 5397

Re: Client-Spoofing with Downloadfile

5.2?

Am I missed 5.1 somehow?
by lazi
Tue Oct 23, 2012 11:33 am
Forum: Hollywood bugs
Topic: val() with floating point < 1
Replies: 2
Views: 3285

Re: val() with floating point < 1

Here is a workaround:

Code: Select all

factory_val=Val
function Val(s)
    if LeftStr(s,1)="."
        s="0"..s
    elseif LeftStr(s,2)="-."
        s="-0"..s
    endif
    Return(factory_val(s))
endfunction      
by lazi
Tue Oct 23, 2012 10:54 am
Forum: Hollywood bugs
Topic: val() with floating point < 1
Replies: 2
Views: 3285

val() with floating point < 1

Hi! Just found that Val() doesn't give back correct result if the floaing point number starting with the decimal point. Val(".1415") => 0 Val("0.1415") => 0.1415 Val("0"..".1415") => 0.1415 All calculators and programming languages that I know means the number is greater that 0 and smaller then 1 if...
by lazi
Fri Oct 05, 2012 8:34 pm
Forum: General programming
Topic: Convert Variable to UTF8, how?
Replies: 2
Views: 3377

Re: Convert Variable to UTF8, how?

I am using these functions to convert from and to UTF8. utf8= { $C381, $C3A1, $C389, $C3A9, $C38D, $C3AD, $C393, $C3B3, $C396, $C3B6, $C590, $C591, $C39A, $C3BA, $C39C, $C3BC, $C5B0, $C5B1, 0 } latin= { $C1, $E1, $C9, $E9, $CD, $ED, $D3, $F3, $D6, $F6, $D5, $F5, $DA, $FA, $DC, $FC, $DB, $FB, 0 } Fun...
by lazi
Sun Sep 09, 2012 12:10 am
Forum: General programming
Topic: OpenResourceMonitor() wont work?
Replies: 7
Views: 6786

Re: OpenResourceMonitor() wont work?

It is working here with OS4.1u5, Hollywood 5.
by lazi
Tue Jun 19, 2012 11:24 pm
Forum: Announcements
Topic: Hollywood Designer 4.0 out now!
Replies: 14
Views: 29119

Re: Hollywood Designer 4.0 out now!

The feature set of Designer 4 is very neat!

Hang on Andreas, i will order it just after the holiday! ;)