Search Results - VBForums

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 1.40 seconds; generated 50 minute(s) ago.

  1. Replies
    7
    Views
    137

    VS 2012 Re: WithEvent Object Array Workaround

    If you've learned something valuable then our time has not been wasted.
  2. Replies
    7
    Views
    137

    VS 2012 Re: WithEvent Object Array Workaround

    If you inherit a class then you inherit all its members. If you inherit a class and create an instance of your derived class, you can still get and set all the public properties inherited from the...
  3. VS 2012 Re: Help protecting a directory

    That's not necessarily an issue and, if you don't want the EXE to get bigger then you can always use a satellite assembly, which is a DLL specifically for resources.
  4. Re: Reflection - why does this work, but this doesn't

    With regards to why it's happening this way, think about how WithEvents/Handles works in relation to AddHandler/RemoveHandler. In C#, there is only one way to attach an event handler and it...
  5. VS 2012 Re: Help protecting a directory

    If you don't intend to make any changes to the contents of the folder then don't use a folder at all. Add the images to your project as resources and then they will be compiled into the EXE itself. ...
  6. Replies
    7
    Views
    137

    VS 2012 Re: WithEvent Object Array Workaround

    There's no such thing as a "WithEvents object". The WithEvents keyword applies to variables. The whole point of the WithEvents keyword is that you can then specify that a method handles an event of...
  7. Re: Reflection - why does this work, but this doesn't

    I didn't find it anywhere, nor look for it. I deduced it and tested it to find that it was indeed the case.
  8. Re: Problems with multiple uses of one progress bar on one form

    For future reference, please use formatting tags when posting code. It makes it eminently more readable. Most importantly, it maintains indenting. Here's how your code should look:
    ...
  9. Re: Reflection - why does this work, but this doesn't

    The reason is that your controls are actually exposed via properties at run time, even though they are coded as fields at design time. In your first code snippet, try changing this:
    Dim fI As...
  10. Description of Database Development Forum

    I replied to a post in the VB.NET forum today that was pure SQL. The person said that they didn't know where else to post. I checked and the description on the home page of the Database Development...
  11. Thread: SQL Help

    by jmcilhinney
    Replies
    1
    Views
    100

    Re: SQL Help

    SQL questions belong in the Database Development forum. I have asked the mods to move this thread.
  12. VS 2008 Re: Is WaitForExit() effective/required with RedirectStandardOutput

    The reason to use WaitForExit is to prevent your program doing any more processing before the new process has exited. If ReadToEnd doesn't return until the new process has exited then calling...
  13. VS 2008 Re: Is WaitForExit() effective/required with RedirectStandardOutput

    As is so often the case, you could have answered your own question if you'd bothered to read the documentation. This is from the MSDN documentation for StreamReader.ReadToEnd:The stdout stream of a...
  14. Replies
    5
    Views
    150

    Re: Restrict Line Distance

    My man Pythagoras can help you out. It's simple trigonometry. You can easily calculate the lengths of all three sides of the right triangle described by those two points so you can thus calculate...
  15. Replies
    10
    Views
    224

    Re: How does the code in this button work?

    You should start by reading the documentation for the SetSystemCursor API function that that code calls.

    http://msdn.microsoft.com/en-us/library/windows/desktop/ms648395%28v=vs.85%29.aspx
  16. Re: How to create data copies SQL Server 2005 Express ?

    This really goes beyond what SQL Server Express offers. The first case sounds like you would need to implement Replication, which is not something that the free Express edition offers as far as I'm...
  17. Re: [RESOLVED] How to filter two columns in bindingsource

    So you're saying that you want to use the BindingSource.Find method to find an item based on two different columns, correct? If so then you're out of luck because, as the documentation explains, it...
  18. Re: [RESOLVED] How to filter two columns in bindingsource

    That question is meaningless. The BindingSource class has no member named Bind. Ask a question that makes sense and we may be able to help.
  19. Re: vb2013 - Trying to retrieve data from a web service and display in datagrid view

    That error message is telling you that there's no web service available at the address you're sending the request to. Did you do as the Exception Assistant instructs and see the InnerException?
  20. Replies
    16
    Views
    240

    Re: Pulling information from listbox

    This is what comes from trying to write code without a clear idea of what the code is supposed to do. Let's look back at post #4:Adding the result to the second ListBox is the LAST thing you do. ...
  21. Replies
    16
    Views
    240

    Re: Pulling information from listbox

    Yes really. Of course you've seen something like that before. Think about arithmetic. How do you add two numbers? Does the way you add two numbers change depending on where those two numbers come...
  22. Replies
    16
    Views
    240

    Re: Pulling information from listbox

    You've never seen or done something like this?
    str3 = str1 & str2
  23. Replies
    16
    Views
    240

    Re: Pulling information from listbox

    That's because, again, you have ignored what I have already told you. The issue has nothing to do with ListBoxes. You already know how to pull data out of a ListBox and how to put data into a...
  24. Replies
    16
    Views
    240

    Re: Pulling information from listbox

    You didn't bother to digest what I already posted. I said that you should break it down into three parts:

    1. Get the items from the first ListBox.
    2. Combine the items.
    3. Add the new item to...
  25. Replies
    16
    Views
    240

    Re: Pulling information from listbox

    Like any problem, break this one down into smaller parts. Getting multiple items from a ListBox is the same regardless of what you intend to do with them. Adding one item to a ListBox is the same...
  26. Replies
    3
    Views
    126

    VS 2012 Re: datetime picker conversion

    But the code you have provided DOES do what you SAY you want it to do. Each time the Button is clicked, the Text of the TextBox will be updated based on the Value of the DateTimePicker. If that's...
  27. Re: vb2013 - Trying to retrieve data from a web service and display in datagrid view

    It's generally a good idea to explain that upfront as we can only know what you tell us.

    What EXACTLY do you get back from that GetProduct method?
  28. Re: Check if an item has been deleted in the table

    I see. Well, have you read the documentation for the DataGridView to see what events it has available and which apply to your situation? If not, why not? You don't have to sit and wait for someone...
  29. Re: Check if an item has been deleted in the table

    It appears that you are using a third-party grid so you'd have to check their documentation to see what events that grid has. That said, if the only way to add and remove rows is via your own code...
  30. Re: vb2013 - Trying to retrieve data from a web service and display in datagrid view

    We don't know the code either because we don't know anything about your web service or your data. What I can tell you though is that, once you have added the service reference to your project,...
  31. Re: Check if an item has been deleted in the table

    What "table" are you talking about? Do you actually mean the grid control? Surely what you actually need to do is handle the events that are raised when you either add or delete a row and the...
  32. Re: Datagrid to keep selected row and position after refresh

    What exactly is this "refresh" of which you speak? Do you mean that you remove all the rows and then repopulate the it? If so then there is no "staying" because if there are no rows in between then...
  33. Re: Need help in creating a installer with customize options

    What edition of VS are you using?
  34. Replies
    4
    Views
    197

    VS 2008 Re: Right Click Icon Options For Taskbar

    I've never done it myself but, if I'm not mistaken, that functionality is provided via the Windows API Code Pack. You can add it to your project via NuGet and a quick web search will turn up...
  35. Replies
    6
    Views
    273

    Re: Dapper Idb Execute Data Type Mismatch

    Can you provide a link to any online documentation for this Execute method? It may provide some specific information on the implementation that could be useful in diagnosing the issue.
  36. Replies
    13
    Views
    251

    Re: Vb Project Help!

    That's still not really a coherent explanation of the problem. You talk about a PictureBox yet show code that doesn't include a PictureBox but does a ComboBox and you talk about copying a file...
  37. Replies
    13
    Views
    251

    Re: Vb Project Help!

    How about you stop posting one sentence per post and actually make one post that states, fully and clearly, what you're trying to do, how you're trying to do it and where in that process you're stuck?
  38. Re: Future value question that I'm stuck with!

    If you have a question on VBA then it's advisable to ask it in the forum dedicated to VBA rather than the one dedicated to VB.NET. I'll ask the mods to move this thread but please be more careful...
  39. Replies
    13
    Views
    251

    Re: Vb Project Help!

    If you have a question then please ask it and provide a title that describes it. Otherwise, this thread has no real point.
  40. Replies
    6
    Views
    273

    Re: Dapper Idb Execute Data Type Mismatch

    That second parameter must be type Object, or maybe it's overloaded and accepts an IEnumerable or IList as well. It would appear that that method uses Reflection to get property values from the...
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.