__WriteLine不能写一个Color变量?? [英] __WriteLine can't write a Color variable??

查看:45
本文介绍了__WriteLine不能写一个Color变量??的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

声明:

WriteLine(lFileNum,mFirstLineColor)


因以下错误失败:

附加信息:程序电话或参数无效。


mFirstLineColor是类型颜色


写不出颜色?


如果你只想保存一堆东西并在以后恢复它是写下

方式去或打印更好的方法。或者还有其他更好的东西吗?


提前致谢
Tr ************ @ REMOVEaol.com

The statement:
WriteLine(lFileNum, mFirstLineColor)

Fails with the following error:
Additional information: Procedure call or argument is not valid.

mFirstLineColor is type Color

Can''t Write write a Color??

If you just want to save a bunch of stuff and restore it later is Write the
way to go or is Print a better way. Or is there something else that''s better?

Thanks in advance
Tr************@REMOVEaol.com

推荐答案




这是什么类型的代码,
Hi

What kind of code is this,
WriteLine(lFileNum,mFirstLineColor)
WriteLine(lFileNum, mFirstLineColor)




因为有很多WriteLine方法,所以我不认为它会起作用

只写简单写字(x,x)


但在这种情况下,我很可能错了。


Cor



Because there are a lot of WriteLine methods, so I don''t think it will work
by only writing writeline(x,x)

But in this case it is very much possible I am wrong.

Cor


" TryingLikeHeck" < TR ************ @ aol.comREMOVE> schrieb
"TryingLikeHeck" <tr************@aol.comREMOVE> schrieb
语句:
WriteLine(lFileNum,mFirstLineColor)

失败并出现以下错误:
附加信息:过程调用或参数无效。

mFirstLineColor是类型颜色

不能写一个颜色??


我发现了几种WriteLine方法。您指的是哪一个?


System.Console.WriteLine

System.IO.TextWriter.WriteLine

System.CodeDom .Compiler.IndentedTextWriter.WriteLi ne

Microsoft.VisualBasic.FileSystem.WriteLine

System.Diagnostics.TraceListener.WriteLine

System.Diagnostics.Trace .WriteLine

System.Diagnostics.Debug.WriteLine

System.Diagnostics.DefaultTraceListener.WriteLine

System.Diagnostics.TextWriterTraceListener.WriteLi ne

如果你只想保存一堆东西并在以后恢复它是
写下去的方式或打印更好的方式。或者有什么东西更好吗?
The statement:
WriteLine(lFileNum, mFirstLineColor)

Fails with the following error:
Additional information: Procedure call or argument is not valid.

mFirstLineColor is type Color

Can''t Write write a Color??
I found several WriteLine methods. Which one are you referring to?

System.Console.WriteLine
System.IO.TextWriter.WriteLine
System.CodeDom.Compiler.IndentedTextWriter.WriteLi ne
Microsoft.VisualBasic.FileSystem.WriteLine
System.Diagnostics.TraceListener.WriteLine
System.Diagnostics.Trace.WriteLine
System.Diagnostics.Debug.WriteLine
System.Diagnostics.DefaultTraceListener.WriteLine
System.Diagnostics.TextWriterTraceListener.WriteLi ne
If you just want to save a bunch of stuff and restore it later is
Write the way to go or is Print a better way. Or is there something
else that''s better?




不知道这是不是更好的方式,但它是一个方式:
http:// msdn.microsoft.com/library/en...ingobjects.asp


-

Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote .html



Don''t know if it''s the better way but it''s one way:
http://msdn.microsoft.com/library/en...ingobjects.asp

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


我不知道但是查看帮助


Public Sub WriteLine (_

ByVal FileNumber为整数,_

ByVal ParamArray输出()为对象_



参数

有关如何写颜色的任何建议吗?


谢谢
Tr ************ @ REMOVEaol.com
I don''t know but check the Help

Public Sub WriteLine( _
ByVal FileNumber As Integer, _
ByVal ParamArray Output() As Object _
)
Parameters
Any suggestions on how to write Color??

Thanks
Tr************@REMOVEaol.com


这篇关于__WriteLine不能写一个Color变量??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆