Basic and easy .NET 2.0 control to make your application feel like MS Office 2007 UI experience.
Download mentas Ribbon
Daily reviews about .Net,tools and programming techniques
Basic and easy .NET 2.0 control to make your application feel like MS Office 2007 UI experience.
Download mentas Ribbon
Technorati : control, development, gui, toolbar, ui
Ice Rocket : control, development, gui, toolbar, ui
at 00:38 2 comments
ZedGraph is a set of classes, written in C#, for creating 2D line and bar graphs of arbitrary datasets. The classes provide a high degree of flexibility - almost every aspect of the graph can be user-modified. At the same time, usage of the classes is kept simple by providing default values for all of the graph attributes. The classes include code for choosing appropriate scale ranges and step sizes based on the range of data values being plotted.
ZedGraph also includes a UserControl interface, allowing drag and drop editing within the Visual Studio forms editor, plus access from other languages such as C++ and VB.
Example charts generated with ZedGraph
Technorati : c#, chart, development, net
Ice Rocket : c#, chart, development, net
at 00:13 0 comments
"A topmost form is a form that overlaps all the other (non-topmost) forms even if
it is not the active or foreground form. Topmost forms are always displayed at
the highest point in the z-order of the windows on the desktop. You can use this
property to create a form that is always displayed in your application,
such as a Find and Replace tool window."
The well known issue that the TopMost Form stealing focus ...
The fallowing code can solve the problem.
private const int SW_SHOWNA = 8;
private const int SW_SHOWNA = 8;
[DllImport("user32", CharSet = CharSet.Auto)]
private extern static int ShowWindow( IntPtr hWindow, int nCmd );
public void MakeTopMostForm(Form frm)
{
ShowWindow(frm.Handle, SW_SHOWNA);
}
at 00:02 1 comments
BytesRoad.NetSuit Library 2.0 is a free network library for .NET platform distributed under GNU General Public License. The library is written in C# language and source codes are also available.
FTP functionality is exposed by FtpClient class . This class contains high level methods that allow you to communicate with FTP server. Also available SocketEx class. This class may be used instead of the .NET Framework's Socket class wish your application to be able to communicate through the proxies (Socks4, Socks5 etc).
Download BytesRoad.NetSuit Library 2.0
Technorati : freeware, ftp, open source
Ice Rocket : freeware, ftp, open source
at 04:58 0 comments
"Future or current SharePoint developers should at least flip through the book to build a picture of how MOSS 2007 fits together and what the concepts are -- changes to the security model, site definitions, site features, Content Types, how Workflow is integrated, Excel Services -- there are a hundred small topics, you owe it to yourself to get a handle on the big picture."
Table of Contents
[Via Roy Osherove's Blog]
Technorati : book, free, microsoft, sharepoint
Ice Rocket : book, free, microsoft, sharepoint
at 01:50 0 comments
In Windows Forms FAQ( .Net 2.0) I found that the CloneMenu method is not implemented ...:-(
"With the entire ToolStrip family of controls we do not have an integrated commanding
architecture nor do we support cloning of items to appear in multiple places.
We do support reusing the same ToolStripDropDown or ContextMenuStrip in multiple places (non-nested).
We understand this may require more state management and maintenance code and are looking
at ways to improve this in the future.
Erick Ellis, 6 January 2005 # (MS)"
Here's "fast and dirty" solution:
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication66
{
class CloneToolStripLabel:ToolStripLabel
{
public CloneToolStripLabel( string text )
: base(text)
{
}
public CloneToolStripLabel CloneMenu()
{
return ( CloneToolStripLabel )this.MemberwiseClone();
}
}
}
Usage:
CloneToolStripLabel menuItem = new CloneToolStripLabel("Kuku");
toolStrip1.Items.Add(menuItem);
toolStrip2.Items.Add(menuItem.CloneMenu());
Also you can read this post
Technorati : dotnet, ms, toolstrip, winforms
Ice Rocket : dotnet, ms, toolstrip, winforms
at 05:37 0 comments
The fallowing example saves the properties (location, size and windows state) of a form to app.config
when the form is closed and restores the form state when it is loaded.
Create three properties called Size ,Location and WindowState in project settings dialog as shown in picture:
Modify Form.Load and FormClosing methods (Use DesktopBounds (instead Form.Location and Size)private void Form1_Load( object sender, EventArgs e )
{
// restore location and size of the form on the desktop
this.DesktopBounds =
new Rectangle(Properties.Settings.Default.Location,
Properties.Settings.Default.Size);
// restore form's window state
this.WindowState = ( FormWindowState )Enum.Parse(
typeof(FormWindowState),
Properties.Settings.Default.WindowState);
}
private void Form1_FormClosing( object sender, FormClosingEventArgs e )
{
Properties.Settings.Default.Location = this.DesktopBounds.Location;
Properties.Settings.Default.Size = this.DesktopBounds.Size;
Properties.Settings.Default.WindowState =
Enum.GetName(typeof(FormWindowState), this.WindowState);
// persist location ,size and window state of the form on the desktop
Properties.Settings.Default.Save();
}
at 04:35 2 comments
PowerShellIDE is the PowerShell Editor and IDE.
It is a graphical user interface that helps explore and exploit the vast power available with PowerShell. It contains a debugger, lets you step through PowerShell scripts, explore variables as you run your scripts and also supports many Intellisense-like functions.
Technorati : ide, microsoft, monad, powershell
Ice Rocket : ide, microsoft, monad, powershell
at 03:35 0 comments
MSBuild Sidekick is a GUI application for creating and editing build project files for Microsoft Build engine. The application provides full-fledged graphic user interface as alternative to editing build project files by hand. The full range of MSBuild schema elements is supported.
MSBuild Sidekick features:
[Via Larkware News]
Technorati : dotnet, microsoft, msbuild, vs2005
Ice Rocket : dotnet, microsoft, msbuild, vs2005
at 03:08 0 comments
You can prevent the UserControl class to appear in the Visual Studio toolbox by adding fallowing attribute to it
[System.ComponentModel.ToolboxItem(false)]
Remember that this attribute is inheritable ,so derived UserControls must place have a System.ComponentModel.ToolboxItem(false) attribute if they want to be available on the Visual Studio toolbox .
Technorati : c#, code, component, dotnet, vs
Ice Rocket : c#, code, component, dotnet, vs
at 16:06 0 comments
SQL Prompt provides Intellisense® style auto-completion for Microsoft SQL Server editors. It will tell you the exact formatting you should use for your SQL commands, while you are writing them and will therefore help you write fast, perfectly formatted SQL statements. SQL Prompt improves the productivity of all SQL script creation. SQL Prompt can be downloaded free until 1st September 2006.
SQL Prompt simply sits behind the scenes and provides unobtrusive help when you press Ctrl-Space or when you type "." after a table/view/alias name.
Features:
SQL Prompt works with Microsoft Query Analyzer, SQL Server 2005 Management Studio, Visual Studio 2005, Visual Studio .NET 2003, SQL Server 2000 Enterprise Manager, UltraEdit32.
Technorati : database, intellisense, sql, tool
Ice Rocket : database, intellisense, sql, tool
at 04:13 0 comments
{smartassembly} is an innovative all-in-one improvement and protection tool.
Features:
{smartassembly} is available in 3 editions:
The Standard edition is perfect for a small and simple project.
The Professional edition, thanks to its advanced debugging capabilities, enables to improve and protect larger and more complexes projects.
The Enterprise edition, thanks to its customization capabilities, enables to improve and protect your enterprise projects.
[Via Larkware News]
Technorati : development, protection, reporting, tool
Ice Rocket : development, protection, reporting, tool
at 03:57 0 comments
Gilma is a front-end application for ILMerge: Microsoft's command-line utility that can be used to merge multiple .NET assemblies into a single assembly. ILMerge is freely available from Microsoft's web site. ILMerge's license does allow commercial usage.
[Via Larkware]
at 08:27 0 comments
The Standard User Analyzer helps developers and IT professionals diagnose issues that would prevent a program from running properly without administrator privileges. On Windows Vista, even administrators run most programs with standard user privileges by default, so it is important to ensure that your application does not have administrator access as a dependency.
Using the Standard User Analyzer to test your application can identify the following administrator dependencies and return the results in a graphical interface:
This tool also complements the Application Compatibility Toolkit (ACT) 5.0. ACT 5.0 will include a User Account Control agent that you can deploy to user desktops to identify applications that require administer privileges. The Standard User Analyzer is designed to be run on the developer or tester's workstation to test and troubleshoot a specific application. Issues identified with the Standard User Analyzer can also be entered into you ACT 5.0 database so you can track the application compatibility across your environment.
at 06:12 0 comments
Technorati : gadget, microsoft, sdk, windows
at 21:42 0 comments
at 03:48 1 comments
The DebuggerDisplay attribute (System.Diagnostics.DebuggerDisplayAttribute) controls how a class or field is displayed in the debugger variable windows. This attribute can be applied to:
The following code example shows how to use DebuggerDisplay
namespace ConsoleApplication11
{
[DebuggerDisplay("OnlineResource: {_Url} {_Port}.")]
public class OnlineResource
{
public string _Url;
public int _Port;
public OnlineResource(string url,int port)
{
this.Url = url;
this.Port = port;
}
public string Url
{
get
{
return _Url;
}
set
{
_Url = value;
}
}
public int Port
{
get
{
return _Port;
}
set
{
_Port = value;
}
}
}
}
at 03:41 2 comments
Microsoft is challenging developers worldwide to create conversational robots, or BOTs, for MSN® Messenger and Windows Live™ Messenger. The most original, useful robots collect $40,000 in total prizes.
Robots or "BOTs", are software programs that you can add to MSN® Messenger and Windows Live™ Messenger. If you add a robot to your contact list, it can chat, give you customer service support, perform searches, make suggestions, play games and more.
Registration is open until September 15, 2006
at 00:22 0 comments
PHLAT is a new interface for Windows Desktop Search (enabling search through a user's own email, files, and viewed web pages). PHLAT lets you easily specify queries and filters, attempting to integrate search and browse in one intuitive interface. In addition, Phlat supports a unified tagging (labeling) scheme for organizing personal content across storage systems (files, email, etc.).
Click here to read more about PHLAT!
Technorati : labeling, search, tagging, windows
Ice Rocket : labeling, search, tagging, windows
at 03:13 0 comments