Search results

  1. ALX

    Resolved Closing a Web Browser Control with KeyDown event

    This may seem a little trivial, but I'm a nut for making an app work with the keyboard and avoid making the user reach for the mouse when ever possible. I have a Help page for my app that is shown on a web browser control. This is easy for me as I can update the help page quickly and easily...
  2. ALX

    Resolved DataGridView & Selected Row

    In a DataGridView where the Selection Mode is set to Full Row Select, single row selection and the row's DefaultSelectionBack Color is set to a particular color, the user becomes accustomed to seeing this selected Row's backcolor when they click on a row. If they are clicking the row with the...
  3. ALX

    Calling an event handler

    Many times I've read this advice: 'Do not call an event handler directly.' ... such as 'Button1_Click(Me, Nothing). I'm curious to know why this is generally a programming error. It seems to me like a way to reduce the number of lines of code. What's the down side ?
  4. ALX

    Combo-Box item location

    Is it possible to get the bounds / location of an item in a standard Combo-Box Drop down list?
  5. ALX

    Dotfuscator alternative...

    As Visual Studio provides a default Dotfuscator for personal use, I checked with PreEmptive Dotfuscator about their pricing for the version used for commercial apps. The 1-Year term subscription price is $4,250. They also offer a 3-Year term single-payment option for $11,225. For this kind of...
  6. ALX

    Resolved .NET Native

    I've been searching the internet for information about pre-compiling .NET code to native machine language. It seems that .NET Native is what I'm looking for but all of the info I've found online is several years old... Including Microsoft's at March of 2017 which states that "For Windows apps...
  7. ALX

    cross-site scripting attacks

    I've been going back & forth on the issue of user input validation as far as protecting my MVC site from xss attacks. I'm using VS2019 with .NET 4.8. The app includes a very simple feedback forum with user input for Name, EMail & Comments. From the controller, existing database data is sent as a...
  8. ALX

    JavaScript site?

    I'm looking for some guidance with javascript. I was hoping JohnH or jmcilhiney might also post their expertise on some site that deals with javascript. They both have helped me so much in the past.
  9. ALX

    Forms controls sizing issue

    It seems no matter how long I do this stuff, I continually get hung up on the ridiculously small stuff. Here's the only code on a simple form that is supposed to set the width of a panel (Panel1) to be 30 pixels less than the width of the form and center it. (15 pix on each side of the...
  10. ALX

    Temporary online data storage

    'Need a little advice... I'm preparing an MVC web site that will accept user input such as Name, E-Mail, Date, Payment Amount and a unique User ID. From my site the user is redirected to PayPal to handle a secure transaction and return all variables back to my site. I began thinking I'd need...
  11. ALX

    Question Image swap from DropDownList

    This is some HTML & Javascript for changing an image based on the users' selection in a drop-down List Box. I would like to accomplish the same thing without using Javascript. This snippet is in a View within an MVC. Is there a way this can be done through HTML exclusively or maybe replace the...
  12. ALX guidance for a newbie

    I need some guidance: I have an app that will be available for download from the internet, initially as a trial version. If / when the user decides to purchase the app for use beyond the trial period, they would link to my website to fill in a brief form and the server should return a unique...
  13. ALX

    Answered Debug very slow...

    Something happened during my most recent build of a project that coincided with the time the latest VS2019 update came available. After the update, all debug stepping through the code was barely moving along. Where I used to click through the code as quickly as I could hit the mouse button, I...
  14. ALX

    Answered Disposing objects ?

    I know I'll get chastised for my method here, but that is precisely why I come to this forum. I appreciate being corrected and I can't think of another way to do this ... One form initiates another small form that is a very small window on top of the main form and is used as a very transient...
  15. ALX

    Answered MS License for Community editions

    'Getting close to deployment, in which I'd like to make an app available for sale online, I've started looking more closely at Microsoft's License terms for the VS Community edition. The license states: 1. INSTALLATION AND USE RIGHTS. a. Individual License. If you are an individual working on...
  16. ALX

    Resolved Non-Modal form not showing ?

    Here's something that caused me to lose hours of coding time while head scratching & fist pounding, and although I've found the culprit, I still don't know WHY it is an issue. After making a massive jump from VS2008 to VS2019 Community, I ran into this issue that didn't exist in previous...
  17. ALX

    Releasing resources

    Here's another beginner's question from someone who's been doing this long enough to know better... When we talk about disposing objects to free up used resources, is it possible that some undisposed resources could continue to take up memory after the program application has closed?
  18. ALX

    Properly Using Dispose

    I apologize for asking such basic questions. There are things that get missed when you learn this stuff from a book without any formal guidance. You folks ARE my formal guidance. So this question has to do with using Dispose to avoid locks on files and memory leaks. bmp = New...
  19. ALX


    Are there any performance benefits to using My.Resources.Resources to load bitmaps as opposed to Image.FromFile
  20. ALX

    Question .NET Framework version

    If you were to deploy a desktop app and wanted to reach the largest share of users in the general population, what Framework version would you target. My thinking is I should use 4.0 so I can include those users who are still on XP. I'm assuming (and welcome being corrected) that 4.0 would also...
Top Bottom