Search results for query: *

  • Users: Fedaykin
  • Content: Threads
  • Order by date
  1. F

    Add a horizontal line (X Axis) to existing chart. (Target line)

    Can anyone show me how to add a horizontal (X Axis) line to an existing chart? This will be the target line for my data. I have bar graph for RMA's per month, I want to set a goal line of 3 per month and make it a red line.
  2. F

    Question Insert a value in a DataGridview - value fails to insert

    I'm not able to figure out why this will not insert a value into the datagridview cell: Dim SDateCol As New DataGridViewTextBoxColumn SDateCol.HeaderText = "StartDate" SDateCol.Name = "StartDate" DataGridView5.Columns.Insert(4, SDateCol) Dim cS As...
  3. F

    Resolved return all letters left of number in string

    I'm trying to return only the first letters before the first number in as string. I tried several iterations of Regex and gave up on that. I want to do something like: [CODE] Dim source as String = "CP1,CP3-CP5,CP8" Dim rc As String = Left(source, "[0-9]")) [\CODE] In this instance I just...
  4. F

    Resolved Get all column names from DataGridView

    I'm attempting to return all column names from a DataGridView. I tried: Dim ch As String = DataGridView1.Columns(DataGridView1.CurrentCell.ColumnIndex).Name() But this only returns the currently selected cell. I think it can be done with a For Each Loop but I don't know the syntax for looping...
  5. F

    Resolved Combine array of numbers into dashed number (1,2,3,4) becomes (1-4)

    Does anyone know of a method to combine 1,2,3,4 into 1-4? I know normally people ask the opposite, but I need this for a specific machine that wants the numbers grouped together. My actual issue will be more like C1, C2, C3, C4 becomes C1-C4. I've looked at Join and Split, but these don't seem...
  6. F

    Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: No certificates

    I get the following error message when attempting to Publish my Visual Studio VB application: - Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: No certificates were found that met all of the given criteria. - Cannot publish because the project failed to build. I've attempted...
  7. F

    DataGridview As Variable?

    This might be simple, but it eludes me. I need to assign a DataGridView to a variable, but i'm getting an intellisense error when trying to use it: TestGrid is not a member of 'myForm' Dim TestGrid As DataGridView = DataGridView1 Me.TestGrid.Sort(TestGrid.Columns("ShipDate")...
  8. F

    Question Return the value of a Checkbox from a DataGridView

    I have a DataGridView that is populated by a DataSet. I'm attempting to return the value of a CheckBox in the DataGridView so I can color the row orange: For Each band As DataGridViewBand In DataGridView1.Rows If DataGridView1.Rows(band.Index).Cells("HOLD").Value =...
  9. F

    Visual Studio 2010 - which version for SQL connection on server?

    I'm trying to figure out which version of Visual Studio 2010 I need to be able to connect to SQL database on a server. Microsoft's website is so overun with 2012 stuff that I can't find a concise answer. My applications are simple and will just require basic read/write to tables. Can anyone...
  10. F

    populate Range in Excel

    I'm a newb to Vb.net, but i've written a few things in VBA. I'm attempting to populate cells in Excel and failing miserably. Here's what I have so far (I grabbed the Dims from other parts of the code to show them here. The part that is not working is opening/filling in the Cell values...
Back
Top