Search Results - VBForums

Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 0.39 seconds.

  1. VS 2010 Re: A first chance exception of type 'System.NullReferenceException' occurred

    and as dday said you need to dimension your array
  2. VS 2010 Re: A first chance exception of type 'System.NullReferenceException' occurred

    it appears to be not the addition of an element to the array, but a mathematical operation executed badly.
    if you are trying to add numbers, use numbers. strings are not numbers...
  3. Re: My code keeps repeating itself. Please Help

    This will probably fix your problem:



    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
    ...
  4. Replies
    10
    Views
    205

    Re: Working with insane big numbers...

    it depends only on .Net 4.0 framework or higher
  5. Replies
    10
    Views
    205

    Re: Working with insane big numbers...

    The System.Numerics class, introduced in vb2010 has a BigInteger object that you might find useful...
  6. Replies
    4
    Views
    111

    Re: How do I validate a Blood Preesure in VBA

    This is an Office Development question. I notified a moderator for you...
  7. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    For those lines:



    Imports Microsoft.VisualBasic.FileIO

    Public Class Form1

    Dim newLists As New List(Of List(Of String()))
  8. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    What is the error you are getting?
  9. VS 2010 Re: why does this does not work on .net 4.0 but works on 3.5?

    is there an error message?
    do you have all necessary references added?
  10. Re: The art of Lexical analysis and Abstract syntax tree building [including source]

    This should be in one of the CodeBank forums... it's not a question

    Edit: I've notified a moderator for you
  11. Re: Is it possible to reverse the order of a listbox items?

    Or:


    Dim items() As Object = ListBox1.Items.Cast(Of Object).Reverse.ToArray
    ListBox1.Items.Clear
    ListBox1.Items.AddRange(items)
  12. Re: Make program stick to desktop and stay there no matter what whether refresh resta

    progman is the className of the listview which forms the desktop as you see it.
  13. Re: Make program stick to desktop and stay there no matter what whether refresh resta

    try this:



    Imports Microsoft.Win32

    Public Class Form1

    'API
    Declare Function SetParent Lib "user32.dll" Alias "SetParent" (ByVal hWndChild As IntPtr, ByVal hWndNewParent As...
  14. Replies
    1
    Views
    121

    VS 2012 Re: Help with Triangle of Asterisks Problem!

    to create (d) you need to work out your spacing. there needs to be a space between every asterisk in every row that has more than one asterisk.
    also you need 10 spaces before the asterisk in the...
  15. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    For Each l As List(Of String()) In newLists
    Debug.Print(String.Join(", ", New String() {l(0)(0).Replace("[grpConfigCh", "").Replace("]", "")}.Concat(l.Select(Function(s) If(s(2) = "",...
  16. Replies
    2
    Views
    128

    VS 2012 Re: Disable mouse events

    if you show the 2nd form as a dialog with .ShowDialog, it remains as the only window in your app that has focus until you close it.
  17. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    ok I got it:



    Imports Microsoft.VisualBasic.FileIO

    Public Class Form1

    Dim newLists As New List(Of List(Of String()))
  18. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    you want to split into 2 groups, then format the values from the 3rd column of each line, into a new line?
  19. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    I'm not sure what the question is...
  20. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    this should work:



    Imports Microsoft.VisualBasic.FileIO

    Public Class Form1

    Dim newLists As New List(Of List(Of String()))
  21. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    I used the first set of data to test it but it should work with the animal text file too.
    It does separate into groups based on the first column. Try it and see...
  22. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    it is limited by the second column being a Boolean, but you should be able to change that quite easily.
  23. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    there are no limitations in the number of distinct lists it creates, and there are no limitations on how many columns are used
  24. Replies
    28
    Views
    335

    VS 2013 Re: How to read a formatted text file and group

    try this:



    Imports Microsoft.VisualBasic.FileIO

    Public Class Form1

    Dim newLists As New List(Of List(Of String()))
  25. Thread: .NET Download

    by .paul.
    Replies
    6
    Views
    124

    Re: .NET Download

    Visacom is not a standard part of the VB>Net COM library, either in vb2013 or earlier versions. Try this:

    https://www.google.co.uk/?gws_rd=ssl#q=visacom+download
  26. Thread: .NET Download

    by .paul.
    Replies
    6
    Views
    124

    Re: .NET Download

    what do you need to know about the console?
    the (very) basic vb language is similar to vba, so you have a headstart with that...
  27. Re: how to print using printdialog control in vb.net 2008

    Private Sub printBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles printBtn.Click
    printer = New listViewPrinter(ListView1, New Point(50, 50), chkBorder.Checked,...
  28. Re: make options for a buton click? then navigate web browser to that option picked

    try this:



    Public Class Form1

    Private WithEvents cms As New ContextMenuStrip

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    ...
  29. VS 2005 Re: How to use trackbar to control the brightness and darkness of images in a picture

    It works fine for me:

    124123
  30. Re: how to print using printdialog control in vb.net 2008

    here's a modified version of my listViewPrinter class:

    124121
  31. VS 2005 Re: How to use trackbar to control the brightness and darkness of images in a picture

    The 3 values that are represented by 'contrast' correspond to R,G,B, as I showed you in post #14. In the Brightness code I showed you earlier, these all have a fixed value of 1.0F but you can change...
  32. VS 2005 Re: How to use trackbar to control the brightness and darkness of images in a picture

    Dim cm As ColorMatrix = New ColorMatrix(New Single()() _
    { _
    New Single() {RedValue, 0.0, 0.0, 0.0, 0.0}, _
    New Single() {0.0, GreenValue, 0.0, 0.0, 0.0}, _
    ...
  33. VS 2005 Re: How to use trackbar to control the brightness and darkness of images in a picture

    Imports System.Drawing.Imaging

    Public Class Form1

    Dim virtPicBox As Bitmap

    Private Sub HScrollBar_Scroll(ByVal sender As System.Object, ByVal e As...
  34. Replies
    4
    Views
    119

    Re: Fill combobox with column from database

    Here's an example that shows some databinding methods

    https://code.msdn.microsoft.com/DataBinding-91dfbcf4
  35. Re: how to print using printdialog control in vb.net 2008

    the landscape mode setting is in the printdocument.defaultpagesettings
  36. Replies
    6
    Views
    206

    VS 2010 Re: Dataridview columns

    the link I provided shows a full example of how to use AutoGenerateColumns , including setting DataPropertyNames
  37. Replies
    6
    Views
    206

    VS 2010 Re: Dataridview columns

    You can set the size of any column...
    Have a look at the DataGridView.AutoGenerateColumns Property
  38. Replies
    30
    Views
    802

    VS 2010 Re: Random Maze Generator

    might need my glasses on for that one:D
  39. Thread: Assignment Help

    by .paul.
    Replies
    15
    Views
    329

    VS 2012 Re: Assignment Help

    post #5 hint #9 provides a method
  40. Thread: Assignment Help

    by .paul.
    Replies
    15
    Views
    329

    VS 2012 Re: Assignment Help

    You can open a StreamWriter for append.
    The currently selected item in lstAutoStock is returned by lstAutoStock.Text
    The code for writing to the other text file is the same, changing the filename...
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.