我无法启动我的项目 [英] i cant start my project
本文介绍了我无法启动我的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我写道:
Clipboard.SetDataObject(textzone as object)
with textzone =剪贴板应该放置数据但是vs显示错误:
错误1逗号,'')''或预期的有效表达式延续。 C:\ Users \ -G-pc \documents\visual studio 2012 \Projects\\\\\\\\\\\\\\\\\\\\\\\\\ b有人对此有所了解??
with textzone = the place should the clipboard pit the data on it but vs shows error :
Error 1 Comma, '')'', or a valid expression continuation expected. C:\Users\G-pc\documents\visual studio 2012\Projects\p\p\Form1.vb 16 42 p
someone has idea about this??
推荐答案
我查看了剪贴板类文档,并在 Clipboard.SetData Method
I looked at the Clipboard Class documentation and found this example at Clipboard.SetData Method
Clipboard.SetData(DataFormats.Text, CType(textzone, Object))
该示例假定textzone声明为 As String
。
对于将来的问题,请使用示例代码提供变量的声明。谢谢。
The example assumes that "textzone" is declared As String
.
For future questions, provide the declarations of your variables with your sample code. Thanks.
Clipboard.SetDataObject方法(对象,布尔值) [ ^ ]
在VB .NET中将对象复制到剪贴板中 [ ^ ]
这篇关于我无法启动我的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文