469,167 Members | 1,238 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,167 developers. It's quick & easy.

get data from another form

I have a problem with a small program. In this program I have two forms
(FrmMain and FrmFind).

On my computer with Windows in French there is no problem but with other
windows versions (Win XP Pro Spanish) the main form doesn't receive the
datas from FrmFind.

I've tried several systems:

The first one was:

in FrmMain.

FrmFind.show 1
result = FrmMain.Tag

in FrmFind

on click under the OK button

FrmMain.Tag = FindResult
Unload FrmFind

Was working 1/4 on the spanish windows

2nd Method

in FrmMain

while FrmMain.Tag = ""

in FrmFind

FrmMain.Tag = FindResult
Unload FrmFind

Was working 1/2 on the spanish window

3rd method

in FrmMain

Private WithEvents FFind as FrmFind

Set FFind = New FrmFind
Private Sub FFind_EndFind(Result as String)
UnLoad FFind
Set FFind = Nothing
End Sub

In FrmFind

Public Event EndFind(Result as String)

on the OK Button:
RaiseEvent EndFind(FindResult)

This code work 3/4 in the Spabnish windows.

So what's the problem ?? CPU Speed ? Windows Language ? Bug in VB ?

I use VB6 Enterprise SP6.

Jul 17 '05 #1
0 4362

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

32 posts views Thread by Neil Ginsberg | last post: by
2 posts views Thread by Iain Miller | last post: by
1 post views Thread by meganrobertson22 | last post: by
17 posts views Thread by stathis gotsis | last post: by
5 posts views Thread by Chris | last post: by
4 posts views Thread by Cerebral Believer | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.