Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

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: 640
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