当前在线人数9684
首页 - 分类讨论区 - 电脑网络 - 窗口里的风景版 - 同主题阅读文章

此篇文章共收到打赏
0

  • 10
  • 20
  • 50
  • 100
您目前伪币余额:0
未名交友
[更多]
[更多]
VB .net help
[版面:窗口里的风景][首篇作者:bluejays] , 2003年10月08日16:47:29 ,709次阅读,1次回复
来APP回复,赚取更多伪币 关注本站公众号:
[分页:1 ]
bluejays
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 1 ]

发信人: bluejays (老歌*游戏规则), 信区: DotNet
标  题: VB .net help
发信站: Unknown Space - 未名空间 (Wed Oct  8 16:47:29 2003) WWW-POST

I have a VB .net project. I tries to use vbc.exe to compile all the vb files
instead of using the visual studio .net.

I created one utility file say "a.vb", which have a function "f1()" that I
will call in other vb source file say "b.vb". But there is no conecpt of the
include as C/C++ has. So when I try to compile b.vb using:
vbc b.vb

It complains the function 'f()" can not be  found. If it is in C, I will use
#include "a.h" in b file and it will know where the definition is.

Does anybody have any clue? Imports can only import dll defned namespace.

Thx.

--
九里山前做战场,牧童拾得旧刀枪
                     棋中不语真君子,起手无回,游戏规则

※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 139.85.]

 
yerie
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 2 ]

发信人: yerie (落客 ~-~玫瑰心锁雾重天), 信区: DotNet
标  题: Re: VB .net help
发信站: Unknown Space - 未名空间 (Wed Oct  8 18:35:05 2003) WWW-POST

you can try
vbc /out:test.exe a.vb b.vb
or
vbc /out:test.exe *.vb
or if you have visual studio solution file use
devenv *.sln /build
or use Nant

【 在 bluejays (老歌*游戏规则) 的大作中提到: 】
: I have a VB .net project. I tries to use vbc.exe to compile all the vb files
: instead of using the visual studio .net.
:
: I created one utility file say "a.vb", which have a function "f1()" that I
: will call in other vb source file say "b.vb". But there is no conecpt of the
: include as C/C++ has. So when I try to compile b.vb using:
: vbc b.vb
:
: It complains the function 'f()" can not be  found. If it is in C, I will use

: #include "a.h" in b file and it will know where the definition is.
:
: Does anybody have any clue? Imports can only import dll defned namespace.
:
: Thx.
:

--
不爱那么多
只爱一点点
    别人的爱情像海深
    我的爱情浅
不爱那么多
只爱一点点

※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 64.4.]

[分页:1 ]
[快速返回] [ 进入窗口里的风景讨论区] [返回顶部]
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996