Search Results - VBForums

Search:

Type: Posts; User: dolot

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    9
    Views
    206

    Re: passing data from a service to an app

    In the past I've used .net Remoting to communicate between a service and an app. Although it's designed for communicating between different machines, you may can use it for communicating between a...
  2. Thread: Textbox value

    by dolot
    Replies
    5
    Views
    127

    VS 2012 Re: Textbox value

    How is it that this code is executing right now? That is, how is it being called?
  3. VS 2010 Re: How do I return all elements from a xml doc?

    Here's a good link to look at for xPath syntax - that is, how to get the nodes you want out of the document:

    http://www.w3schools.com/xpath/xpath_syntax.asp

    As for how to iterate over all the...
  4. Replies
    3
    Views
    184

    VS 2010 Re: Datagridview old value in a cell

    How are you populating the data in the grid?
  5. VS 2008 Re: How do I output an SQL query from Access into textboxes?

    Well, presumably you know the fields that are going to be in the SELECT query - and the order in which they will appear in the query - since you're building the query based upon the fields that the...
  6. Replies
    4
    Views
    118

    Re: change data grid row sort order

    Seems there's lots of info out there on this issue. Do a search on 'drag drop row reordering vb.net datagridview' and take a look at some of the pages that come up.
  7. Replies
    4
    Views
    118

    Re: change data grid row sort order

    Here's an old thread that addresses this issue. Take a look at it and see if it helps you out.

    http://www.vbforums.com/showthread.php?542718-2008-DataGridView-drag-to-reorder-rows
  8. Replies
    31
    Views
    473

    Re: VB to output Batch file

    Are you getting some sort of exception on those two problematic lines?

    Or, does the code run successfully but just produce results that aren't right?
  9. Replies
    31
    Views
    473

    Re: VB to output Batch file

    The form_load event - in your code above it's the one "Private Sub Local_load" - is called when the form is initially loaded - before it ever displays to the user. So when that code runs,...
  10. Replies
    31
    Views
    473

    Re: VB to output Batch file

    Does the above code give you any error messages, or does it fail to do what you expect it to - and if so, how?
  11. Replies
    4
    Views
    118

    Re: change data grid row sort order

    That depends on who's doing the re-ordering and how the data has been populated into the DataGridView. Are you talking about the user doing the re-ordering or the code doing it? Is the grid...
  12. Replies
    31
    Views
    473

    Re: VB to output Batch file

    I know what you mean. We have a customer who, if we want to build an install program, puts us through all sort of awful paperwork and such to get it approved. But if we just build an .exe to pass...
  13. Replies
    31
    Views
    473

    Re: VB to output Batch file

    So what exactly are you having problems with? Is it the UI? How to build strings? outputting the file?
  14. VS 2010 Re: Question about DataGridViewComboBoxCell and CellEndEdit event

    Sure - let us know - I'm curious to see how this resolves.
  15. VS 2010 Re: Question about DataGridViewComboBoxCell and CellEndEdit event

    Found this link right here - sorry it's in C# Not sure if it will help or not:

    http://stackoverflow.com/questions/4827182/how-to-bind-datagridviewcomboboxcolumn-to-a-onchange-event-c
  16. VS 2010 Re: Question about DataGridViewComboBoxCell and CellEndEdit event

    Have you tried some of the other cell events like CellValueChanged or CellClicked?
  17. VS 2013 Re: Help with log file parser - constantly updating log file and getting filelock err

    A couple of things:

    - It would be helpful if you could let us know what lines in the code are generating the errors indicated.
    - "Delay" is not necessary - use System.Threading.Thread.Sleep...
  18. Replies
    13
    Views
    357

    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...
  19. Replies
    13
    Views
    357

    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.
  20. Replies
    13
    Views
    357

    VS 2012 Re: Anybody out there understand regex?

    Yep, that would be another way of handling it.
  21. Replies
    13
    Views
    357

    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...
  22. Replies
    13
    Views
    357

    VS 2012 Re: Anybody out there understand regex?

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

    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...
  24. Replies
    13
    Views
    357

    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...
  25. 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.
  26. 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.
  27. 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...
  28. 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
    ...
  29. Replies
    4
    Views
    213

    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?
  30. 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
    ...
  31. 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...
  32. Replies
    6
    Views
    475

    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...
  33. Replies
    28
    Views
    763

    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...
  34. Replies
    28
    Views
    763

    Re: 2010 vs 2012?

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

    Re: 2010 vs 2012?

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

    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.
  37. Replies
    28
    Views
    763

    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...
  38. 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...
  39. 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...
  40. 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...
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.