Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with sockets
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01339151
Message ID:
01339440
Vues:
22
Hi Mark,

>Could you give me an idea how would a VFP window look like in order to process it from .Net?

The VFP form would just be a regular, but invisible form that has a unique caption. In .NET you would use something like this to find the window
		[System.Runtime.InteropServices.DllImport("user32.dll")]
		public static extern IntPtr FindWindow(string strClassName, string strWindowName);

		static void Main(string[] args)
		{
			Console.Write(FindWindow(null,"my unique id, for instance, a guid"));
			Console.ReadKey();
		}
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform