menu enable

K

krishna murthy.

Hi,
I have one doubt.
my doubt is : I used MDI and Child Relationships.
when i click one menu item one child window will open in
that i open another window in this window i have to enable
the another menu item which is there in the parent window.

another doubt:

I would like to open pre defined Microsoft word templet
when i click a button in the form.


Regards,
krishna murthy.
 
C

Cor Ligthert

Krisha,

You can have a look at the bottom of this page for your menus
http://msdn.microsoft.com/library/d...-us/vbcon/html/vbtskcreatingmdichildforms.asp

I am not sure, however can you not use for your template just something as
\\\
Dim p As New Process
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = "C:\filename.doc"
p.UseShellExecute = True
p.Start
///
When not this sample beneath is for regedit, however I show it you for the
use of the processstartinfo.
\\\Registry
Dim p As New Process
Dim pi As ProcessStartInfo = New ProcessStartInfo
pi.FileName = "regedit"
pi.Arguments = "/S C:\yourRegFile.reg"
p.StartInfo = pi
p.Start()
///

I did a while nothing with templates, so it is not directly in my mind how
that was opened.

I hope this helps something?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top