Search Results - VBForums

Search:

Type: Posts; User: dolot

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. VS 2013 Re: Chosing between tables in a single Database

    You're selecting table information using the following string:
    str = "select id, nome, acesso from TesteDatabase WHERE id = '" & txtid.Text & "'"


    In order to change the table that you select...
  2. Replies
    12
    Views
    192

    VS 2008 Re: Formatting a date to DD/MM/YYYY

    Yep, dday9 is right about that. If you're having date insertion issues, parameterized queries will clear that up.
  3. VS 2012 Re: [RESOLVED] Searching an array of strings for a value

    :D No, it just happened that I had a unit test setup to test this particular function, so when I inserted dday9's code, I could immediately confirm that it worked. That's actually what got me to...
  4. Replies
    5
    Views
    150

    VS 2012 Re: Tax Calculations and Textbox Displaying

    There's actually a toolbar button above the editor that has a '#' symbol. This will take any highlighted text and wrap it in code tags.

    So you can put your code in the editor, highlight it, and...
  5. Replies
    5
    Views
    150

    VS 2012 Re: Tax Calculations and Textbox Displaying

    Well, we sorta need to know where the data is coming from and what you've tried to do so far that hasn't worked. The images you have above are too small to read your code - at least on my machine. ...
  6. VS 2012 Re: Searching an array of strings for a value

    Nice job, dday9 - very concise and passes the unit test.
  7. VS 2012 Re: Searching an array of strings for a value

    Thanks, guys - I'll test these in the morning. :)
  8. VS 2012 [RESOLVED] Searching an array of strings for a value

    I found the following function lying in a utils library in our code. I'm pretty sure it's a remnant from .net framework 2.0. Now that we're on 4.5, I'm wondering if there's a way to do this more...
  9. Re: Change specific row and column in Datagridview

    If the grid is being populated using a datatable, then you might want to try accessing the underlying DataBoundItem and changing the value there. i.e.:

    'Warning: Untested Code...
  10. Replies
    10
    Views
    260

    VS 2010 Re: C++ to VB.NET conversion.

    Take this for a spin:

    http://www.instantvb.com/Product_Details/CPlusPlus_to_VB_NET_Converter.html
  11. Replies
    4
    Views
    212

    VS 2010 Re: Rowcount particular value

    How exactly is the datagridview being populated? Is there a datatable attached to it, or is it just user input?
  12. Replies
    4
    Views
    212

    VS 2010 Re: Rowcount particular value

    Are you trying to get the sum of the values in column 6, or just the count of the number of rows that have the given value?

    If the former, then the line above would look like:
    apc +=...
  13. Replies
    3
    Views
    191

    VS 2008 Re: MDI Form paint problem

    If the code that paints the form is in the form_load event, then it will only get called once when the form is loaded. After that, then whatever is the default painting mechanism will take over. ...
  14. VS 2010 Re: Please help with some LOW LEVEL VB issues....

    Just a guess, but are you sure that the variables other than the byte array and it's length are correct/pointing to the right things?
  15. Re: [RESOLVED] Get Longest Cell Length in DataColumn

    Was your solution different from JMC's?
  16. Replies
    9
    Views
    267

    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...
  17. Thread: Textbox value

    by dolot
    Replies
    5
    Views
    159

    VS 2012 Re: Textbox value

    How is it that this code is executing right now? That is, how is it being called?
  18. 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...
  19. Replies
    3
    Views
    229

    VS 2010 Re: Datagridview old value in a cell

    How are you populating the data in the grid?
  20. 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...
  21. Replies
    4
    Views
    147

    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.
  22. Replies
    4
    Views
    147

    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
  23. Replies
    31
    Views
    577

    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?
  24. Replies
    31
    Views
    577

    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,...
  25. Replies
    31
    Views
    577

    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?
  26. Replies
    4
    Views
    147

    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...
  27. Replies
    31
    Views
    577

    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...
  28. Replies
    31
    Views
    577

    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?
  29. VS 2010 Re: Question about DataGridViewComboBoxCell and CellEndEdit event

    Sure - let us know - I'm curious to see how this resolves.
  30. 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
  31. VS 2010 Re: Question about DataGridViewComboBoxCell and CellEndEdit event

    Have you tried some of the other cell events like CellValueChanged or CellClicked?
  32. 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...
  33. Replies
    13
    Views
    378

    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...
  34. Replies
    13
    Views
    378

    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.
  35. Replies
    13
    Views
    378

    VS 2012 Re: Anybody out there understand regex?

    Yep, that would be another way of handling it.
  36. Replies
    13
    Views
    378

    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...
  37. Replies
    13
    Views
    378

    VS 2012 Re: Anybody out there understand regex?

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

    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...
  39. Replies
    13
    Views
    378

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