Search Results - VBForums

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 1.22 seconds.

  1. VS 2013 Re: Form2 do not know the UserControl that display in Form1, How to fix?

    There's nothing to actually "fix". What is it that you're actually trying to achieve? Form2 doesn't need to know anything about the controls on Form1 for you to accomplish anything useful. Tell us...
  2. Replies
    13
    Views
    202

    Re: Another Dictionary Question

    So, you're not capable of doing the search for yourself and yet even when I do the search for you and provide a link to the results you still don't consider that to be positive input? So, it's...
  3. Replies
    4
    Views
    111

    VS 2008 Re: Finding lower values in a grid view

    The DataGridView (it's not a GridView or a DataGrid, which are both other things) is irrelevant here. That's just a means to display the data once you have it. You are simply query a database.
    ...
  4. Replies
    4
    Views
    111

    VS 2008 Re: Finding lower values in a grid view

    Firstly, it's a DataGridView. A GridView is something else. It's tough typing those extra few letters but it's best to ALWAYS use the proper name of something to avoid confusion.

    As for the...
  5. Replies
    8
    Views
    184

    VS 2008 Re: Instantiation of Array of Classes

    Your interest has peaked now that Shaggy has piqued it. ;)

    I'm fairly sure that VB6 (and perhaps earlier) had a Collection type, which provided some of the combined features of an ArrayList and a...
  6. Replies
    10
    Views
    235

    VS 2013 Re: How can I install VB 2013 on Window 7?

    Hey, why don't we who write software for a living help someone who uses pirated software? That sounds like a great idea!
  7. Re: Connecting to access database works on some computers not all.

    Firstly, that's a bad connection string. It's up to you but I would suggest that you either just write it as a single String:
    con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data...
  8. Replies
    13
    Views
    202

    Re: Another Dictionary Question

    The assumptions I make are two:

    1. Anyone who is capable of writing software is capable of clicking the Help menu in Visual Studio and typing the name of the type or member they want to know about...
  9. Replies
    5
    Views
    115

    VS 2010 Re: Indexing new DGV rows

    You said:and that's simply not true. If it wasn't working it's because of the code you wrote inside the loops, not because of the loops themselves. That's what I meant by:E.g....
  10. VS 2013 Re: Collection type property in a user control

    The way to be sure is to test it for yourself.
  11. Replies
    13
    Views
    202

    Re: Another Dictionary Question

    You don't have to make the post anyway because that's information you could find on the web in a matter of minutes, or you could even use the Help menu on your IDE to view the documentation for the...
  12. VS 2013 Re: Collection type property in a user control

    You say that you want to emulate the DomainUpDown but you apparently haven't looked at it very closely. The Items property of the DomainUpDown is ReadOnly. Does that stop you adding and removing...
  13. Replies
    13
    Views
    202

    Re: Another Dictionary Question

    ContainsKey is going to return True if the word is already in the Dictionary and False otherwise. If it's True, simply increment the existing value. You know how to get and set a value in a...
  14. VS 2013 Re: Collection type property in a user control

    E.g.
    Private _items As New List(Of Object)

    Public ReadOnly Items() As List(Of Object)
    Get
    Return _items
    End Get
    End PropertyChange the collection type if required, e.g. you...
  15. Replies
    45
    Views
    941

    VS 2010 Re: List displayed in a Textbox

    Let's take a step back. Normally, the first thing people think of when they need to update the UI from a secondary thread is to test the value of an InvokeRequired property, which tells you whether...
  16. Replies
    45
    Views
    941

    VS 2010 Re: List displayed in a Textbox

    If this:doesn't mean much then I don't think that you're really giving it that much thought. You know how to set a property, right?
    myObject.MyProperty = myValueSo then, if you have an object that...
  17. Replies
    5
    Views
    115

    VS 2010 Re: Indexing new DGV rows

    2D arrays have their place but appropriate uses are rare. They are over-used by by beginners who don't understand the alternatives. What EXACTLY does your data represent and where does it come...
  18. Replies
    45
    Views
    941

    VS 2010 Re: List displayed in a Textbox

    Perhaps you should start by reading my posts properly then.
  19. Replies
    1
    Views
    79

    VS 2012 Re: Finished printing and start a new?

    If it's not working then you did it wrong. As you haven't shown us what you're doing, we can't possibly know what's wrong with it.

    If you're expecting the preview to update live then you'll be...
  20. Replies
    5
    Views
    115

    VS 2010 Re: Indexing new DGV rows

    If you want to traverse a 2D array then you would usually use two nested For loops. You would still need to index each element individually though.

    That said, why do you have a 2D array at all? ...
  21. Re: Reading settings programmatically VB2013

    There isn't actually a question in your post. Nothing you create on the Settings page of the project properties is stored in the appSettings section so that's why it's empty. Just open the config...
  22. Replies
    45
    Views
    941

    VS 2010 Re: List displayed in a Textbox

    I believe that I have already stated that, when using the SynchronizationContext class, you must create the object using it on the UI thread, otherwise the Current property returns Nothing. When...
  23. Re: How to keep form submittal from navigating away from page

    Hmmm... I didn't think that that was the case but maybe I'm wrong.
  24. VS 2013 Re: Display Text From .TXT File to Label By Line

    What do you not understand about the examples that are already out there? If there's a specific issue then I'm happy to address it but there's no need or point to my repeating something that you...
  25. Re: How to keep form submittal from navigating away from page

    It's nothing to do with jQuery. It's part of the MVC Framework.
  26. Replies
    2
    Views
    78

    VS 2013 Re: VB.net Unit Testing Forms

    Plenty of relevant information can be found here, as you'd expect.
  27. VS 2013 Re: Display Text From .TXT File to Label By Line

    You can call File.ReadAllLines to read the file contents into a String array where each element is a line from the file. You can then pick whatever element you want from that array and do whatever...
  28. Replies
    2
    Views
    84

    VS 2005 Re: cannot update password

    Wouldn't you have to provide the `username` for the Login record you want to update?
  29. Replies
    4
    Views
    71

    Re: I need help in MVC 4

    So you'll be using the Thread Tools menu to mark this thread Resolved then.
  30. Replies
    6
    Views
    175

    VS 2013 Re: problem with weekday function

    That's still C++ code. Are you saying, without actually saying, that you want to write VB code that does the same thing?
  31. Re: How to keep form submittal from navigating away from page

    As it's an MVC app, you should be using Ajax.BeginForm to create your form element. If you didn't want an asynchronous post then you should be using Html.BeginForm.
  32. Replies
    4
    Views
    71

    Re: I need help in MVC 4

    If you see a view then your route is presumably working. What we would need to see is your controller and your view.
  33. Replies
    9
    Views
    148

    VS 2012 Re: List view Grid in vb.net

    You should only retrieve the columns that you need. If you don't need all the columns from your database table then don't retrieve them all. You do that by specifying the columns that you do want...
  34. Replies
    9
    Views
    148

    VS 2012 Re: List view Grid in vb.net

    Very valid point and one that I hadn't considered in this case specifically. If you don't want to use that data at all, rather than use it but not show it to the user, then don't retrieve it in the...
  35. Replies
    6
    Views
    175

    VS 2013 Re: problem with weekday function

    Actually, it looks more like C++ to me; maybe C++/CLI. Regardless, post #1 is far from clear. Try providing a FULL and CLEAR description of the problem and, if it's not a VB.NET question, use the...
  36. Replies
    9
    Views
    148

    VS 2012 Re: List view Grid in vb.net

    Not really. If you only want to add 7 columns then only add 7 columns. It's that simple. We can't tell you exactly how to do that because we don't know which columns you want. If they're adjacent...
  37. Replies
    9
    Views
    148

    VS 2012 Re: List view Grid in vb.net

    Use a DataGridView, which is a proper grid control. Add the columns you want in the designer, setting the DataPropertyName of each to tell them which data source column to bind to. At run time, set...
  38. Re: Controlling if the application is in one or two files

    This is probably the most likely explanation. VB.NET 2003 and earlier used a single file - partial classes didn't exist - while VB 2005 and later use separate designer and user code files. Those...
  39. Re: Autoscrolling to bottom of datagridview

    Valid point. :)
  40. Re: How to keep SQLConnection "open" in a remote tier for further use

    If you need to retrieve and/or save several data sets in quick succession then you can use the same connection but otherwise not. ADO.NET has been designed and built to be used that way.

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