K Feening
asked on
VB.NET Notepad
HI Experts
I have an SQL that writes to a ComboBox can you explain how to write it to the combobox and open notepad and write to it so customer doesn't need to cut and paste from combo to notepad
I have an SQL that writes to a ComboBox can you explain how to write it to the combobox and open notepad and write to it so customer doesn't need to cut and paste from combo to notepad
Dim Sql As String = String.Format("SELECT TABLE_NAME FROM INFORMATION_SCHEMA.tables ORDER BY TABLE_NAME")
Dim reader As Data.IDataReader = DataConnector.GetReader(Sql, Nothing)
Do While reader.Read = True
mTablesComboBox.Items.Add(reader.GetString(0))
Loop
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked it out from the Process.start
used sendkeys.send with vbLF to fix
used sendkeys.send with vbLF to fix
ASKER
the SendMessage(notepad.MainWi
I tried SendKeys.SendWait(texrttos
there may be up to 50 fields in the table I want them on separate lines how do you populate the notepad or is the only way is to create a text file and open it. I would rather send direct but if a temp file is the only way how do you open It in the notpad with out using file open
Open in new window