forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need a custom DLL...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Mon Mar 21, 2005 4:16 am    Post subject: Need a custom DLL... Reply with quote

Hi DLL Developers,

I need a custom DLL created for VDS that should not be too difficult for "those in the know." I am willing to purchase the necessary Delphi component which uses Microsoft's Component Object Model (COM) technology to provide access to editing services such as basic HTML formatting, tables, undo and redo, etc. The code of the component also accesses the DHTML document object model (DOM) to add sophisticated, custom editing features to the component.

Applications created with the component should run on systems with IE 5.0 or higher. If interested, then please contact me privately off of the forum.

Thanks!

- Boo
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Mar 21, 2005 3:11 pm    Post subject: Reply with quote

Boo, you want to have a DLL which displays a browser element in which you can edit HTML documents (WYSIWYG)? If so, I'll throw up an example in a few minutes... Wink
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Mon Mar 21, 2005 3:27 pm    Post subject: Reply with quote

Hi Skit3000,

Yeppers, something to that effect. I am familiar with your previous post regarding the creation of an editor using Microsoft's example:

http://msdn.microsoft.com/workshop/author/editing/tutorials/html_editor.asp

However, I need a solution that will run on IE 5.0 or higher (IE 4.0 would be neat, too). I was looking at the following component:

http://www.profgrid.com/dhtmledit.html

I would welcome any input/examples you can provide...

As always; thanks!

Cheers,

- Boo
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Mar 21, 2005 3:35 pm    Post subject: Reply with quote

Hm, I don't know how to create DLLs, so maybe somebody else can pick this one up? Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Mon Mar 21, 2005 4:17 pm    Post subject: Reply with quote

Hi Boo,

I have MS's DHTMLED componant, although I 've never used it. It requires
some COM programming that I am not familiar with. I try very hard to avoid
projects that require MS VC++ to compile because of the size of the
executable. I can however look into it, although I can't make any promises
at this point.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Mon Mar 21, 2005 4:23 pm    Post subject: Reply with quote

Thanks for your feedback guys. Cool

Bill: Did you check out the component listed above? It is supposed to be quite easy to implement... Not for me, though! Wink

Thanks,

- Boo
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Mon Mar 21, 2005 4:27 pm    Post subject: Reply with quote

Hi Boo,

That componant requires either Delphi or C++ Builder, neither of which I
have. Sorry Sad

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Mon Mar 21, 2005 5:35 pm    Post subject: Reply with quote

The component looks rather easy to implement however there are tons of features that would need to be added into the dll, such as adding commands to turn bold on, turn italics on, add tables, delete table cells, insert table cells, add pictures, add html controls, etc. Then adding functions to determine if bold style is on, italics, find caret position in the control etc.

It would take several hours to make a dll like that, including time to figure out how the component achieves certain task and debugging time. The dll itself would be rather easy to make, the issue would be the numerous features that need to be implemented thus taking a lot of time.

In short, it would be extremely expensive to make this extension.
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Mar 21, 2005 5:57 pm    Post subject: Reply with quote

You could just use the browser element and one of the activex elements
out there for turning the msie browser window into a editor.

Not sure of any links anymore, I did have quite a few of them when I
was thinking of doing an html editor, but here's a recent link that might
be of interest or help:

http://www.geocities.com/registrylord/enabledesignmode.html

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Mon Mar 21, 2005 9:46 pm    Post subject: Reply with quote

Thanks for the info. Cool

FYI: I just uploaded a zipped example for you to try (htmledit.zip).

This example (which I just threw together) demonstrates a VDS-based WYSIWYG Html Editor using the VDS Browser and a modified version (i.e. by Timothy Bell: http://www.thirdspin.com ) of Kevin Roth's cross-browser rich text editor (http://www.kevinroth.com). (This uses Java Script.)

Unzip the htmledit.zip file and then load and run the htmledit.dsc file...

Per Timothy Bell: "All demos export in xhtml. To disable this change the last parameter in initRTE to false (the initRTE call can be found in each .htm file)."

Per Kevin Roth: "This code is public domain. Redistribution and use of this code, with or without modification, is permitted."

Any ideas regarding how to send variables into VDS, how to save the output to a file, etc.?

Cheers!

- Boo



htmledit.zip
 Description:
Example: HTML WYSIWYG Editor

Download
 Filename:  htmledit.zip
 Filesize:  235.06 KB
 Downloaded:  1261 Time(s)

Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Mar 22, 2005 7:56 am    Post subject: Reply with quote

Boo wrote:
Any ideas regarding how to send variables into VDS, how to save the output to a file, etc.?


Look at this topic, where something about forms and how to get them to VDS is told... Smile

http://forum.vdsworld.com/viewtopic.php?p=25122#25122

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Tue Mar 22, 2005 3:32 pm    Post subject: Reply with quote

Thanks! Yeppers, I remember that post now.

Cheers,

- Boo
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Tue Mar 22, 2005 4:58 pm    Post subject: Reply with quote

Hi Skit3000,

Because Kevin Roth's code can be used as an online html editor (for example, as an editor for online content systems), would you be able to post some examples of how to save variables to a local file within a directory on a Web site (for example)? Also, it would be neat to be able to have the option to save to one's PC also. (Of course, this would be done without the VDS Browser extension using the html editor as an online app. within a user's own browser.)

Thanks,

- Boo


Last edited by Boo on Tue Mar 22, 2005 7:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Mar 22, 2005 6:31 pm    Post subject: Reply with quote

Search for the code below in the file demo_fullscreen.htm:

Code:
function submitForm() {
   //    dlgCleanUp will clean up any popups generated from RTE.
   dlgCleanUp();
   //make sure hidden and iframe values are in sync before submitting form
   //to sync only 1 rte, use updateRTE(rte)
   //to sync all rtes, use updateRTEs
   updateRTE('rte1');
   //updateRTEs();
   alert("rte1 = " + document.RTEDemo.rte1.value);
   //change the following line to true to submit form
   return false;
}


You can replace the "alert()" function line with a line like the one below to submit the value to the local PC (using the function I wrote [ here ]).

Code:
location.href = "output://temp?"  + document.RTEDemo.rte1.value;


Be sure to give the browser element the "nonavigate" style, so you can capture it when people submit their work... Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Tue Mar 22, 2005 7:29 pm    Post subject: Reply with quote

Thanks Skit. Correction in my last post. I mean't VDS Browser extension instead of vdsobj.dll. (Fixed above.)

Any examples on how to use Kevin Roth's app. and save the editor text to a file on a Web site? That is, without using the VDS Browser extension...

See Kevin's online demo here:

http://www.kevinroth.com/rte/demo.htm

Thanks again,

- Boo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements 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 can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group