Search:

Type: Posts; User: VisualBeginner.NET

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. VS 2019 Form sizes and locations messed up by Windows 10

    I switched from Windows 7 to Windows 10 for VB.NET code maintenance just yesterday and found that SaveFromScreen was behaving strangely. Now I have found that the window which was 600 pixels in...
  2. VS 2019 Re: Button controls on Windows10 look like flat rectangles while on Win7 like they sh

    They show up but look like plain rectangles. I can click them with the same effect but they don't look good.
  3. VS 2019 Button controls on Windows10 look like flat rectangles while on Win7 like they should

    I have done most of the development (conversion from VB 6) on Windows 7 in Visual Studio and the button controls look like 3D, as they should when I run it. But when I take the *.exe to Windows 10, I...
  4. VS 2019 Re: Forms under a project instead of solution

    This is for my own calculation work. The original in VB3 was started in 1996 and had the meaningless name Form1. Then came Form2 and it kept growing. And then some forms were removed. And the bad...
  5. VS 2019 Re: Forms under a project instead of solution

    But how about one form (shared by) in two projects?

    And why did it put that bitmap there which was just supposed to be in one PictureBox?
  6. VS 2019 Re: Forms under a project instead of solution

    OK. Thanks. I added new forms by Add Form from Solution name. If I had two projects under this solution, which project would have received that new form? Sorry for very stupid questions. I don't find...
  7. VS 2019 Re: Forms under a project instead of solution

    That's right. It misleads me to believe that everything is fine.
  8. VS 2019 Re: Forms under a project instead of solution

    182507

    Thanks. I think this should work.
  9. VS 2019 Re: Forms under a project instead of solution

    How should I attach the image? Trying to insert it resulted in this.
  10. VS 2019 Re: Forms under a project instead of solution

    Please check again. The attachment is very much visible. I tried to insert an image and this is what it did. IT shows only the Solution explorer. Not the whole screen. And I am using Windows 7.
  11. VS 2019 Re: Forms under a project instead of solution

    This is how it looks.

    182506
  12. VS 2019 Forms under a project instead of solution

    I am still not terribly familiar with Visual Studio and .NET. As a result, I put all my forms and modules in a solution instead of a project.

    (1) Was this stupid? Or it does not matter?

    (2) Is...
  13. VS 2019 Re: Tiling one Form with a part of another Form

    More details are in the original post but here is that part:


    Using g As Graphics = Graphics.FromImage(NewImage)
    ' g.CopyFromScreen(Form70.Location.X, Form70.Location.Y, 400, 100,...
  14. VS 2019 Re: Tiling one Form with a part of another Form

    OK. But I have also tried to put the whole form background on frmImage. And then from another Form I try to take a part of that frmImage. That too does not work. Why?
  15. VS 2019 Re: Tiling one Form with a part of another Form

    No. It is not. This might be difficult to do.
  16. VS 2019 Re: Tiling one Form with a part of another Form

    OK. But I have also tried to put the whole form background on frmImage. And then from another Form I try to take a part of that frmImage. That too does not work. Why?
  17. VS 2019 Re: Tiling one Form with a part of another Form

    No. It is not. This might be difficult to do.
  18. VS 2019 Re: Tiling one Form with a part of another Form

    Yes. It is the default instance. (I have never used anything else.)

    It is not complaining but just not drawing anything on Form71. I just get a gray background on Form71.

    If I use the tBrush...
  19. VS 2019 Re: Tiling one Form with a part of another Form

    It did not help. It is still not drawing anything on Form71.
  20. VS 2019 Re: Tiling one Form with a part of another Form

    Form70 is used first. Then one can come to Form71. Form70 is not disposed. Only hidden.
  21. VS 2019 Tiling one Form with a part of another Form

    I want to tile one Form with a small portion of another Form. What am I doing wrong?



    Public Class Form71

    Dim backImg As New Bitmap(Form70.Picture1.Image) ' 214 by 169
    Dim tBr As...
  22. Re: Command buttons from upgrade and newly added in Visual Studio 2019 are different

    Thank you very much. I have to learn what these DirectCast and TryCast are. The third alternative is easier (but that too was new for me). For the time being, I just manually selected all the buttons...
  23. Re: Command buttons from upgrade and newly added in Visual Studio 2019 are different

    Thanks. Now I understand (I think) what is going on. Even manually replacing is not difficult because I could select a lot of buttons using the pointer (and ctrl to add more) and then set the Visual...
  24. Re: Command buttons from upgrade and newly added in Visual Studio 2019 are different

    I had looked at the properties. FlatAppearance settings are the same, FlatStyle is Standard, Modifiers were different but I made them all Public. UseVisualStyleBackColor was different. This might be...
  25. Command buttons from upgrade and newly added in Visual Studio 2019 are different

    There is a difference in appearance of the new command buttons that have been added in Visual Studio from the upgraded ones from VB6. What is the best way to make all of them look similar?
  26. Re: Arranging textbox array causing IndexOutOfRangeException at 41

    Thanks.
  27. cancelling; trouble found

    cancelling; trouble found
  28. Re: Small trouble with PowerPacks in Visual Studio 2019 Community

    I think I like this idea of giving up on legacy classes. Otherwise, I could as well continue with VB6.

    For the time being, I can even give up printing forms (and claim to save a couple of trees)...
  29. Re: Small trouble with PowerPacks in Visual Studio 2019 Community

    Still what bugs me is that PowerPacks works fine for another project on the same computer. It could be an issue of just the reference to it. I know too little to be able to figure out what to add and...
  30. Small trouble with PowerPacks in Visual Studio 2019 Community

    I have used PowerPacks in another project and it seems to be working all right for printing forms. Now I have started with another project and it is not being found. This means it has probably been...
  31. Re: How soon may I have to give up VB.net (and VB6)?

    2, What should I install to learn the basics of VB.net web app and mobile app development? I don't believe that very many engineering applications will move to small screens, but no harm in learning...
  32. Re: How soon may I have to give up VB.net (and VB6)?

    This is very good to know. I have used Fortran IV to Fortran 77 before I started with Visual Basic.
  33. Re: How soon may I have to give up VB.net (and VB6)?

    I don't think there are any free compilers for Visual Fortran. I suspect Microsoft will probably not allow it to run smoothly just like older versions of VB.
  34. Re: How soon may I have to give up VB.net (and VB6)?

    This has been a very good reply. For my engineering work, VB3 was optimal, but it is more or less impossible to use it today (and give the .exe to others). Installing VB6 on Windows 10 is not easy...
  35. Re: How soon may I have to give up VB.net (and VB6)?

    I definitely like the advice to not stop learning. However, I have a million things on the list to be learnt. And I have a full time job. And I am not a programmer by profession but an engineer. So I...
  36. How soon may I have to give up VB.net (and VB6)?

    Sorry if this is not a relevant question, but a serious issue for me. I would like some advice from people who have worked with programming for a long time.

    1, I have a fair amount of engineering...
  37. Re: VS 2019 - fonts blurred on Windows 10, higher resolution screen

    1. Is there any alternative to VB.net and Visual Studio which will produce good font appearance on smaller as well as bigger (higher resolution) screens?

    2. How does Microsoft manage to show sharp...
  38. Re: VS 2019 - fonts blurred on Windows 10, higher resolution screen

    Then why are all other programs appearing sharp but only VB6 and VB.net programs do not? Can we not use some settings such that the Form painting is done like in Windows Explorer?
  39. Re: VS 2019 - fonts blurred on Windows 10, higher resolution screen

    The AutoScaleMode is font. Would it help to change this?

    By default, I have Microsoft Sans Serif, but the problem is the same for all the available (200+) fonts on that computer.
  40. VS 2019 - fonts blurred on Windows 10, higher resolution screen

    I have searched for this problem and find complicated answers which require messing with system files. Is this a well known problem?

    The fonts look fine on two laptops running Windows 7, but when...
Results 1 to 40 of 42
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width