Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 4.37 seconds.

  1. Re: I'm typing in a textbox linked to a database and it stops everything from working

    By the way, you should turn Option Strict On in the project properties and DO NOT turn it Off at the file level except in the rare circumstances that you need to use late binding. You should also...
  2. Re: I'm typing in a textbox linked to a database and it stops everything from working

    There's various other stuff that could do with cleaning up but I see nothing that jumps out as being the cause of your specified issue. It's time for you to do some proper testing and debugging. I'd...
  3. Re: Publishing a Visual Basic Net application

    Are you saying that the PowerPacks DLL was already there when the error occurred?
  4. Re: Webbrowser control in Winforms, showing .pdf - sort of

    What happens if you add the control in the designer? These are the sorts of things you should be testing, to narrow down the specifics of the issue. If it works for one and not the other then you can...
  5. Replies
    6
    Views
    120

    VS 2017 Re: Creating new project

    It is.

    179892

    I have always unchecked that option immediately in previous versions of VS, because it means that I can create test projects and have them discarded when I exit. That option has...
  6. Re: Database saving and then un-saving when program restarts?

    Follow the first link in my signature below. It likely addresses your issue.
  7. Replies
    4
    Views
    103

    VS 2010 Re: Platform x64

    The VS version is specified as 2010 in the title, via the selected prefix. That could be a problem in itself, because only a minority of people will still be using such an old version. If things have...
  8. Replies
    4
    Views
    103

    VS 2010 Re: Platform x64

    Please provide a FULL and CLEAR explanation of the problem. Vague descriptions leave far too much to the imagination. Provide us with the steps that we can follow to either reproduce the issue or...
  9. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    I've never noticed any issues with applications running slowly on Win10 before. Your testing suggests that there is a difference but, if you have to abuse the UI thread to demonstrate it, it isn't an...
  10. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    I think .paul. thinks you're talking about VS 2010 itself running slowly. You're actually talking about your own application built with VS 2010, right? If so then no, there's nothing that makes VB...
  11. VS 2019 Re: Read last received telegram message on channel in VB

    I just searched the web for "telegram api" and there appears to be plenty of information available. I suggest that you do some research first and come back with a more specific question if required....
  12. Replies
    3
    Views
    146

    Re: Windows 10 - Excel

    I'm not sure why the difference between Win7 and Win10 but how does it make sense to specify that the Excel window should be maximised and focused if it's not visible? It may be that some difference...
  13. Re: How to use “action” in vb.net using selenium webdriver?

    The use of Action in that context is being interpreted as the System.Action delegate type. If you want to use a different type then you need to qualify the name, e.g.
    Dim action1 As New...
  14. Re: Best way to append data into a textbox?

    What dday9 means is that you can't change a String OBJECT once it is created. That doesn't mean that you can't change a String VARIABLE. If you do this:

    Dim str = "Hello"

    str &= " World"
    ...
  15. Re: Publishing a Visual Basic Net application

    If your application uses the PowerPacks library then the PowerPacks library has to be available to use when you run your app. If that library is not included in the published package and it's not...
  16. Re: I'm typing in a textbox linked to a database and it stops everything from working

    No you're not, unless you're using a Recordset, which you shouldn't be. You need to provide actual details of what you're actually doing and then we may be able to diagnose the actual problem....
  17. Re: I'm typing in a textbox linked to a database and it stops everything from working

    No it doesn't and it certainly shouldn't. The post should say it all and you should be writing the post first, so including things like "the title says it all" shouldn't even be a consideration....
  18. VS 2010 Re: Connection string to an Access Database

    If the database is in the same folder as the application then you shouldn't be specifying the folder directly at all. Go to www.connectionstrings.com and check out the examples that use...
  19. Replies
    365
    Views
    7,302

    Re: The US fragile democracy Exposed

    Indeed. I heard Lindsey Graham say that impeachment would rip the country apart even further, but I've never heard him actually admit that the country has been ripped apart in the first place. He's...
  20. VS 2019 Re: Read last received telegram message on channel in VB

    Why not use an API if they provide one? If they do provide one then there's every chance that it's against their terms of use to access their system any other way.
  21. VS 2010 Re: Connection string to an Access Database

    Are you saying that the application and the database are on the server or just the database? If it's both, there should be no need to use a UNC path.
  22. Re: VB application Uploading files(Blobs) into Oracle

    That was false but I suspect that it's true now. I've certainly lost any interest I had, but I did have interest.
  23. Re: VB application Uploading files(Blobs) into Oracle

    We spend quite a lot of time on here, volunteering our time to help people like you. Do you think that we should not point out your mistakes and let you keep making them, thus wasting some of that...
  24. Re: IDE0075 How do I simplify this condition expression?

    The fact that you seem to have reversed part of the logic may have been part of the reason but it can also be how you read it. Think about what this is actually saying:

    ckOTNew.Checked =...
  25. Re: VB application Uploading files(Blobs) into Oracle

    Please don't post unformatted code. It is unnecessarily hard to read, mainly due to a lack of indenting.

    conn.Open()


    Dim command1 As New OracleCommand(SQLStr, conn)

    ...
  26. Re: VB application Uploading files(Blobs) into Oracle

    If you're using code to do something and it doesn't work, there's a fair chance that the code is wrong. You should show us the code and we shouldn't have to ask.
  27. Replies
    16
    Views
    297

    Re: IDE0017 - Should I simplify all these?

    No, no, no. How could there be any confusion as to who the property belongs to? If it's not qualified at all then it can only be a property of the current type. The point of this is to differentiate...
  28. VS 2010 Re: A Generic Error Occurred In GDI+

    Really, because I see no indentation at all. It looks like you copied the non-indented code from your rendered post and expected it to magically become indented. Maybe use the original code that...
  29. Replies
    27
    Views
    5,367

    Re: How to Save a TreeView to Text File?

    Obviously you don't read everything I post because I showed you EXACTLY what to do in post #20. All you have to do is copy and paste the code I provided. I even explained exactly how that code works....
  30. Replies
    27
    Views
    5,367

    Re: How to Save a TreeView to Text File?

    You can mouse over any variable to see what type it is. I've addressed this a few times before, I think. It's an enumerable list, i.e. something that implements IEnumerable(Of T) and can this be...
  31. Replies
    16
    Views
    297

    Re: IDE0017 - Should I simplify all these?

    If you'd like our subjective opinion, show us the code.
  32. Replies
    16
    Views
    297

    Re: IDE0017 - Should I simplify all these?

    One of your primary aims should be to write the most readable code that you can. Readable code is maintainable code. If those changes changes make your code more readable then you should make them....
  33. Replies
    14
    Views
    396

    VS 2019 Re: Byte Array to String Problem

    Learn what? If you have the password then use it to open the database. How about you learn how to create applications that do useful things? The fact that you're being evasive suggests to me that you...
  34. Replies
    14
    Views
    396

    VS 2019 Re: Byte Array to String Problem

    What are you actually trying to achieve? If you're trying to open a password-protected file for which you don't have the password then that is not something that is allowed to be discussed on this...
  35. Replies
    27
    Views
    5,367

    Re: How to Save a TreeView to Text File?

    The code I provided already creates a TreeNode and the point here is to set the Checked property of that, so that's what you should do:

    'Read in a list of nodes with their ID and parent ID.
    Dim...
  36. Replies
    27
    Views
    5,367

    Re: How to Save a TreeView to Text File?

    I think that there is general agreement amongst the people who help often around here that debugging is given criminally little emphasis by just about everyone who claims to be teaching people how to...
  37. Replies
    27
    Views
    5,367

    Re: How to Save a TreeView to Text File?

    Given that XML is inherently hierarchical, just like a TreeView, that is a sound plan.
  38. Replies
    27
    Views
    5,367

    Re: How to Save a TreeView to Text File?

    Every TreeNode has a Nodes property that contains its child nodes. If it has no children, that collection will be empty. Inside the method, there is a For Each loop that enumerates that...
  39. Re: [RESOLVED] Prevent Main Form from Continuing

    True indeed, or even showing no form at all. I have a CodeBank thread that loads the application into the system tray without creating a form at all. You can then use the tray menu to display forms...
  40. Replies
    365
    Views
    7,302

    Re: The US fragile democracy Exposed

    That's still a long way from civil war. A number of people have said that they expect acts of terrorism but not outright war and that seems most likely to me. The real questions, in my opinion, is...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width