approached VB.net (13) VB. NET question and answer complete

Source: Internet
Author: User
Tags anonymous copy ftp iis reference visual studio
approached VB.net (13) VB. NET question and answer complete
Vb. NET Chinese station http://vbnetcn.126.com Hejianzhong

There are always people asking repetitive questions, and I thought about putting them together, and now using vb.net too little and less information. There are not many people to ask, this

They are all collected from the national discussion group, one of which is from-[VB. NET Chinese station discussion group]http://my.6to23.com/vbnetcn/bbs/bbs2index.htm.

Some of my answers, some of which were answered by some of the earlier vb.net, because it is the stage of discussion, there may be some incorrect places. Ask Everyone

Reference.

--------------------------------------------------------------------------------------------------

Q: VB7 How to publish a program.


A: After selecting setup and Deployment Project in the dialog box for new project, select the right side of Setup Wizard
In the Project Management Properties window click Setup1, the window appears above many small icons, click any one of them can customize the installer from every aspect.

--------------------------------------------------------------------------------------------------


Q: How do I know which dynamic link libraries and controls my program needs to take

A: You can see the referenced class library under reference, and there are more features in the right-click menu. Try it yourself. In addition to the common runtime MSCOREE.DLL MSCORLIB. DLL is all the components in the bin directory. It is better to select all the components in the Setup Wizard, otherwise you might be able to do it on someone else's computer
not functioning properly. The installer, like a normal program, needs to be compiled and editable as a regular form.

-----------------------------------------------------------------------------------------------

Q: vb.net's download address

A: ftp://166.111.168.7/newsoft/has IE browser can directly access or use Cuteftpanonymous Anonymous login with Office XP final and Vs.net, etc.
[Chinaasp Forum Hooke offers]ftp://ftp.cug.edu.cn/pub/microsoft/have IE browser can directly access or use Cuteftpanonymous anonymous login with Whistler//vs. NET, etc. [CSDN forum WBTVC provide]


---------------------------------------------------------------------------------------------------


Q: (Beta2) There is no solution to the memory leak problem ah, my machine open for a while VS7,MEM usage will be more than 400. It's deadly.

A: B2 has resolved the memory leak problem

-----------------------------------------------------------------------------------------------------

Q: Excuse me, I found in the vb.net that when I changed the font of a textbox, I had to make an error, saying that it was read-only (ReadOnly).
The way I use it is: textbox1.text.font.bold=true


A: First of all, you may have written the wrong textbox1.text.font.bold=true, you must have written textbox1.font.bold=true, right?
Read Only is to say can only obtain, cannot revise. You write this as a way of thinking from VB6, you can use a compatible class----VB6
Textbox1.font = VB6. Fontchangebold (Text1.font, True)
The standard notation should be (to write the following code on one line):
TextBox1. Font = New System.Drawing.Font (\ "Arial", 9!, System.Drawing.FontStyle.Bold)
Understand that, although the font appears in the back of the Textbox1, but he is the drawing of the subclass, do not make a mistake. Bold is a subclass of Drawing.fontstyle.

---------------------------------------------------------------------------------------------------------

Q: How to customize when installing Vs.net

A: In the step-by-step installation vb.net, the custom path in the step of the diagram appears when you can choose the path, as well as the parts that need to be installed, because I heard that the deletion of some components will cause the operation is not normal, so we recommend a full installation.

------------------------------------------------------------------------------------------------------

Q: When you install the third disk, you are still prompted for the wrong language type

A: First installed English IE, and then the CD3 all of the setup will be executed once, the error is not installed, the last reboot, and then from the CD1 began to install, prompted into the CD3 and then put CD3.
Don't forget to download Http://go5.163.com/~vbnetcn/down/Q274294_W2K_SP2_x86_CN.EXE
Of course, the premise must be installed Office, otherwise, frankly speaking your language is not the correct type

-----------------------------------------------------------------------------------------------------

Q: Now * version of the CD. Which version of the vb.net is the best? Is there a Tan Pan vb.net?

A: There is no single vb.net,vs.net is 3, the market is 6, the back 3 is June 2000 MSDN


-------------------------------------------------------------------------------------

Q: Where can I find vb.net's ebook Downloads

Answer: http://my.6to23.com/vbnetcn/down/down.htm

------------------------------------------------------------------------------


Q: Where are the examples of vb.net

Answer: http://my.6to23.com/vbnetcn/down/down.htm

----------------------------------------------------------------------------------

Q: Where to download the latest MSDN

Answer: ftp://166.111.168.7

__________________________________________________________________________-

Q: Do not use the API to cut out strange windows in vb.net

A: http://go5.163.com/~vbnetcn/download Skinform source code and have related articles can make any imaginary window

----------------------------------------------------------------------------------------------------

Q: How to get Skinform's decompression password

Answer: Extract the password in the Http://luntan2.163.com/forum/list.php?num=97268////VB.Net Chinese forum to find

-----------------------------------------------------------------------------------------

Q: vs.net must be installed in the Win2000 Server English version (SP1)

A: The best English version, the Chinese version to be installed in Chinese SP, and in the vs.net only the English SP, you have to find your own
, but Win9x can also try, VS. NET WIN98SP has support in Chinese

-----------------------------------------------------------------------------------------------

Q: Will the process of installing vb.net in WINDOWS98,IE6 environment

A: Win9x can be installed (including WinME), the instructions are early out of the time so said to 2k to install, VB6 can coexist, and can be called between each other,
You can use the VB6 write control to get net.
Sometimes pop-up dialogs say that the version is not the reason, try a few more times
Win9x components support Chinese, Win2K only English language support, Chinese SP to 68mwin9x use the component upgrade package in CD3 WIN98SP1 directory It is best to select the first item in CD1 to let the program automatically detect
When asked to put the CD into the CD3 can be, fully automatic Ah!

-----------------------------------------------------------------------------------------

Q: Where to get and how to compile vb.net Windows 98, and the CLR version of Windows 95

A: It's OK to install the Microsoft. NET Framework SDK, on the third disk of vs.net, this question is not very accurate, the CLR is in principle supporting any operating system, mainly some support components to upgrade--------such as Win98sp


---------------------------------------------------------------------------------------------

Q: I have visual NET installed. But only VF, no VC and VB. C # also does not. I did not see the tutorial you understand. Why install with CD1? Mainly the speed is too slow. The tutorial has been open for half an hour. And I didn't find VB7 on CD1 and CD2. EXE and VC7. EXE is not a CD-ROM problem? The two documents are not in CD1 and CD2. Or I was in the installation when the registry is too small and virtual, the memory is too small. Where is the problem?

Answer: VFP,C#,VB. NET is an IDE, use the same installer (customizable) CD1 is the total pivot of the installer, first CD1 start the installation program, click the top option, and then you put the CD3 detection system, then upgrade components, automatic restart, and then start to install CD1 files, the last installation of CD2, The last thing you get is a software, an IDE. When you create a new project, you can choose whether to create a new VB,VC or C #. So is a thing the most important, CD1 and CD2 to copy to the root of the hard disk (such as D:\), and at least 1G of space, if in copy when asked you are not covered, you choose to cover on the


-----------------------------------------------------------------------------------------------
Q: I heard that in the Beta2 to give up beta1 change, fully restored to VB6

Answer: Misinformation, just a partial recovery, change back to some VB6 things, in fact, there is already a VB6 class library in Beta1, but it is not good to use it, hope that there is some recovery in the use of habits, rather than backwards, think it is not possible, the CLR and OOP can not give up, And that's the main change.

------------------------------------------------------------------------------------------------

Q: Can VB7.0 compile something across the platform?

A: VB7 's common runtime is cross-platform technology, but it also requires other platforms to support this technology, as if Java needed to provide virtual machines on Windows. You are now applying to use the common runtime as a common standard. In other words, in the near future, it may be in the official version, it will fully support cross-platform. If the VB7 can not cross the platform, this is not very likely, it can be said that is simply impossible! But personally I am not interested in this, my ability as long as can write good Windows program on the Thank goodness!

-----------------------------------------------------------------------------------------------------

Q: Office appears with a required Registration dialog box (50 restrictions)

A: To http://vbnetcn.126.com to download office patches, repair Mso9.dll

-------------------------------------------------------------------------------------------------------------

Q: How can I configure Web Form programming on the Win2000?

A: To do the Web Form programming you look at the asp.net column, do not need a special configuration, mainly installed IIS, is generally loaded, you can see Add delete components: ". NET ASP Web Application QuickStart has the following passage:
"To create a asp.net application, we can use the existing virtual directory, or create a new virtual directory." For example, on a Windows2000 server with IIS installed, there would probably be a directory c:\\inetpub\\wwwroot; we use Internet Services Manager to configure IIS, in the \ start-> Programs-> Administrative Tools\ ", right-click the existing directory, or choose New to create a new virtual directory, or select Properties to promote the existence of a normal directory as a virtual directory. ”


-------------------------------------------------------------------------------------------------------------

Q: Please advise:
I installed vs.net under Win2000, prompted "I do not have enough permissions to enter C:\\Program Files\\Microsoft Visual Studio.net\\crystal reports\\viewers folder", Then an error, 1 minutes after the exit, but at this time I am the administrator login system, and shut down the system, restart reload, or the same. Want to manually delete the folder, but can not delete, how to do

A: Completely remove the vs.net, clear all the remaining information on the registry (available registry cleanup software, such as Windows Optimization Master clean up, and then delete the redundant account, restart, the vs.net to the original location of the last copy, reinstall, remember that it is best not to install vs.net in both systems Jinan Reinstall the system, I think you probably installed once, and set up a Web program it?!


-------------------------------------------------------------------------------------------------------------

Q: My program can run on a system that doesn't have Vs.net installed.

Answer: Need to install the Microsoft.NET FRAMEWORK.SDK

-----------------------------------------------------------------------------------------

Q: But I can't run the cuffs on the Win98.

A: The general is a copy up can be used, but the bin directory of DLLs and other components to copy to the current directory (do not need to register), if the reference to a special control such as axagent may need to create an installer.

---------------------------------------------------------------------------------------------------

Q: Is it necessary to VB6 the same Run-time library

A: The CLR universal runtime is required, because it is c#,vc++ universal, it will become the standard configuration of the computer, although there are restrictions, but do not worry, the future of your release of the program no longer need a large support library, Microsoft will free distribution capacity than the SDK much smaller CLR support components

-------------------------------------------------------------------

Q: I heard that learning Java will use vb.net.

A: Have you ever seen a Java programmer write a vb.net program or article (a lot of abusive articles)? On the contrary, VB Programmer wrote the article of C #, quite good. But some VB programmer even vb.net do not want to see, at least I can now simple use vb.net but Java source code I do not understand, it is not relevant. Do not believe that the masters of the ulterior motives of the nonsense. And don't preach object-oriented programming and. NET technology, it doesn't make any sense.

--------------------------------------------------------------------------------------------------

Q: Java and C + + and vb.net have similar places?

A: Yes, it should be said that C # is more like some, VB. NET at the bottom is there is a similar place, these are theoretically, cannot understand from the grammar (Some like try.....catch ...). ETC changed). The grammar is basically more like VB6 some, but you will find that the usage has changed, but can not deny that he is using the language of VB.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.