Search:

Type: Posts; User: wavering

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    7
    Views
    2,053

    Re: Accessing Visual C++

    Thank you for taking the trouble!

    I have got it working - I did some random clicking (not a helpful statement I know) then clicked on the project and this time it suggested I do

    Properties -->...
  2. Replies
    7
    Views
    2,053

    Re: Accessing Visual C++

    Well, yes I do have Win 10! But I use Screenhunter 7 and now it is installed and properly working it means I just make a single click to copy images or videos and I am writing an image processing...
  3. Replies
    7
    Views
    2,053

    Re: Accessing Visual C++

    Unfortunately not - this is all on a new laptop and when I installed VS I had not got my screenshot software properly installed

    Maybe I could just re-install and only select the VC++? Maybe there...
  4. Replies
    7
    Views
    2,053

    Accessing Visual C++

    I have just installed Visual Studio 2019 and got everything working OK for vb.net

    I now need to use a DLL I wrote in VC++ many years ago which I use in vb.net. The run fails and I get an error...
  5. Replies
    1
    Views
    629

    VS 2019 Changing from V2013 Automatic Formatting

    I have just bought a new laptop (Dell XPS 17 at huge expense - no quicker than my 7 year old HP Envy which sadly is losing its mind) and decided to change from V2013 to V2019.

    After the initial...
  6. Replies
    16
    Views
    1,654

    Re: Changing an Image Size

    You can actually tell how much memory your machine has left by using



    lngMemory = CLng(My.Computer.Info.AvailablePhysicalMemory)


    When is use my version of the program it runs fine with...
  7. Replies
    16
    Views
    1,654

    Re: Changing an Image Size

    When I use random images I get errors all the time - partly because the image width is best at a multiple of 4 eg "width = 1025" can cause (me) problems because Bitmaps then use padding and if you...
  8. Replies
    16
    Views
    1,654

    Re: Changing an Image Size

    Talking of SO, there is a lot of stuff relating to Bitmaps and memory leaks eg

    https://stackoverflow.com/questions/47878790/bitmap-not-automatically-disposing
    ...
  9. Replies
    16
    Views
    1,654

    Re: Changing an Image Size

    Maybe its because I am using an old version of Vb.net? Anyway, I hope this is a useful discussion for other people - all I can say is I had memory leaks cured by using "using" and a Memory stream
  10. Replies
    16
    Views
    1,654

    Re: Changing an Image Size

    As you will have guessed, I am using this for images from video - hence the thousands of images (just done 9,000 images)

    Incidentally, I give the user the option of preserving aspect ratio or not...
  11. Replies
    16
    Views
    1,654

    Re: Changing an Image Size

    Yes, when I process hundreds of large images in a loop using your version it runs out of memory because the bitmaps pile up

    So you have to use "Using" and then you cannot just return the bitmap as...
  12. Replies
    16
    Views
    1,654

    Changing an Image Size

    Firstly I am still using the 2013 version of vb.net

    I am writing an image processing routine and after 50 or so images it kept running out of memory because Bitmaps are memory hogs and hang...
  13. Replies
    10
    Views
    1,138

    Re: Chain Reactions!

    Thanks for the replies. I was really trying to establish whether it was good practice rather than if it appeared to work. It might appear to "work" for example if there was a cut off after maybe 50...
  14. Replies
    10
    Views
    1,138

    Re: Chain Reactions!

    Because the project is still in the planning stage so there is no code yet for this aspect but I foresaw this a potential problem! Sorry to have wasted your time ...
  15. Replies
    10
    Views
    1,138

    Chain Reactions!

    I have a track bar which when it is moved updates a text box to display the actual value. Or if I input to the text box it needs to update the trackbar.

    The problem is (I think) that they each...
  16. Replies
    3
    Views
    581

    Re: Checking for 24 bit or 32 bit Images

    That does it in two lines after the usual going round the houses

    Dim myJpgImage As Image = Image.FromFile("C:\test.jpg")
    MsgBox(myJpgImage.PixelFormat.ToString)

    The message reads:...
  17. Replies
    3
    Views
    581

    Checking for 24 bit or 32 bit Images

    I have not done any coding for a while and am still using VB Express 2013 ...

    I have a whole set of routines I have cobbled together over the years which read an image (eg a JPG) from disc and...
  18. Running an exe file on a Server via a Browser

    I am using Visual Studio 2013 under Win 8 on an HP Laptop

    I have an application which is written in vb.net (with a dll written in C++) and I want people to be able to try this out from a web...
  19. Looking for a FREE ANPR routine (written in vb.net ideally)

    I am using Visual Studio 2013 running under windows 8 on an HP Laptop

    Does anybody know of an ANPR (Automatic Number Plate Recognition) program which is FREE - ideally, as an API or even better...
  20. Replies
    10
    Views
    3,305

    Re: Role of Current User

    No, I am running it on my own personal HP Laptop in Main()

    I have just moved it to a Form Load event and walked through it line by line (it is NOT failing) but I still get no messages. Also run it...
  21. Re: Need UAC Centre Screen - NOT as Flashing Icon on Taskbar

    Well, this is actually discussed here at length:

    http://msdn.microsoft.com/en-us/library/bb756922.aspx

    It seems that:

    "Background applications will automatically prompt the user for...
  22. Need UAC Centre Screen - NOT as Flashing Icon on Taskbar

    I am running Visual Studio 2013 under Win 8 and moving my project from VB6 to vb.net

    When the user clicks on a file with one of my extensions (eg "myfile.msct") it asks the user to approve changes...
  23. Replies
    10
    Views
    3,305

    Re: Role of Current User

    Absolutely nothing


    None


    I agree


    Yes. I stepped through it line by line. I also run it as an exe file both as Admin and not as Admin. No output
  24. Replies
    10
    Views
    3,305

    Re: Role of Current User

    Well, yes but this was just a quick and dirty test and nothing is coming up!
  25. Replies
    10
    Views
    3,305

    Role of Current User

    I am running Visual Studio 2013 under Win 8 and moving my project from VB6 to vb.net

    I need to know whether the user is running as an Administrator (if not, then I will ask them to either do so or...
  26. Replies
    2
    Views
    3,027

    Re: File Associations

    In Win 8 it no longer writes to HKCR (even if you tell it to) it actually writes to HKLM or HKCU. This is explained in this article here:
    ...
  27. Replies
    2
    Views
    3,027

    File Associations

    I am running Visual Studio 2013 under Win 8 and converting my application from VB6 to vb.net

    I have a number of file extensions (all registered to me at fileinfo.com) which enable the user to...
  28. Re: Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    You can remove this error problem (which occurs if you change the app.manifest to "highestAvailable") as follows:

    Project --> Properties --> Security --> UNCLICK "Enable ClickOnce Security...
  29. Re: Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    Thanks, Paul. My fundamental problem here is that I moving from VB6 running on Win XP to vb.net running on Win 8 and this is a bit of a learning curve but you and others here have been a great help...
  30. Re: Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    Ironically, I have a whole section on Reg files on my site - see:

    http://www.mopeks.org/downloads/tools.asp

    I need to test these again on my current 64 bit system but should work!

    Thanks...
  31. Re: Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    Yes, I am doing file associations. I have 4 extensions (each one of which is treated by my app differently) BUT as it says in the MS article above, in Win 8 it seems to write to: ...
  32. Re: Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    OK, done that. When I click on Start in the VS IDE, I get:

    "Error 1 ClickOnce does not support the request execution level 'requireAdministrator' "

    So, I cannot compile it! Never mind run it ...
  33. Re: Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    I reset this to give myself full privileges but it still fails when I just run by pressing the Start button in the Visual Studio IDE ... but see below



    I wondered what that was for! There is a...
  34. Re: Form shown as "ShowDialog()" fires the FormClosing event!?

    OK, but why does it fire FormClosing when I HIDE the form as in code just above?? ie



    Private Sub Button1_Click( sender As Object, e As EventArgs) Handles Button1.Click
    MsgBox("In Form4 ",...
  35. Re: Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    Yes, just done it!
  36. Write to and Read from the HKEY_CLASSES_ROOT in the Registry

    I am using Visual Studio 2013 and have almost completed conversion of my project from vb6 to vb.net

    I need the application to be able to read and write to the HKEY_CLASSES_ROOT in the Registry...
  37. Re: Form shown as "ShowDialog()" fires the FormClosing event!?

    Well, see this code - Hide() also causes it to move on ...:



    Public Sub Main()
    Form4.ShowDialog()

    MsgBox("Now in Main() having passed by Form4.ShowDialog()", MsgBoxStyle.SystemModal)...
  38. Re: Form shown as "ShowDialog()" fires the FormClosing event!?

    No! The problem is that when I ShowDialog() my form, it subsequently fires Form.Closing when my code moves to the next instruction. But then it does NOT fire the Form.Closed event.

    This means that...
  39. Find executable associated with a particular file extension?

    I am converting my project from VB6 to vb.net in Visual Studio 2013

    I need to find out if my user already has an executable associated with a particular file extension (eg does the user already...
  40. Re: Form shown as "ShowDialog()" fires the FormClosing event!?

    [QUOTE=dbasnett;4794741]Replace frmThis.ShowDialog with this to see if it makes a difference:


    Dim f As New frmThis
    f.ShowDialog()


    Thanks for your time but as a practical...
Results 1 to 40 of 78
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width