Search Results - VBForums

Search:

Type: Posts; User: dolot

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    13
    Views
    234

    VS 2012 Re: Anybody out there understand regex?

    What I finally ended up with:
    Dim Feature As PreLoadedFeature = Nothing
    Dim FeatureList As New List(Of PreLoadedFeature)
    Dim RegExp As New...
  2. Replies
    13
    Views
    234

    VS 2012 Re: Anybody out there understand regex?

    Now this is interesting... I now have multiple things to experiment with. :) I'm going to take a couple of days off, but I'll let you know what I end up going with.
  3. Replies
    13
    Views
    234

    VS 2012 Re: Anybody out there understand regex?

    Yep, that would be another way of handling it.
  4. Replies
    13
    Views
    234

    VS 2012 Re: Anybody out there understand regex?

    Looks like I got a glitch.

    With the data sample that I posted above, it works just fine. But now further down in the file is a entry that looks like this:
    Housing 1 POINT (-83.71113111349753...
  5. Replies
    13
    Views
    234

    VS 2012 Re: Anybody out there understand regex?

    Looks like a good reference - I'll bookmark it. Thanks again. :thumb:
  6. Replies
    13
    Views
    234

    VS 2012 Re: Anybody out there understand regex?

    Thanks so much for that expression for the points. That was really the part I was most concerned about. I thought it would be nice to do all of it with regex, but that first part is pretty easy to...
  7. Replies
    13
    Views
    234

    VS 2012 Anybody out there understand regex?

    I got a file that I need to parse. The lines in the file look like the following:

    Mess Hall POINT (-83.710408508758448 36.761742372871311)
    POINT (-83.7108215689468 36.761609147077756)

    For...
  8. VS 2010 Re: Inconsistent error when parseing string to double

    I can't speak to the inconsistencies, but with regard to the parsing, investigate the Double.TryParse method and see if that might help you with your parsing issue.
  9. Re: How to write a method that loops through a given interval by hour

    Have you tried using starthour -1 and endhour -1 - to get your base 1 system lined up with the base 0 system of the datetime object?

    Just a guess.
  10. VS 2008 Re: How do I use a CheckedListBox in a Select Case statement?

    Yes, it's the listviewitem part that's wrong - sorry about that, I wasn't paying close attention to your original post. tg would scold me for that.

    What that error is telling you is that...
  11. VS 2008 Re: How do I use a CheckedListBox in a Select Case statement?

    Maybe something like this:
    For Each Item As ListViewItem In Me.ListView1.CheckedItems
    Select Case Item.Name
    Case "UserId"
    'do something
    ...
  12. Replies
    4
    Views
    169

    Re: type casting error

    Not meaning to be a smart-alek or anything, but did you change the structure of any of the classes that you're working with in any way?
  13. VS 2013 Re: Select multiple rows from DataGridView and save them to DataTable

    Maybe something like this (unless, of course, I'm misunderstanding the question):
    For Each row As DataGridViewRow In Me.DataGridView1.Rows
    If row.Selected Then
    ...
  14. Re: Completely New to VB, Need Help selecting random .tga from directory

    Are you using VB6 or earlier, or are you using one of the versions of the .net framework?

    Maybe I should ask... are you using visual studio, and if so what version?

    Are you trying to write a...
  15. Replies
    6
    Views
    414

    Re: Laptop turns off when power goes out

    I think the problem is that my battery is kaput. I tried what you said, but when I powered it up just using the battery, it would run for 3-4 second, and then shutoff again. I mean, it never even...
  16. Replies
    28
    Views
    692

    Re: [RESOLVED] 2010 vs 2012?

    We're not a little jaded, are we? Although I can understand. I was a TA in grad school 20+ years ago and wondered sometimes how some of these folks made it out of high school, although in some...
  17. Replies
    28
    Views
    692

    Re: 2010 vs 2012?

    Working for a defense contractor, I can relate to some of that.
  18. Replies
    28
    Views
    692

    Re: 2010 vs 2012?

    From what I gathered from the initial post, they should have stayed with vb6 and saved themselves some $$$.
  19. Replies
    28
    Views
    692

    Re: 2010 vs 2012?

    It was a sore spot for us, too. My boss and I both wished we had upgraded from 2005 to 2010 instead of to 2012.
  20. Replies
    28
    Views
    692

    Re: 2010 vs 2012?

    The big visual difference it the change from more extensive use of colors in 2010 to a more monotone look in 2012. I personally think it looks terrible, and it's harder to discern the differences...
  21. VS 2013 Re: DateTimePicker throws an error while getting DateTimePicker values into a TextBox

    Yeah, the format property as set in dateTimePicker only applies to the dateTimePicker itself. The .Value property returns the raw value of the date, and the .ToString method is returning a default...
  22. VS 2013 Re: DateTimePicker throws an error while getting DateTimePicker values into a TextBox

    From your description of the problem, it sounds like you're trying to get the date from the dateTimePicker and put it into the textbox, but in your code you're assigning the text of the textbox to...
  23. VS 2013 Re: Getting errors how to resolve it?

    The first error is essentially a type mismatch error - you're trying to assign SqlDataReader to a SqlDataAdapter - and there's no conversion for that.

    The next two errors tell you that you're...
  24. VS 2013 Re: Getting errors how to resolve it?

    You need to show us the code that you have and let us know which lines in the code are generating which errors.
  25. Re: how to loop through dataset and compare compare values

    It isn't actually comparing the same data row - unless you have the same data in each datatable. I guess I got myself confused, though, by assuming that each spreadsheet would be placed into a...
  26. Re: how to loop through dataset and compare compare values

    As far as comparing two groupings of some sort so that you can get a comparison of each and every item, the code might look something like this:

    'WARNING: UNTESTED CODE :)
    Dim...
  27. Re: how to loop through dataset and compare compare values

    A simpler way would be to use sql and let the database do the work for you. I don't know what your table structure is like, but a query that would return those that have more than one entry might...
  28. VS 2008 Re: Deploying Mobile APP into MC9190 Pistol Device

    Not having any experience with mobile devices, I'm at a loss at this point.
  29. VS 2008 Re: Deploying Mobile APP into MC9190 Pistol Device

    I would probably try this download since it's from Microsoft itself:

    http://www.microsoft.com/en-us/download/details.aspx?id=22808

    I would un-install the others, reboot the device, install the...
  30. Replies
    5
    Views
    250

    Re: Animating Panels to display questions

    I never tested the speed of loading all the panels at once. Seems like it would be slower, but since they aren't all being displayed all at the same time it may not be too bad.

    One way to find...
  31. Replies
    5
    Views
    250

    Re: Animating Panels to display questions

    We don't. :D The form is fixed size and modal, so in that respect we make our lives easier. The code that handles the sliding, though, doesn't use any fixed numbers, other than the increment of...
  32. Replies
    5
    Views
    250

    Re: Animating Panels to display questions

    I do something very similar right now in a project that I have where we have wizards. We switch from one step of the wizard to another by sliding one panel out and sliding another panel in. The...
  33. Replies
    6
    Views
    414

    Re: Laptop turns off when power goes out

    I emailed the company I bought it from and they told me that the power circuitry was not working properly. Really? Man, I thought it was because the space bar sticks sometimes.

    I asked them if...
  34. Replies
    6
    Views
    414

    Laptop turns off when power goes out

    :wave:
    It seems to me that in the past when I've had a power outage, my laptop has automatically shifted to battery and things have gone along just fine. Yesterday, however, when the power went...
  35. Replies
    8
    Views
    673

    Re: What does the vb code tag look like

    How about some regular html...
    <div>
    <label><input type="radio" name="templateLevel" class="shapeOnly" value="shapeOnly" checked="checked" />Feature Shape Only</label>
    ...
  36. Replies
    8
    Views
    673

    Re: What does the vb code tag look like

    How about some cshtml...
    <div data-dojo-type="dijit/layout/ContentPane" title="Related" class="Related" >
    <div>@Html.Partial("RelatedFacilities_partial", @Model)</div>
    ...
  37. Replies
    8
    Views
    673

    Re: What does the vb code tag look like

    OK now a real c# test...
    public static MvcHtmlString SelectorList(string name, string cssClass, List<KeyValuePair<string, string>> list, int size)
    {

    TagBuilder...
  38. Replies
    8
    Views
    673

    Re: What does the vb code tag look like

    fascinating... How about javascript
    function _destroy() {

    //close the temporary host UI
    if (this.renderHost) {

    var widgets =...
  39. Replies
    8
    Views
    673

    Re: What does the vb code tag look like

    Interesting... let's try c#
    Dim X As Integer
    For Each row As DataGridViewRow In Me.DataGridView1.Rows
    'do whatever you want with the cell value.
    X =...
  40. Replies
    8
    Views
    673

    Re: What does the vb code tag look like

    what happens if you don't define something...
    Dim X As Integer
    For Each row As DataGridViewRow In Me.DataGridView1.Rows
    'do whatever you want with the cell value.
    ...
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.