1033??2052?? 什么意思,你是想问我是不是这种编号。我只能说是了!你们在用资源文件时,比如要调用里面的图片,不是用loadrespicture(文件编号,类型)么?那么我说的就是这个文件编号。怎么获得它呢?谢谢!望回复!
解决方案 »
- 以十六进制字符方式打开图片文件,并把这些字符写入文本
- vb里面“回车”是什么符号,我想把一段文本里的回车符号替换掉!
- starsoulxp(星魂.NET)请进接分谢谢了,50分。
- 怎麼在 vss 中保存多個版本??? 然後調出其中的任意一個版本來修改呢???
- 求救!编译打包问题,在线等待
- 小弟求用VB+ACCESS做的“人事工资管理系统”源程序(DAO方法)
- [求助]请帮忙修改这个VB6.0对IPHLPAPI.DLL的相关操作[有分]
- 请问如何用VB做复何报表...分组
- Twain_32.dll的用法?
- 光盘驱动器的图标找不到 如何恢复
- 请问, 在北京VB程序员的工资大概是多少到多少之间呢?
- 我刚来,分少但我真诚的希望大家帮助我!我可以清囊!关于php->VB的问题!
LoadResPicture Function
Loads a bitmap, icon, or cursor from a resource (.res) file.SyntaxLoadResPicture(index, format)The LoadResPicture function syntax has these parts:Part Description
index Required. Integer or string specifying the identifier (ID) of the data in the resource file. The resource whose ID is 1 is reserved for the application icon.
format Required. Value or constant that specifies the format of the data being returned, as described in Settings.
SettingsThe settings for format are:Constant Value Description
vbResBitmap 0 Bitmap resource
vbResIcon 1 Icon resource
vbResCursor 2 Cursor resource
ResYou can use the LoadResPicture function instead of referring to graphics stored in the Picture property of a Form or controls.Storing bitmaps, icons, or cursors in and accessing them from resource files improves load time because you can load them individually as needed from the resource file, rather than all at once when a Form is loaded.Using LoadResPicture is useful for localizing a Visual Basic application because the resources that need to be translated are isolated in one resource file and there is no need to access the source code or recompile the application.