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.StringassemblyFullNameFully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.VisualBasicstatic java.lang.StringclassNameQualified class name: Microsoft.VisualBasic.Interactionstatic JCTypeclassTypeThe 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 voidAppActivate(int ProcessId)static voidAppActivate(java.lang.String Title)static voidBeep()static NetObjectCallByName(NetObject ObjectRef, java.lang.String ProcName, CallType UseCallType, NetObject... Args)static Interactioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoInteraction, a cast assert is made to check if types are compatible.static NetObjectChoose(double Index, NetObject... Choice)static java.lang.StringCommand()static NetObjectCreateObject(java.lang.String ProgId, java.lang.String ServerName)static voidDeleteSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key)static java.lang.StringEnviron(int Expression)static java.lang.StringEnviron(java.lang.String Expression)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic NetObjectGetObject(java.lang.String PathName, java.lang.String _Class)static java.lang.StringGetSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key, java.lang.String Default)static NetObjectIIf(boolean Expression, NetObject TruePart, NetObject FalsePart)static java.lang.StringInputBox(java.lang.String Prompt, java.lang.String Title, java.lang.String DefaultResponse, int XPos, int YPos)static MsgBoxResultMsgBox(NetObject Prompt, MsgBoxStyle Buttons, NetObject Title)static java.lang.StringPartition(long Number, long Start, long Stop, long Interval)static voidSaveSetting(java.lang.String AppName, java.lang.String Section, java.lang.String Key, java.lang.String Setting)voidsetJCOInstance(JCObject instance)static intShell(java.lang.String PathName, AppWinStyle Style, boolean Wait, int Timeout)static NetObjectSwitch(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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Interaction cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoInteraction, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Interactioninstance- 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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceException
-
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.ThrowableArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionFormatExceptionInvalidCastExceptionOverflowExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionNullReferenceExceptionMissingMemberExceptionInvalidEnumArgumentExceptionWin32ExceptionSecurityExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidAsynchronousStateException
-
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.ThrowableIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionMissingMemberExceptionInvalidCastExceptionFormatExceptionOverflowExceptionMissingMethodExceptionNullReferenceExceptionNotSupportedExceptionAmbiguousMatchExceptionRankException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
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.ThrowableIndexOutOfRangeExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionCultureNotFoundExceptionArgumentExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidCastException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionSecurityExceptionNullReferenceExceptionRankException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
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.ThrowableInvalidOperationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionWin32ExceptionArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionIOExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionInvalidEnumArgumentExceptionMissingManifestResourceExceptionRankExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionSecurityException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexException
-
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.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionSecurityException
-
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.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOException
-
-