Alvaro,
The way I do it is to define a class and store the strings and other data elements as static properties. That way other forms and programs can read from this class and get the values that were previously set earlier in the program. For instance...
using System;
public class globals
{
private static string _cUserName;
public static string cUserName
{
get {return _cUserName ;}
set {_cUserName = value;}
}
}
In one form, I can do...
globals.cUserName = "Kevin";
And then in later forms, I can display from this information...
MessageBox.Show("Current user is " + globals.cUserName);
Hope this helps...