CAlling a Windows app from Solaris
Is it possible to make a call from a Solaris system to a Windows app? I am trying to setup a process in Oracle ERP which is on a Solaris server that will make a call at the end of the process to a windows app. The windows app will responds to a cmd line call but I hae no idea how to make a Soalris server call the windows server much less the app at teh cmd line.
Hello.
This is not so easy.
In principle - if you do not have the source code of the Windows App - there are two possibilities:
- Try to run the App under Wine. Wine is an application that can run (some) Windows Apps under Linux, Solaris, BSD etc.
- Use a virtual machine or a second server that runs MS Windows and a telnet server. Call the App via telnet.
Of course you do not have any chance to get the App running on a Sparc machine. (Maybe using a x86 processor emulation.)
Martin
Similar Messages
-
Starting Windows App from J2EE Studio Creator App
Hi,
Does anyone know how to start a Windows application with arguments that is on the same windows server running the J2EE application? I'm using Studio Creator to build the application and it needs to start a Windows app to perform some tasks. The app will run in the background and exit by itself when done.
Thanks,
RonHeres an example of how I start a windows app from within a swing application, I am passing the url of the db.
String temp = "192.168.11.70";
try {
Runtime.getRuntime().exec("command.com /E:1900 /C C:\\Progra~1\\mts\\freight.exe "+temp, null);
catch (IOException ex) {
Regards
Jonathan -
Calling File/Windows Explorer from EBS 12i Form.
Hello All,
I am using BLOB store as SECUREFILE and everything is working perfect when called from .NET.
Now requirement is create a Form (Oracle Form Developer 10g) running under EBS 12i. This Form will allow the user to select a file (from local or network drive) and store in the database.
I am not sure how to popup Windows Explorer for user to select file in EBS envirnoment.
Only help I am looking for is "how can I popup windows explorer from EBS for user to select file and send as blob"
Regards,
Naseer
Houston.Hi George,
Does this not work for you:
ExecuteCommand "c:\file.docx",,cmd_ShellExec
In my case it opens up word. -
How to run a Windows app from a PowerBook G4 using Tiger OS 10.4.11
HELP !!!! i have a training session tomorrow, and I need to run a Windows Application from my mac.
is it possible?
I need to do it only once (initially, then I can purchase something).
I use a PowerBook G4
I'm running Tiger OS 10.4.11 (not Leopard)
I don't need to run OS and Windows at the same time, just the Windows application
Any help would be greatly appreciated.
I signed up for and downloaded Parallels for Mac and got the message "this app can't be installed on your machine, please check the requirements for your machine." But I couldn't find requirements anwhere.
ANY IDEAS ???" I really appreciate it!If you have an Intel Mac and Leopard you can use various programs (like Parallels) that will let you do what you want.
With Tiger and a G4 PPC I think the only option is to get hold of a copy of Virtual PC and a copy of Windows that will work with it. Virtual PC is no longer produced so you'll have to look on the used stuff websites. I have never used VPC myself but I hear it is really slow, and of course since it is out of production it will probably only run some older version of Windows (not sure, maybe 98 or before?) -
How to call Web Start app from Web Start app?
Is there a way to call another Java Web Start Application from a running
Java Web Start Application, possibly from a different JNLP file?
Could this be done in a way that there won't be another virtual machine
launched; i. e. that the started Application will run in the same virtual
machine as the calling one?
Cheers,
TobiasIm not sure about running in the same Jvm however there are two ways I know of to start another jnlp app. I am using this to essentially restart my application however, you dont have to do that and can start another web application by either using BasicService.showDocument with the jnlp file ( should start a webs tart app) or usign runtime exec with javaws and the jnlp as the argument.
String jnlpUrlString = "commpartnersapp.jnlp?COMPANY="+COMPANY_ID;
try {
try {
// Lookup the javax.jnlp.BasicService object
//get the codebase
//This will work on both Unix and Windows
BasicService basicService = (BasicService) ServiceManager.lookup(
"javax.jnlp.BasicService");
URL codeBaseURL = basicService.getCodeBase();
log.config("basicService.getCodeBase()=" + codeBaseURL.toString());
basicService.showDocument(new URL(codeBaseURL, jnlpUrlString));
catch (UnavailableServiceException ue) {
//here for testing purposes since we are not started from jnlp in IDE
log.log(Level.SEVERE,
"ClientFrame:jMenuItemResetUserId_actionPerformed", ue);
//when we are in the development environment
String codeBaseString = "http://compub.cms/web/webportal/soft/";
//Note this will work on windows only, javaws always in path
//see http://java.sun.com/developer/community/chat/JavaLive/2005/jl0301.html
//works on windows
String execString = "javaws " + codeBaseString + jnlpUrlString;
log.config("execString = " + execString);
Process application = Runtime.getRuntime().exec(execString);
catch (MalformedURLException ex) {
log.log(Level.SEVERE,
"ClientFrame:jMenuItemResetUserId_actionPerformed", ex);
catch (IOException ex1) { //runtime exec throws IOException
log.log(Level.SEVERE, "ClientFrame:jMenuItemResetUserId_actionPerformed", ex1);
//pass a false param to not store profile at end of shutdown
this.shutdown(0, false); //calls System.exit(0);R
S -
Calling a BSP App from the UWL - What is required?
Hello,
We are trying to call a BSP application using workflow from the UWL. We are using ECC5.0(ERP2004) and EP6.0.
I have setup a Std Task to call method EXTSRV:PROCESS and in the task container I have the parameters that the BSP is expecting.
I have set the task as BSP_Standard is transaction SWFVISU. The visulisation parameters I have set as follows:
APP_PATH: sap/bc/bsp/sap/yfi_aa_b_req
CONFIRM:
SYSTEM_ALIAS: SAP_R3_Financials
I could not find any documentation on what these parameters should be so I have taken an educated guess.
The current configuration opens the HTML SAPGui with a generic screen stating that the workitem is in process, but there is no sign of the BSP application
I need to confirm that there is no other Portal Content Directory configuration required with respect to the Launcher/Handler in the portal.
Also that the setting for the visualisation parameters are correct:
Eg.
APP_PATH "Complete path to the BSP Application"
CONFIRM "Flag to show a confirm end of step button"
SYSTEM_ALIAS "The ECC System alias defined in the portal"
Yor help would be appreciated.
Regards
Mark RodriguesSorry for the tardy reply, we were swamped by a deadline and I have only had a chance to re-surface in SDN.
Here is an example of the UWL XML config:
<ItemType name="uwl.task.webflow.TS90000117.SAP_R3_Financials" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWSHanlder" executionMode="pessimistic">
<ItemTypeCriteria systemId="SAP_R3_Financials" externalType="TS90000117" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWSHanlder" groupAction="" handler="XhandlerLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="webservice_url" value="http://ssisapd3.app.govnet.qld.gov.au:8040/sap/bc/webflow/wshandler"/>
<Property name="sap-client" value="110"/>
<Property name="display_order_priority" value="5"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>
Hope this helps. As mentioned you have probably worked it out yourself now.
That Callback URL was very important for sending the terminating event back to R/3.
Mark -
How to call a window dynamically from a view
Dear forum experts,
I am developing an application where i have 4 view controllers and 2 window controllers under one component.Some times on click of a button i have to give a provision to switch to another view from one view, which i did by firing the plug to the corresponding view..
Now i have a requirement where, on click of a button i have to navigate to the window dynamically which would contain some static views,
Can some one please suggest me how to go about it.
Thanks.Hi,
You can raise the window as a pop-up.
Example.
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'ZWIN2'
title =
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
lo_window->open( ).
I am not sure how to navigate to a view in a different window using plugs.
I raised the view as a pop up in my requirement.
Cheers,
Aditya. -
Calling flex osmf app from android java app
Is there a way to use osmf as a resource/intent/library in a normal android java application?
How?
I have to user FTP in my android java code, then I have to add some parameters into the flex app/intent/lib other.
(path variable)
Thanks,
LeslieDerek,
first of all, don't use any flavour of System.exit() to close the called frame.
You can call another "application" by calling its constructor and hiding the caller frame e.g. this.setDisplayed(false).
Pass a reference of the caller to the callee, so that when exiting the called "application" you set the caller display to true again. Hide the called "application" and call its dispose() method to gracefully exit and retrun to the caller.
To make sure the memory is released asap,make sure that you set the variable referencing the called frame to null after that.
Hope it helps.
Fran -
(Servlet/JSP based): How to secure calling of one apps from another
I am having two different web application(Servlet/JSP based) on two different servers. For example,
AppsA is on '*http://IP1:PORT1:AppsA*' and AppsB is on '*http://IP2:PORT2:AppsB*'
I am sending a request from AppsA to AppsB for the PDF (ONLY THIS, No more interaction). Which is working fine. But the URL of AppsB i.e. 'http://IP2:PORT2:AppsB' appears in the browser.
But i don't want to show the interaction of AppsB. I have tried to FORWARD the request to AppsB but it only allows relative path.
So how can i make it secured..?
Thanks.Now it's secured...
Thanks BalusC
--Kunal Dav -
How to call Flex app from Javascript in portal question
I've setup my flex 4 app with a callback function. The flex app is embedded in a Java portlet on a WebLogic Portal 10.3.2. How can I call the Flex app from the portlets javascript function? Code below shows how the flex app is embedded in the wrapper jsp.
<script language="JavaScript" type="text/javascript">
AC_FL_RunContent(
"src", "<%= srcPath %>",
"id", "<%= (String)request.getAttribute("portlet_name") %>",
"name", "<%= (String)request.getAttribute("portlet_name") %>",
"width", "<%= request.getAttribute("width") %>",
"height", "<%= request.getAttribute("height") %>",
"align", "middle",
"quality", "high",
"FlashVars", "PORTLET_WS=<%= request.getAttribute("window_state")%><%= wsrpEncodedChannel %>",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer");
</script>Thanks for the response. I followed the instructions in the link, but it does not appear to work within a Weblogic 10.3.2 portal. My Flex app is wrapped in a Java JSR 286 portlet. Should this approach work or is there a different approach for the portlets wrapper JavaScript to call a Flex callback function?
thanks
Dan -
Object Referenced Error When calling the Windows Form during Runtime
Hi,
I am getting Object reference errors when running windows form during runtime. In debugging mode in MS Visual studio 2005, I am not getting this error. I'm calling the window form from menu and called the window in a thread as suggested in one of forums . I don't see anyone in the forum mentioned this problem I have. Any help would be deeply appreciated. Below are the error and code samples.
ERROR Message
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Project1.Loadxml.Loadxml_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edited by: Albert Tio on Feb 16, 2011 9:55 AMHere is the code.
Option Strict Off
Option Explicit On
Friend Class GetEvents
Public WithEvents SBO_Application As SAPbouiCOM.Application
Public SboGuiApi As SAPbouiCOM.SboGuiApi
Public oForm As SAPbouiCOM.Form
Public oDBDataSource As SAPbouiCOM.DBDataSource
Public oCompany As SAPbobsCOM.Company
Public RS As SAPbobsCOM.Recordset
Public oPrev_Bank As String, oPrev_AcctType As String
Public oLoadXml As Loadxml
Public Sub SetApplication()
'Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
' by following the steps specified above, the following
' statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
' connect to a running SBO Application
SboGuiApi.Connect(sConnectionString)
' get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
End Sub
Public Sub SetCompany()
Dim ret As Long
Dim MsgStr As String
Dim Cookie As String
Dim ConnStr As String
Try
oCompany = New SAPbobsCOM.Company
Cookie = oCompany.GetContextCookie
ConnStr = SBO_Application.Company.GetConnectionContext(Cookie)
'//before setting the SBO login context make sure the company is not connected
If oCompany.Connected = True Then
oCompany.Disconnect()
End If
ret = oCompany.SetSboLoginContext(ConnStr)
If Not ret = 0 Then
Exit Sub
End If
ret = oCompany.Connect
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
MsgStr = ""
If Not ret = 0 Then
oCompany.GetLastError(ret, MsgStr)
SBO_Application.MessageBox(MsgStr)
Else
End If
End Sub
Public Sub New()
MyBase.New()
' set SBO_Application with an initialized application object
SetApplication()
SetCompany()
AddMenuItems()
End Sub
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
Dim myThread As New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf LoadXmlMainThread))
Try
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
'SBO_Application.MessageBox("My sub menu item was clicked")
'// Create a form to be launched in response to a click on the
'// new sub menu item
myThread.SetApartmentState(System.Threading.ApartmentState.STA)
myThread.Start()
'Loadxml.ShowDialog()
End If
Catch ex As Exception
SBO_Application.MessageBox("1." & ex.Message)
End Try
'If (pVal.MenuUID = "MyGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My GoTo Menu was clicked")
'End If
'If (pVal.MenuUID = "MySecondGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My Second GoTo Menu was clicked")
'End If
End Sub
Private Sub LoadXmlMainThread()
'Dim lLoadxml As New Loadxml
Try
oLoadXml = New Loadxml
oLoadXml.WindowState = FormWindowState.Maximized
oLoadXml.ShowInTaskbar = True
oLoadXml.TopMost = True
oLoadXml.Activate()
Application.Run(oLoadXml)
Catch ex As Exception
SBO_Application.MessageBox("2." & ex.Message)
End Try
End Sub
Private Sub AddMenuItems()
'// Let's add a separator, a pop-up menu item and a string menu item
Dim oMenus As SAPbouiCOM.Menus
Dim oMenuItem As SAPbouiCOM.MenuItem
Dim i As Integer '// to be used as counter
Dim lAddAfter As Integer
Dim sXML As String
'// Get the menus collection from the application
oMenus = SBO_Application.Menus
'Save an XML file containing the menus...
'sXML = SBO_Application.Menus.GetAsXML
'Dim xmlD As System.Xml.XmlDocument
'xmlD = New System.Xml.XmlDocument
'xmlD.LoadXml(sXML)
'xmlD.Save("c:
mnu.xml")
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
Dim sPath As String
sPath = Application.StartupPath
'sPath = sPath.Remove(sPath.Length - 3, 3)
If sPath.EndsWith("\") = False Then
sPath = sPath & "\"
End If
'// find the place in wich you want to add your menu item
'// in this example I chose to add my menu item under
'// SAP Business One.
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
oCreationPackage.UniqueID = "MyMenu01"
oCreationPackage.String = "Unbridle Menu"
oCreationPackage.Enabled = True
oCreationPackage.Image = sPath & "unbridle.bmp"
oCreationPackage.Position = 15
oMenus = oMenuItem.SubMenus
Try ' If the manu already exists this code will fail
oMenus.AddEx(oCreationPackage)
'// Get the menu collection of the newly added pop-up item
oMenuItem = SBO_Application.Menus.Item("MyMenu01")
oMenus = oMenuItem.SubMenus
'// Create s sub menu
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "MySubMenu"
oCreationPackage.String = "Unbridle Monitoring"
oMenus.AddEx(oCreationPackage)
Catch er As Exception ' Menu already exists
'SBO_Application.MessageBox("Menu Already Exists")
End Try
End Sub
End Class
Public Class Loadxml
'Inherits System.Windows.Forms.Form
Public sBPpath As String
Public sGLpath As String
Public sBillpath As String
Public bRun As Boolean
Private Sub Loadxml_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextGL.Text = System.Configuration.ConfigurationSettings.AppSettings("GLAcctDownloadPath").ToString()
Me.TextBP.Text = System.Configuration.ConfigurationSettings.AppSettings("BPAcctUPloadPath").ToString()
Me.TextBill.Text = System.Configuration.ConfigurationSettings.AppSettings("BillUPloadPath").ToString()
Me.NotifyIcon1.Visible = False
End Sub
End Class -
Can't open any windows app...
I can't open any windows app from yesterday in my windows 10 version 9879.
all of the windows app(metro app)...
It's urgent...
can anyone help me?
银光。。。。Are you having the same problem where either Email app won't open up or the PC Settings keeps blinking but refusing to stay up?
I've tried a restart but nothing changed. So, I'll guess we'll have to wait patiently until they find a solution for the next big patch/Windows update.
I get the feeling that recent update may have done a little harm than progress but guess that's why it's still in the Beta stages before release. -
I am struggling to implement the following functionality:
I am aware that one can launch vlc (media player) from
windows start like:
START -> RUN -> "C:\Program Files\VideoLAN\VLC\vlc.exe"
z:\mymovies\somemovie.avi
I want to implement the same functionality (meaning launching
the vlc and play the media file) from an IMAGE href from a web
page. How can I do it?
Basically, I am looking to launch a windows app from a web
image href.
I did try cfexecute and it does not work. Any help would be
appreciated!The easiest way is to to make it a simple anchor tag. The
default application for that file type will launch itself. -
Windows 8.1 background task Javascript - Call angular controller function from task js
Hi,
The Ionic Side menu starter template for windows 8.1 is a very good option to run the ionic apps on Windows 8.1 phones.
I am not sure whether this is related to Ionic/angular or VS2013 CTP 3.1 but if anyone can give some tips ,that would be great. I registered a background task as per the VS tutorial (Run JS task in background) and i tested it with windows toast notifications.However
my requirement is to access webservice in background which I am not able to implement.
The setup for background task is path to the js file but my requirement is to call a function defined within a controller.Is there any way i can access the controller function from an outside js file.I am new to Ionic,Angular and VS 2013.Any help would be great
The structure of background task js file is as below
(function() {
--- I need to call my controller/service function here---
var notifications = Windows.UI.Notifications;
var template = notifications.ToastTemplateType.toastImageAndText01;
var toastXml = notifications.ToastNotificationManager.getTemplateContent(template);
var toast = new notifications.ToastNotification(toastXml);
var toastTextElements = toastXml.getElementsByTagName("text");
toastTextElements[0].appendChild(toastXml.createTextNode("From Background!"));
var toastNotifier = notifications.ToastNotificationManager.createToastNotifier();
toastNotifier.show(toast);
close();
Are there any updates on this issue? I'm currently seeing this on a Lumia 822 with WP8.1, and the app has never been published to the store. I've only ever deployed the app from Visual Studio to my device. It worked when deploying the Debug build, then I
tried a Release build, and it crashed immediately upon launch when trying to register the background task, but then I was able to go back to deploying/debugging the Debug build on the device for awhile. I made more changes, and now neither Debug nor Release
builds work--both fail on the BackgroundTaskBuilder.Register() call with the error described in the original question:
"The drive cannot locate a specific area or track on the disk. (Exception from HRESULT: 0x80070019)"
I've tried changing the Task name during registration, rev-ing the version number of the application, adding the call to BackgroundExecutionManager.RemoveAccess() before BackgroundExecutionManager.RequestAccessAsync(), changing the name of the IBackgroundTask
concrete implementation and changing the corresponding EntryPoint in the package.appxmanifest (as well as in the BackgroundTaskBuilder instance), and changing the package DisplayName to a new reserved name, all to no avail. The only thing I didn't try
was associating with an entirely new app in the app store or paving my phone, as these are both fairly undesirable "workarounds."
Even if this won't affect clients downloading the app from the store, this is a major roadblock during development, as we can essentially only use the emulator to test an app specifically designed to help solve problems involving moving around physically
in the real world.
Any more information would be greatly appreciated. If there's any information I can provide, please let me know. -
Calling A Window's Program From Webforms
Is it possible to call a windows EXE program (such as NOTEPAD,
WINWORD, EXCEL, etc) from forms6.0 running on the web? This
should preferably be calling the programs residing in the CLIENT
PC rather than the APP SERVER machine. I tried using both HOST
and DDE commands, but both activate the programs on the server
side, and that these programs are shown in the TASK MANAGER but
never appeared in focus on the screen. Can someone please help?
Thanks.
Kelvin.
nullIs it possible to call a windows EXE program (such as NOTEPAD,
WINWORD, EXCEL, etc) from forms6.0 running on the web? This
should preferably be calling the programs residing in the CLIENT
PC rather than the APP SERVER machine. I tried using both HOST
and DDE commands, but both activate the programs on the server
side, and that these programs are shown in the TASK MANAGER but
never appeared in focus on the screen. Can someone please help?
Thanks.
Kelvin.
null
Maybe you are looking for
-
I manage a set of documents which are edited in Word but "published" as PDFs (using Word 2010's save to PDF capability). I want to create a library for them on SharePoint (my company has SharePoint Online via its Office 365 subscription). I'm pretty
-
Hi all, When i am trying to import the data from oracle 8.0.3 to Oracle 9.2 in another machine, i am facing problem. As, i am having total 7 users in 8.0.3 and out of that i have successfullly imported 6 users without any problem. But for one user i
-
Hi, We have primary and Standby database configure. Before few days our primary database was down and we switch over to standby site. and then again switch back to Primary. My query is as sequence of archive is changed after switchover,how do i come
-
SQLDeveloper running on Citrix - Best Practice ?
Dear all, is there any kind of advice on how to configure SQLDeveloper when running on Citrix? At the moment I am facing the problem that it is working allright, but every time I log on to Citrix all my configurations are lost. My Windows-Home is map
-
Pivot Some of The Columns to Rows
Hi, I need to pivot some of the columns to rows and have the remaining columns in the result. At this point I have already done a subquery to gather data and to keep the run time down I'd rather not do it again like a UNION would require. Single Row