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 


VDS Browser once again
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
JRoza
Contributor
Contributor


Joined: 17 Aug 2003
Posts: 182
Location: Netherlands

PostPosted: Mon Jan 17, 2005 9:40 pm    Post subject: VDS Browser once again Reply with quote

Hi,

I'm at a loss trying to use the browser dialog element.
Created this line via the Dialog Designer:

DIALOG ADD,BROWSER,BROWSER1,10,9,583,377,http://www.dialogscript.com

At runtime it always end in "invalid parameter to control"

I've looked in the scarse documentation someone provided a while ago in this forum but am unable to find out what's wrong.
Anyone any ideas?

Do you need to include vdsbrowser.dll as external dll with #define statements to enable the browser command and functions?

I just want to show a printfile I just created in html-format to the user in a preview window which has a browser element.

I think this browser element needs a good work-over with good documentation in VDS6.

Hope one of you can get me on the road again.

Rolling Eyes

Jan
Back to top
View user's profile Send private message Visit poster's website
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Mon Jan 17, 2005 10:12 pm    Post subject: Reply with quote

Yes, it is treated like any other external DLL. Add this to the beginning of your code:

external vdsbrw50
#define command, browser
#define function, browser

_________________
Joe Floyd
Back to top
View user's profile Send private message
JRoza
Contributor
Contributor


Joined: 17 Aug 2003
Posts: 182
Location: Netherlands

PostPosted: Mon Jan 17, 2005 10:58 pm    Post subject: Reply with quote

Thanks!

I got it going now, so I'm back on track again.
I was mislead by the fact that the element is a standard element you can use in the Dialog Designer even without specifying the External bit.
The way the element now works is a bit of a hybrid partly built in partly external.
Sure hope this one will be more integrated in VDS6.

Very Happy
Back to top
View user's profile Send private message Visit poster's website
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Tue Jan 18, 2005 12:55 am    Post subject: Reply with quote

I agree. It would be nice to not have to include those calls for the browser element. I remember there was some discussion about how including it in the main VDS .DLL would increase the size quite a bit, though. Maybe there is some other way to make it an external .DLL (that has to be distributed along with your .EXE) but that has functions and commands that are already integrated into VDS. (No need to define them ... if the compiler sees that command, it looks for the VDSBRW50.dll).

Of course, there may be more to it than I realize and for simplicity's sake, treating it like other external .DLLs may make sense.

_________________
Joe Floyd
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Jan 18, 2005 9:07 am    Post subject: Reply with quote

jwfv wrote:
I agree. It would be nice to not have to include those calls for the browser element. I remember there was some discussion about how including it in the main VDS .DLL would increase the size quite a bit, though. Maybe there is some other way to make it an external .DLL (that has to be distributed along with your .EXE) but that has functions and commands that are already integrated into VDS. (No need to define them ... if the compiler sees that command, it looks for the VDSBRW50.dll).

Of course, there may be more to it than I realize and for simplicity's sake, treating it like other external .DLLs may make sense.


The element does already use standard DIALOG and other commands. The separate BROWSER command and function are only needed for things for which there is no equivalent. So yuou only need to #DEFINE those if you need them. The need for the EXTERNAL command is unavoidable, and I don't see it as a problem, as the developer must realize the element is an external one because they have to include it with the application. It's really a fault of the help file, which probably doesn't say that you need to add these lines to use this element.

There will undoubtedly be other external dialog elements for VDS in future.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Jan 19, 2005 7:47 am    Post subject: Reply with quote

i prefer to have the browser element not included with the vds run time file as this way you only need to include it in your distribution file if and when you use and this in turn reduces the run time file/distribution file of my programs

looking forward to...
Quote:
other external dialog elements


serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
JRoza
Contributor
Contributor


Joined: 17 Aug 2003
Posts: 182
Location: Netherlands

PostPosted: Wed Jan 19, 2005 11:57 am    Post subject: Reply with quote

I didn't mean to have vdsbrowser included in the runtime, as I agree that would make the runtime heavier with stuff not everybody uses.
I was mislead by the element being available in the Dialog Designer without it being clear that I needed to include the dll.
I'm perfectly happy now that I got things going.
The only complaint being the lack of proper documentation for this dll.
It could be integrated in the vds helpfile, but better would be to include a separate helpfile with the dll (just like most developers do with their dll).
That way anyone who wants to use the dll has the documentation at hand.

Wink

Jan
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Jan 19, 2005 6:38 pm    Post subject: Reply with quote

Everything that comes with VDS as standard should be in the help file.

I've just been going through the help file and there is quite a lot of stuff that is missing or just plain wrong, including things that haven't been true since VDS 2 was around (remember dialogs being created in one big DIALOG CREATE command?)

Probably the only way to ensure VDS 6 has a decent help file is to do it myself...

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Boo
Valued Contributor
Valued Contributor


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

PostPosted: Wed Jan 19, 2005 6:58 pm    Post subject: Reply with quote

There is no one more qualified. Cool
Back to top
View user's profile Send private message
JRoza
Contributor
Contributor


Joined: 17 Aug 2003
Posts: 182
Location: Netherlands

PostPosted: Wed Jan 19, 2005 7:28 pm    Post subject: Reply with quote

I agree with Boo, no one can be better qualified than mister VDS himself. It seems if he is not minding the shop Commercial Research is cutting too many edges.

I really like what I read about VDS 6 until now......can hardly wait till it's ready.

Jan
Back to top
View user's profile Send private message Visit poster's website
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Wed Jan 19, 2005 11:08 pm    Post subject: Reply with quote

It seems to me a new forum or even just a new thread could be created to post help page suggestions by those who feel a better write-up would be beneficial. That way Mr. VDS can concentrate on coding VDS 6.0, and then grabbing the suggestions and editing them as necessary when that time comes... If this gets me VDS 6.0 sooner, I am all for it! I'd be willing to edit some help pages for everyones benefit.

What do you guys think?

Hooligan

_________________
Hooligan

Why be normal?
Back to top
View user's profile Send private message
JRoza
Contributor
Contributor


Joined: 17 Aug 2003
Posts: 182
Location: Netherlands

PostPosted: Thu Jan 20, 2005 7:06 am    Post subject: Reply with quote

I'm all for it.
Don't mind to do some work for a product I like and use so much.

Very Happy
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


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

PostPosted: Thu Jan 20, 2005 8:52 am    Post subject: Reply with quote

A little while ago, I suggested to make an interactive help file, where people can add comments to the help pages themselves. An example of such a helpfile is the online helpfile of PHP.net (example). This way, people can hand out tips and tricks to other VDS users and correct false statements in the help file... 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
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Jan 20, 2005 9:22 am    Post subject: Reply with quote

Hooligan wrote:
It seems to me a new forum or even just a new thread could be created to post help page suggestions by those who feel a better write-up would be beneficial. That way Mr. VDS can concentrate on coding VDS 6.0, and then grabbing the suggestions and editing them as necessary when that time comes... If this gets me VDS 6.0 sooner, I am all for it! I'd be willing to edit some help pages for everyones benefit.

What do you guys think?

Hooligan


That would be a really great idea. There are a lot of good suggestions made on this forum (for improvements to VDS itself, as well) but if I'm unable to act on them right at the time, it isn't easy to go back and see whether I've forgotten any of them later. So I'm all in favour of having specific topics for suggestions so I can easily find them.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Jan 20, 2005 11:24 am    Post subject: Reply with quote

By the way, has anyone ever seen the VDS Application Wizard?
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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