In some cases you may require to pause for the user input or display a message to the user and prompt him to continue by pressing the key. ...
How to get path of the current system's temporary folder using .NET (C#) Temporary folders are useful to store simple logs during execut...
ApplicationData is the directory that serves as a common repository for application-specific data for the current roaming user. It can be r...
Immediate and Command window in Visual Studio The Command window is used to execute commands or aliases directly in the Visual Studio ...
Two methods doing some identical jobs always create some confusion. What to use to 'unload' the form Form.Close or Form.Dispose For...
Yet again we take the good old select file form as our example. Let us use the MouseHover event of the ellipsis button to inform the user of...
How to Populate DataGridView on the fly using VB.NET Not all data come from a database table; at times we need to create in on the fly. ...
        //  Today it is not changed.  If we decide that this should change in the future we can easily add 
        // calls GetStream() on PackagePart then we will attempt to get the stream for the named resource
        ///      Safe - because only hooks up specific internal event handler only applicable to for non-browser hosted scneario
        ///   2. Critical - because creating a new ResourcePart is critical, as the ResourceManagerWrapper
        ///                 that it uses has an Assembly instance that is SecurityCritical data for accessing internal types. 
        ///      Safe - because a ResourceManagerWrapper is being created based on a Uri name that gets mapped
        ///             to an assembly from which a stream for the Uri was created and GetResourceManagerWrapper 
        ///             guarantees that given a Uri, the stream is always created from that mapped Assembly 
            // AppDomain.AssemblyLoad event handler for standalone apps. This is added specifically for designer (Sparkle) scenario. 
            // We use the assembly name to fetch the cached resource manager. With this mechanism we will still get resource from the 
            // old version dll when a newer one is loaded. So whenever the AssemblyLoad event is fired, we will need to update the cache
            // with the newly loaded assembly. This is currently only for designer so not needed for browser hosted apps. 
        // been added to the cache. If it has, we need to update the cache with the newly loaded dll.
            // We do no care about those. Only when a assembly is loaded into the execution context, we will need to update the cache.
                // Note Package caches Part and Part holds on to ResourceManagerWrapper. Package does not provide a way for 
                        // This Uri maps to Application Entry assembly even though it has ";component".