Vb Can You Run Another Program Inside the one you are making. - vb.net

Hello All I was Wondering if it was possible to run another program in a window inside you're vb program? So here is what I was thinking I want to make a window with like three buttons at the top. Stop, >, >> The too arrows would be the speed. Then I want another window below this to run a program called NCO view which is a Cnc simulator. Is This even Possible? If so can I know where to start and where to find information on this.

Your question is a bit ambiguous and can't figure out what you're expecting really but YES this is totally possible in vb.net.
If you've got several process simultaneously, you can launch them on different threads. (Parallel programming)
And if you need several forms you can proceed by using Modal form: follow link

Related

How to swap two wxWindows in two different notebooks?

Our app is build on wxWidgets and designed to work on two displays. Each display has one wxAuiNotebook which in turn have one wxGLCanvas that we're rendering to.
I'd like a hotkey to be able to switch the two wxGLCanvas windows, so the user experience is that the canvas that was on Monitor #2 is now rendering to #1 and vise versa. (There are a bunch of toolbars and widgets surrounding the canvases, but I don't want them to switch displays.)
wxGLCanvas is a subclass of wxWindow, so I'm guessing it can happen at the level. What functions calls should I be looking at to accomplish this?
Sorry about the vagueness of my question. It aligns with my level of understanding of wxWidgets.
You could indeed use Reparent(), but for two wxGLCanvases it would make much more sense to simply use pointers to them in your code and just flip them when you want to switch them because it's just their contents that matters and not the windows themselves.

Is it possible to embed a terminal window within a cocoa xib/nib?

I looked at another questions (which i could only find one) which asked something similar more than few years ago, but none of the links mentioned seem to be relevant or work anymore.
Mac/Cocoa: Embed a terminal window in my app
I am wondering if it's possible without going to extremes to embed a terminal window displaying a tool such as top (an interactive command-line tool) in a tty output embedded within the gui of a cocoa app (os x). I tried some things with NSTask, but clearly that isn't the way to go.
I'm really looking for a starting place to go off... or if this type of thing is even within reason. thanks
You can use NMSSH lib and example they gave here. Basically they made interactive terminal view controller, so you can use it for your needs.

Totally independent forms in tabcontrol

I'm designing an application on VB.net and I'm newbie as well.
I thought about the general architecture of the application and came up with the following idea.
the application is made of different modules
the user can run different modules in the same time
each module will run his main form in a different tab in tabcontrol
each module has his own modal forms, mode-less windows, messages, ... etc.
Before going through much development details, I started first with trying this design. Though, I couldn't first embed dynamically a form in tab during run time and even after some workarounds, I couldn't make the modules run perfectly in parallel. For example when I have a modal window displayed in a module, the whole application freezes while I expect only the related tab to freeze and be able to switch to the others to do some work.
Does anyone know how to make the tab contents completely separate and not have one freezes the other?
Thank you.
There's no need to have separate modules/forms to run more than one task simultaneously. The issue you are having with the UI freezing is you are running all operations on the primary thread. You need to multithread the application. Do a quick search on stackoverflow for multithreading vb.net. If you can't find anything let me know and I'll do the search and provide links.

Create a basic application that will act as a tutorial for how to use another app

I have a very particular application I have developed. I want to create a second app, ideally in visual basic, that provides a tutorial/ guide on how to use my original app step by step.
I imagine PowerPoint slide style images embedded in a simple window with forward & back controls.
I have experience in java, C & VB. Ideally the app needs be be kept simple and written in VB. Can anyone recommend a starting point, or if any tutorials for such exist? I've had a search and nothing stands out.
Thanks.
So, if this essentially just has slides and annotations and forward/backward buttons, why try to write an app for this? (I get that it might be fun to try.) You could simply do screen captures and annotate them and use PowerPoint and create an executable out of that to run.
You can even, I understand, create hyperlinks and such to allow the slide show to progress more like the real app does. I'm no "power point ranger" so I'd point you at the Office docs to learn about that, but I've seen some pretty good tutorials using this method.

Visual Basic 2010 Fast Writing

I am working on developing a simple console game in Visual Basic in which the "level" is drawn out after being read from a file.
So far, I'm using
Console.ReadKey()
to check for the arrow keys and to therefore move the position of the piece on the console.
The problem is that the only way I know to do this is to redraw the "level" every time that the piece moves - which is relatively slow.
Is there any better way to achieve this?
Three solutions:
Redraw only the changing screen chars.
Skip Console functions and use WINAPI WriteConsole (a little example to use WINAPI console functions).
Use Forms and draw the text into a window.