I am building an AIR application which opens some specific documents. I want to enable dragdrop on this application. So that when application is running and user drag a file and drop that file on the application window, the application must respond to that event and must be able to perform some action. How can I do this? Thanks
I believe you're looking for the Invoke event.
I believe what you are looking for is a NativeDrag manager with specific settings in application.xml
You can see more details at http://raghuonflex.wordpress.com/2007/12/17/drag-drop-of-a-file-into-an-air-app-beta-3/
Related
While spying objects in blueprism using application modeller, i am not able to see identify button, instead just seeing only launch option.
It's because the application that you are tring to spy on, isn't launched.
You need to launch it first(from BP)and then Blue Prism alow you to spy on it. If you open aplication "on your own" BP wont see it.
In Win 10, some applications like calculator cannot be spyed as in Win 7.
In order to get identify button you need to do belows:
Launch the application in an object using Navigate stage.
For example, you can create an object with the name "Launch".
Attach the application. You need to create another object using Navigate stage with the name "Attach".
Then you need to use Page stage referencing "Attach" page after Launch stage.
When you complete above, please run it and then, click on the Application Modeler. You can be able to use Identify button at that time.
My blue prism object screen
Kindly reconfigure the application in application modeller, while doing so, give attention to the options you select in application modeller. Setting the correct options like web based or windows based application the problem will be resolved.
Can be two reasons:
Either your application is not launched properly.
Sometimes we face problems with some versions of applications.
The best way to fix your problem is
Edit your settings remove the application path from the navigate stage.
Launch the application separately
Open Navigate stage > Action > Attach
Provide the window title within quotes (example: "Calculator")
Click OK then run the object
Now if you go to application modeller
You will be able to see the identify button under the element.
Hope this will help you.
"Microsoft.WindowsCalculator" use in the application executable path in application modeller.put Microsoft.WindowsCalculator in between < >
I can create custom activities with a custom activity designer using WorkItemsPresenter. Sub-activities can be drag into my custom activity. But each of sub-activities sit side by side.
Is there a way to connect those sub-activities using wire like Flowchart or StateMachine activity?
Thanks
In Visual Studio, you add a new Activity (.xaml file). Then use the toolbox to add a container (you can add sequence, flowchart, state machine) There is some basic tutorials for each on MSDN.
Then you add your custom activities from the toolbox (if you just added the custom activity, make sure that dll is referenced and that you have performed a build to see it)
I have 2 separate Flex 4 projects, same framework but running on different servers.
1) MainApp (IP:192.168.12.113:8080)
2) SubApp (IP:192.168.10.19:5080)
I need to integrate SubApp into MainApp and I have managed to do so using a SWFLoader.
//MainApp/mainapp.mxml
<s:SWFLoader id="contentLoader"
loadForCompatibility="true"
trustContent="true"
source="http://192.168.10.19:5080/SubApp.swf"/> //Using url
Right now, I need the SubApp to notify the MainApp when a particular button is clicked so that the MainApp can perform some functions (E.g. Open/close a sliding window). How can I go about doing it?
In addition, to clarify, is this kind of setup considered as multi-versioned remote sandbox? Both applications are trust-able and should be able to access each other variables/functions.
Help is greatly appreciated. Thanks.
Since they are in a differant domain, they are sandboxed applications. You can use the following for your case
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f0d.html#WS2db454920e96a9e51e63e3d11c0bf69084-7f00
I have inhherited a vs2010 c# web project (asp.net). It has a web reference to a web service. There's been a slight change to the service - a new operation has been added. I'd like to update the proxy class so that i can call the new operation but i can't find the class. I seem to remember there used to be a "show all files" button in solution explorer that would reveal the proxy class but i can see no sign of that. Unfortunately, i'm not able to refresh the proxy by pointing it at the web service metadata wsdl because vs is no longer installed on any pc that can reach the web service. Anyone know where i can find the proxy class?
It doesn't matter you can't find it in Visual Studio - you can always locate a proper file in your filesystem, under the project directory.
Problem was, the app was running - doh!
Yes, you are right. There is a "Show all files" icon in the tool bar. It will only be available when you have a project selected, so you want to select the web service's parent project:
Expand the service reference and under it the file called Reference.cs is the proxy class.
You should NOT be hand editing this though. You should make the changes to the service and then regenerate the proxy using the Update Service Reference right click option. But then if you really can't do that as you say, then just hand edit the file. But beware that any changes you make will be lost if someone does regenerate it again in the future. Very Risky! (I prey you are using source control)
There is a WSDL.exe command line tool.
Copy and execute this command line tool in the PC where you can have access to the WebService, it will generates the proxy again and you can replace them with the files in your project.
http://msdn.microsoft.com/en-us/library/7h3ystb6(v=vs.80).aspx
I created a page named discussion_monitoring.aspx for fraud monitoring, impolite wording monitor. When detected, I just want to show balloon on system tray. but I haven't found that code to show balloon on taskbar system tray. Most example code I found is on Windows forms, not webform.
Environment: ASP.Net 2.0, Windows XP.
You want to show a balloon in the user's system tray? You can't do it. A web page doesn't have the level of desktop access (shy of an ActiveX control) necessary to make changes like that.
The closest you can hope to achieve is some kind of notification on the web page itself.
If you want the balloon to appear on the server's desktop, you should be able to use the same code that you've seen in a WinForms context. Just import the appropriate WinForms assemblies (System.Windows.Forms, probably System.Drawing), and you're good to go.
Note that it can get hairy, triggering GUI activity on your server from a webapp. You don't want to do things like open a dialog and wait for a response you're never going to get, for instance.
As "Michael Petrotta" said, you can't... But here is the Javascript for showing baloon in the page: http://mckay.cshl.edu/balloons.html