Indigo Rose Software
  #1  
Old 08-08-2005
mfcpro's Avatar
mfcpro mfcpro is offline
Forum Member
 
Join Date: Jun 2005
Posts: 3
Port of TrueUpdate servers

I was trying to find out how can I set the Port of TrueUpdate servers in TU2 client at the loading time.
I'd like to use a Session Variable in the TrueUpdate Server properties dialog.
So, as the Port field, I want use:

for example,

strURL = Registry.GetValue(HKEY_CURRENT_USER,SessionVar.Exp and("Software\\%CompanyName%\\%ProductName%"),"Log OnServer",false);
strPort = Registry.GetValue(HKEY_CURRENT_USER,SessionVar.Exp and("Software\\%CompanyName%\\%ProductName%"),"iFi leSvcPort",false);

SessionVar.Set("%RegServerURL%", strURL);
SessionVar.Set("%RegServerPORT%", strPort);

GotServerFiles = TrueUpdate.GetServerFile(ServerName, false);



I would appreciate your help.
Thanks.
  #2  
Old 08-10-2005
Adam's Avatar
Adam Adam is offline
Indigo Rose Staff Member
 
Join Date: May 2000
Location: Indigo Rose Software
Posts: 2,154
You should be able to accomplish this by going to Project -> True Update Servers and adding custom variables for the address and port fields. Then at the very start of the client script set those variables using SessionVar.Set()

Adam Kapilik
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TrueUpdate 2.0 FAQ Colin TrueUpdate 2.0 0 01-04-2005 01:25 PM
What's New in TrueUpdate 2.0? Colin TrueUpdate 2.0 0 01-04-2005 01:24 PM
Key Features of TrueUpdate 2.0 Colin TrueUpdate 2.0 0 01-04-2005 01:23 PM
TrueUpdate 1.0 Press Release Ted TrueUpdate 1.0 0 08-17-2001 03:34 PM
Press Release: TrueUpdate 1.0 Ted Announcements & News 0 08-13-2001 02:34 PM


All times are GMT -6. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software