dcsimg

Search:

Type: Posts; User: Poppa Mintin

Page 1 of 13 1 2 3 4

Search: Search took 0.60 seconds.

  1. Thread: MsChart

    by Poppa Mintin
    Replies
    1
    Views
    117

    VS 2019 Re: MsChart

    Hi Crog1959,

    We'll need to see your code if we're to help.


    Pop.
  2. Re: Change "Resolved" back to an open thread?

    Took me ages to find the 'Report Post icon'. (Not that I wanted to use it, just never seen it)

    For others with the same problem...
    It's a very small dark triangle containing an exclamation mark !...
  3. Replies
    4
    Views
    161

    Installation choice

    Hi,
    I am trying to install Visual Studio Community on a second laptop.
    I have a problem, the hard drive on the laptop is very small so I have to download everything to a USB drive.
    I've...
  4. Re: NHibernate Delete Using Criteria

    Hi Clarkgriswald,

    I suspect you'll need to post your current code so that suggestions may be made.


    Poppa.
  5. Re: [RESOLVED] Problem with using graphics to measure strings.

    John, I'd originally used a label just to measure the width of strings, the amended text was then added to a textbox, when complete this textbox was then saved as a text file to the hard drive.
    ...
  6. Re: Problem with using graphics to measure strings.

    Thanks Passell,

    That's done the trick with a little bit of a tweak. Thanks also for the explanation of why it didn't work.

    My wife and I like to keep up with the football fixtures so I...
  7. VS 2008 Re: vb net runtime remove what was added to a tablelayoutpanel

    Hi Nddwe,

    The removal of controls from a TLP is straight forward enough:
    Example:

    Me.TableLayoutPanel1.Controls.Remove(TextBox2)
    To put something in it's place is just as simple:
    Example:
    ...
  8. [RESOLVED] Problem with using graphics to measure strings.

    Hi,

    I am trying to extend a column of strings to a pre-set length in order to line up the following data, avoiding the use of 'vbTab'.

    Using the code below, the value of wth (Int32) changes on...
  9. VS 2019 Re: Update ID's in each checked row

    Instead of trying a 'pause', you might try:


    If checked Then checkedRow.Cells(2).Value = recieverID
    Me.Refresh()
    Next

    Poppa.

    Oh... .Paul posted just...
  10. Re: New to forums- Hoping you can help me.

    I've not tried it, but it does answer the question regarding C#, Microsoft say it applies to VB.NET.

    Pop.
  11. Re: New to forums- Hoping you can help me.

    Checkout this page.


    Poppa.
  12. Re: New to forums- Hoping you can help me.

    Also:

    Dim OldDir, NewDir, OldFilePath, NewFilePath As String

    Is the same as your code above, but more convenient.

    Poppa.
  13. Re: New to asynchronous methods, best approach for my application. Advice Appreciated

    Hi Lone Traveller,

    When you open this 'Visual Basic.NET' forum, at the top of the page, under the heading of: Sub-Forums
    You will see the section: VB.net CodeBank.

    If you open that section and...
  14. Replies
    8
    Views
    376

    Re: Disposable fields.

    Smiles...

    Thanks John, that's cool.
  15. VS 2015 Re: Screen Size and Text Scaling Dpi Aware Examples Issues

    Had plenty of examples of that, I usually plump for a TLP set to Dock.Full, and the method ControlsFontSize and pictureboxes, Dock.Full as in post #2.
    In this case I also usually maximise the form...
  16. Replies
    8
    Views
    376

    Re: Disposable fields.

    Ah... Ok, I see.

    I only set the three clock hands the once, I just draw 'em at the appropriate angle and scale.
    So, I'll dispose of 'em in the FormClose event.

    Thanks.


    Poppa.
  17. Replies
    8
    Views
    376

    Re: Disposable fields.

    Thanks Passel,
    It's only img1 and img2 which start with 'New', the other stuff looks like this: -
    Private handH As Image = New Bitmap(Me.GetType(), "Hour.png")I've added your suggestion in the...
  18. Replies
    8
    Views
    376

    Re: Disposable fields.

    Yes, you're right, I ought to've done that. I usually do, I didn't give it a thought this time... Must be loosing it !


    Poppa.
  19. VS 2015 Re: Screen Size and Text Scaling Dpi Aware Examples Issues

    Hi Tommy,

    I'm not sure what you're trying to do but re-sizing PictureBoxes is no problem:

    1. You can use a PanelLayoutPanel putting your PictureBox in one (or more) cells, and set it's Dock to...
  20. Replies
    8
    Views
    376

    [RESOLVED] Disposable fields.

    I've just completed (I think) a project designing an analogue clock, however...
    I've just spotted several warnings from Intellisense concerning various image variables (Bitmaps) which say:


    ...
  21. Replies
    12
    Views
    579

    Final update

    Hi guys,

    Thanks to all,

    I couldn't get 'DrawString' to work, but I discovered that I didn't need any elaborate method to capture a simple label text...
    Dim img As Bitmap
    img...
  22. Replies
    12
    Views
    579

    Re: Question WRT PictureBox

    Thanks .Paul,

    I've tried the example in Microsoft's 'graphics.drawstring' but all the examples start with:
    Public Sub XXXXXX(ByVal e As PaintEventArgs)

    When I write a suroutine called 'Public...
  23. Replies
    12
    Views
    579

    Re: Question WRT PictureBox

    So far... So good,

    I have my analogue clock working and I think I understand what I'm doing.
    I added a button to choose to also show 'Day and Date' in a Label on the clock face, this works too. ...
  24. Replies
    12
    Views
    579

    Re: Question WRT PictureBox

    Thanks Passel,

    I don't know why you'd think it was a C question (of any flavour).

    However, I apologise for the tardiness of this reply, not going to make excuses, I was fascinated trying to...
  25. Replies
    12
    Views
    579

    [RESOLVED] Question WRT PictureBox

    Hi,

    I'm trying to design an analogue clock. Initially I thought I'd have three pictureboxes all at the same location, in a specific order, the two upper pictureboxes with transparent backgrounds, ...
  26. VS 2019 Re: DataGridView End Edit selected cell is the cell below the edited cell

    Microsoft Keywords doesn't recognise "DataGridOrcamento", neither do I.

    Poppa.
  27. Replies
    5
    Views
    284

    VS 2013 Re: Help with List box

    The MessageBox will only show what you tell it to show.

    Consider making a local string variable, add both names to it, (Name1 & " " & Name2) send that to your MessageBox.

    What happens when...
  28. Replies
    5
    Views
    284

    VS 2013 Re: Help with List box

    'Make a counter called intIndex
    For intIndex As Integer = 0 To lstName.Items.Count
    'condition if counter = the selected index
    If intIndex = lstName.SelectedIndex...
  29. Why is my Toolbox 'Auto Hide' greyed-out ?

    Hi,
    Although I can open my toolbox from the 'View' tab, I can no longer select 'Auto Hide'.

    VS2019 Community. Version: 16.2.3
    Windows 10 Home.


    Poppa.
  30. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    Thanks Guys...

    I've got over the problem now, even if it's not best practice.

    I'll struggle on and hopefully get it right in the end.


    Poppa.
  31. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    Thanks Passel, I meant to try that earlier but events sort-of took over and I forgot.

    That has fixed the problem, finding how to do it all on the GUI thread in the first place is going to take...
  32. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    Yes, it's the only visible instance there is, when I had it wrong, hovering the mouse over the game icon in the task bar showed two instances of the gameform, now there's only the one. (And...
  33. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    Yes, that's right... I can't do that, I have to use:

    Public Class GamePlayForm

    Private Sub GamePlay_Load() Handles MyBase.Load


    Poppa.
  34. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    I did that, and I hope this screenshot is readable.

    170145

    Hmmm Only just !

    Poppa.
  35. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    Oh...

    The default Form is called: GamePlayForm.vb
    This is where I thought I'd used a Non-Default form.

    Public GamePlay As New GamePlayFormThere after I've only used GamePlay, except I can't...
  36. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    Ok, John's post set me thinking and I've changed things round a bit, but still get the same result.

    My main form (OpeningForm) is still the default form. The picboxes are on form 'GamePlay', which...
  37. Replies
    21
    Views
    906

    Re: Object in use elsewhere.

    Thanks Guys,

    I start with all the picbox images being exactly the same, from the smallest 150 boxes to the largest with 700 boxes, no problem loading those.
    Changing one at a time is no problem,...
  38. Replies
    21
    Views
    906

    [RESOLVED] Object in use elsewhere.

    Hi,

    I don't understand what this error is telling me.

    I have two computers sharing a game, there are a number of PictureBoxes on each GamePlayForm, currently showing on each machine as the game...
  39. Replies
    35
    Views
    1,283

    Re: [RESOLVED] Why is my label not visible ?

    Thanks,

    I'm pretty sure that's what Passel told me in a previous thread.

    They say 'You can't teach old dogs new tricks' I think that's especially true of Old Sea Dogs, but I might take a look...
  40. Replies
    35
    Views
    1,283

    Re: [RESOLVED] Why is my label not visible ?

    Thanks John,

    I have a question WRT the default instance of forms.

    Does C# suffer from the same problem that VB.NET has with the default instance ?


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



Featured


Click Here to Expand Forum to Full Width