>Does this work?! IMO, it shouldn't work.
>
>Vlad
>
>>Okay, here's the answer we came up with
>>
>>
>>** Return window handle of VB app
>>lnhwnd = is_run([Form1])
>>
>>lclstring = "Did you get this message"
>>
>>
>>sendmsg = RegFN('SendMessage', 'III@C', 'I')
>>
>>retval = CallFN(sendmsg, lnhwnd, 12, 0, @lclstring)
>>
>>We took this farther,
>>
>>The VB guys are writing the window handle of a textbox to an ini file, I'm opening the ini file and pulling that value out. I place that value in the lnhwnd variable and we can write directly to the textbox value.
>>
>>Thanx for your help.
I would have bet the farm that FPW2.6 could not write to a text box on a VB form, but with the SENDMESSAGE() API, as long as you have the windowhandle, you can. The VB app is writting the windowhandle of textbox to a text file, we pick up the number and plug it in. I was impressed that it worked.
Fred Lauckner
You know, it works on my computer. I don't know what your problem is.
.Net aint so bad.