diff --git a/Source/Servidor/FactuGES_Server.dpr b/Source/Servidor/FactuGES_Server.dpr
index 9e45929..d64b065 100644
--- a/Source/Servidor/FactuGES_Server.dpr
+++ b/Source/Servidor/FactuGES_Server.dpr
@@ -160,10 +160,10 @@ uses
uBizOscManufacturerServer in '..\Modulos\Tienda web\Model\uBizOscManufacturerServer.pas',
uBizOscOrderServer in '..\Modulos\Tienda web\Model\uBizOscOrderServer.pas',
uBizOscProductServer in '..\Modulos\Tienda web\Model\uBizOscProductServer.pas',
- schTiendaWebClient_Intf in '..\Modulos\Tienda web\Model\schTiendaWebClient_Intf.pas',
- schTiendaWebServer_Intf in '..\Modulos\Tienda web\Model\schTiendaWebServer_Intf.pas',
uTiendaWebUtils in 'Utiles\uTiendaWebUtils.pas',
- uConexionOSC in 'Configuracion\uConexionOSC.pas' {frConexionOSC: TFrame};
+ uConexionOSC in 'Configuracion\uConexionOSC.pas' {frConexionOSC: TFrame},
+ schTiendaWebClient_Intf in '..\Modulos\Tienda web\Model\schTiendaWebClient_Intf.pas',
+ schTiendaWebServer_Intf in '..\Modulos\Tienda web\Model\schTiendaWebServer_Intf.pas';
{$R *.res}
{$R ..\Servicios\RODLFile.res}
diff --git a/Source/Servidor/FactuGES_Server.dproj b/Source/Servidor/FactuGES_Server.dproj
index 1107ba8..591334c 100644
--- a/Source/Servidor/FactuGES_Server.dproj
+++ b/Source/Servidor/FactuGES_Server.dproj
@@ -41,6 +41,13 @@
+
+
+
+
+
+
+
ExpressPrinting System by Developer Express Inc.
FactuGES_Server.dpr
diff --git a/Source/Servidor/Utiles/uTiendaWebUtils.pas b/Source/Servidor/Utiles/uTiendaWebUtils.pas
new file mode 100644
index 0000000..18eaa52
--- /dev/null
+++ b/Source/Servidor/Utiles/uTiendaWebUtils.pas
@@ -0,0 +1,51 @@
+unit uTiendaWebUtils;
+
+interface
+
+//function TratarCadena (Cadena: String): String;
+
+function HayConexionConTienda(const AODBCName : String; var AErrorMsg: String): Boolean;
+
+implementation
+
+uses
+ SysUtils, SqlExpr, Dialogs, ADODB;
+
+function HayConexionConTienda(const AODBCName : String; var AErrorMsg: String): Boolean;
+var
+ ADOConnection1: TADOConnection;
+begin
+ AErrorMsg := '';
+ ADOConnection1 := TADOConnection.Create(nil);
+ try
+ with ADOConnection1 do
+ begin
+ Name := 'ADOConnection1';
+ Provider := 'MSDASQL.1';
+ LoginPrompt := False;
+ ConnectionString := 'Provider=MSDASQL.1;Persist Security Info=False;CHARSET=utf8;' +
+ 'Data Source=' + AODBCName;
+
+ try
+ Connected := True;
+ Result := True;
+ Connected := False;
+ except
+ on E : Exception do
+ begin
+ Result := False;
+ AErrorMsg := e.Message;
+ end;
+ end;
+ end;
+ finally
+ FreeAndNIL(ADOConnection1);
+ end;
+end;
+
+{function TratarCadena (Cadena: String): String;
+begin
+ Result := StringReplace(Cadena, '''', '\\''', []);
+end;}
+
+end.