Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with sockets
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01339151
Message ID:
01339440
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform