Package microsoft.visualbasic
Class Interaction
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.Interaction
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Interaction extends NetObject
The base .NET class managing Microsoft.VisualBasic.Interaction, Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.Interaction
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.VisualBasicstatic java.lang.String
className
Qualified class name: Microsoft.VisualBasic.Interactionstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Interaction()
Interaction(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
AppActivate(int ProcessId)
static void
AppActivate(java.lang.String Title)
static void
Beep()
static NetObject
CallByName(NetObject ObjectRef, java.lang.String ProcName, CallType UseCallType, NetObject... Args)
static Interaction
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoInteraction
, a cast assert is made to check if types are compatible.static NetObject
Choose(double Index, NetObject... Choice)
static java.lang.String
Command()
static NetObject
CreateObject(java.lang.String ProgId, java.lang.String ServerName)
static void
DeleteSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key)
static java.lang.String
Environ(int Expression)
static java.lang.String
Environ(java.lang.String Expression)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic NetObject
GetObject(java.lang.String PathName, java.lang.String _Class)
static java.lang.String
GetSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key, java.lang.String Default)
static NetObject
IIf(boolean Expression, NetObject TruePart, NetObject FalsePart)
static java.lang.String
InputBox(java.lang.String Prompt, java.lang.String Title, java.lang.String DefaultResponse, int XPos, int YPos)
static MsgBoxResult
MsgBox(NetObject Prompt, MsgBoxStyle Buttons, NetObject Title)
static java.lang.String
Partition(long Number, long Start, long Stop, long Interval)
static void
SaveSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key, java.lang.String Setting)
void
setJCOInstance(JCObject instance)
static int
Shell(java.lang.String PathName, AppWinStyle Style, boolean Wait, int Timeout)
static NetObject
Switch(NetObject... VarExpr)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.Interaction- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Interaction cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoInteraction
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Interaction
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Shell
public static int Shell(java.lang.String PathName, AppWinStyle Style, boolean Wait, int Timeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, IndexOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
IndexOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
NullReferenceException
-
MsgBox
public static MsgBoxResult MsgBox(NetObject Prompt, MsgBoxStyle Buttons, NetObject Title) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException, InvalidCastException, OverflowException, MemberAccessException, TargetException, TargetParameterCountException, NullReferenceException, MissingMemberException, InvalidEnumArgumentException, Win32Exception, SecurityException, OutOfMemoryException, MulticastNotSupportedException, InvalidAsynchronousStateException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
FormatException
InvalidCastException
OverflowException
MemberAccessException
TargetException
TargetParameterCountException
NullReferenceException
MissingMemberException
InvalidEnumArgumentException
Win32Exception
SecurityException
OutOfMemoryException
MulticastNotSupportedException
InvalidAsynchronousStateException
-
CallByName
public static NetObject CallByName(NetObject ObjectRef, java.lang.String ProcName, CallType UseCallType, NetObject... Args) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, MissingMemberException, InvalidCastException, FormatException, OverflowException, MissingMethodException, NullReferenceException, NotSupportedException, AmbiguousMatchException, RankException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
MissingMemberException
InvalidCastException
FormatException
OverflowException
MissingMethodException
NullReferenceException
NotSupportedException
AmbiguousMatchException
RankException
-
Choose
public static NetObject Choose(double Index, NetObject... Choice) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
CreateObject
public static NetObject CreateObject(java.lang.String ProgId, java.lang.String ServerName) throws java.lang.Throwable, IndexOutOfRangeException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, CultureNotFoundException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
NotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
FormatException
CultureNotFoundException
ArgumentException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
-
GetObject
public static NetObject GetObject(java.lang.String PathName, java.lang.String _Class) throws java.lang.Throwable, IndexOutOfRangeException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, CultureNotFoundException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
-
IIf
public static NetObject IIf(boolean Expression, NetObject TruePart, NetObject FalsePart) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Switch
public static NetObject Switch(NetObject... VarExpr) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, InvalidCastException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
OverflowException
InvalidCastException
-
Command
public static java.lang.String Command() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NullReferenceException, NotSupportedException
-
Environ
public static java.lang.String Environ(int Expression) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, SecurityException, NullReferenceException, RankException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
SecurityException
NullReferenceException
RankException
-
Environ
public static java.lang.String Environ(java.lang.String Expression) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
-
GetSetting
public static java.lang.String GetSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key, java.lang.String Default) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentNullException
ArgumentException
FormatException
CultureNotFoundException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
-
InputBox
public static java.lang.String InputBox(java.lang.String Prompt, java.lang.String Title, java.lang.String DefaultResponse, int XPos, int YPos) throws java.lang.Throwable, InvalidOperationException, NotImplementedException, ArgumentOutOfRangeException, Win32Exception, ArgumentException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, IOException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, InvalidEnumArgumentException, MissingManifestResourceException, RankException, MulticastNotSupportedException, OutOfMemoryException, SecurityException
- Throws:
java.lang.Throwable
InvalidOperationException
NotImplementedException
ArgumentOutOfRangeException
Win32Exception
ArgumentException
ArgumentNullException
CultureNotFoundException
IndexOutOfRangeException
IOException
NotSupportedException
ObjectDisposedException
AbandonedMutexException
NullReferenceException
InvalidEnumArgumentException
MissingManifestResourceException
RankException
MulticastNotSupportedException
OutOfMemoryException
SecurityException
-
Partition
public static java.lang.String Partition(long Number, long Start, long Stop, long Interval) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
AppActivate
public static void AppActivate(int ProcessId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, NotSupportedException, OutOfMemoryException, IndexOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
NotSupportedException
OutOfMemoryException
IndexOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
-
AppActivate
public static void AppActivate(java.lang.String Title) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
ObjectDisposedException
AbandonedMutexException
NotSupportedException
CultureNotFoundException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
-
Beep
public static void Beep() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
-
DeleteSetting
public static void DeleteSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, UnauthorizedAccessException, IOException, SecurityException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentNullException
ArgumentException
FormatException
CultureNotFoundException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
UnauthorizedAccessException
IOException
SecurityException
-
SaveSetting
public static void SaveSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key, java.lang.String Setting) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, UnauthorizedAccessException, IOException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
ArgumentNullException
ArgumentException
FormatException
CultureNotFoundException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
UnauthorizedAccessException
IOException
-
-