VB post 表单参数

VB post 表单参数,第1张

1、type = hidden 是将表单隐藏的隐藏域,type是表单的式样,例如文本框是:text,这不是最关键的,关键是name参数和value参数,其中name是表单的名称,程序在提交时的识别码,value是传递参数,另外你的代码中,有name=from,这是不容许的,因为from是程序表单提交时的标签,不容许作为表单的名称的。

2、你提交的地址是"/loginnwz",不知道这个是什么扩展名,在网页中提交表单必须是网页的地址,例如:"/loginaxp"、"/loginaspx"、"/loginphp"、"/loginjsp"等,也可能是我孤陋寡闻吧。

3、关于你提交后怎么接收数据的,没有代码,不好回答。

EnumFontFamExProc

The EnumFontFamExProc function is an application-defined callback function used with the EnumFontFamiliesEx function It is used to process the fonts It is called once for each enumerated font The FONTENUMPROC type defines a pointer to this callback function EnumFontFamExProc is a placeholder for the application-defined function name

int CALLBACK EnumFontFamExProc(

ENUMLOGFONTEX lpelfe, // pointer to logical-font data

NEWTEXTMETRICEX lpntme, // pointer to physical-font data

int FontType, // type of font

LPARAM lParam // application-defined data

);

Parameters

lpelfe

Pointer to an ENUMLOGFONTEX structure that contains information about the logical attributes of the font

lpntme

Pointer to a structure that contains information about the physical attributes of a font The function uses the NEWTEXTMETRICEX structure for TrueType fonts; and the TEXTMETRIC structure for other fonts

Windows 95: The NEWTEXTMETRICEX structure is not implemented Use NEWTEXTMETRIC instead

FontType

Specifies the type of the font This parameter can be a combination of these values:

DEVICE_FONTTYPE

RASTER_FONTTYPE

TRUETYPE_FONTTYPE

lParam

Specifies the application-defined data passed by the EnumFontFamiliesEx function

Return Values

The return value must be a nonzero value to continue enumeration; to stop enumeration, the return value must be zero

Remarks

An application must register this callback function by passing its address to the EnumFontFamiliesEx function

Unlike the EnumFontFamProc callback function, EnumFontFamExProc receives extended information about a font The ENUMLOGFONTEX structure includes the localized name of the script (character set) and the NEWTEXTMETRICEX structure includes a font-coverage signature

QuickInfo

Windows NT: Requires version 40 or later

Windows: Requires Windows 95 or later

Windows CE: Unsupported

Header: Declared in wingdih

Import Library: User-defined

See Also

Fonts and Text Overview, Font and Text Functions, EnumFontFamiliesEx, EnumFontFamProc, ENUMLOGFONTEX, NEWTEXTMETRICEX, TEXTMETRIC

ENUMLOGFONTEX

The ENUMLOGFONTEX structure contains information about an enumerated font

typedef struct tagENUMLOGFONTEX {

LOGFONT elfLogFont;

BCHAR elfFullName[LF_FULLFACESIZE];

BCHAR elfStyle[LF_FACESIZE];

BCHAR elfScript[LF_FACESIZE];

} ENUMLOGFONTEX;

Members

elfLogFont

Specifies a LOGFONT structure that contains values defining the font attributes

elfFullName

Specifies a null-terminated string specifying the unique name of the font For example, "ABC Font Company TrueType Bold Italic Sans Serif"

elfStyle

Specifies a null-terminated string specifying the style of the font For example, "Bold Italic"

elfScript

Specifies a null-terminated string specifying the script of the font For example, "Cyrillic"

QuickInfo

Windows NT: Requires version 40 or later

Windows: Requires Windows 95 or later

Windows CE: Unsupported

Header: Declared in wingdih

Unicode: Defined as Unicode and ANSI structures

See Also

Fonts and Text Overview, Font and Text Structures, EnumFontFamExProc, EnumFontFamiliesEx, LOGFONT

可以用Inet控件或者XML>

可以使用 WebBrowser1 的Document对象,然后遍历它的 Form中的所有录入元素,并设置他们的Value,最后调用 Document目标Form 的Sumbit事件就可以了。

以上就是关于VB post 表单参数全部的内容,包括:VB post 表单参数、VB怎么样读取ttf字体中的postScriptName信息、VB应用程序怎样得到网页的返回值等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/9349292.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-27
下一篇 2023-04-27

发表评论

登录后才能评论

评论列表(0条)

保存