Recent content by Paszt

  1. Paszt

    Show users ip on textbox1

    The code below will find the local IP address and not the public IP if you are behind a router. Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load TextBox1.Text = GetIpAddressLinq.ToString() 'TextBox1.Text = GetIpAddress.ToString() End Sub 'Use linq Public...
  2. Paszt

    batch copy or move files at scheduled time intervals

    What parts are you having trouble with? Can you move a single file? Can you instantiate a Timer and handle its elapsed event?
  3. Paszt

    hotkey with highlighted text

    I suggest staying away from the registry, but there's no reason to use stream reader/writers as the .NET framework has a very nice Settings feature built-in. Here's a short article about the Settings: Easily Save and Retrieve Application and User Settings in VB.NET or C# Apps | DonDraper.com
  4. Paszt

    Update a database from the internet ?

    One possible solution is to use a WebService. Here's a CodeProject article regarding a WCF Service: Create, Host (Self Hosting, IIS hosting) and Consume WCF Service - CodeProject
  5. Paszt

    Question Error blocking me from entry into my Dataset designer. Can't find it.

    I find sometimes deleting the auto-generated code files and forcing Visual Studio to regenerate the code sometimes fixes the problem.
  6. Paszt

    message box to show up?

    Create a form. Toss a DateTimePicker control on it and name that LastMenstrualDatePicker. Toss a Label control on the form and name it DueDateLabel. Double click the DateTimePicker, the IDE will create an event handler for the ValueChanged event. Change the code to this: Private Sub...
  7. Paszt

    What is Wrong With This VERY Simple Code Please?

    First, we don't know the value of TextBox1.Text; but that doesn't really matter here. You are comparing a string (the Text property of a TextBox is of type String) to an integer (the value 1 or 2, without quotes surrounding it), they will never be equal. I always suggest turning Option Strict...
  8. Paszt

    Question Is it possible to show the contents of the OpenFileDialog in an existing form?

    The Windows® API Code Pack for Microsoft® .NET Framework contains an Explorer Browser Control. I'm not sure if there's something newer though.
  9. Paszt

    Touchscreen System button help.

    Please post your ini extract, that should give some clue as to what you are doing.
  10. Paszt

    Touchscreen System button help.

    I believe the reason JohnH suggested XML is not because it would result in a smaller file but because it will be much simpler to work with (once you learn how, of course). There are features built in to the .NET Framework that make dealing with XML very simple. There are no built in features...
  11. Paszt

    Question Curious behavior when drawing.

    http://www.bobpowell.net is a great site for learning GDI+. The problem you are having is explained and solved in this article: The accursed PictureBox From the documentation of the Control.CreateGraphics Method (System.Windows.Forms) :
  12. Paszt

    DataAdapter/DataSet/CommandBuilder and how to Add/Delete/Insert Table Records?

    Check out his signature. Here's one of the pertinent links: Data Walkthroughs
  13. Paszt

    WebBrowser1.Navigate using IE9

    Registry Class (Microsoft.Win32)
  14. Paszt

    Question How do I detect a broken link / missing image in a PictureBox?

    This may be a good place to start: PictureBox.LoadCompleted Event (System.Windows.Forms) Did you mean PictureBox1.ImageLocation?
  15. Paszt

    Question Draw a connection !!!

    I downloaded the project and here is the only really relevant code: #Region "IMPORTS" Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Drawing Imports System.Text Imports System.Windows.Forms Imports System.Drawing.Drawing2D Imports...
Top Bottom