April 2004 - Posts
I had a nice time with one of Chinese friends he gave me lots of idea about the Chinese language.
yes indian
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
what abt u?
flyingbugs says:
I am here in China
flyingbugs says:
Beijing China
flyingbugs says:
how about u?
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
india
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
on the phone....
flyingbugs says:
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
i am back
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
sorry i was on phone
flyingbugs says:
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
flyingbugs says:
hehe, It's OK
flyingbugs says:
In my brain, Indian is a beatuiful country with great mystery and long history.
flyingbugs says:
Just as china.
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
Thanks a lot
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
Iwas there at Shanghai on last ASIA MVP Summit
flyingbugs says:
flyingbugs says:
Shanghai is really a big city
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
i stayed there for few more days and had nice time
Love-Hate Over-Acting Suresh[MS MVP.Net] says:
planning to go there again
Ooooooo......................
Suresh [Microsoft MVP | MCAD.NET(CM) | MCSD.NET(EA)]
I always got bit curious about fonts and at last found one nice FAQ have a look on it.
it says,
The word "font" is one of the most common search terms you Office users plug into Office Online. That's not surprising, since fonts have become an indispensable part of our lives. They're with us when we're creating a Web site, filling up a spreadsheet, or sending fan mail to, well, whomever you send fan mail to. (No rush, I'm patient.)
In this Fonts 101 column, I'll give you some basic facts. In two upcoming columns, Fonts 102 and Fonts 103, I'll offer some best practices about how and when to use various types of fonts. If there is something I'm missing in these columns, let me know about it and I'll work it into our advanced font curriculum (you overachiever, you).
For more....
http://office.microsoft.com/assistance/preview.aspx?AssetID=HA011164301033&CTT=98
Thanks
Suresh [Microsoft MVP .Net,India | MCAD.NET(CM) | MCSD.NET(EA)]
:)
Failures in an IBM DB/2 database have caused a major crisis at a leading Danish bank.
Key trading systems at Danske Bank ground to a halt on 10 March and the bank was not fully operational again until 17 March, it said in a statement released on 3 April.
IBM was unaware of four bugs in the DB/2 database, which mainly affected payments and the trading and settlement of currencies and securities, said Danske Bank.
The first of four IT problems the bank faced emerged after an electrical outage during routine disc maintenance on one of the bank's IBM disc system at its data operating installation in Ejby. This caused data inconsistencies in its DB/2 database.
More...
http://www.computerweekly.co.uk/Article120681.htm
Suresh[Microsoft MVP | MCAD.NET(CM) | MCSD.NET(EA)]
I found from net a nice code to creat a custom dialog as a message box code goes like as follows.
Any idea please give comments
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace ShowMessage
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class frmMain : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnQuit;
private System.Windows.Forms.Button btnTest;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new frmMain());
}
private void btnQuit_Click(object sender, System.EventArgs e)
{
// Exit the application.
Close();
}
// MessageBoxEx() provides features, including a language identifier,
// not found in the .NET Framework version. This function also enables
// you to add special buttons and other features to the message box.
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int MessageBoxEx(
IntPtr hWnd,
[MarshalAs(UnmanagedType.LPTStr)]String Message,
[MarshalAs(UnmanagedType.LPTStr)]String Header,
UInt32 Type,
UInt16 LanguageID);
// Create a list of buttons.
public class MBButton
{
public const UInt32 MB_OK = 0x00000000;
public const UInt32 MB_OKCANCEL = 0x00000001;
public const UInt32 MB_ABORTRETRYIGNORE = 0x00000002;
public const UInt32 MB_YESNOCANCEL = 0x00000003;
public const UInt32 MB_YESNO = 0x00000004;
public const UInt32 MB_RETRYCANCEL = 0x00000005;
public const UInt32 MB_CANCELTRYCONTINUE = 0x00000006;
public const UInt32 MB_HELP = 0x00004000;
}
// Create a list of icon types.
public class MBIcon
{
public const UInt32 MB_ICONHAND = 0x00000010;
public const UInt32 MB_ICONQUESTION = 0x00000020;
public const UInt32 MB_ICONEXCLAMATION = 0x00000030;
public const UInt32 MB_ICONASTERISK = 0x00000040;
public const UInt32 MB_USERICON = 0x00000080;
public const UInt32 MB_ICONWARNING = MB_ICONEXCLAMATION;
public const UInt32 MB_ICONERROR = MB_ICONHAND;
public const UInt32 MB_ICONINFORMATION = MB_ICONASTERISK;
public const UInt32 MB_ICONSTOP = MB_ICONHAND;
}
// Create a list of default buttons.
public class MBDefButton
{
public const UInt32 MB_DEFBUTTON1 = 0x00000000;
public const UInt32 MB_DEFBUTTON2 = 0x00000100;
public const UInt32 MB_DEFBUTTON3 = 0x00000200;
public const UInt32 MB_DEFBUTTON4 = 0x00000300;
}
// Create a list of message box modalities.
public class MBModal
{
public const UInt32 MB_APPLMODAL = 0x00000000;
public const UInt32 MB_SYSTEMMODAL = 0x00001000;
public const UInt32 MB_TASKMODAL = 0x00002000;
}
// Create a list of special message box attributes.
public class MBSpecial
{
public const UInt32 MB_SETFOREGROUND = 0x00010000;
public const UInt32 MB_DEFAULT_DESKTOP_ONLY = 0x00020000;
public const UInt32 MB_SERVICE_NOTIFICATION_NT3X = 0x00040000;
public const UInt32 MB_TOPMOST = 0x00040000;
public const UInt32 MB_RIGHT = 0x00080000;
public const UInt32 MB_RTLREADING = 0x00100000;
public const UInt32 MB_SERVICE_NOTIFICATION = 0x00200000;
}
// Return values can use an enum in place of a class.
public enum MBReturn
{
IDOK = 1,
IDCANCEL = 2,
IDABORT = 3,
IDRETRY = 4,
IDIGNORE = 5,
IDYES = 6,
IDNO = 7,
IDCLOSE = 8,
IDHELP = 9,
IDTRYAGAIN = 10,
IDCONTINUE = 11,
IDTIMEOUT = 32000
}
private void btnTest_Click(object sender, System.EventArgs e)
{
MBReturn Result; // Result of user input.
// Display a message box.
Result = (MBReturn)MessageBoxEx(this.Handle,
"Your message Here
"MessageBox Title Here",
MBButton.MB_CANCELTRYCONTINUE | MBButton.MB_HELP |
MBIcon.MB_ICONEXCLAMATION |
MBModal.MB_SYSTEMMODAL |
MBDefButton.MB_DEFBUTTON4 |
MBSpecial.MB_TOPMOST,
0);
// Determine a result.
switch (Result)
{
case MBReturn.IDCANCEL:
MessageBox.Show("Cancel");
break;
case MBReturn.IDTRYAGAIN:
MessageBox.Show("Try Again");
break;
case MBReturn.IDCONTINUE:
MessageBox.Show("Continue");
break;
default:
MessageBox.Show("?");
break;
}
}
private void frmMain_HelpRequested(object sender,
System.Windows.Forms.HelpEventArgs hlpevent)
{
// Display information about the help request.
MessageBox.Show("Here is your help message:\r\n" +
"\r\nSender: " + sender.ToString() +
"\r\nMouse Position: " + hlpevent.MousePos,
"Title
MessageBoxButtons.OK,
MessageBoxIcon.Information);
// Tell Windows that the help request was handled.
hlpevent.Handled = true;
}
}
}
Thanks and Regards,
Suresh[Microsoft MVP.Net,India | MCAD.NET(CM) | MCSD.NET(EA)]
Cool...this gave me big surprise that the .NET applications as a single EXE that runs without the .NET Framework.Thanks to tameem who gives this nice information.
How does it work?
Thinstall first inspects your program to find all the code it uses. Next Thinstall packages these files into a single EXE utilizing patent pending Virtual Registry and Virtual Filesystem technology to relocate .NET Framework directories so all files are always loaded from your EXE package. The system version of the .NET framework is never used and it does not matter if the user has v1.0, v1.1, both or no version at all.
Thinstall's virtual registry allows .NET Framework's ActiveX controls to be visible to your application without system changes. These ActiveX controls are listed in the text file
mscoree.dll.threg.
Thinstall relocates the Global Assembly Cache and Native Images directory to reside inside your EXE package. This prevents any conflicts from external configurations. These settings are controlled in the text file fusion.dll.threg.
Yes i agree u have lots of question ...have look on this give your comments too..
http://thinstall.com/help/index.html?linking_netframework.htm
Suresh Behera[Microsoft MVP .Net,India | MCAD.NET(CM) | MCSD.NET(EA)]
It makes me funny to read this but it is true....
“The agreements involve payments of $700 million to Sun by Microsoft to resolve pending antitrust issues and $900 million to resolve patent issues. In addition, Sun and Microsoft have agreed to pay royalties for use of each other's technology, with Microsoft making an up-front payment of $350 million and Sun making payments when this technology is incorporated into its server products.
The agreements signed today include the following elements:
- Technical Collaboration: The Technical Collaboration Agreement will provide both companies with access to aspects of each other's server-based technology and will enable them to use this information to develop new server software products that will work better together. The cooperation will initially center on Windows Server and Windows Client, but will eventually include other important areas, including email and database software. For example, one of the important elements of large scale computing environments is software to manage user identities, authentication and authorization. As a result of this agreement, Sun and Microsoft engineers will cooperate to allow identity information to be easily shared between Microsoft Active Directory and the Sun Java System Identity Server, resulting in less complex and more secure computing environments.
- Microsoft Communications Protocol Program: Sun has agreed to sign a license for the Windows desktop operating system communications protocols under Microsoft's Communications Protocol Program, established pursuant to Microsoft's consent decree and final judgment with the U.S. Department of Justice and 18 state attorneys general.
- Microsoft Support for Java: The companies have agreed that Microsoft may continue to provide product support for the Microsoft Java Virtual Machine that customers have deployed in Microsoft's products.
- Windows Certification for Sun Server: Sun and Microsoft today are announcing Windows certification for Sun's Xeon servers. In addition, the Windows certification process for Sun's Opteron-based servers is moving forward.
- Future Collaboration for Java and .NET: Sun and Microsoft have agreed that they will work together to improve technical collaboration between their Java and .NET technologies.
- Patents and Intellectual Property: The parties have agreed to a broad covenant not to sue with respect to all past patent infringement claims they may have against each other. The agreement also provides for potential future extensions of this type of covenant. The two companies have also agreed to embark on negotiations for a patent cross-license agreement between them.
- Legal Settlements: The two companies are settling and terminating their lawsuit in the United States. Sun is also satisfied that the agreements announced today satisfy the objectives it was pursuing in the EU actions pending against Microsoft.
For more
http://www.microsoft.com/presspass/press/2004/apr04/04-02SunAgreementPR.asp
http://seattletimes.nwsource.com/html/businesstechnology/2001894744_microsoft03.html
Thanks and Regards,
Suresh,Microsoft MVP
More Posts