Search results for query: *

  1. F

    Filtering a DataGridView

    You really know your ****! Private Sub LastNameTextBox_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles LastNameTextBox.TextChanged PatientBindingSource.Filter = "LastName Like '" & LastNameTextBox.Text & "*'" End Sub
  2. F

    Filtering a DataGridView

    Visual Basic.Net: I have a DataGridView in Last Name sequence. Is it possible to when a user types the first letter of a last name that it displays all rows with last names that start with that letter. When he types the second letter, it displays all records whose last name starts with those 2...
  3. F

    Convert a VB.Net app to a web app?

    This Visual Basic 2005 app is basically a wizard that starts out with a background image. Then the user selects a number of images to overlay it producing a final image that is saved for later retrieval, and can be printed or emailed. The 'other' images are .png files with transparent...
  4. F

    Convert a VB.Net app to a web app?

    I wrote a Windows Forms application in Visual Basic 2005. What would be involved in converting it to run as an internet web application?
  5. F

    How can I have my program link to MyApp.msi on my website?

    Visual Basic 2005 Express: My app checks the website to see if a new version is available. How can I have it link to MyApp.msi on the website to download and install it if a new version is available?
  6. F

    How to add a column to an SQL database

    OK, I deleted the Patient.mdf in Server Explorer. Then I opened a New Connection and browsed to the .mdf file under the output directory (\bin\debug). Now I can see the new column in Server Explorer. But, how do I get it to appear in Data Sources of Solution Explorer?
  7. F

    I added a column to a table, but, I can't see it.

    OK, I deleted the Patient.mdf in Server Explorer. Then I opened a New Connection and browsed to the .mdf file under the output directory (\bin\debug). Now I can see the new column in Server Explorer. Now, how do I get it to appear in Data Sources of Solution Explorer.
  8. F

    I added a column to a table, but, I can't see it.

    I ran the code below that adds a column to an SQL table. I refreshed Data Sources, but, the new column does not appear. I refreshed Server Explorer and the new column does not appear. I tried running the code again and I got: "Column names in each table must be unique. Column name 'CaseNbr' in...
  9. F

    How to add a column to an SQL database

    Here is how MSDN tells you to do it (I just added these statements to my Form Load routine): Dim columns As DataColumnCollection = Me.PatientDataSet.Patient.Columns If columns.Contains("CaseNbr") Then MsgBox("'CaseNbr' column already exists" ) Else...
  10. F

    How to add a column to an SQL database

    I added the following statement to my program: Me.PatientDataSet.Patient.Columns.Add("CaseNbr", Type.GetType("System.String")) But it did not do anything. I added the statement as the first command in the Form Load routine: Public Class Patient Public Sub Patient_Load(ByVal sender As...
  11. F

    How to add a column to an SQL database

    I have a number of users running this application in remote locations. Of course, they cannot lose their existing data. It was requested that I include a column called "CaseNbr" in the table. The file that I need to add the column to is an SQL table that is being updated via a DataGridView. I...
  12. F

    How to add a column to an SQL database

    Visual Basic 2005 I used DataSet Designer to add a column called "Case#" to an existing SQL table. The table is used by a DataGridView in a VB 2005 program. I got it working on my development computer in debug mode. Then, when I installed it, I got an exception "Case# is an invalid column"...
  13. F

    Using PrintDialog(), can I specify "Preview"?

    This will give me a print preview: Dim dlg As New PrintPreviewDialog() dlg.Document = PrintDocument1 dlg.ShowDialog() This will let me select a printer: Dim dlg As New PrintDialog() dlg.Document = PrintDocument1 If dlg.ShowDialog = DialogResult.OK Then PrintDocument1.Print() End If...
  14. F

    SQL Server not running.

    SQLExpress. What is that MSSQLServer?
  15. F

    SQL Server not running.

    I have been debugging my application for 6 months. Now, when I try to run it I am getting "under the default settings SQL Server does not allow remote connections." My computer is not on a network. I recently went from Visual Studio 2005 Express Edition to the Professional edition. I was still...
  16. F

    Drag and Drop image

    jo0ls at xtremevbtalk.com wrote a program that does it all! 1) Transparent backround on dragged objects. 2) See object as it is being dragged. 3) Rotate object. 4) Nudge object. 5) Delete object. 6) Drag multiple objects. 7) Drag multiple copies of an object. 8) Redrag objects. 9) Drag objects...
  17. F

    Drag and Drop image

    Visual Basic 2005 Express Edition: I need to drag and drop an image from one PictureBox to another PictureBox where: 1) the image is visible while being dragged 2) the image can be dropped at any location within the target PictureBox 3) the image can be rotated within the target PictureBox
Back
Top