如题,谢谢。
解决方案 »
- 请求:怎样在VB程序里创建ODBC数据源??
- 焦点在textbox中回车,判断textbox的值,如果是值是111,焦点移到下个textbox,如果不是,当前textbox变为全部选中的状态!高分求助!
- 怎么判断当前记录是最后一条记录??
- 100分求Internet Transfer文件下载代码(很小很小)
- 数据显示和统计的问题,请教各位指点!多谢!分不够再给
- 怎么样导出数据库?
- 關于水晶報表之問題﹐高分相贈
- 好简单的问题!!!!!!!!!!!
- 如果要给一些软件作外挂,怎么得到INTERFACE
- 请问共享软件中的功能限制或者使用次数限制是如何实现的?
- 如何从多个数据库中查询?急!!!
- 窗体运行时,Form的KeyPreview已经设置为true,如何捕获用户按Del键?
一个值,指示变量不含有效数据。 Null 是将 Null 显式赋值给一变量的结果,或者是包含 Null 的表达式之间的任何运算。
如果是需要传递一个空字符串,一般是用vbNullString常量
用于单个Null 字符的 Basic 常数 (ASCII value 0); 等效于 Chr$(0)vbNullString
当调用一个外部过程,需要一个非零值的字符串时,所使用的常数
/// PS_AddPhoto()
/// Add one photo to the slideshow, Transition and Text could be added this photo optionally
/// Parameter:
/// szPhotoFile: Photo File name
/// dwPhotoDuration: Photo 's duration time
/// szTransName: Transition's name
/// dwMode: Transition's motion mode
/// dwTransDuration: Transition's duration
/// lpText: Photo's Caption info, if lpText == NULL, there will be no caption added to the photo
/// lpPhotoCropRect: Photo's rect section that will be used in the slideshow,
/// if lpPhotoCropRect == NULL, the photo will not be cropped.
/// return value:
/// Whether the photo is added successfully,
/// E_PS_SUCCESS if successful
///
/// Note:
/// This function could be called in one loop to add all your photos
///
PHOTOSLIDE_API int PS_AddPhoto(char *szPhotoFile,
DWORD dwPhotoDuration,
char *szTransName,
DWORD dwMode,
DWORD dwTransDuration,
LP_PS_TEXT lpText,
LPRECT lpPhotoCropRect);
比如说这样一个API, 我想把lpText, lpPhotoCropRect以NULL传进去,在VB里该怎么做呢?
然后,传递0即可