55问答网
所有问题
当前搜索:
vb清空picturebox
如何用
vb
.net2003读写内存
答:
sf.Title = "写文件";//如果用户点击了保存按钮 if(sf.ShowDialog()==DialogResult.OK){ //实例化一个文件流--->与写入文件相关联 FileStream fs = new FileStream(sf.FileName,FileMode.Create);//获得字节数组 byte [] data =new UTF8Encoding().GetBytes(this.text
Box
1.Text);...
想在word中的指定位置插入图片,求
VB
代码!
答:
'替换图片 sub pic(byval img as image,byval czp as string)clipboard.clear()'
清空
剪贴板 clipboard.setimage(img)'把
picturebox
1.image图片放到剪贴板 wdapp.selection.find.clearformatting()wdapp.selection.find.replacement.clearformatting()with wdapp.selection.find .text = czp '要替换的...
帮忙写个
VB
的骰子游戏
答:
定义1个label1,两个text,两个button. 我写的没有用过程,不过可以满足游戏要求。Dim bo As Boolean Private Sub Command1_Click()Label1 = ""Randomize Text1 = Val(Int(Rnd * 6))Text2 = Val(Int(Rnd * 6))a = Val(Text1) + Val(Text2)Label1 = IIf(a > 6, "点数为大", "...
棣栭〉
<涓婁竴椤
21
22
23
24
25
26
27
28
29
30
其他人还搜