Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: Finding SalesLogix Servers on network
Lloy Sanders
Posts: 69
 
Finding SalesLogix Servers on networkYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Mar 08 1:55 PM
I am using SalesLogix version 7.0.1. This used to work, but I'm not sure if it ever ran with this version of SalesLogix. Is there another way to do this now?

Private Sub SLXLogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Form will timout and produce error after 10 minutes
Dim tmrTimeOut As New System.Timers.Timer(3600000)
tmrTimeOut.Start()
' Define Event for Timer elapsing
AddHandler tmrTimeOut.Elapsed, AddressOf OnTick

Me.CenterToScreen()
Dim szSql As String
' Use no_alias connection string to find all SLXServers
Dim conSLX As New OleDbConnection("Provider=SLXOLEDB.1;Initial Catalog=NO_ALIAS;Extended Properties=PORT=1706;LOG=ON")

Try
' slx_GetServerList is a OLEDB stored procedure supported by the SalesLogix OLEDB Provider
strSql = "slx_GetServerList"
conSLX.Open()
Dim cmdSLXServers As New OleDbCommand(strSql, conSLX)
Dim rdrSLXServers As OleDbDataReader
rdrSLXServers = cmdSLXServers.ExecuteReader(CommandBehavior.Default)
' Add each server to Server combobox
While rdrSLXServers.Read()
cboServers.Items.Add(rdrSLXServers.GetValue(0))
End While
rdrSLXServers.Close()
cmdSLXServers.Dispose()
conSLX.Close()
Catch excSLX As Exception
ErrMsg = excSLX.Message
SendErr()
End Try
End Sub

Now, it gives me only the name of the old server that is still on the network being used as a file server. Thanks
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 9:33:17 PM