dcsimg

Search:

Type: Posts; User: Jet Black

Page 1 of 2 1 2

Search: Search took 0.07 seconds.

  1. Re: Issue with program opening since mid-december

    Solved it, but I don't know what the reason is:

    Following this I removed the checkboxes as the above errors were pointing at that and then the program opened, but crashed inside a function for a...
  2. Re: Issue with program opening since mid-december

    I've done that now and no error is thrown, That error seems to have disappeared and instead the error log on my still silent crash has this towards the end:


    at...
  3. Re: Issue with program opening since mid-december

    I've hunted it down to this bit of code:



    Public Class frm_MAIN

    Dim DownloadDirectoryInfo As New IO.DirectoryInfo(My.Settings.s_DirCSVInput)

    ......
  4. Re: Issue with program opening since mid-december

    Thanks.

    Fortunately I got one of the computers back this morning.

    I took all the code out of the Form_Load event function and moved it into a Form_Shown (I put a couple of msgboxes in Form_Load...
  5. Issue with program opening since mid-december

    I have a piece of software written in VB.NET that has been deployed to a few sites as a part of a clinical trial and since mid-december or so, some computers just can't open it, despite them opening...
  6. Re: Localization/internationalization of concatenated text strings in a dialog

    Actually I realised this is a pretty trivial problem. What I do is change my string to this:


    A new software version (NEWVERS) is available for download. Do you wish to download and upgrade from...
  7. Localization/internationalization of concatenated text strings in a dialog

    I am internationalizing a piece of software so that it can be localized at a later stage, and I am putting all my text strings into resource files and then updating them where important with code...
  8. Replies
    4
    Views
    370

    Re: Why instruction execute after for loop?

    Your main UI thread is also the thread that processes the events and does things like redrawing. so if you wait for 2 seconds, the whole thread will wait for 2 seconds. It will do nothing else, just...
  9. Problem sending multipart form to server with ssl

    I send a multipart form up to a server using SSL using my vb.net program and I get an error:

    File upload Exception: System.Net.WebException: The underlying connection was closed: An unexpected...
  10. Replies
    7
    Views
    544

    Re: displaying pdf in browser

    Just to add here, I have resolved the initial problem and it turns out that it was some browser setting (still not sure which setting yet as we fiddled with a bunch of stuff that didn't seem to do...
  11. Replies
    7
    Views
    544

    Re: displaying pdf in browser

    Just before I build my file up:


    Using remoteStream As Stream = myresponse.GetResponseStream()
  12. Replies
    7
    Views
    544

    Re: displaying pdf in browser

    Thanks for the code modification there!

    Unfortunately I don't have a direct URL for the html file - it is constructed server side via a php script. Normally what happens if you click on the link...
  13. Replies
    7
    Views
    544

    Re: displaying pdf in browser

    just to add, the message that appears in the browser window is 'Navigation to webpage canceled' - I have had a look at the IE security settings and they are all set to low.
  14. Replies
    7
    Views
    544

    displaying pdf in browser

    I'm having an odd problem that occurs on some machines, but not others. Basically I have a form that has an embedded browser. I download a pdf from a website and then save on the local machine then...
  15. Replies
    0
    Views
    298

    Problem with pdf dll when installing

    I have a program written in vb that at one stage opens a pdf file for viewing only. I'm using the axacroPDF control. Now when the program is running there are no issues (although the PDF viewer seems...
  16. Replies
    1
    Views
    377

    Windows 10 changes?

    Apologies for a horrifically generic question, but are there any particular changes as a result of windows 10 that are likely to break any programs written in VB? I'm particularly thinking about...
  17. VS 2013 Re: Obtaining user settings from other application

    I've done a bit of digging, and have solved one problem but realised I have another! It turns out that ConfigurationManager.OpenExeConfiguration only gets the application.config file, not the...
  18. Replies
    5
    Views
    1,221

    Re: Kill a window if window title contains...

    this sounds a bit dubious to me, to be honest. I know there are a bunch of malware programs that do exactly this.
  19. VS 2013 Obtaining user settings from other application

    I have an old version of an application that I want to obtain the user settings for. I can't just install over it for a couple of reasons, so I am trying to get the user settings out using...
  20. Re: How to use new window 3 event for regualr webbrowser, not microsoft web browser.

    I've developed a way around this by creating a custom webbrowser control with a load more flexibility over the basic one. I'll start to do a writeup.
  21. Custom Filename with different build versions

    Is there a way to set my application filename according to different build versions of the same code? Under Properties->Compile->Advanced Compile options in my custom constants I have SERVERTYPE =...
  22. Re: How to use new window 3 event for regualr webbrowser, not microsoft web browser.

    I know this is an old thread, but it is the same topic with some added bits, and I can't get it to work.

    I am trying to intercept a scripted window.open and get the url for the new window (it...
  23. Re: Finding a newly downloaded file from a directory

    oh that is brilliant. I hadn't heard of that before. I'll work it into my program and let you know. Thanks!
  24. Finding a newly downloaded file from a directory

    I have a program with an embedded webbrowser window, which is restricted to a particular website. On one page of that website you can download a file (a csv file) and I want my program to...
  25. Replies
    2
    Views
    515

    Re: finding filenames from HTTP GET

    I am actually using it as UI though. As I mentioned, I am browsing a website and I want to be able to catch and process files that are downloaded. The thing is when I click on the 'download' button...
  26. Replies
    2
    Views
    515

    finding filenames from HTTP GET

    I'm using a webbrowser control to browse a website, and sometimes I want to be able to catch the filename of a file that is downloaded so I can manipulate it with my program. I don't know what the...
  27. Re: Passing text from one control to webbrowser text box

    I managed to solve it myself. Here' the way I did it.

    As it is always the same page, I know what the ID of the html element is, so I use this:


    Dim elements As HtmlElement =...
  28. Passing text from one control to webbrowser text box

    I have a form that has a button that pulls in a text string from a serial device, and I then put that text string into the clipboard. In the same window I have a webbrowser control. Is there any way...
  29. Replies
    5
    Views
    725

    Re: Lambda code not working

    damn I feel stupid, I just forgot .toarray at the end of the getfiles line.
  30. Replies
    5
    Views
    725

    Lambda code not working

    I'm trying to look through a directory and pick every file that doesn't have a string at the beginning, and I am having a go at doing this with lambdas, but I am getting it wrong somewhere


    Dim...
  31. Re: Debug and Release versions in multiple project solutions

    I have solved it; to add a reference, right click on the project and then add references. Then on the left, select 'solution' and then pick the other projects you want to add as references. My...
  32. Debug and Release versions in multiple project solutions

    Sorry if this is in the wrong location, as it is more general Visual Studio than VB.Net particularly. I have a project that has a GUI and a number of dlls that I have programmed. Is there a way to...
  33. Re: Possible threading issue when getting value from textbox

    That's brilliant, thanks!
  34. Possible threading issue when getting value from textbox

    Hi all,

    I have a threaded application which uploads some files to an FTP server, but my code occasionally crashes at a strange point, and I have a feeling it is to do with getting values from a...
  35. Replies
    1
    Views
    904

    conversion of some c# code to vb

    Hi all, I am trying to write a simple file upload/download for communication with an sftp server using sharpssh (from sourceforge). The c# code communicates ok, but I want to be able to integrate it...
  36. Replies
    7
    Views
    1,213

    Re: Plotting a stacked column graph

    I figured out a way to do what I want with the graph in the end, but it means pre-interpreting all the data, so now I have On-7 off-3 and so on for each day and then plot 'on' for each day as a...
  37. Replies
    7
    Views
    1,213

    Re: Plotting a stacked column graph

    That could work I suppose. The problem is if the data gets really dense, for example if I am gathering it several times an hour for many days:

    It would become hard to see clearly without the...
  38. Replies
    7
    Views
    1,213

    Re: Plotting a stacked column graph

    It would take ages to draw! I'll try this, and if still no good, then I will get paint out!



    table.Rows.Add("6", 1, 1, 1, 0, 0)
    table.Rows.Add("5", 1, 1, 1, 0, 0)
    ...
  39. Replies
    7
    Views
    1,213

    Plotting a stacked column graph

    Hi all,

    I am monitoring a device every hour to check whether it is on or off, and if it is on, I set a value to 1 and if it is off, I set it to 0. I want to be able to plot this as a stacked...
  40. VS 2012 Re: switching between a simple and an advanced form

    Thanks a lot. I'll look into those!
Results 1 to 40 of 41
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width