• 0

hello neowins.. VB question...


Question

Hey guys is it possible to make something a vb form

i mean have a button where u can browse for the .exe (application)

and save that as the default path

and make that program execute and display within that form

yes i mean inside the form

thanks

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

More than likely, yes. This is just off the top of my head, but you would probably have to subclass the launched application's main window and do all the painting from your vb forms's wndproc handler.

There maybe an easier way, but I don't know of it.

Link to comment
Share on other sites

  • 0
Hey guys is it possible to make something a vb form

i mean have a button where u can browse for the .exe (application)

and save that as the default path

and make that program execute and display within that form

yes i mean inside the form

thanks

sounds like vnc.

Link to comment
Share on other sites

  • 0

hehe... sorry. In win32 programming, there is a thing called a windows procedure(wndproc) that handles messages for a program. If you've programmed win32 in C, you're probably familiar with it. It is a switch statement that processes messages for an app. To subclass something, you need to define a new wndproc to handle certain messages, like WM_PAINT messages. Subclassing in VB is a pain, but it is very powerful.

http://www.geocities.com/SiliconValley/Lab...632/atch12.html

http://www.vbweb.co.uk/show/49/

http://www.vbthunder.com/default.asp

http://www.developerfusion.com/show/336/

http://www.mvps.org/vbvision/grouped_demos...htm#Subclassing

Link to comment
Share on other sites

  • 0

hahah nah to be honest i did a heaps tiny VB i duno any of that

duno how tro declare variables

using the control structures too well

so i doubt i understand the sub classes

im really stupid at programming i keep reading but the terms just dont kick in

the concept of it is stupid

so yea..

but i need to know it bad.. coz of my major assignment

ahh once ive finished this one

i aint touching VB for the rest of my life man

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.