Reply

About SolidEdge autologin Teamcenter????

[ Edited ]

 

Hello everyone!

Hi   Jason!

I want to antologin Teamcenter in SolidEdge,

I try to use the "ValidateLogin" method, but not success.

This programe generated an Exception: "nullreferenceexception"

About "ValidateLogin":

void ValidateLogin(string bstrUserName, string bstrPassword, string bstrGroup, string bstrUserRole, string bstrDBUrl)

I need help!

Thanks!

 

Posted by: fat kids
Post date: 6/3/2009 10:44:45 PM

5 REPLIES

RE: About SolidEdge autologin Teamcenter????

[ Edited ]

This issue is resolved, thanks! Spelling errors.

 

Posted by: fat kids
Post date: 6/4/2009 5:05:46 PM

RE: About SolidEdge autologin Teamcenter????

[ Edited ]

hi all!

Or the problem. Program runs only a login dialog box, do not automatically log on. In this login dialog box, the username,Password, Group, Role different from the procedures set the parameters!

 

Posted by: fat kids
Post date: 6/14/2009 10:11:24 PM

RE: About SolidEdge autologin Teamcenter????

[ Edited ]

 

Hi,

did some search on http://support.ugs.com, Answer and Newsgroup, but find out nothing.

I dont have a TeamCenter installation available, so I cannot check is the function work, but generally

1. Ask help to your Reseller (usually you company have/pay a maintanance)

2. Open a IR to http://support.ugs.com

Regards

Massimo

 

Posted by: Massimo Magris
Post date: 6/17/2009 8:06:22 PM

RE: About SolidEdge autologin Teamcenter????

[ Edited ]

I have sucessfully used ValidateLogin. No dialog appeared. But I probably also set DisplayAlerts to VARIANT_FALSE (FALSE in VB).

 

Posted by: R.D. Holland
Post date: 8/14/2009 10:40:02 AM

RE: About SolidEdge autologin Teamcenter????

[ Edited ]
  objApp.DisplayAlerts = False  Call objTCE.ValidateLogin(bstrUserName, bstrPassword, bstrGroup, bstrUserRole, bstrDBUrl)  objApp.DisplayAlerts = True
working fine, thx a lot <img src='/DesktopModules/ActiveForums/themes/blue//emoticons/smile.gif' align="absmiddle" border="0" />

 

Posted by: inoujk inoujk
Post date: 1/24/2012 1:11:28 AM