Search Results - VBForums

Search:

Type: Posts; User: dbasnett

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds; generated 55 minute(s) ago.

  1. Replies
    5
    Views
    158

    Re: Regex Hel(p|l)

    Resolved - see http://social.msdn.microsoft.com/Forums/vstudio/en-US/591ad265-f678-40ad-aaa4-fc71a491cd93/regex-helpl?forum=vbgeneral
  2. Replies
    5
    Views
    158

    Re: Regex Hel(p|l)

    After looking at this it could (should) be a couple of regexes


    ' (CH. 2)

    ' 400.2A-101
    ' 400.10-101
    ' 400.2A-101 to 400.2A-200
    ' ...
  3. Replies
    5
    Views
    158

    Re: Regex Hel(p|l)

    The actual text then with the references highlighted.

    Worst (CH. 9999) All 42.42, foo blah 23.010 to 23.040 blah 400.2A-101; foo 400.2A-101 to 400.2A-200, bar Const. Art. I, Sec. 4, foobar IV ...
  4. Replies
    5
    Views
    158

    [RESOLVED] Regex Hel(p|l)

    I am working on an index of statutes. As with all indexes you have some text followed by a reference. In a book the reference would likely be a page number. In my case the reference is a statute...
  5. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    I did find a workaround.


    Private Sub ComboBox1_SelectionChangeCommitted(sender As Object, e As EventArgs) Handles ComboBox1.SelectionChangeCommitted
    Debug.WriteLine("CB1Committed...
  6. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    This behavior is a known bug as it turns out.

    http://support.microsoft.com/kb/2868238/en-us
  7. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    This behavior is a known bug as it turns out.

    http://support.microsoft.com/kb/2868238/en-us
  8. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    I tried the textbox approach, and the interface is not good. I didn't mention this before, and maybe I should have. If the mouse is used to make selections in the combobox it displays properly....
  9. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    Maybe this will help. They have to be set in a certain order. When I get to work I'll see if I can use a textbox to accomplish this.



    Private Sub LoadMe(sender As Object, e As EventArgs)...
  10. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    Here is what this is about.

    I am re-writing an application, in VB 2012, that manages / edits / prints an index of statutes. This is an index like you might find in the back of a book but it has...
  11. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    I have several confirmations of how this behaves on the two platforms, but no resolutions.
  12. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    The problem only occurs if I .Select the other combobox. If you comment out ComboBox2.Select() and do this the problem doesn't happen.
    type ab
    press enter
    press tab
    press shift tab
    type ab...
  13. VS 2012 'DbProviderFactories' section can only appear once per config file - Problem

    I have run across the error in the title when using DbProviderFactories. It appears that some of the providers (I suspect IBM's DB2) writes an extra tag that looks like this <DbProviderFactories />...
  14. Replies
    12
    Views
    269

    VS 2012 Re: ComboBox Behavior - error/bug

    The combobox is to allow the user to select a pair of letters and when they press enter it uses those values to load the second combobox with items from a DB that start with the letter pair. When I...
  15. Replies
    12
    Views
    269

    VS 2012 [RESOLVED] ComboBox Behavior - error/bug

    Create a combobox and add the following to the Items collection

    Ab
    Ac
    Ad
    El
    En

    Set the following properties
    DropDownStyle = DropDownList
  16. Replies
    13
    Views
    308

    Re: Access Denied

    Never mind. Operator malfunction! When trying to read the lines from the file I inadvertently used the path name, not the file name. DOH!!! I'll post the code when I am done testing. Thanks!
  17. Replies
    13
    Views
    308

    Re: Access Denied

    Yes. The manual process works in both locales.

    edit: I just double checked the manual process and it does work as I said.
  18. Replies
    13
    Views
    308

    Re: Access Denied

    I am the developer and I am one of the admins. What I am trying to avoid is doing this manually, which is what I do now. The manual process is:

    Run NotePad as Administrator
    Open the...
  19. Replies
    13
    Views
    308

    [RESOLVED] Access Denied

    When first using DBFactories with IBM's DB2 the

    <system.data>
    <DbProviderFactories>

    section of the machine.config file is written incorrectly(you have an extra closing tag). This...
  20. Replies
    6
    Views
    291

    VS 2013 Re: A from to read data from an ECU

    There is a link in my signature that might provide you some insight.
  21. Replies
    6
    Views
    232

    VS 2010 Re: Questions on TreeView.

    Here is a test that has some basic ideas. You'll need to modify it for error handling. BTW - when posting code use code tags please.



    Private Sub Button3_Click(sender As Object, e As...
  22. VS 2010 Re: setting a chart datasource where the datatable is defined out of scope

    Here are two versions to find controls. The first will find all control in a TabControl, the second in a TabPage.


    'all controls in a TabControl
    Dim allControls As New List(Of...
  23. VS 2010 Re: [RESOLVED] Start a timer from another thread and use timer.tick

    There is no guarantee of when the CPU will come back around to any of your threads. In this particular case, because of the time between invocations (500 ms.), a Timer may have been a better...
  24. VS 2010 Re: need connection string to connect to remote router

    Normally routers are accessed via Telent, SSH, or a web page. All of those protocols sit on top of TCP(UDP)/IP. To the best of my knowledge Microsoft does not supply those clients. Cursory check of...
  25. Replies
    11
    Views
    863

    Re: SQL search and count help

    In your example the ID's are not unique. Is that by design? How many records in the database?
  26. VS 2010 Re: Start a timer from another thread and use timer.tick

    You could just use the thread


    Public Class Form1

    Dim thrd As Threading.Thread

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    thrd = New...
  27. Replies
    5
    Views
    537

    Re: Help pulling data from XML to listbox

    Another way


    Dim foo As XElement = <apidetails version="2">
    <currentTime>2014-07-06 20:48:30</currentTime>
    <result>
    ...
  28. Replies
    15
    Views
    585

    VS 2010 Re: Proper ordering

    Maybe you know what the names are so your last for next loop works to get the proper order. But since you have switched to list take a look at post #5. It shows how to sort the list.
  29. Replies
    15
    Views
    585

    VS 2010 Re: Proper ordering

    Gets the names of all labels even if they are in containers, i.e. GroupBox.


    Dim ClipBoardText1 As New List(Of String)
    Dim ctrl As Control = Me.GetNextControl(Me, True)
    ...
  30. VS 2010 Re: If closed from Taskbar when minimized, opens as minimized and stuck

    The location when minimized is -32000, -32000. Also take a look at Edge's suggestion.
  31. VS 2010 Re: If closed from Taskbar when minimized, opens as minimized and stuck

    Must be a MO thing;) because I just had a similar problem. Before saving the location of the app make sure the form is not minimized.
  32. VS 2008 Re: Datetimepicker.value = First Day of First Month of my.Year. or Last Day of Last M

    Here is a big hint


    Dim someYear As Integer = 2013
    Dim someDT As DateTime = New DateTime(someYear, 1, 1)
    DateTimePicker1.Value=????
  33. Replies
    6
    Views
    255

    VS 2012 Re: [RESOLVED] XML data extraction

    I saw that, but I left it because the example may have not been complete.
  34. VS 2008 Re: [VB.net]Get Files Based On Creation Date(Most recent created files)

    This test gets the 5 most newly created files from the desktop.


    Dim path As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
    Dim di As IO.DirectoryInfo =...
  35. Replies
    6
    Views
    255

    VS 2012 Re: XML data extraction

    Dim foo As XElement = <coreProperties xmlns="http://www.myserver.com">
    <coreProperty name="Common.ApplicationHome" value="1"/>
    ...
  36. Replies
    63
    Views
    1,487

    VS 2010 Re: String Optimization

    I must have done something wrong. It appears that Stringbuilder is much faster.


    Public Class Form1

    Dim ipsumA() As String = New String() {"Lorem", "ipsum", "dolor", "sit", _
    ...
  37. Re: Read data Serial Port from Total Station Topcon.

    So you have set the device using the settings on page 9-16 of the manual. What settings did you choose?
    Protocol?
    BaudRate?
    Char./Parity?

    The manual skipped over some of them in the example.
    ...
  38. Re: Read data Serial Port from Total Station Topcon.

    All true points but see posts #12 & #15.

    @felix - server not found when trying to access the manual.
  39. Replies
    3
    Views
    242

    VS 2012 Re: Create a "Poker Hand Determinator"

    Two dictionaries would be helpful. As John pointed out one for rank is needed, and one for suits for the other. I don't know that checking in a strictly best-to-worst order is the best strategy. ...
  40. Re: Read data Serial Port from Total Station Topcon.

    Obviously something isn't correct. Is there a reason you can't show us the manual?

    In my signature there is a link for Serial Port. Use that code after you have made the changes to reflect your...
Results 1 to 40 of 499
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.