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.Core, Version=13.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.Core, Version=13.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.VisualBasic.Corestatic 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.Core, Version=13.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic.Core- 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, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
MsgBox
public static MsgBoxResult MsgBox(NetObject Prompt, MsgBoxStyle Buttons, NetObject Title) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
CallByName
public static NetObject CallByName(NetObject ObjectRef, java.lang.String ProcName, CallType UseCallType, NetObject... Args) throws java.lang.Throwable, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, InvalidOperationException, ArgumentException, OutOfMemoryException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, MissingMemberException, InvalidCastException, OverflowException, MissingMethodException, RankException, NullReferenceException, ArgumentNullException, AmbiguousMatchException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
InvalidOperationException
ArgumentException
OutOfMemoryException
CultureNotFoundException
ArgumentOutOfRangeException
NotSupportedException
ArrayTypeMismatchException
MissingMemberException
InvalidCastException
OverflowException
MissingMethodException
RankException
NullReferenceException
ArgumentNullException
AmbiguousMatchException
-
Choose
public static NetObject Choose(double Index, NetObject... Choice) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, CultureNotFoundException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, IndexOutOfRangeException
-
CreateObject
public static NetObject CreateObject(java.lang.String ProgId, java.lang.String ServerName) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, InvalidOperationException, ArgumentException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ExternalException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
InvalidOperationException
ArgumentException
OutOfMemoryException
ArgumentNullException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
ExternalException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
GetObject
public static NetObject GetObject(java.lang.String PathName, java.lang.String _Class) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ExternalException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
FormatException
OutOfMemoryException
ExternalException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, NotSupportedException, FormatException, OverflowException, InvalidCastException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
NotSupportedException
FormatException
OverflowException
InvalidCastException
ArrayTypeMismatchException
-
Command
public static java.lang.String Command() throws java.lang.Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, RankException, ArrayTypeMismatchException, ApplicationException
-
Environ
public static java.lang.String Environ(int Expression) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
NotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
RankException
-
Environ
public static java.lang.String Environ(java.lang.String Expression) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, OutOfMemoryException, ExternalException, ArgumentNullException, FormatException
-
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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, NotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, SecurityException, IOException, UnauthorizedAccessException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
NotSupportedException
IndexOutOfRangeException
ArrayTypeMismatchException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
SecurityException
IOException
UnauthorizedAccessException
FormatException
-
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, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
Partition
public static java.lang.String Partition(long Number, long Start, long Stop, long Interval) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, NotSupportedException, FormatException
-
AppActivate
public static void AppActivate(int ProcessId) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
AppActivate
public static void AppActivate(java.lang.String Title) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
Beep
public static void Beep() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
DeleteSetting
public static void DeleteSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, UnauthorizedAccessException, NotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, FormatException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
UnauthorizedAccessException
NotSupportedException
IndexOutOfRangeException
ArrayTypeMismatchException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
FormatException
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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, UnauthorizedAccessException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, FormatException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
UnauthorizedAccessException
NotSupportedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
FormatException
OverflowException
-
-