Home > Net >  About VB.net imports statement writing discussed in this paper
About VB.net imports statement writing discussed in this paper

Time:10-19

Using VS to write vb.net application, sometimes need to reference other namespaces, but VS experience is not good, as shown in the figure below, need to move the mouse to the beginning, now return, and then write imports in the first line statement.


Leave you a great god, vs itself is such a design? Or I didn't set parameters?

CodePudding user response:

You don't see smarttag


Are automatically added,

CodePudding user response:

And smart tags can also be extended

https://msdn.microsoft.com/zh-cn/library/ee334190.aspx

CodePudding user response:

Thank moderator reply, but sometimes I need to use third-party libraries such as epplus processing excel can be used at the beginning before quote, all of a sudden to vb.net smart tips are not used to, is there a way to edit page appears the namespace and the reference area, sincerely to consult

CodePudding user response:

reference 5 floor StupidZhuang reply:
thank moderator reply, but sometimes I need to use third-party libraries such as epplus processing excel can be used at the beginning before quote, all of a sudden to vb.net smart tips are not used to, is there a way to edit page appears the namespace and the reference area, sincerely ask

Did you set limits separately for each process?

CodePudding user response:

The moderator's answer is correct.

Questions about 5 # can be found in the code editor interface a string of a string, the string is selected, to the toolbox window area. (code editor page toolbox window) next time the location of the selected need to directly, double-click add strings.

CodePudding user response:

The building Lord put forward problem solved?
VB.net imports statement writing, what is written in VB.net?

CodePudding user response:

Curious before the original poster, with what language the language before the import library is how an experience?
In addition to the introduction in the beginning, can also be dynamically reference library, but is more complicated to call

CodePudding user response:

He estimates is use habits, c + + write a header file,
  • Related