Location:
Search - msdn VB
Search list
Description: 如果您要在应用程序中处理Word文档,可以参考MSDN. Lori Turner. Automating Microsoft Office 97 and Office 2000,该文内容详细全面,但是要在C++程序中导出Word文档,按照文中的方法来处理是很麻烦的,特别是需要填写的参数太多,所以我们考虑生成正确的VB脚本,然后执行生成Word文档的操作,这个方法的优点在于:一方面可以少填写参数;另一方面可以使用在Word中录制的宏脚本,而只需作少量的修改。我们给出了一些简单的函数来方便生成Word文档(主要是简单的表格)和直接运行内存中的VB脚本,此外,还附带了一个小小的例子。-If you want to process the application processing Word documents, can refer to the MSDN. Lori Turner. Automating Microsoft Office 97 and Office 2000, the paper detailed and comprehensive content, but to the C procedures derived Word documents, in accordance with the text of ways to deal with is very troublesome, particularly the need to fill write too many parameters, we consider it generate the correct VB script, and then the implementation of Word documents generated, the operation of the advantages of this method is : on the one hand less filling parameters; on the other hand, can use Word's macro-recording scripts, and only for a small number of amendments. We give a simple function to facilitate the formation Word documents (mainly simple form) and direct memory running the VB scr
Platform: |
Size: 145083 |
Author: 徐磊 |
Hits:
Description: msdn for vb 6.0 从msdn中提取出来的
Platform: |
Size: 2172042 |
Author: AzureTiger |
Hits:
Description: vb 打电话源码下载,msdn
源码
Platform: |
Size: 3770 |
Author: sun |
Hits:
Description: 除了上面提到的压缩方法,你也可以调用VB的工具MakeCab.exe(在VB5\\setupkit\\kitfil32或VB98\\Wizards\\PDWizard目录下)生成.cab文件。先构造一个Directive 文件(*.ddf),然后使用Shell命令调用MakeCAB /f excel.ddf就可以生成*.cab文件。关于Directive 文件的格式,可以参考MSDN Library中的《MakeCAB: A Compression and Disk Layout Tool》一文。 -addition to the above-mentioned methods of compression, you can call VB Tools MakeCab.exe (VB5 \\ setupkit \\ kitfil32 or VB98 \\ Wizards \\ PDWizard directory) production. Cab document. First constructed a Directive document (*. DDF), then use the Shell order call MakeCAB / f excel.ddf can generate *. cab documents. Directive on the document format, they can refer to the MSDN Library "MakeCAB : A Disk Compression and Layout Tool," a text.
Platform: |
Size: 4025 |
Author: 田强 |
Hits:
Description: WebBrowser的8个方法和13个属性,以及它们的功能:
方法 说明
GoBack 相当于IE的“后退”按钮,使你在当前历史列表中后退一项
GoForward 相当于IE的“前进”按钮,使你在当前历史列表中前进一项
GoHome 相当于IE的“主页”按钮,连接用户默认的主页
GoSearch 相当于IE的“搜索”按钮,连接用户默认的搜索页面
Navigate 连接到指定的URL
Refresh 刷新当前页面
Refresh2 同上,只是可以指定刷新级别,所指定的刷新级别的值来自RefreshConstants枚举表,
该表定义在ExDisp.h中,可以指定的不同值如下:
REFRESH_NORMAL 执行简单的刷新,不将HTTP pragma: no-cache头发送给服务器
REFRESH_IFEXPIRED 只有在网页过期后才进行简单的刷新
REFRESH_CONTINUE 仅作内部使用。在MSDN里写着DO NOT USE! 请勿使用
REFRESH_COMPLETELY 将包含pragma: no-cache头的请求发送到服务器
Stop 相当于IE的“停止”按钮,停止当前页面及其内容的载入
属性 说明
Application 如果该对象有效,则返回掌管WebBrowser控件的应用程序实现的自动化对象(IDispatch)。如果在宿主对象中自动化对象无效,这个程序将返回WebBrowser
控件的自动化对象
Parent 返回WebBrowser控件的父自动化对象,通常是一个容器,例如是宿主或IE窗口
Container 返回WebBrowser控件容器的自动化对象。通常该值与Parent属性返回的值相同
Document 为活动的文档返回自动化对象。如果HTML当前正被显示在WebBrowser中,则
Document属性提供对DHTML Object Model的访问途径
TopLevelContainer 返回一个Boolean值,表明IE是否是WebBrowser控件顶层容器,是就返回true
Type 返回已被WebBrowser控件加载的对象的类型。例如:如果加载.doc文件,就会返
回Microsoft Word Document
Left 返回或设置WebBrowser控件窗口的内部左边与容器窗口左边的距离
Top 返回或设置WebBrowser控件窗口的内部左边与容器窗口顶边的距离
Width 返回或设置WebBrowser窗口的宽度,以像素为单位
Height 返回或设置WebBrowser窗口的高度,以像素为单位
LocationName 返回一个字符串,该字符串包含着WebBrowser当前显示的资源的名称,如果资源
是网页就是网页的标题;如果是文件或文件夹,就是文件或文件夹的名称
LocationURL 返回WebBrowser当前正在显示的资源的URL
Busy 返回一个Boolean值,说明WebBrowser当前是否正在加载URL,如果返回true
就可以使用stop方法来撤销正在执行的访问操作
如何利用 WebBrowser 控件,显示 .GIF 动画?
要有一定的网页知识(HTML、JavaScript、CSS)
注意细节:
没有"滚动条"和"鼠标右键弹出的 IE 上下文菜单",".HTM 源文件" ...
我写了一个,效果还真不错!
''Objects: Form1、Command1、CommonDialog1、WebBrowser1
Option Explicit
Private Sub Command1_Click()
CommonDialog1.ShowOpen
If VBA.Len(VBA.Trim(CommonDialog1.FileN欢迎光临学网,点击这里查看更多文章教程 [1] [2] [3] [4] [5] [6] [7] [8]
ame)) > 0 Then
Dim p As stdole.StdPicture
Dim sPath As String
sPath = VBA.Trim(VBA.Trim(CommonDialog1.FileName))
Set p = VB.LoadPicture(sPath)
WebBrowser1.Width = p.Width * 16 / 26
WebBrowser1.Height = p.Height * 16 / 26
'' WebBrowser1.Navigate "about:blank"
WebBrowser1.Document.open
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln "WebBrowser1.Document.writeln "
WebBrowser1.Document.writeln "WebBrowser1.Document.writeln "
"
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
End If
End Sub
Private Sub Form_Load()
Command1.Caption = "&Open"
WebBrowser1.Navigate "about:blank"
WebBrowser1.Document.open
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln "WebBrowser1.Document.writeln ""
WebBrowser1.Document.writeln ""
WebBrowser1.Document.Close
End Sub
Platform: |
Size: 3992 |
Author: weidonglingsir@163.com |
Hits:
Description: MSDN上的ADO例子,近来看了好几个,最后还是觉得这个比较经典,上传一份-MSDN ADO example, recently read a few, but finally feel that the more classical and upload a
Platform: |
Size: 249856 |
Author: 王斌 |
Hits:
Description: 除了上面提到的压缩方法,你也可以调用VB的工具MakeCab.exe(在VB5\setupkit\kitfil32或VB98\Wizards\PDWizard目录下)生成.cab文件。先构造一个Directive 文件(*.ddf),然后使用Shell命令调用MakeCAB /f excel.ddf就可以生成*.cab文件。关于Directive 文件的格式,可以参考MSDN Library中的《MakeCAB: A Compression and Disk Layout Tool》一文。 -addition to the above-mentioned methods of compression, you can call VB Tools MakeCab.exe (VB5 \ setupkit \ kitfil32 or VB98 \ Wizards \ PDWizard directory) production. Cab document. First constructed a Directive document (*. DDF), then use the Shell order call MakeCAB/f excel.ddf can generate*. cab documents. Directive on the document format, they can refer to the MSDN Library "MakeCAB : A Disk Compression and Layout Tool," a text.
Platform: |
Size: 4096 |
Author: 田强 |
Hits:
Description: 如果您要在应用程序中处理Word文档,可以参考MSDN. Lori Turner. Automating Microsoft Office 97 and Office 2000,该文内容详细全面,但是要在C++程序中导出Word文档,按照文中的方法来处理是很麻烦的,特别是需要填写的参数太多,所以我们考虑生成正确的VB脚本,然后执行生成Word文档的操作,这个方法的优点在于:一方面可以少填写参数;另一方面可以使用在Word中录制的宏脚本,而只需作少量的修改。我们给出了一些简单的函数来方便生成Word文档(主要是简单的表格)和直接运行内存中的VB脚本,此外,还附带了一个小小的例子。-If you want to process the application processing Word documents, can refer to the MSDN. Lori Turner. Automating Microsoft Office 97 and Office 2000, the paper detailed and comprehensive content, but to the C procedures derived Word documents, in accordance with the text of ways to deal with is very troublesome, particularly the need to fill write too many parameters, we consider it generate the correct VB script, and then the implementation of Word documents generated, the operation of the advantages of this method is : on the one hand less filling parameters; on the other hand, can use Word's macro-recording scripts, and only for a small number of amendments. We give a simple function to facilitate the formation Word documents (mainly simple form) and direct memory running the VB scr
Platform: |
Size: 144384 |
Author: 徐磊 |
Hits:
Description: msdn for vb 6.0 从msdn中提取出来的-msdn for vb 6.0 to extract out from msdn the
Platform: |
Size: 2171904 |
Author: AzureTiger |
Hits:
Description: 这是VB6.0上MSDN的例子,不过我做了稍微改动,能实现输入任意的IP地址,实现与其通信的目的-This is a VB6.0 example on MSDN, but I make a slight alteration can realize arbitrary input IP address, the realization of the purpose of communication
Platform: |
Size: 17408 |
Author: yxs |
Hits:
Description: vb 打电话源码下载,msdn
源码-call vb source download, msdn source
Platform: |
Size: 3072 |
Author: |
Hits:
Description: When developing COM Objects, I often wished to have something similar to VB s Properties- or Debug-window to retrieve or interactively change an object s current properties at runtime. There exists a small number of little demo apps (like the AtlCon sample in MSDN) about property browsing, but in general those were not functional enough for me - one cannot browse properties which take one or more extra parameters (not just setting/returning one value), one cannot invoke methods, one can only browse a COM object s default interface (although most objects do implement more than one interface), and one can only do the browsing during design time.-When developing COM Objects, I often wished to have something similar to VB s Properties-or Debug-window to retrieve or interactively change an object s current properties at runtime. There exists a small number of little demo apps (like the AtlCon sample in MSDN ) about property browsing, but in general those were not functional enough for me- one cannot browse properties which take one or more extra parameters (not just setting/returning one value), one cannot invoke methods, one can only browse a COM object s default interface (although most objects do implement more than one interface), and one can only do the browsing during design time.
Platform: |
Size: 173056 |
Author: dhsong |
Hits:
Description: VB6.0全称为VisualBasic 6.0,是微软公司推出的可视化编程工具MSDN之一,是目前世界上使用最广泛的程序开发工具。如果你是一个对编程一无所知,而又迫切希望掌握一种快捷实用的编程语言的初学者,那选择VB 6.0没错的。即使考虑到VB程序本身编译和运行效率较低的不足(嘻嘻速度现在不是问题吧),单是它的快捷的开发速度,简单易学的语法,体贴便利的开发环境,它仍不失一款优秀的编程工具,是初学者的首选。-VB6.0 called VisualBasic 6.0, Microsoft launched MSDN visual programming tools, is currently the world s most widely used program development tools. If you are a know nothing about programming, and eager to have a quick and practical programming language for beginners, it s right of choice of VB 6.0. Even taking into account the VB compiler and run the process itself and less efficient deficiencies (hee hee speed is not a problem right now), is the development of its fast speed, easy to learn the grammar, and considerate to facilitate the development environment, it is still losing a excellent programming tools, is the first choice for beginners.
Platform: |
Size: 203776 |
Author: look |
Hits:
Description: MSDN for VB 学习VB语言的好工具,-MSDN for VB learning VB language a good tool,
Platform: |
Size: 14584832 |
Author: hejunhui |
Hits:
Description: vc6的MSDN精简版删除了vfp和vb的帮助,vc完全保留.rar-failed to translate
Platform: |
Size: 10103808 |
Author: wqwei |
Hits:
Description: vb6.0的MSDN,在这里找不到,在网上找到下载了,顺便也上传给大家方便下-vb6.0 of MSDN, can not find here, on the web, downloaded, upload it to the way of everyone
Platform: |
Size: 14302208 |
Author: 孔生 |
Hits:
Description: 有关VB.NET下反射的参考。英文,来自微软MSDN.-Reference on Reflection under VB.NET.
Platform: |
Size: 4524032 |
Author: 沈邗 |
Hits:
Description: MSDN for VB 6.0安装程序 -MSDN for VB 6.0 Setup MSDN for VB 6.0 Setup
Platform: |
Size: 14314496 |
Author: |
Hits:
Description: VB开发者的必备手册,MSDN中包含了大部分VB控件和函数的使用方法-VB developers must manuals, MSDN contains most of the VB controls and functions to use
Platform: |
Size: 14304256 |
Author: xie xiao fei |
Hits:
Description: VB帮助文件,下载后可以直接安装。官网下载的必须给力-VB help files, can be installed directly after downloading. Official website to download must give force
Platform: |
Size: 28054528 |
Author: 徐涛 |
Hits: