Solution | essence | Microsoft Source: http://bbs.yesky.com/ 
 
First, asp.net 
1, my ASPX program, why always put the source code in the browser page display, consult Master! 
The source program is as follows: 
<p> Please enter a new user ID and password </p> 
<form runat=server> 
<table> 
<tr><td> <asp:requiredfieldvalidator Runat=server 
Controltovalidate=txtname errormessage= "requires a user user name. "> * 
</asp:RequiredFieldValidator> </td> 
<td> User ID </td> 
<td><input Type=text Runat=server id=txtname></td> 
</tr> <tr> <td> password </td> <td><input type=password 
Runat=server id=txtpword></td> </tr> <tr> <td> Please re-enter password </td> 
<td><input Type=password Runat=server id=txtrepword></td> 
</tr><table><br><input Type=submit Runat=server Id=cmdsubmit 
Value=submit></form> 
 
A: That's probably because your asp.net didn't fit well. Thank you for using Microsoft products. 
That's probably because your asp.net is not installed, please run the \winnt\microsoft.net\framework\v1.0.2914 directory 
Aspnet_regiis-i 
-Microsoft Asia Technology Center Development Support 
This post is only for Yesky users as reference information to use. Its content does not have any legal protection. You need to take into account and assume the risks associated with using this information. 
 
2, you prawns, I use VB, encountered the following problems: 1. VB always prompts me to create an invalid Access database 
 
A: You can try the dress. vb 6.0 Service Pack 5 
Thank you for using Microsoft products. 
The problem you are experiencing is most likely due to the fact that the original VB 6.0 cannot read the new Access 2000 data format. You can try to dress up VB 6.0 Service Pack 5 to see if you can solve your problem. You can download VB 6.0 Service Pack 5 from the following places: 
Http://msdn.microsoft.com/vstudio/sp/vs6sp5/dnldoverview.asp 
In addition, the following article also describes some of the related issues, you can look at: 
Http://support.microsoft.com/support/kb/articles/Q238/4/01.ASP 
If the above method still does not solve your problem, you can describe the method of your database and the specific error message in more detail so that you can get a clearer picture of your problem. 
-Microsoft Asia Technology Center VB Technical Support 
This post is only for Yesky users as reference information to use. Its content does not have any legal protection. You need to take into account and assume the risks associated with using this information. 
 
3, in the installation of VB machine all normal, but with the VB Packaging Wizard to build the installation program, copied to the machine without VB to install, the following error will occur. Look at the guidance maze! 
Private Sub Myopen () 
' Open the Database 
Dim DB as Connection 
Set db = New Connection 
Db. CursorLocation = adUseClient 
Mypath = App.Path + "\mydata.car;" 
If Right (App.Path, 1) = "\" Then Mypath = App.Path + "Mydata.car;" 
Db. Open "Provider=microsoft.jet.oledb.3.51;data source=" + Mypath 
Set RS = New Recordset 
Rs. Open "SELECT * from Car", DB, adOpenStatic, adLockOptimistic 
Rs. MoveFirst 
End Sub 
 
A: You need to install MDAC2.0 on the target machine. 
You are using the JET3.51 OLE DB Provider, so you need to install MDAC2.0 on the target (Mdac_typ.exe in the VB6 CD). If you use Jet4.0 OLE DB provider, install MDAC2.1 or above on the target machine. 
-Microsoft Asia Technology Center Development Support 
This post is only for Yesky users as reference information to use. Its content does not have any legal protection. You need to take into account and assume the risks associated with using this information. 
 
4, C # read the URL inside the XML data problem (Microsoft experts to help, thank you!) ) 
Normally, they read static XML files, but in the securities field, XML data is updated at any time. 
For example, a third party wants us to provide XML data, we develop for the second party, and the third provides us with a URL, which is an XML-formatted content that contains the data we want. 
May I ask if the method to read the static file is the same as the way to read the URL? Just to replace such as "Data.xml" as "http://www.yesky.com/news/stock.asp?code=0002" so on the line??? 
 
A: This can be done, please see the C # code 
Thank you for using Microsoft products. 
Please see the following code: 
Using System; 
Using System.IO; 
Using System.Xml; 
public class Sample 
{ 
public static void Main () 
{ 
Create the XmlDocument. 
XmlDocument doc = new XmlDocument (); 
Load the XML file from a remote URL 
Doc. Load ("http://www.yesky.com/news/stock.asp"); 
Doc. Save (Console.Out); 
} 
} 
In this way, the C # program will display XML from the remote ASP page in the Console.Out (console output). 
-Microsoft Asia Technology Center. NET Development Technical Support 
This post is only for users of this site as a reference information to use. Its content does not have any legal protection. You need to take into account and assume the risks associated with using this information. Specific items can be found in the terms of Use (http://www.csdn.net/microsoft/terms.shtm). 
If you need to synchronize updates, you will need to access the URL for a period of time to refresh the data 
 
5, why I always do not install Vs.net 7.0, and there is no download vs.net 7.0 of the place, can also be a detailed answer to the installation of Vs.net 7.0 steps OK? 
 
A: Thank you for using Microsoft products. 
1, about downloading the address of vs.net, please take a look at this post: 
Http://msdn.microsoft.com/vstudio/nextgen/getbeta.asp 
2, installation of the detailed steps, please refer to the Vs.net CD on the instructions Readme.htm 
-Microsoft Asia Technology Center Microsoft Developer Support 
This post is only for users of this site as a reference information to use. Its content does not have any legal protection. You need to take into account and assume the risks associated with using this information. Specific items can be found in the terms of Use (http://www.csdn.net/microsoft/terms.shtm). 
 
 
6, a frame, with pages A and B. Now want to use a statement in a (JavaScript, not linked) to the B page refresh, how to do? A This statement is written to a with document.write by another hidden frame 
 
A: Thank you for using Microsoft products. 
Here is VBScript code, a little change, 
Set Win=top.frames ("B") 
Win.navigate ("Your URL here") 
-Microsoft Asia Technology Center Development Support 
This post only Yesky users as reference information to use. Its content does not have any legal protection. You need to take into account and assume the risks associated with using this information. 
 
7. Questions about ASP.net 
 
Q: I bought the Tenkine published a few days ago asp.net a complete introduction to the book, I follow the example in the book to the CD source code (122301.APSX) sticky 
Posted to my virtual directory to run, but the browser always shows: 
Compiler Error Message:BC30002:Type is not defined: ' ADOConnection ' 
Source Error: 
Line 8: 
Line 9: ' Create object ADOConnection 
Line 10:dim objconn as ADOConnection 
Line 11:objconn = New adoconnection 
I can't figure out why he said I was "Type is not defined: ' ADOConnection '", the following references have been made in the program 
<%@ Import namespace= "System.Data"%> 
<%@ Import namespace= "System.Data.ADO"%> 
Please advise the Master 
The source code is as follows: 
<