ok, to all the guys that read my last post on accessing a control out side of the form class, the solution is below, change it to what eva u want but the demo situation is as follows, 2 classes. one class is the form1 class the other class has one sub, the form also has a textbox, to get access to the textbox from the sub:

+public sub form1
+public class SMTP
-public sub SMTP

in the sub dim's just add this line(edit it first)

dim anynamehere as formnamewithcontol

now when you need it use the following, when you press the dot, u should have a fun menu appear, thenu can use .textbox1.text or what eva , hope this helps ppl

anynamehere.


LOL-==========================================
i almost forgot that i have a question to ask, GOMEN....
i have to save some settings but i dont think i want an ini file, i want an XML file like ppl have been talking about, i have seen then in some programs and they looks good and probibly easy to use, so how do i save stuf to an XML file and how do i get stuff back from aqn XML file tnx guys

TrAcER