Suresh Behera

The Microsoft .Net Junkies

News

Blogroll

Reading

March 2004 - Posts

Visual Studio Tools for the Microsoft Office System 2003 Training

FYI..

Visual Studio Tools for the Microsoft Office System 2003 Training

The training labs in this section step you through the process of creating and working with Microsoft® Office Word 2003 and Microsoft Office Excel 2003 solutions using Microsoft Visual Studio® Tools for the Microsoft Office System. Visual Basic® .NET code is used in all labs except Lab 6, which contains Visual C#® code.

Note   The labs are designed to be completed in order.

Labs

Suresh,Microsoft MVP.Net

Font with Bold and Italic

This make me so funny when I tried to make listview’s font to bold and italic. The various default properties of node does not allow to make changes because of get methods (No Set) .Here is way how i did it. 

TreeNode myNode;

Font myFont = new Font("Arial",8,FontStyle.Bold | FontStyle.Italic); // Passing two enum value

myNode.ForeColor = Color.Green; //Making Green

myNode.NodeFont = FontNode;//Assigning to TreeNode Font properties.

Suresh,[Microsoft MVP | MCAD.NET(CM) | MCSD.NET(EA)]

 

Should Java Be Open Source?

Interesting to read...

http://www.it-director.com/article.php?articleid=11723

Suresh ,Microsoft MVP .Net,MCAD.NET,MCSD.NET

V-Days Vs SQL
Open query analyzer and press Ctrl + T and run this below code.
See what the magic will be happen.Thanks  Narayan.
With regards,
-Suresh ,Microsoft MVP .Net
-----------------------------------------------------
/*
Author: Steve Kass, Drew University
Hosted by: http://vyaskn.tripod.com
Script works on SQL Server 7.0 and 2000
*/
USE tempdb
GO
SET NOCOUNT ON
CREATE TABLE [seqA1740E61-1E21-11D6-B831-E02C0D466A26] (nbr int IDENTITY)
DECLARE @i int
SET @i = 0
WHILE @i < 25
BEGIN
	INSERT INTO [seqA1740E61-1E21-11D6-B831-E02C0D466A26] DEFAULT VALUES
	SET @i = @i + 1
END
DECLARE @heart binary(264)
SET @heart =
  0x010b0e12220b0108100e25
+ 0x080105120a280501031406
+ 0x2a03010215042b02010116
+ 0x022c010100160201000100
+ 0x1602010001000100010001
+ 0x0001000100010101002c01
+ 0x010201002b020104010029
+ 0x0401060100270601080100
+ 0x2508010a0100230a010c01
+ 0x00210c010e01001f0e0110
+ 0x01001d10011201001b1201
+ 0x1401001914011601001716

SELECT
  STUFF(STUFF(STUFF(
      R,A/256,A%256,SPACE(A%256)),
        B/256,B%256,SPACE(B%256)),
        C/256,C%256,SPACE(C%256))
AS N'I love you/Eu te amo/Ti amo/Je t''aime/Ya vas lyublyu/Ich liebe Dich!!!'
FROM (
  SELECT Nbr AS L, SUBSTRING(S,Nbr,2*L) AS R FROM (
    SELECT
      LEN(S+'*') AS L,
      REPLICATE(S+'*',4) AS S
    FROM (
      SELECT 'Happy-Valentine''s-Day' AS S
    ) X
  ) V CROSS JOIN [seqA1740E61-1E21-11D6-B831-E02C0D466A26]
  WHERE Nbr BETWEEN 1 AND L
) W JOIN (
  SELECT
    Nbr,
    CONVERT(int,SUBSTRING(@heart,6*Nbr-5,2)) AS A,
    CONVERT(int,SUBSTRING(@heart,6*Nbr-3,2)) AS B,
    CONVERT(int,SUBSTRING(@heart,6*Nbr-1,2)) AS C
  FROM [seqA1740E61-1E21-11D6-B831-E02C0D466A26]
  WHERE Nbr BETWEEN 1 AND 24
) X
ON L = Nbr
GO
DROP TABLE [seqA1740E61-1E21-11D6-B831-E02C0D466A26]
Icons on Menus

I tryed hard to get a icon on menus,unfortunatly the .Net does not gives built in support to add a icon on menu.I found one nice article on msdn.

You need to create custom menu control for this. 

For more information check the url

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaskdr/html/askgui11062001.asp

Happy coding..........

-Suresh, Microsoft MVP .Net

Lunux World Commnets please

Linux Is Not Ready For the Enterprise - http://www.internetwk.com/breakingNews/showArticle.jhtml?articleID=10700411&pgno=1

The Limitations Of Linux - http://www.forbes.com/technology/enterprisetech/2003/06/16/cx_ld_0616linux.html

Windows more stable than Linux: Stratus - http://www.zdnet.com.au/news/software/0,2000061733,20272277,00.htm

Port80 Surveys the Top 1000 Corporations' Web Servers - http://www.port80software.com/surveys/top1000webservers

Munich's Choice Doesn't Prove Linux OK for General Desktop Use - http://www3.gartner.com/DisplayDocument?doc_cd=115336

 

SCO Group Slaps IBM with $1B Suit - http://www.eweek.com/article2/0,3959,920731,00.asp

-Suresh

IBM calls Sun's bluff over Open Source

IBM has called Sun's bluff over open source, responding to a challenge laid down by Simon Phipps (Sun's Chief Technology Evangelist) when talking to at EclipseCon 2004 in which he asked "Why hasn't IBM given its implementation of Java to the open-source community?" by offering to work with Sun to open source Java.

Sun should have expected IBM's response. IBM has been hinting at this for some time, and unless Sun really is keen to see Java open-sourced it was a pretty foolish thing to say.

http://www.ovum.com/go/content/c,43017

-Suresh

.NET DEVELOPER'S JOURNAL READERS' CHOICE AWARDS 2003

Best .NET Books/Training Software
Winner: Advanced .NET Remoting, Apress (www.apress.com)
First Runner- up: Applied Microsoft .NET Framework Programming, Microsoft Press (www.microsoft.com)
Second Runner-up: Programming Windows with C#, Microsoft Press (www.microsoft.com)
Third Runner-up: Programming ASP.NET, O'Reilly & Associates (www.oreilly.com)

Best .NET Build Tools/Installers
Winner: InstallShield Developer, InstallShield Software (www.installshield.com)
First Runner-up: Wise for Visual Studio .NET, Wise Solutions (www.wise.com)
Second Runner-up: AllFusion Harvest Change Manager Option for Openmake, Computer Associates (www.ca.com)
Third Runner-up: DotGNU Portable.NET, DotGNU/Southern Storm Software (www.southern-storm.com.au)

Best .NET CLI
Winner: Microsoft .NET Framework, Microsoft (www.microsoft.com)
First Runner-up: The Mono Project, Ximian/Novell (www.go-mono.org)
Second Runner-up: DotGNU Portable.NET, DotGNU/Southern Storm Software (www.southern-storm.com.au)
Third Runner-up: S#.NET and S#.AOS, SmallScript (www.smallscript.org)

Best .NET Documentation and Help Tools
Winner: RoboHelp Office Pro for .NET, eHelp (www.ehelp.com)
First Runner-up: ASP.NET Documentation Tool, Winnersh Triangle (www.winnershtriangle.com)
Second Runner-up: Doc-O-Matic, ToolsFactory Software (www.toolsfactory.com)
Third Runner-up: Document! X, Innovasys (www.innovasys.net)

Best .NET Editors and IDEs
Winner: Visual Studio .NET, Microsoft (www.microsoft.com)
First Runner-up: CodeWright for Microsoft Visual Studio .NET, Borland (www.codewright.com)
Second Runner-up: CodeRush for Visual Studio .NET, Developer Express (www.devexpress.com)
Third Runner-up: XMLSPY, Altova (www.altova.com)

Best .NET Human Resource
Winner: Anders Hejlsberg, Microsoft (www.microsoft.com)
First Runner-up: Don Box, Microsoft (www.microsoft.com)
Second Runner-up: Miguel de Icaza, Ximian/Novell (www.ximian.com)
Third Runner-up: Jim Miller, Microsoft (www.microsoft.com)

Best .NET Libraries and Controls
Winner: Developer Express ASPxGrid Suite, Developer Express (www.devexpress.com)
First Runner-up: Developer Express XtraGrid Suite, Developer Express (www.devexpress.com)
Second Runner-up: r.a.d.editor, Telerik (www.telerik.com)
Third Runner-up: Dundas Chart for .NET, Dundas Software (www.dundas.com)

Best .NET Providers, Databases, and Tools
Winner: True VPS Windows Web Hosting, Invotion (www.invotion.com)
First Runner-up: DataDirect Connect for .NET, DataDirect Technologies (www.datadirect-technologies.com)
Second Runner-up: Express .NET Web Hosting, Via NET Works (www.vianetworks.net)
Third Runner Up: WinFormsToWeb Conversion Assistant, ArtinSoft (www.artinsoft.com)

Best .NET Modeling, Optimization, and Analysis Tools
Winner: DeKlarit, ARTech (www.deklarit.com)
First Runner-up: XMLSPY, Altova (www.altova.com)
Second Runner-up: IBM Rational XDE Professional: .NET Edition, IBM Rational (www.rational.com)
Third Runner-up: DevPartner Studio Professional Edition, Compuware (www.compuware.com)

Best .NET Profilers, Optimizers, Decompilers, and Obfuscators
Winner: AQtime .NET Edition, AutomatedQA (www.automatedqa.com)
First Runner-up: Dotfuscator, PreEmptive Solutions (www.preemptive.com)
Second Runner-up: DevPartner Profiler Community Edition, Compuware (www.compuware.com)
Third Runner-up: Optimizeit Profiler for the Microsoft .NET Framework, Borland (www.borland.com)

Best .NET Source Control and Team Facilitation
Winner: Microsoft Visual SourceSafe, Microsoft (www.microsoft.com)
First Runner-up: Borland StarTeam, Borland (www.borland.com)
Second Runner-up: DevPartner Studio Enterprise Edition, Compuware (www.compuware.com)
Third Runner-up: AllFusion Harvest Change Manager, Computer Associates (www.ca.com)

Best .NET Testing, Q/A, and Debugging
Winner: NUnit v2.0 Open Source (www.nunit.org)
First Runner-up: Microsoft Application Center Test, Microsoft (www.microsoft.com)
Second Runner-up: VMware Workstation, VMware (www.vmware.com)
Third Runner-up: TestComplete, AutomatedQA (www.automatedqa.com)

Best .NET Web Sites
Winner: CodeProject.com, The Code Project (www.codeproject.com)
First Runner-up: DotNetJunkies.com, DotNetJunkies (www.dotnetjunkies.com)
Second Runner-up: ASPAlliance Community Site, ASPAlliance (www.aspalliance.com)
Third Runner-up: DevCity.NET Community, vbCity.com (www.devcity.net)

More..

http://www.sys-con.com/2002/PR/02252004.cfm

Thanks and regards,

Suresh

 

 

More Posts