Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 3.22 seconds.

  1. Thread: Platform x64

    by .paul.
    Replies
    6
    Views
    173

    VS 2010 Re: Platform x64

    Is your PC Windows version 64 bit?
  2. Replies
    12
    Views
    184

    VS 2017 Re: Creating new project

    Every version I mentioned are all more or less this...

    179891
  3. Replies
    12
    Views
    184

    VS 2017 Re: Creating new project

    I just checked every version of VB i have installed. Other than VB2005 and VB2010 and VB2013 which i don't have installed, all versions offered you to choose the solution and location - on creation....
  4. Replies
    12
    Views
    184

    VS 2017 Re: Creating new project

    Youre attempting to create a winforms app? If yes, try clicking Windows Desktop in the list on the left. See what options that gives you
  5. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    Yeah that was my point...
  6. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    I have a paid for version of VS2010, which i never use. On my win10 workstation, i have VS2008, VS2012, VS2015, VS2017, VS2019, all of which run ok. But VS2008 loads fastest
  7. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    I always found VS2010 to be sluggish in performance. You could download the free version of VS2019
  8. Replies
    4
    Views
    157

    Re: Images as checkboxes

    I've updated that code including mouse entering, but i don't think you're looking for a single control. More like 5 of them working as a star rating control. I've written one in java, and also, this...
  9. Replies
    4
    Views
    157

    Re: Images as checkboxes

    Id use an extended checkbox...


    Public Class CheckBoxEx
    Inherits CheckBox

    Dim redBlob As Bitmap
    Dim blueBlob As Bitmap

    Protected Overrides Sub OnCreateControl()
  10. Re: I'm typing in a textbox linked to a database and it stops everything from working

    In what way is it linked? We need to see the code you're using for that...
  11. Replies
    10
    Views
    239

    Re: Bizarre string concatenation issue

    It works as expected for me...


    Function BaseString() As String
    Dim myHTML As String = ""
    myHTML = myHTML & "<iframe" & vbCr
    myHTML = myHTML & " width=" & WBrowser.Width.ToString...
  12. Replies
    10
    Views
    239

    Re: Bizarre string concatenation issue

    You're not closing your iframe element... " ></iframe>"
  13. Re: How do I Automatically update a text box, using a NumbericUpDown Box

    I saw what you did. The other thread was a slightly different question
  14. Replies
    20
    Views
    368

    VS 2010 Re: A Generic Error Occurred In GDI+

    I told you. Something in your application has opened your file and it remains open, thereby locking the file..
  15. Replies
    20
    Views
    368

    VS 2010 Re: A Generic Error Occurred In GDI+

    You don't need the line numbers. Your code (in your VS editor) does have indentation
  16. Replies
    20
    Views
    368

    VS 2010 Re: A Generic Error Occurred In GDI+

    Try loading the image with PictureBox.Load

    https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.picturebox.load?view=net-5.0
  17. Replies
    20
    Views
    368

    VS 2010 Re: A Generic Error Occurred In GDI+

    Look at the difference between your code and everyone elses code in this thread. Indented code is what you see here and also in your VS editor
  18. Replies
    20
    Views
    368

    VS 2010 Re: A Generic Error Occurred In GDI+

    Private Sub PictureBox3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox3.Click
    If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
    BitmapO = New...
  19. Replies
    20
    Views
    368

    VS 2010 Re: A Generic Error Occurred In GDI+

    You need to edit your code and format it with proper indentation. You can do that by selecting your code block in the editor, and clicking the # button above the text editor.
    With regards to your...
  20. Re: How do I Automatically update a text box, using a NumbericUpDown Box

    You can combine that with what i told you in your other thread, about multiple event handlers
  21. Re: How do you work out the difference between two dates.

    Use a multiple event handler, like this...


    Private Sub doTotals(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged, _
    ...
  22. Re: How do you work out the difference between two dates.

    If you look at DepartureDate and ArrivalDate, what do you expect the subtraction to be? also, where you calculate your totals is a good place for your code to be, whether that is a Button.Click or a...
  23. Re: How do you work out the difference between two dates.

    Does this give you the result that you're expecting?


    TotalPrice.Text = ("" & 9 * People.Value * Math.Abs((DepartureDate.Value - ArrivalDate.Value).Days))
  24. Re: How do you work out the difference between two dates.

    So what is the problem? You need to explain. It's not working doesn't give anyone a clue
  25. Re: How do you work out the difference between two dates.

    Your attachment is not working. What type of control is People?
  26. Re: How do you work out the difference between two dates.

    Are DepartureDate and ArrivalDate DateTimePickers?


    TotalPrice.Text = ("" & 9 * People.Value * (DepartureDate.Value - ArrivalDate.Value).Days)
  27. Re: How do you work out the difference between two dates.

    TotalPrice.Text = ("" & 9 * People.Value * (DepartureDate - ArrivalDate).Days)
  28. Replies
    14
    Views
    403

    VS 2019 Re: Byte Array to String Problem

    It's poetry :D We know that the question was to either learn to do something illegal for oneself, or to sell to others to do something illegal...

    Edit: Bad spaghetti poetry :D
  29. Replies
    14
    Views
    403

    VS 2019 Re: Byte Array to String Problem

    You cant crack a database that way...
  30. Re: [RESOLVED] Prevent Main Form from Continuing

    These are interesting topics. I've never really ventured into that aspect of the VB architecture, having never really needing to in my apps. I'm up to my neck in Javascript, JQuery, and Ajax at the...
  31. Re: Prevent Main Form from Continuing

    It still exists in VB2019... It's been a while since VB6 upgrades were a serious issue
  32. Re: Prevent Main Form from Continuing

    If it wasn't considered worthy, it just wouldn't be part of the language...
  33. Re: Prevent Main Form from Continuing

    You obviously analysed the code and the program flow better than i did. If i'd read it more thoroughly, maybe i wouldn't have recommended End
  34. Re: Prevent Main Form from Continuing

    To terminate immediately without going any further...


    End
  35. Replies
    6
    Views
    367

    Re: [RESOLVED] VB.Net For Loop Takes So Long

    @jm - Couldn't that be done quicker with LINQ (Zip)?
  36. Replies
    5
    Views
    188

    VS 2019 Re: Restarting Image Loop

    You saw how i moved the MainmenuSlideshowTimer init code? Inside the Tick event is not the place to put that...
  37. Replies
    5
    Views
    188

    VS 2019 Re: Restarting Image Loop

    Try this....


    Dim Images(9) As Bitmap
    Dim Pos As Integer = 0
    Private Sub MainMenu_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    'Inserting images from resources
    Images(0)...
  38. Matching Local (javascript client) timezone name to a TimeZoneInfo DropDownList item

    First, I should mention that this is about interacting between client side javascript and server side asp.net.
    I'm able to find some information about the client timezone in javascript. I have an...
  39. Thread: Control Array?

    by .paul.
    Replies
    93
    Views
    2,643

    Re: Control Array?

    https://en.wikipedia.org/wiki/XML
  40. Replies
    5
    Views
    274

    Re: Using an Array for a combobox datasource

    As you're adding to it, use a List(of String)...


    Public Class Form1

    Dim datasource As New List(Of String)(New String() {"one", "two", "three", "four", "five"})

    Private Sub...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width