使用VB.Net进行结构化存储 [英] Structured Storage using VB.Net

查看:102
本文介绍了使用VB.Net进行结构化存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人设法使用纯粹的
VB.Net创建结构化存储文件?特别;使用API​​函数StgCreateStorageEx?如果是这样的话,

你能在这里发布一个有效的例子。一个可以粘贴到一个

VB.Net项目并运行。


谢谢

Dave

Has anyone out there managed to create a structured storage file using pure
VB.Net? Specifically; with the API function StgCreateStorageEx? If so,
could you post a working example here please. One that can be pasted into a
VB.Net project and run.

Thanks
Dave

推荐答案

*" Dave" < ww*@com.com> scripsit:
* "Dave" <ww*@com.com> scripsit:
有没有人设法使用纯粹的VB.Net创建结构化存储文件?特别;使用API​​函数StgCreateStorageEx?如果是这样的话,请你在这里张贴一个有效的例子。一个可以粘贴到VB.Net项目并运行。
Has anyone out there managed to create a structured storage file using pure
VB.Net? Specifically; with the API function StgCreateStorageEx? If so,
could you post a working example here please. One that can be pasted into a
VB.Net project and run.




您将找到有关如何在.NET中使用此功能的一些信息。 />
这里(没有VB.NET示例,但是代码可能会给你一个关于如何在VB.NET或MC ++或C#组件中实现它的想法) :


< http://groups.google.com/groups?ie = UTF-8& q = group%3A * dotnet * + StgCreateStorageEx>


-

Herfried K. Wagner

MVP·VB Classic,VB.NET

< http:// www.mvps.org/dotnet>



You will find some information on how to use this function with .NET
here (there is no VB.NET sample, but maybe the code will give you an
idea on how to implement that in VB.NET or in an MC++ or C# component):

<http://groups.google.com/groups?ie=UTF-8&q=group%3A*dotnet*+StgCreateStorageEx>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>


谢谢Herfried


我确定可以成功调用该功能在

网络环境中的C#或C ++中。我不确定的是,如果它甚至可以使用VB7。在

VB7中,该函数始终返回STG_E_INVALIDPOINTER错误,无论

如何设置其定义。这意味着该函数被称为ok,但是它不喜欢它作为参数被传递的内容。


Dave
Thank you Herfried

I''m sure its possible to successfully call the function in C# or C++ in the
Net environment. What I''m not sure of is, if its even possible using VB7. In
VB7 the function always returns a STG_E_INVALIDPOINTER error no matter how
its definition is set up. That means the function is being called ok but
that it doesn''t like what its been passed as arguments.

Dave


*" Dave" < ww*@com.com> scripsit:
* "Dave" <ww*@com.com> scripsit:
我确信可以在网络环境中成功调用C#或C ++中的函数。我不确定的是,如果它甚至可以使用VB7。在VB7中,无论如何设置定义,该函数总是返回STG_E_INVALIDPOINTER错误。这意味着该函数被称为ok但是它不喜欢它作为参数传递的内容。
I''m sure its possible to successfully call the function in C# or C++ in the
Net environment. What I''m not sure of is, if its even possible using VB7. In
VB7 the function always returns a STG_E_INVALIDPOINTER error no matter how
its definition is set up. That means the function is being called ok but
that it doesn''t like what its been passed as arguments.




您使用哪种声明?也许在MC.NET或C#组件中实现

功能更简单,可以由VB.NET

应用程序使用(如果您使用的是VS.NET)专业或更好)。


-

Herfried K. Wagner

MVP·VB Classic,VB.NET
< http://www.mvps.org/dotnet>



Which declaration do you use? Maybe it''s simpler to implement the
functionality in a MC++ or C# component that can be used by the VB.NET
application (if you are using VS.NET Professional or better).

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>


这篇关于使用VB.Net进行结构化存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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