KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Suggestion

 
Post new topic   Reply to topic    KiXforms Forum Index -> Advanced Scripting
View previous topic :: View next topic  
Author Message
It Took My Prozac
KiXforms Supporter
KiXforms Supporter


Joined: 15 Feb 2005
Posts: 65

PostPosted: Sat Sep 06, 2008 12:21 am    Post subject: Suggestion Reply with quote

Hi Shawn et. al.,

I know that KiXforms development has calmed down somewhat, but I have a suggestion that I believe would make KiXforms much more powerfull; if you are interested. What I suggest is an HTMLBox that embeds IE in a form. I fully realise that you can instantiate IE through COM, but you cannot embed it and it is clearly visible that it is IE.

I've found a web page that has example code that shows how to create a COM object that embeds IE, so I figure it may be relatively simple to adapt it for KiXforms. Check out http://www.codeproject.com/KB/COM/cwebpage.aspx.

Anyway, it's just a suggestion.

Cheers,

Richard
Back to top
View user's profile Send private message
It Took My Prozac
KiXforms Supporter
KiXforms Supporter


Joined: 15 Feb 2005
Posts: 65

PostPosted: Sat Sep 06, 2008 7:42 am    Post subject: Reply with quote

Actually I believe it may be simpler than the previous example I gave. If I understand correctly, KiXforms is written in C++ with MFC and WTL. In that case...

http://support.microsoft.com/kb/315617
http://msdn.microsoft.com/en-us/library/aa752044.aspx
http://msdn.microsoft.com/en-us/library/aa752046.aspx

show how it is done. Apologies if I'm telling you stuff you already know or are not interested in.
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Mon Sep 08, 2008 12:07 pm    Post subject: Reply with quote

Oh boy. You opened-up one of my favorite topics. Because I really like (liked) this idea. I did "experiment" with embedding the IE ActiveX control inside Kixforms Classic. And even posted a few "dev builds" on it. The problem was (at the time), was that it introduced a dependency on a DLL called ATL.DLL ... and found that for those that didn't have it, the control crashed. I hate dependencies so I pulled the build.

One of the earliest kixforms builds (was pre-kixforms) called "Kixpop" used this same idea ... the activex control embedded in window ... here is the link for kixpop :

http://www3.sympatico.ca/stassie/kixpop.zip

You basically just run the exe from the command line, and pass a URL and maybe some options ... it was an early prototype of something that could be "shelled" from Kixtart:

kixpop "http://www.kixtart.org"

Anyway, got lots to add but running out of time here ...

-SHawn
Back to top
View user's profile Send private message
It Took My Prozac
KiXforms Supporter
KiXforms Supporter


Joined: 15 Feb 2005
Posts: 65

PostPosted: Tue Sep 09, 2008 7:30 am    Post subject: Reply with quote

Yeah, I too think it is a pretty attractive idea. Especially when you consider that many applications being developed today are web based or hybrids (ie Winforms with web based content).

It's a real pity about the ATL dependency; I wonder if that is still necessary? In any case, I for one wouldn't mind too much as KiXforms has to registered anyway, so why not install the dependency then as well?

Anyway, like I said, it's just a suggestion. If you ever have spare time (who does?) and want to revisit KiXforms development, then I would certainly vote for it.

Cheers,

Richard
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Advanced Scripting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group