Search results

  1. ALX

    Calling an event handler

    Thanks for clarifying that for me JM !
  2. 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 ?
  3. ALX

    Combo-Box item location

    Thanks John. That's what I figured. It just seemed tacky to me that there was not a method similar to GetItemRectangle for a Combo Box List. I was thinking that on another OS, theme or accessibility option, the list box might not be exactly where it is showing on my system in relation to the...
  4. ALX

    Combo-Box item location

    I need to point to an item in a Combo Box drop-down list in one Form from a help page in another form. The drop down list is not owner draw although it could be changed. I figured the owner draw would give me the bounds within the drop down but not the location relative to the form or screen. I...
  5. ALX

    Combo-Box item location

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

    Dotfuscator alternative...

    For those out there with a similar question, it appears to me that Eazfuscator does a terrific job of renaming the variables, the class names and encodes the strings for a much more reasonable price tag. At this time it is right at $400. Looking at their obfuscated code was no less than a can of...
  7. 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...
  8. 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...
  9. ALX

    cross-site scripting attacks

    After many hours of messing with various HTML encoders, trying to get my web site to display user input correctly, I've come to the conclusion that VS2019 is already HTML.encoding the user input as the default. If this is true, why on earth would the default arrangement be throwing an exception...
  10. 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...
  11. ALX

    JavaScript site?

    Thanks guys !!!
  12. 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.
  13. ALX

    Forms controls sizing issue

    Thanks guys: As usual, I am my own worst enemy.
  14. ALX

    Forms controls sizing issue

    Of course... I told you I was going stupid. Not using ClientSize is the error. What a supreme waste of time ! The control is a DataGridView rather than a Panel. The reason I've went this direction is because the DataGridView would not center within the form when Maximizing from a much smaller...
  15. 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...
  16. ALX

    Temporary online data storage

    Thanks JM; Yes things can get way out of hand when you don't know what you're doing. It's like playing golf with a blindfold. 'No telling where you're going to wind up. I wasn't aware that the host would provide the database. What are the benefits of using SQL Server Management Studio ?
  17. 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...
  18. ALX

    Question Image swap from DropDownList

    Sorry... It is in fact MVC I see now the forum for MV_
  19. 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...
  20. ALX

    ASP.net guidance for a newbie

    Hey JM: Thanks for mentioning MVC. It's something I had never looked into. This is perfect for everything I need to do. I can bundle all of my normal HTML pages within the same app and have the power and access to the data I need to make this work without trying to insert a bunch of script...
Top Bottom