I have been looking @ http://www.vbforums.com/showthread.p...d-Entry-Method
and i am thinking that that is something that will resolve my issue i just dont know how
basicly i have 2 forms
a main form
and then another settings form which i keep values for data
then i have a secondary thread sent from the main form to another class called Connection
from Connection i need to grab the values from the settings form.. or some global strings
as an example i have constructed a simple class
inside of my form1Code:Public Class GlobalSettings Public Shared Nick As String = SettingsForm.Nick_ End Class
which grabs a global variable Nick_ inside of SettingsForm
this is not the only data i want to pass..its a bunch of strings i want to pass to connection but for now
i would clearly like to just get passed sending that one
i noticed someone in the link above talking about lambda functions to the alternate thread from start...if anyone can go a bit further into it i would love to know
but for now form1.GlobalSettings.Nick returns blank
SettingsForm.Nick_ returns blank
SettingsForm.NickName.Text returns Blank
from the seperate thread
thanks




Reply With Quote
