martes, 3 de diciembre de 2013

8-of-the-best-tiny-linux-distros

http://www.techradar.com/news/software/operating-systems/8-of-the-best-tiny-linux-distros-683552/2#articleContent

lunes, 19 de diciembre de 2011

VS2010 Portable

http://portableturk.com/18881-microsoft-visual-studio-2010-ultimate-v100303191-rtm.html

Visual Studio 2005 PORTABLE

Visual Studio 2005 PORTABLE

http://turys.blogspot.com/2007/08/visual-studio-2005-portable.html

martes, 19 de abril de 2011

Prohibido usar ActiveX por security policy

Encontré este post

Do you have also problems with Icons Blocked on Desktop?
Do you have also problems with drag & drop on desktop that doesn't work?

If yes, solution for me (Windows XP) was:

Open registry with regedit and search the following line:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\

Delete a graphic number ( usually is a square) you'll see it before zone number 0.
It seems this is a bug of Adobe flash player update.

I found the solution at this link:

One or more activex controls could not be displayed because either


Reply if you solved the problem.

Source:
http://www.sevenforums.com/installation-setup/124759-cant-open-gpedit-msc-services-msc-because-activex.html

domingo, 25 de mayo de 2008

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server (SOLUCION)

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to se

Soure: http://ar2.php.net/function.mssql-connect

dkman one two three at hotmail dot com
27-Nov-2007 05:01
Using: Apache 2.2
PHP 5.2.5
SQL 2005 (on a separate pc)

Getting error:
Call to undefined function: mysql_connect()...

Fixed by:
copy ntwdblib.dll from php to apache\bin
copy php_mssql.dll from php\ext to apache\bin

Then I received a timeout error, but at least it tried to connect:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server...

Fixed by:
Following a prior suggestion I downloaded a new version of ntwdblib.dll from Webzila (with one L). You need to enable Javascript and click on downloads, then search.
Put the new ntwdblib.dll (2000.80.194.0) in the apache\bin directory
Restart the apache service

Then I was able to connect!

SQL Notes:
SQL should be in mixed mode (authentication)
I enabled named pipes as others described:
1) On the SQL Server go into "SQL Server configuration Manager" from the start menu.
2) Click SQL Server 2005 Network Configuration
3) Click Protocols for [YOUR SQL]
4) Enable Named Pipes

PHP Notes:
Edit the INI file to uncomment extension=php_mssql.dll
The default for secure is mssql.secure_connection = Off, I left this alone.

lunes, 5 de mayo de 2008

Prevenir Resize y Minimización de Ventana -

La propiedad que permite prohibir la opción de minimizar y modificar el tamaño de la pantalla es FormBorderStyle.
Las opciones posibles están en este post de msdn:
http://msdn.microsoft.com/es-es/library/hw8kes41(VS.80).aspx

viernes, 29 de febrero de 2008

Crystal Reports en WinForms - Exportar a pdf un reporte con C#.NET

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
namespace ClockManager
{
public partial class Reports : Form
{
#region Propiedades

public string filePath = "";
SaveFileDialog saveFileDialog1 = new SaveFileDialog();

#endregion

#region Metodos

public Reports()
{
InitializeComponent();
}
public void SaveFile()
{


if (filePath.Trim() == "")
return;
//
TuNameSpace.RPT_FECHA_HORA_X_ID rpt = new TuNameSpace.RPT_FECHA_HORA_X_ID();
ReportDocument myReport = new ReportDocument();

//Le paso un parametro al reporte [esto es opcional]
rpt.SetParameterValue("@ID", "25832556");

//Defino los parametros de conexion
string UserID = "usuario1";
string Password = "123456";
string ServerName = "MiPc\\SQLEXPRESS";
string DatabaseName = "MIBASE";

//Seteo los parametros de conexion
rpt.SetDatabaseLogon(UserID, Password, ServerName, DatabaseName);


try
{
//Exporto el archivo
rpt.ExportToDisk(ExportFormatType.PortableDocFormat, this.filePath);
MessageBox.Show("OK!");
}
catch (Exception ex)
{
string a = ex.Message;
}

}

#endregion

private void Reports_Load(object sender, EventArgs e)
{
//Seteo algunas propiedades del SaveFileDialog
this.saveFileDialog1.AddExtension = true;
this.saveFileDialog1.AutoUpgradeEnabled = true;
this.saveFileDialog1.CheckFileExists = false;
this.saveFileDialog1.CheckPathExists = false;
this.saveFileDialog1.DefaultExt = ".pdf";

this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk);
saveFileDialog1.ShowDialog();
}

#region Eventos

private void saveFileDialog1_FileOk(object sender, CancelEventArgs e)
{
this.filePath = saveFileDialog1.FileName;
SaveFile();
}


#endregion
}

}