They do the same thing, such that Dim is actually optional. But, the variable visibility changes depending on wether it is declared with Public, Private, Friend, Protected, Protected Friend, Static, Shared, ... Look up 'Dim' in the Visual Studio help for the explanation as to what all of these do, with examples. RageInTheMachine9532
Although, on the other hand, you could produce a Class that acts like a Character factory. Anyway, glad I could lend a hand. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
I don't think you can do it through Word. You may have to learn the printer's language (e.g. PJL) to talk to the printer and query the status of a document printed. Or ask your printer's manufacturer for SDKs to make your job easier. Edbert P. Sydney, Australia.
I'm not sure what you meant by password control. If you want VB6 to display **** in a textbox, just set the PasswordChar property to '*'. Edbert P. Sydney, Australia.
You can set the RowFilter of the Datagrid in the ComboBox SelectedIndexChanged event. Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged 'ur selected order no m_orderNo = Integer.Parse(CType(ComboBox1.SelectedValue, String) CType(DataGrid1.DataSource, DataTable).DefaultView.RowFilter = "orderno = " + m_orderNo.ToString() End Sub