[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.axapta.programming

opening a web page from Axapta menu item

PacMan

1/23/2006 9:02:00 AM

Hi,

Since SQL Reporting Services usualy renders reports as web pages, how can i
create a menu item to open the report? How can you make a menu item point to
a web page (which is not an Axapta web element)?

foe example, the report is in http://localhost/reports

Thanks in advance!


1 Answer

KS

1/25/2006 7:11:00 PM

0


1. Make a new job that looks like this


static void StartWebpage(Args _args)
{

;

winapi::shellExecute('iexplore','http://www.microsoft.com/BusinessSolutions/axapta/community...);
}

2. Drag this job into 'Classes' so it becomes a class. Compile the whole class

3. Drag the new class into an 'Action' menuitem










"PacMan" wrote:

> Hi,
>
> Since SQL Reporting Services usualy renders reports as web pages, how can i
> create a menu item to open the report? How can you make a menu item point to
> a web page (which is not an Axapta web element)?
>
> foe example, the report is in http://localhost/reports
>
> Thanks in advance!
>
>