net remoting connection help needed

All other topics about Ventuz here.

Moderator: Support

Post Reply
ChrisFlye

net remoting connection help needed

Post by 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

Re: net remoting connection help needed

Post by ChrisFlye » 15 Aug 2013, 09:49

Ahhh, couldn't see the wood for the trees! Got it.

User avatar
Karol
Posts: 600
Joined: 10 Jan 2012, 12:07

Re: net remoting connection help needed

Post by Karol » 15 Aug 2013, 12:43

What was the problem?

Post Reply