Search Results - VBForums

Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 0.36 seconds.

  1. Replies
    9
    Views
    160

    VS 2013 Re: How to declare Button text

    ToolbarButton1.Name.Replace("Toolbar", "")
  2. Replies
    6
    Views
    192

    Re: How to remove comma using StreamWriter

    to put a quote mark at the start of the line, use tw.write(""") as the first line of code in the outer loop
  3. Replies
    3
    Views
    84

    VS 2010 Re: RegEx Grabbing Values Within Groups

    Groups is a member of Match
  4. Replies
    3
    Views
    84

    VS 2010 Re: RegEx Grabbing Values Within Groups

    The first set of parentheses is Groups(1), second Groups(2)...etc
    The whole match is Groups(0)
  5. Re: How to Show changes made to Form in VB2010

    another 2 possible solutions are:

    DataGridView1.InvalidateCell()
    DataGridView1.RefreshEdit()
  6. Re: How to Show changes made to Form in VB2010

    after the Fill instruction that is
  7. Re: How to Show changes made to Form in VB2010

    did you try:


    DataGridView1.EndEdit()

    ?
  8. VS 2010 Re: How to get notifications or reminders for the Calendar tool in VB.Net?

    have a look at my Dropdown Calendar control:

    http://www.vbforums.com/showthread.php?639775-dropDown-Calendar-control
  9. Replies
    2
    Views
    106

    Re: Convert DataGridViewCell to Bitmap

    I'd probably calculate the size and (screen) coordinates and use Graphics.CopyFromScreen
  10. VS 2012 Re: Trying to populate a list box with more than one item

    First thing I'd do is get rid of the legacy code.
    There are better .Net methods to achieve the results you're looking for.

    Can you post examples of your 2 text files?
  11. Re: DGV positions to last row instead of first row when displayed in VB 2010

    select row 0 cell 0
  12. Thread: Insert into

    by .paul.
    Replies
    1
    Views
    97

    Re: Insert into

    Just enclose your sql insert block in an if statement that tests cmbtrainloc.Text
  13. Replies
    4
    Views
    163

    Re: Left Click Macro

    I was expecting a legitimate use. That probably is against WOW policy.
  14. Replies
    4
    Views
    163

    Re: Left Click Macro

    Do you mean hold down the left mousebutton or repeatedly click the left mousebutton?
  15. Replies
    8
    Views
    198

    Re: How to do this in Linq?

    try this:



    Dim path As String = "c:\documents\medical\Mr Smith\123.doc"
    Dim parts = Enumerable.Range(0, path.Count(Function(c) c = "\"c) + 1).Select(Function(x) _
    ...
  16. Re: Seeing Changes take place on current Form when stepping through Project

    I've never done that either...
    9 months seems a very long time to convert a project
  17. VS 2010 Re: "conversion from string to type double is not valid"

    for the top part of your form, I'd use 2 dictionaries, and code like this:



    Public Class Form1

    Dim gradeValues As New Dictionary(Of String, Decimal)
    Dim creditHour As New...
  18. VS 2010 Re: How to disable command on Visual Basic program?

    Control.Enabled Property
  19. Replies
    1
    Views
    98

    VS 2010 Re: ShortcutKeys Question?

    try this:

    119785
  20. Replies
    2
    Views
    181

    Re: Ribbons in vb.net

    try this:

    http://www.codeproject.com/Articles/25907/A-Professional-Ribbon-You-Will-Use-Now-with-orb
  21. VS 2010 Re: Will this code satisfy the instructions provided by the question?

    Also, as specified, instead of:


    Label1.Text = Date.Now.ToString("dd-MM-yyyy hh : mm : ss")

    It should be:


    Label1.Text = Now.ToString("dd-MM-yyyy hh : mm : ss")
  22. VS 2010 Re: Will this code satisfy the instructions provided by the question?

    It doesn't meet the requirements. You're supposed to have a TimeString Property and a DateString Property, which get and set your PC time and date.
  23. VS 2010 Re: Conversions from 'String' to 'Integer' error

    or

    MessageBox.Show(projectSites(0).

    ?
  24. VS 2010 Re: Conversions from 'String' to 'Integer' error

    is there any intellisense if you type:

    MessageBox.Show(projectSites.

    ?
  25. VS 2010 Re: Conversions from 'String' to 'Integer' error

    I've never used that dll, but it looks like you'd either have to cast it, or somehow treat it as an xelement
  26. Replies
    6
    Views
    234

    Re: loop through combobox

    Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
    ComboBox1.SelectedIndex =...
  27. VS 2010 Re: Conversions from 'String' to 'Integer' error

    My guess is projectSites is expecting an integer index rather than a string field name
  28. Replies
    6
    Views
    234

    Re: loop through combobox

    this will work:


    Dim firstname As String = TextBox1.Text
    Dim i As Integer
    For i = 0 To ComboBox1.Items.Count - 1
    If ComboBox1.GetItemText(ComboBox1.Items(i)) Like "*" & (firstname) & "*"...
  29. Replies
    6
    Views
    234

    Re: loop through combobox

    Dim firstname As String = TextBox1.Text
    Dim i As Integer
    For i = 0 To ComboBox1.Items.Count - 1
    If ComboBox1.GetItemText(ComboBox1.Items(i)) Like "*" & (firstname) & "*" Then
    ...
  30. VS 2010 Re: ReadAllLines problem - splits up a line into separate parts

    can you show us your text file?
  31. Replies
    4
    Views
    181

    Re: Help with Decimal to Fraction

    0.0938 doesn't simplify to 3/32
    469/5000 is the simplest form...
  32. Replies
    4
    Views
    181

    Re: Help with Decimal to Fraction

    have a look at this:

    http://www.scproject.biz/MRV1.0.php
  33. Replies
    11
    Views
    282

    VS 2010 Re: Clear all TextBoxes in series

    Someone else might be more helpful with that last question...
  34. Replies
    11
    Views
    282

    VS 2010 Re: Clear all TextBoxes in series

    to make invisible:


    Array.ForEach(Me.Controls.OfType(Of TextBox).Where(Function(x) x.Name.StartsWith("txtTest")).ToArray, Sub(x As TextBox) x.visible = False)

    and the text:

    ...
  35. Replies
    11
    Views
    282

    VS 2010 Re: Clear all TextBoxes in series

    sorry. missed a bracket:



    Array.ForEach(Me.Controls.OfType(Of TextBox).Where(Function(x) x.Name.StartsWith("txtTest")).ToArray, Sub(x As TextBox) x.Clear())
  36. Replies
    11
    Views
    282

    VS 2010 Re: Clear all TextBoxes in series

    Array.ForEach(Me.Controls.OfType(Of TextBox).Where(Function(x) x.Name.Startswith("txtTest").ToArray, Sub(x As TextBox) x.Clear())
  37. Replies
    6
    Views
    239

    VS 2010 Re: Is this possible?

    lots of practice:D
  38. Replies
    6
    Views
    239

    VS 2010 Re: Is this possible?

    try this:



    Public Class Form1

    Private Declare Auto Function FindWindow Lib "user32" _
    (ByVal ClassName As String, ByVal WindowTitle As String) As IntPtr
  39. Replies
    8
    Views
    258

    VS 2010 Re: Play Sound Issue

    my website appears to be down at the moment.
    should be back online later...
  40. Replies
    8
    Views
    258

    VS 2010 Re: Play Sound Issue

    here's an mciSendString example:

    http://www.scproject.biz/Playing%20MultiMedia%20Files.php#bm2
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.