Search results for query: *

  • Users: Redmo
  • Order by date
  1. R

    no record found check

    You could try a simple loop, if outparam.value isn't empty then output value, if it is, then output a simple message.. thecommand.ExecuteNonQuery() if outparam.value is not nothing then MsgBox(outparam.Value) TextBox1.Text = Trim(outparam.Value) else msgbox("There was no...
  2. R

    Question Adding to listview from access database

    My problem is very simple, i have 4 columns at the moment, this code is supposed to add the column name, and then the details to a listview. Sounds easy, but what i am getting is that all the row details are being listed in column 1. Can anyone tell me why the rows are not been added to the...
  3. R

    FIleInfo.CopyTo to folder with Accented Character in its name

    This is a quick fix for you, but I'd recommend looking up special ascii characters Dim mychar As String mychar = Convert.ToChar(227) Dim teststring As String = "c:\0TEST\David Bollot Jo" & mychar & "o Morales\newa1.txt" MsgBox(teststring) Hope this helps Redmo
  4. R

    Parent and Child forms

    FrmMain button code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() 'This hides frmMain Dim frm2 As New Form2 'You have to make a new instance of frm2 frm2.Show() 'Show's frm2 End Sub frm2...
  5. R

    SendMessage BN_CLICKED

    Here is a translation of the c# code. Gotten from http://www.dotnetspider.com/Convert/Csharp-To-Vb.aspx Dim hwnd As Integer = 0 Dim hwndChild As IntPtr = IntPtr.Zero 'Get a handle for the Calculator Application main window hwnd=FindWindow(Nothing,"Calculator") If hwnd = 0 Then If...
  6. R

    How do i send data from one form to another?

    what your saying is that you have a method within form1 that chooses the deck, and you want to pass the selection to form2 the easiest way to do it, is on frm2 call the variable your storing the selection in say strMydeck = frm1.strDeckselect just make sure it's not set as private
  7. R

    Query Unload?

    you can set it up where ever you want, either set up a button called exit, or a menu item called exit, so it's fired when when the user clicks it, but in doing that, having a msgbox appear might be a little silly
Back
Top