October 2003 - Posts
Building my new chinese bLog .
I will be keep a record of anything that i am thinking.
Rss Url:
http://blogbus.com/blogbus/blog/rdf.php?blogid=4395
Web Url:
http://ch21st.blogbus.com
Microsoft asp.net with visual studio .net - code samples
| This session will look at the ASP.NET, the next version of ASP. ASP.NET is a compiled .NET Framework-based environment. This allows developers to author applications in any .NET Framework compatible language, including Visual Basic, C#, and JScript. ASP.NET improves deployment, scalability, security, and reliability. ASP.NET also addresses the browser compatibility issues with the Web Forms technology. It will demonstrate how to build web applications with Web Forms, using Visual Studio.NET. |
 |
Download Here
Visual C# .NET Code Samples
Get Here
Visual C# Language Specification
Download
MSDN Show: Programming in C#
In this episode, we talk with Anders Hejlsberg, a Distinguished Engineer at Microsoft, who has been instrumental in the design, development, and implementation of this language and its role in the upcoming .NET platform.
Download Here
Implementing ADO with Various Development Languages Sample
This sample code is provided in conjunction with the MSDN Library article, "Implementing ADO with Various Development Languages." The article Describes how to implement ADO in Microsoft® Visual Basic®, Microsoft Visual C++®, VBScript, JScript®, and Java.
DownLoad
BuildIt - Team Development Build Tool
BuildIt.NET is designed to jump-start the build process used for development of .NET distributed applications. This download provides full source code and comprehensive documentation for the Microsoft Visual C#® development tool and Microsoft Visual Basic® .NET development system.
DownLoad
C#: A SQL Server XML and ASP.Net Runtime Application
This customer service sample application demonstrates the use of the Microsoft .Net Framework, SQL Server 2000 XML functionality, and XSLT documents. It allows customers to view customer, order, and order detail information in a secure environment
DownLoad
CmdWnd Sample
This sample creates a modeless command window into which you can enter three types of commands: CmdWnd commands, IDE menu command, and DOS commands
Download
Wins Sample
Wins is a window manager that you can use to find, minimize, make visible, activate, and close windows— even those windows opened in a debug session. It will create files that, when loaded, will open selected windows
Download
MSDN C# Message Queuing
Download
Inside C#, Second Edition: Sample Code
Download
Inside MSXML Performance Sample Inside MSXML Performance
Download
Serving Images from .NET Assemblies
This example shows how to serve images through ASP.NET from resources bound to assemblies.
Download
Sample Code: Microsoft® Visual C#™ .NET (Core Reference), 0-7356-1290-0
Download
Code samples for 'Customizing Code Generation in the .NET Framework Visual Designers'(c#)
Download
The October 2003 Visual Studio .NET Documentation Update provides the latest version of the Visual Studio .NET 2003 documentation. This update includes:
- Over 5,000 additional code examples for Visual Basic, Visual C#, and Visual C++.
- Bug fixes.
- Content improvements and clarifications.
Download Url:
MSDNVSsp1-KB827819-X86-Enu.exe
pictureBox.Image.Save method
For Example:
Reference MSDN,following code will save the image of the picturebox as a ico file.
private void button1_Click(object sender, System.EventArgs e)
{
System.Drawing.Imaging.ImageFormat iconFormat;
iconFormat=System.Drawing.Imaging.ImageFormat.Icon;
pictureBox1.Image.Save("c:\\1.ico", iconFormat);
}
But ,in fact, file format of "1.ico" is PNG than ICO
Microsoft Hierarchial FlexGrid Control
Set DataSource of a MSHFlexGrid(MSHFlexGrid1 ) control to a ADODB Recordset (mRst).
At a time RecordCount of the mRst is 0,from then on ,will can't select the item of MSHFlexGrid1 with mouse.
Some components, such as DataReport only can be use in the IDE for the user who install VB,in Windows2000+
For Example:
NT User A install VB 6 IDE,he can use full components that installed in the system,
but if other NT user ,such as user B login the system,he will can't find “Add Data Report“ submenu,because the DataReport component didn't register to B user.
Solution:
Import the VB6 Addins and Designers register file to all user or to local machine.
After reinstall VS.net,when i want to create a new project, vs.net raise a error ,it's message is "VC Package not available or not registered"?
Referrence MSDN
http://support.microsoft.com/default.aspx?scid=kb;en-us;320427
This behavior seems to occur because the Windows Installer does not register TLBs and DLLs if the installer finds that these items already exist. In most cases, a previous version of Visual Studio .NET causes this behavior, even if the previous installation was under a different operating system.
and the resolution is to run the Visual Studio .NET repair, and the setup program will re-registered the TLBs and DLLs files.
To run the repair, follow these steps:
- On the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.
- On the list of installed programs, click Visual Studio .NET, and then click Change.
- Click the second item in the 1 2 3 Visual Studio Setup dialog box.
- Click Repair/Re-install, and then follow the onscreen instructions.
but i dislike this way,and i hopethere is a better way to do that .