如何管理VB代码 [英] How to manage VB code

查看:90
本文介绍了如何管理VB代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All。

我正在寻找一些管理VB代码的方法。我团队中的一些人共同致力于VB 6.0,并且越来越难以:

1)彼此沟通最新版本的代码所在的地方[我们开始使用ClearCase]。

2)与用户沟通,现在应该下载新编译的可执行文件。


是App.Major,App.Minor和App.Revision(或组合)确定版本的唯一方法?是否建议每次具有最新版本时手动修改某些XML文件,并使可执行文件下载并解析XML,以便知道用户是旧版本还是最新版本?


人们通常如何管理VB代码?是自动增量吗?项目属性菜单的制作选项卡中的功能在此上下文中有用吗?

提前感谢您的回复。

Hello All.
I was looking for some means to manage VB code. A few of us in my team collectively work on VB 6.0 and it gets increasingly difficult to:
1) Communicate with one another where does the latest version of code reside [we started using ClearCase for this].
2) Communicate with users that a new compiled executable should now be downloaded.

Is the App.Major, App.Minor and App.Revision (or a combination) the only way to determine the version ? Will it be advisable to manually modify some XML file each time that has the latest version and make the executable download and parse the XML so it knows whether user has older version or the latest one ?

How do people generally manage VB code ? Is the "Auto increment" feature in the Make tab of Project properties menu useful in this context ?

Thanks in advance for your responses.

推荐答案


Hello All。

我正在寻找管理VB代码的方法。我团队中的一些人共同致力于VB 6.0,并且越来越难以:

1)彼此沟通最新版本的代码所在的地方[我们开始使用ClearCase]。

2)与用户沟通,现在应该下载新编译的可执行文件。


是App.Major,App.Minor和App.Revision(或组合)确定版本的唯一方法?是否建议每次具有最新版本时手动修改某些XML文件,并使可执行文件下载并解析XML,以便知道用户是旧版本还是最新版本?


人们通常如何管理VB代码?是自动增量吗?项目属性菜单的制作选项卡中的功能在此上下文中有用吗?


提前感谢您的回复。
Hello All.
I was looking for some means to manage VB code. A few of us in my team collectively work on VB 6.0 and it gets increasingly difficult to:
1) Communicate with one another where does the latest version of code reside [we started using ClearCase for this].
2) Communicate with users that a new compiled executable should now be downloaded.

Is the App.Major, App.Minor and App.Revision (or a combination) the only way to determine the version ? Will it be advisable to manually modify some XML file each time that has the latest version and make the executable download and parse the XML so it knows whether user has older version or the latest one ?

How do people generally manage VB code ? Is the "Auto increment" feature in the Make tab of Project properties menu useful in this context ?

Thanks in advance for your responses.



你好,paragpdoke!


自动增量听起来应该可以胜任。如果需要反映当前版本的XML,我不明白为什么你需要修改App.Major,App.Minor和App.Revision。如果您的VB应用程序自动生成XML,则可以手动修改版本。


例如,当您:

Hello, paragpdoke!

The Auto increment sounds like it should do the job. I do not see why you''d need to modify App.Major, App.Minor and App.Revision if the needs to reflect current version of the XML. If the XML is getting generated by automatically by your VB application you can then manualy modify the version.

For instance, when you:

展开 | 选择 | Wrap | 行号


我的印象是企业版内置了这样的东西(我只有专业版,无论如何都是单独工作)。


但也许你应该考虑获得真实的版本控制。我相信有很多软件包可以处理这种合作开发,例如......嗯... SVN?还有一个来自MS,我忘记了这个名字。
I was under the impression that something like this was built into the Enterprise Edition (I''ve only got Professional, and work alone anyway).

But perhaps you should consider getting "real" version control. I believe there are a number of packages which handle this kind of cooperative development, such as... um... SVN? And there''s one from MS, I forget the name.


你好Dokol。

感谢您的回复。

是....我明白你在说什么。我确实有使用MS XML6对象库编写版本描述符xml文件的代码。但是这里还有一个额外的步骤,让我们称它为部署。触发部署操作时:

- 代码应该收集自己的版本(使用App。*)属性。

- 它应该使用DOM方法创建XML文件(如果存在,则修改。

- 将XML上传到服务器(我计划使用ftp)。


虽然从技术上说这里没有问题,但我是寻找一些信息,如果这可以集成到IDE或其他东西。


嗯....但看起来我不清楚我在寻找什么: - )。


Hello Killer。

我不确定SVN代表什么(我会在网上搜索这是什么)但我们正在尝试使用ClearCase来管理代码。


无论如何都要回复。

问候,

Parag
Hello Dokol.
Thanks for your reply.
Yes....I understand what you are saying. I do have code in place that write the version descriptor xml file using MS XML6 object library. But there is an additional step involved here, let''s call it "deploy". When the deploy action is triggered:
- The code should gather its own version (using App.*) properties.
- It should create the XML file using DOM methods (modify if one exists).
- Upload the XML to the server (I plan using ftp).

Though technically there is no problem here, I was looking for some information if this can be integrated into the IDE or something.

Ummm....but looks like I''m unclear myself on what I''m looking for :-).

Hello Killer.
I''m not sure what SVN stands for (I will search the web to find what this is) but we are trying ClearCase for managing the code.

Thanks anyways for the responses.
Regards,
Parag


这篇关于如何管理VB代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆