Retrieving the state of the Shift, Alt and Ctrl keys, at any time
You can know the state of the Shift, Alt and Control keys at any time, not just from inside a Keyxxx event. The shared property Control.ModifierKeys returns a bit coded
You can know the state of the Shift, Alt and Control keys at any time, not just from inside a Keyxxx event. The shared property Control.ModifierKeys returns a bit coded
Final – For Release December 17, 2002 New Eclipse Project Addresses Automated Software Quality Open-source framework is basis for extending development platform to support deployment evaluation “Project Hyades” Builds upon
eflection in .NET is an exciting new tool for most developers. This article shows you how to use reflection to discover objects at runtime that you did not know existed
xecuting code dynamically at runtime is a powerful tool to allow users to customize applications after deployment. .NET provides all the tools that make it possible to build code on
solated storage represents a subset of the file system that partially trusted applications can access to perform their private I/O operations. Introduced to preserve the integrity and the functionality of
ondering what I would dig up in the JDK 1.4 source code, I recently started looking through the classes in the java.util.* package?without even the subpackages. That alone kept me
hat you are involved in at Microsoft and what changes have been made in the security arena? Steve Lipner: The Secure Windows Initiative (SWI) was created in early 2000, right
he process of securing applications begins with understanding the threats against your applications. Portions of this article are excerpted from Writing Secure Code, 2nd Edition, available from Microsoft Press. A
he .NET Framework introduces advanced free threading as a fundamental building block. The Framework offers solutions even for advanced issues, enabling developers to build truly thread-safe applications in a relatively
nless you are clairvoyant, finding what you need in the Visual Studio .NET documentation can sometimes be a daunting task. The Doc Detective is here to help, gazing into his
n part 1 of this series you learned how PERL has been incorporated into the Visual Studio .NET family. This article explores its membership in more detail. PERL and its
Use this function for getting the 10th next element from an array with “circular” contents such as “Monday,” “Tuesday,” and so on: intCurrent = WrapIndex(Index:=intCurrent, _ Move:=+10, UpperBound:=6) You don
VB6 introduced a new Style=5-tbrDropDown of the Button object for the ToolBar control. In this case, you can add one or more ButtonMenu objects to the current Button. Unfortunately, you
function IsIE(){ var str=newString(Request.ServerVariables(“HTTP_USER_AGENT”)).toUpperCase(); return (str.indexOf(“MSIE”)>-1)?true:false;}if(IsIE()==false){ Response.Write (“”); } else{ Response.Write (“”); } Related Posts IDC Predicts Slower Growth for SmartphonesFind Out the Column Name Using the COL_NAME() FunctionGet All
VB Related Posts Amazon Monopoly Tactics Spark Major LawsuitRetrieving remainder of two numbers in PythonAST Mining launches cryptocurrency earning programVagrant Provisioning with PuppetCeBIT Innovation: gateprotect Offers Unique New SCADA Protection
I first used this function in the VB4 days when CommandButtons didn Related Posts Flexera Software Rolls Out InstallShield 2015: Refined & Ready for Windows 10MapR Unveils a Kafka Alternative
Have you ever had a zero-length string parameter fail when attempting to execute a stored procedure from ADO? You Related Posts Validating Dynamic ArraysMastering VC pitching at TechCrunch 2024VMware Adds
This little bit of code keeps webmasters from having to update copyright dates at the beginning of every year. Put it in the body of your HTML. Don’t forget to
Detect the client’s screen resolution using Javascript and then stuff it into an ASP variable! Related Posts eeGeo Launches Global 3D Mapping Platform to Visualise Location-Based Services and InteriorsHow AI
y hometown in rural Alabama was a place where the level of trust was extremely high. I cannot remember a time during my childhood when the door to our house
ell, the end of 2002 is at hand and what a year it has been. From an economic standpoint this year has been a tough one. From a technology standpoint
xceptions need to be handled in all applications. Having a consistent method of dealing with exceptions will make your application easier to debug. Recording exceptions into an SQL database or
The Autocomplete TextBox is a freeware textbox control developed by Neo Components that acts like the ones you find in the latest browsers. Automatically builds a list of entries, saves
‘ A custom routine that works like FormsAuthentication.RedirectFromLoginPage ‘ but lets you control the authentication cookie’s expiration date’ Example: create an auth cookie that lasts 7 days’ RedirectFromLoginPageEx(username, persistent, 7)Function
‘ Convert a string to its ASCII representation’ Example: Response.Write(AsciiEncode(“hello”))’ ==> hello” Note: this may be useful when you’re producing the code for HTML forms with ‘ hidden/visible field, and
‘ Output an image as a binary stream to the Response objectSub ShowImage(ByVal bmp As Bitmap) ‘ Clear current content and set returned content type HttpContext.Current.Response.Clear() HttpContext.Current.Response.ContentType = “image/jpeg” ‘
‘ Return the absolute Url of a secured page (that uses the https protocol)’ The input string is the page’s relative path’ Example: Dim url As String = GetSecuredPageUrl(“./Admin/Login.aspx”)Function GetAbsoluteSecuredPageUrl(ByVal
If you develop a custom control and want to give the option to output client-side javascript code, you’ll likely have a EnableClientScript that allows the developer to specify whether the
‘ Return the value of the specified custom key, stored in the Web.Config file.’ If the value has been already requested before, the function returns its ‘ cached value.’ The
Sometimes it is very helpful to use a JavaScript feature that supports adding properties to build-in prototype “Objects” at runtime. It is generally known that Netscape 4.x has problems in