net remoting connection help needed

All other topics about Ventuz here.

net remoting connection help needed

Postby ChrisFlye » 14 Aug 2013, 17:34

Hi all,

I've built myself a nice GUI using c# that is working great with Ventuz Designer. However, when I try it in Presenter I can't connect successfully.

Here is the code i'm using to connect to designer. Obviously I know I don't need to load the scene as the presenter does that, but what do I have to change below to simply connect? Help greatly appreciated!

ventuz = new VentuzRemoteHelper(this.tb_IPbox.Text);
string machineName = ventuz.MachineName;
Version version = ventuz.Version;
string[] existingScenes = ventuz.GetExistingScenes();
string currentScene;
string[] loadedScenes = ventuz.GetLoadedScenes(out currentScene);
ventuz.UnloadAll();
scene = ventuz.LoadScene("/" + this.textBox_Scene.Text, LoadBehavior.ReuseOrLoad);
scene.Activate();

Chris
ChrisFlye
 
Posts: 5
Joined: 22 Mar 2012, 11:23

Re: net remoting connection help needed

Postby ChrisFlye » 15 Aug 2013, 09:49

Ahhh, couldn't see the wood for the trees! Got it.
ChrisFlye
 
Posts: 5
Joined: 22 Mar 2012, 11:23

Re: net remoting connection help needed

Postby Karol » 15 Aug 2013, 12:43

What was the problem?
User avatar
Karol
 
Posts: 434
Joined: 10 Jan 2012, 12:07


Return to General Discussion