I use this code :
Shared Sub OpenApplication(ByVal ApplicationPath As String)
Dim p As Process
Dim ShowForm As New Form
Dim FormPanel As New Panel
FormPanel.Dock = DockStyle.Fill
ShowForm.Controls.Add(FormPanel)
p = Process.Start(ApplicationPath)
Threading.Thread.Sleep(500)
SetParent(p.MainWindowHandle, FormPanel.Handle)
ShowForm.Show()
End Sub
but it run the application inside the panel with the border. if i make my own virtual operating system, how do i change the border to none? like windows 7 have their own form border, windows 8 and mac too. but I make my own form border. it's graphic, how can I make the application use my border?
this is some example(i cannot post image) :
Windows 8 Notepad with Their UI Design (it's Form Border for me)
Windows 7 Notepad with Their UI Design
And this is my UI Design :
(sorry I cannot insert more that 2 links, delete space in http:"Space"//)
http: //40-89-67-30-21.weebly.com//files/theme/Notepad.png
how can I Make like this when double click notepad.exe or another .exe file in my virtual os? (this is edited version !) :
http: //40-89-67-30-21.weebly.com//files/theme/Notepad_edited.png
it's run the exe but with my own UI Design. How can I do like that?