Migrate iMacros from Windows Form to Web Form

Discussions and Tech Support related to using the iMacros Component for .NET in your applications.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Migrate iMacros from Windows Form to Web Form

by COSMOS on Tue Dec 13, 2016 4:21 am

Hey guys,

FCI = W7-x64, using web components trial version, VS2013, .NET 4.5, running my app on an IIS7.5 server, application pool is 4.0 (let me know if more info is required)

Is it possible to rewrite this code for a web form ?

using System;
using System.Windows.Forms;
using iMacros.Component;

public partial class MainForm : Form
{
private iMacrosControl iim;

public MainForm()
{
InitializeComponent();
iim = iMacrosControl.Create("xxxx") // Use the license key for iMacros.Component
iim.Dock = DockStyle.Fill;
browserPane.Controls.Add(iim);
}
}

I want to include this functionality in my ASP.NET project but I don't have experience with windows forms and I don't really know how to map everything here to web form. Curios as to why there isn't a sample project for web apps in the web components documentation. Only found the one for windows forms.
I need this so that I can run imacros scripts from my web app.

I found a video online about using Gizmox.WebGUI.Forms which has something to do with Silverlight, but I didn't fully understand. Perhaps people with more experience know what this is about. I just want to add this imacrosControl in my web app. It works fine for windows form so I'm sure it can work there too.

Any help is greatly appreciated. Thank you !
COSMOS
 
Posts: 20
Joined: Wed Jul 27, 2016 10:11 pm

Re: Migrate iMacros from Windows Form to Web Form

by Tom, Tech Support on Tue Jan 31, 2017 6:20 am

Hi COSMOS,

Sorry for the late response. If you want to integrate iMacros into your web server application, you don't want to use the iMacros Component for .NET - that component is a GUI component intended primarily for building desktop applications that require a built-in automation browser.

For your purpose, you should be using the iMacros scripting interface included with the Enterprise Edition.

If you have not done so already, please download the 30-day trial version of iMacros from the following link and give it a try!

http://imacros.net/download

An ASP.NET sample project is included with the trial.

For more information about using the scripting interface, see the following:

http://wiki.imacros.net/Web_Scripting
http://wiki.imacros.net/Command_Referen ... d_Overview
http://wiki.imacros.net/Web_Scripting#R ... T.2FPHP.29

If you get stuck or need specific help with your macro or project during your evaluation, please feel free to open a support ticket

Keep in mind that the iMacros Enterprise Edition includes *free updates and priority support for one year* and comes with a 21-day money back guarantee.
Regards,

Tom, iMacros Support
Tom, Tech Support
 
Posts: 3300
Joined: Mon May 31, 2010 9:59 am


Return to iMacros Component for .NET

Who is online

Users browsing this forum: No registered users and 1 guest

-->