English 中文(简体)
如何在VB中列出旧档案编号。 NET 3.5?
原标题:How to list the used file-numbers in VB.NET 3.5?

是否有任何人知道如何在视力基本数据表3.5(VS2008)中列举[如文件Open(filenum, ......)]所用的卷宗号?

情况是:我把旧的VB6 WinForms(实际上,不是全程的)应用的“快港”做成“一个支持的建筑”。 NET利用2008年视觉演播室自动翻译,在NET3.5框架内。 现有的法典在平行阵列中储存“记录”,其指数是产出单号,产出单是开放和封闭的“临时”文件,因此,我可以“合理”使用自由放电(我可以,但基本上是一个改观器,我们已经获得付款。

在翻译I ve 之后,在FileOpen ing filenum=350 时,发生了“无效档案名称或编号”错误。 我知道档案名称是有效的,而且已经存在。 我尝试(为了脱gg)立案卷N=FreeFile,并且工作(即档案已经开立),因此,我的数字是,档案N=350已经开张,但WHAT如何告诉他。 列入旧档案——“和”;名字会带来巨大的遗产。

我怀疑这只是一帆风顺,但我已想问,因为如果有可能,那是节省了时间、努力和想象的。

所有人。 Keith。

最佳回答

我在这里可能错了,但我认为卷宗号可能大于255。

问题回答

暂无回答




相关问题
Is Shared ReadOnly lazyloaded?

I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...

Entertaining a baby with VB.NET

I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?

Choose Enter Rather than Pressing Ok button

I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

Hover tooltip on specific words in rich text box?

I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?

热门标签