搜索VB6源代码 [英] Searching VB6 source code

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

问题描述



有谁知道一种方法或软件来搜索源代码(类似于座席洗劫),但是返回在其中找到搜索值的子对象?

我正在寻找的示例将搜索dbvalu ="1''返回

-----

文件名

私人子测试()

rownum#sql =从数据库中选择*,其中dbvalu =" 1"

-----

谢谢
Rex

Hi,

Does anyone know of a method or software to search through source code (simmilar to agent ransack) but return the sub that the searched value is found in?

An example of what i am looking for would be searching for dbvalu=''1'' which returns

-----

filename

private sub test()

rownum# sql = "select * from db where dbvalu=''1''"

-----

Thanks
Rex

推荐答案

我认为您的意思是搜索包含源代码的文本文件?

如果是这样,您可以使用vb.net express 2008编写自己的代码,并使用regex提取子项和函数,然后使用另一个regex在每个这些子项/函数中查找所需的值.

那将是一种方法.
I take it you mean search the text files containing the source code?

If so, you could write your own using vb.net express 2008, and use regex to pull out the subs and functions and then use another regex to look in each of these subs/functions for the value you want.

That would be one approach.


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

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