devnotebook

Juan Ignacio Gelos

  Home  |   Contact  |   Syndication    |   Login
  23 Posts | 2 Stories | 86 Comments | 4 Trackbacks

News

Save the Internet: Click here
GeoURL

MSN Alerts
Get MSN alerts when this blog is updated.



Random books from my library:

Article Categories

Archives

Post Categories

.NET General

Blogs

Microsoft

Monday, November 28, 2005 #

Component Factory has released a free set of Windows Forms user interface controls. It's called the Krypton Toolkit and it's targeted at Visual Studio 2005 and .NET Framework 2.0.

It's free for commercial use. It includes several controls:

  •      Krypton Button
  •      Krypton Group
  •      Krypton Header
  •      Krypton HeaderGroup
  •      Krypton SplitContainer
  •      Krypton Panel
  •      Krypton Label

From http://support.microsoft.com/default.aspx?scid=kb;en-us;306149:

"...you can add a registry key, such as the following, which points to the location of the assembly

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\MyAssemblies]@="C:\\MyAssemblies"

where MyAssemblies is the name of the folder in which the assemblies reside.

NOTE: You can create the this registry entry under the HKEY_LOCAL_MACHINE hive. This will change the setting for all of the users on the system. If you create this registry entry under HKEY_CURRENT_USER, this entry will affect the setting for only the current user.

Restart Visual Studio .NET after you have added the key."

Translated:

Create a new key (eg "My Company assemblies") under HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\, and set its "(default)" value to the path of a folder where you'll put all the assemblies you want to make visible to Visual Studio.


If you simply open the web config file and add the following, you will be able to access the test form outside of the localhost:


The SteepValley.NET: XP Common Controls are a collection of themed and unthemed controls that are currently missing from the Visual Studio IDE.

This project is available for free including the source code.


I'm copypasting this from: http://www.neowin.net/forum/lofiversion/index.php/t245309.html

1. Copy the MP10Setup.exe to the root of your C:\ drive.
2. Go to Start -> Run -> and type in C:\MP10Setup.exe /C /T:C:\TEMP and press enter.
3.Go to C:\TEMP and open file control.xml in notepad.
4. Search for words "oobinf" and change those to "advinf". Then search for words "5.1.2600" and change those to "5.2.3790". Lastly, save control.xml file.
5. Reboot into Safe Mode With Comand Prompt (Press F8 upon booting).
6. Once the Command Prompt has loaded, type C: followed by enter, then type CD TEMP followed by enter.
7. Type setup_wm.exe followed by enter to install Media Player
8. When setup is complete you will get error saying that install failed but it only says that because it couldn't start service called Windows User Mode Framework in services.msc, everything is installed fine and that service loads on reboot. Now Lastly reboot.

That's it enjoy and remember to ZIP C:\TEMP directory so you don't have to do steps 1-4 again.

Windows Media Player 10 Series (for Windows XP) (11.6mb)


Server Performance Advisor

"Service Performance Advisor is a server performance diagnostic tool developed to diagnose root causes of performance problems in a Microsoft® Windows Server™ 2003 operating system, particularly performance problems for Internet Information Services (IIS) 6.0 and the Active Directory® directory service. Server Performance Advisor measures the performance and use of resources by your computer to report on the parts that are stressed under workload.

Other server roles include system overview (hot files, hot TCP clients, top CPU consumed), print spooler, context switch data and preliminary File Server trace data."


The inventor of the smile emoticon ("smiley face") revealed.

With the Google Deskbar API, you can write plug-ins to add your own features to the Google Deskbar. Plug-ins can be written in any .NET language, such as C# or Visual Basic.NET.

I've posted a suggestion for the Visual Studio team about Code Snippets. This would allow to generate the whole definition for a class Property having the user only enter its type and name, by means of converting the entered name to camelCase and ProperCase (checking the property name is properly cased while on it).

So if you like the suggestion or already thought of it, click on "Vote on this suggestion" (an rate it as important!) in the following link:

Suggestion Details: Code snippet Function for parsing input fields

Related link: Code Snippets Schema

Related link about the override refactoring snippets: http://weblogs.asp.net/cyrusn/archive/2005/01/18/355843.aspx


...\Program Files\Microsoft Visual Studio <yourversion>\Common7\IDE\PublicAssemblies

(-OR- add a key under HKLM\Software\Microsoft\.NETFramework\AssemblyFolders where the default value is the path to an additional directory).


    1. Open the ie4shl95.cab or ie4shlnt.cab file in Winzip or any archiving utility and extract all the files inside onto a temporary folder (for example 'c:tempie4shell').
    2. Create a batch file in Notepad with the following lines:

@echo off
start /w RUNDLL32.EXE ADVPACK.DLL,LaunchINFSection ie4shell.inf,DefaultInstall
cls

    3. Save the file as an 'install.bat' file and place it onto the temporary folder where you store the IE Desktop Update setup files.
    4. Double-click on the INSTALL.BAT file to install the Desktop Update and reboot the computer when setup is done.

See also: http://erpman1.tripod.com/comptips.html

 

 


Important When you configure an identity for an application pool by using a configurable account, you must add the account that you created to the IIS_WPG group in order for the worker processes serving the application pool to run.

Check: http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/sec_acc_wpenable.asp

 


TheServerSide.Net has a nice article on performing Hierarchical queries using CTEs on SQL Server 2005.

http://www.theserverside.net/articles/showarticle.tss?id=HeirarchicalQueries


| From: "Juan Ignacio Gelos"
| Subject: DataGridView
| Date: Mon, 10 Jan 2005 14:07:46 -0300
| Lines: 11
|
| Hi,
|
|     Any simple, non-overcomplicated way of preventing the focus-rectangle
| from being drawn in cells? By the way, and in case this wasnt corrected in
| the latest builds, this should be the default behavior when SelectionMode
=
| FullRowSelect.
|
| Thanks,
| Juan
|

In Beta1 build you handle the RowPrePaint event and set the CellsPaintFocus
to false. In Beta2 builds you can leave it the same or handle the CellPaint
event and OR out the Focus paint parts.

The grid always has the notion of current cell, even in FullRowSelect. This
enables editing of specific cell in a row.

Thanks,
-mark
NET Client Program Manager
This post is provided "as-is"