Re: Programmers Contest: Fit pictures on a page

2005-06-29 Thread Chung Leong
Isn't that an NP-complete problem or am I crazy?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Web Application Client Module

2005-04-14 Thread Chung Leong

"Henk Verhoeven" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Chung Leong wrote:
> >
> > It's easy. Just create an application that hosts the MSHTML ActiveX
control
> > (IE itself minus the interface). With tools like Delphi or Visual Basic,
> > it's literally a matter of dragging and dropping the control into the
form.
> > Even in Visual C++ it's not that hard.
> >
> Hi Chung ,
>
> Of coure i want to ship my personal browser with my products too :-),
> but will this be immune to those popup blockers?

Third party extensions are not loaded by the MSHTML control, so it wouldn't
be affected by pop-up blockers--or spyware for that matters. WinXP SP2's
popup blocker is controlled by something known as IInternetSecurityManager,
whose behavior you can override by implementing your own.


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Web Application Client Module

2005-04-12 Thread Chung Leong

"Raffi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All,
>
> I hope I'm posting this question to the correct newsgroups. We have a
> web based database application that's accessed using IE. The
> application opens a popup window to run in. With all the popup blockers
> and compromised browsers out there, I'm looking into developing a web
> based custom client side application to access the application with.
> The application will be developed to only reach the web application
> site using the https protocol. It also needs to javascript enabled. It
> will be downloaded from the main web site and used to access the
> database application.
>
> Any suggestions/ideas on how to go about developing the client
> application? What tools tools are out there for such a project.

It's easy. Just create an application that hosts the MSHTML ActiveX control
(IE itself minus the interface). With tools like Delphi or Visual Basic,
it's literally a matter of dragging and dropping the control into the form.
Even in Visual C++ it's not that hard.

Forcing Javascript to be on is somewhat more tricky. There are a couple COM
interfaces that you to implement.

I suggest you google "MSHTML hosting" for more info. The newsgroup
microsoft.public.inetsdk.programming.mshtml_hosting is also an excellent
resource.


-- 
http://mail.python.org/mailman/listinfo/python-list