トップページ⇒tech
12コメント4KB

VBのexeで返り値を返す

■ このスレッドは過去ログ倉庫に格納されています
0001デフォルトの名無しさんNGNG
VBのexeで返り値を返すことって
可能ですか?
0002デフォルトの名無しさんNGNG
http://pc.2ch.net/test/read.cgi/tech/1000523122/l50
0003デフォルトの名無しさんNGNG
カスが。
0004仕様書無しさんNGNG
アヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャヒャ
0005仕様書無しさんNGNG
<?xml version="1.0" ?>
- <doc>
- <assembly>
<name>cscompmgd</name>
</assembly>
- <members>
- <member name="T:Microsoft.CSharp.ErrorLevel">
<summary>Specifies the severity of a compiler diagnostic.</summary>
</member>
- <member name="F:Microsoft.CSharp.ErrorLevel.None">
<summary>An unknown severity.</summary>
</member>
- <member name="F:Microsoft.CSharp.ErrorLevel.Warning">
<summary>A warning or suggestive diagnostic.</summary>
</member>
- <member name="F:Microsoft.CSharp.ErrorLevel.Error">
<summary>An error diagnostic.</summary>
</member>
- <member name="F:Microsoft.CSharp.ErrorLevel.FatalError">
<summary>A noncontinuable error diagnostic.</summary>
</member>
- <member name="T:Microsoft.CSharp.CompilerError">
<summary>Represents an error or diagnostic message reported by the compiler.</summary>
<seealso topic="vctbsCompilerErrorsSC0001ThroughSC9999" title="Compiler Errors CS0001 Through CS9999" />
</member>
- <member name="F:Microsoft.CSharp.CompilerError.SourceFile">
<summary>Specifies the filename of the source text that caused the diagnostic, or an empty string ("").</summary>
</member>
- <member name="F:Microsoft.CSharp.CompilerError.SourceLine">
<summary>Specifies the line of the source text that caused the diagnostic (1 based), or 0 if there is no line information.</summary>
</member>
- <member name="F:Microsoft.CSharp.CompilerError.SourceColumn">
<summary>Specifies the column of the source text that caused the diagnostic (1 based), or 0 if there is no column information.</summary>
</member>
- <member name="F:Microsoft.CSharp.CompilerError.ErrorNumber">
<summary>Specifies the diagnostic number.</summary>
- <remarks>
See
<see topic="vctbsCompilerErrorsSC0001ThroughSC9999" title="Compiler Errors CS0001 Through CS9999" />
for the list of errors and waning numbers returned by the compiler.
</remarks>
</member>
0006デフォルトの名無しさんNGNG
返り血がひどい・・・
0007デフォルトの名無しさんNGNG
単発質問でスレを立てても答えが得られることは極稀です

VBに関する質問は以下のスレにお願いします

VB初心者質問スレPart3
http://pc.2ch.net/test/read.cgi/tech/1000523122/
0008testNGNG
<pre class="code">
#include <stdio.h>
<strong class="keyword">int</strong> main()
{
<strong class="keyword">int</strong> i;
<strong class="keyword">for</strong>(i=0; i<10; i++){
printf("%d",i);
}
<strong class="keyword">return</strong> 0;
}

</pre>
0009testNGNG
<pre><font color="#000000">
#include <stdio.h>
<font color="#000000"><b>int</b></font> main()
{
<font color="#000000"><b>int</b></font> i;
<font color="#000000"><b>for</b></font>(i=0; i<10; i++){
printf("%d",i);
}
<font color="#000000"><b>return</b></font> 0;
}

</font></pre>
0010デフォルトの名無しさんNGNG
これ使って可能です。
Public Declare Sub ExitProcess Lib "kernel32" Alias "ExitProcess" (ByVal uExitCode As Long)

ただし、VB的には良い終了の仕方ではない。

0011デフォルトの名無しさんNGNG
あげぃ
0012デフォルトの名無しさんNGNG
あげんな
■ このスレッドは過去ログ倉庫に格納されています