Search Results - VBForums

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 1.20 seconds.

  1. Replies
    1
    Views
    43

    VS 2008 Re: Problem sending data betwen forms.

    You can't make use of a DialogResult without closing the form and it's not that that sends the text anyway. It would just tell you IF you should send the text.

    Assuming that the Form2 instance...
  2. Replies
    5
    Views
    179

    VS 2008 Re: Entity Framework Question

    That's not a connection string. A connection string is a series of key/value pairs with each corresponding key and value separated by an operator and delimiters between the pairs. You don't have...
  3. Replies
    4
    Views
    100

    Re: Just got more RAM

    I've got more than I need. Can I upload some to an open source project?
  4. Re: programing with vb.net using SQL and access database

    It doesn't really matter what database you use; it's basically the same regardless. If you have examples for SQL Server then you simply replace all the SqlClient types with their corresponding OleDb...
  5. Replies
    4
    Views
    108

    Re: syntax error please help

    What exactly does this have to do with VB.NET?
  6. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    He hasn't. He just went and posted the same question in a new thread so anyone who looked at it wouldn't realise that he'd already been prompted to do some diagnosis but couldn't be bothered...
  7. Re: Simple Input Box into Connection String

    Data doesn't "go through" a connection string. The connection string is used by a connection object to determine what to connect to and how to do it. Once the database connection is open, you can...
  8. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    If I was new to VB.NET and someone told me that I should debug my project and I didn't know how, the first thing that I'd do is go to a search engine and type in terms like vb.net debugging or vb.net...
  9. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    What does your debugging tell you? You've got the code in front of you. You're able to step through it line by line as it executes. Presumably you have some specific expectation about what each...
  10. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    As I said earlier, you need to step through the code line by line to assess whether or not the code does what you expect it to do. You can evaluate variables, properties and other expressions at...
  11. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    Yep, it would have done that.
  12. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    So then you don't know how to debug. Running your project in the debugger is not debugging it. I'm not here to teach everyone who doesn't know the basics of debugging. If you want to learn how to...
  13. VS 2010 Re: Data is not inserting into the SQL database

    I'd suggest that posting that here is bad idea regardless, because it might encourage the OP to think that using string concatenation in this case is therefore justified, which it's not. The fact...
  14. VS 2013 Re: Convert Small code from C# to Vb.net

    Dim config As GetItemOperationConfig = New GetItemOperationConfig With {.AttributesToGet = New List(Of String) From {"id", "Title", "Authors", "InStock", "QuantityOnHand"},
    ...
  15. Replies
    5
    Views
    207

    Re: Has this be written right?

    That code is definitely not going to do anything useful but if you want advice on whether code is correct or not, it's probably a good idea to explain what the code is supposed to do.
  16. VS 2013 Re: Convert Small code from C# to Vb.net

    How about you show us the VB code that is the issue?
  17. Replies
    1
    Views
    101

    Re: BC30205: End of statement expected.

    Should that maybe be:
    Dim PD As String = Server.MapPath("db\")
  18. Replies
    7
    Views
    229

    Re: Diffrence between enum and type

    Also, regardless of whether you declare a class or structure, don't put anything in a module. Classes, structures and modules are all first-class types so each one would best be declared in its own...
  19. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    If that's all you can tell us then you either don't know how or you just haven't bothered to do it. If you know how to debug then it should be obvious that you need to place a breakpoint on the...
  20. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    What does "not respond" mean? Do you mean that Windows tells you that the app is not responding or that it doesn't display any output? Look, we can see your code, albeit that it's hard to read, but...
  21. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    There may be other suggestions when you can provide more information. You have to establish what's actually happening first.
  22. Replies
    33
    Views
    336

    Re: VS 2010 Select Case Issue

    If that line is not executing then that case is never matching. I suggest you debug your code, i.e. use breakpoints and step line by line.

    By the way, please format code snippets so that we can...
  23. Replies
    1
    Views
    121

    Re: Parsing delimited data into class

    for (var i = 1; i <= 9; i++)
    {
    if (elements.Length > i && elements[i] != string.Empty)
    {
    // Use Reflection to get a PropertyInfo for the appropriate property based on i.
    }
    }
  24. Replies
    5
    Views
    179

    VS 2008 Re: Entity Framework Question

    If only there was a way for us to know what that error was.
  25. VS 2013 Re: Trouble with SELECT WHERE NOT IS/EXISTS Subquery (VB.NET, Access)

    SELECT LocationID FROM Locations WHERE LocationID NOT IN (SELECT LocationID FROM Bookings ...)
  26. VS 2013 Re: vb.net savefiledialog Cancel Operation and Return in Default

    Why would you have a separate message box when the SaveFileDialog itself has a Cancel button?
  27. VS 2010 Re: Data is not inserting into the SQL database

    In principle, you're right. In fact, there's nothing wrong with never using parameters, as long as you cleanse all the data first. Why would you though? Given that there is a mechanism that will...
  28. VS 2010 Re: Data is not inserting into the SQL database

    Then use your eyes and your brain. I said this:

    I specifically said to use the Value property of the DateTimePicker because it is a Date and you need a Date rather than a String.

    The name...
  29. Replies
    8
    Views
    183

    Re: Road & Zebra Crossing in vb.net ??

    Hopefully what I've said has led to a realisation that you can break a problem down into smaller problems and solve those individually, then put those solutions together to provide a full solution to...
  30. Replies
    8
    Views
    183

    Re: Road & Zebra Crossing in vb.net ??

    Each white strip is a rectangle. Draw several white rectangles in the appropriate positions and you have a zebra crossing. Isn't that exactly how a real zebra crossing gets drawn on a real road? ...
  31. Replies
    8
    Views
    183

    Re: Road & Zebra Crossing in vb.net ??

    Of course you didn't. Why would you think that you would find something that specific? Do you think that something like Photoshop has a zebra crossing tool? If course it doesn't. You use the...
  32. Replies
    8
    Views
    183

    Re: Road & Zebra Crossing in vb.net ??

    There is no specific tool in VB.NET that draws roads and zebra crossings. It's up to you how you do it. Drawing a road and a zebra crossing would presumably be done the same way as drawing anything...
  33. Replies
    3
    Views
    138

    VS 2010 Re: Adding pictures and resources

    What happened when you tried it for yourself?
  34. VS 2010 Re: Data is not inserting into the SQL database

    Show us the code you have now. I've been caught too many times by people who say that they are doing one thing and then their code shows that they're actually doing something else to take you at...
  35. Replies
    3
    Views
    138

    VS 2010 Re: Adding pictures and resources

    Images can be loaded into a PictureBox at run time by setting the Image or ImageLocation property or calling the Load method. The first option (Image property) requires you to create an Image...
  36. VS 2010 Re: Looking For Unopened Box or Product Key

    Why would you want to? Anything that you can do in VS 2010 can also be done in VS 2012 or VS 2013 and they can do more besides. If you want to buy VS, just buy the latest, otherwise you can...
  37. VS 2010 Re: Data is not inserting into the SQL database

    By the way, please post code snippets properly for readability, i.e. like this:


    your code here

    if you need to add extra formatting, e.g. bold or coloured text, and like this:

    your code...
  38. VS 2010 Re: Data is not inserting into the SQL database

    The first code snippet is wrong on principle, whether it works or not, because you're using string concatenation instead of parameters, so let's disregard that immediately.

    The first is is your...
  39. VS 2012 Re: TabControl - Focus Control - Form Load

    There wasn't originally so you had to mess about with the Activated event and check whether it was the first time it had been raised. I think Shown was added in .NET 2.0.
  40. VS 2013 Re: OleDbConnection to a text file failing

    There's nothing wrong with that code. If you're getting that message then the file is being found perfectly fine. What you need to do is not open the file elsewhere, either in your application or...
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.