How can I call a URL from a button on a screen?

                Private Sub epiButtonC2_Click(ByVal sender As Object, ByVal args As System.EventArgs)

                                ' ** Place Event Handling Code Here **

 

                Process.Start     ("Iexplore.exe", "www.google.com")

 

 

                End Sub

 

Marco Vissuet

Production Control (San Diego Division)

Systems Engineer (Corporate)

Pacific Contours Corporation

Cell (619)507-2311

San Diego Office (619)670-3900

Anaheim Office (714) 693-1260

Fax (619) 670-1643

mvissuet@...

http://www.pacificcontours.com/

"The information contained herein may be subject to the International Traffic in Arms Regulations (ITAR) Warning: - This document contains data whose export is restricted by the Arms Export Control Act (Title 22, U.S.C., Sec 2751, et seq.) as amended, or the Export Administration Act (Title 50, U.S.C., App 2401 et seq.) as amended. Violations of these export laws are subject to severe criminal and civil penalties.  Disseminate in accordance with provisions of DoD Directive 5230.25.

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, August 06, 2014 4:46 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: How can I call a URL from a button on a screen?

 

 

I want to call a web browser pointed at a specific website, not local.

 

Regards,

 

Chris Wineinger

ERP Specialist

Interior Systems, Inc.

241 N Broadway Ste 600

Milwaukee, WI 53202

Office # 414.224.0957 X2051

Direct# 414.847.0701

Cell # 414.840.6594

 

IT related problem? Contact helpdesk@...

 

I need to launch a website from a Quote screen to lookup data at times.

Not sure how to code a button to do it...


Thanks,


Chris Wineinger

Interior Systems Inc



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile

E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Aug 5, 2014 at 3:11 PM, cwineinger@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><p><span>I need to launch a website from a Quote screen to lookup data at times.</span></p><p><span>Not sure how to code a button to do it...</span></p><p><span><br></span></p><p><span>Thanks,</span></p><p><span><br>

Chris Wineinger

Interior Systems Inc

</div>
 


<div style="color:#fff;min-height:0;"></div>

Do you want to call a web browser or dashboard url?

Sent from my Verizon 4G LTE Smartphone

----- Reply message -----
From: "cwineinger@... [vantage]" <vantage@yahoogroups.com>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Subject: [Vantage] How can I call a URL from a button on a screen?
Date: Tue, Aug 5, 2014 2:16 PM

 

I need to launch a website from a Quote screen to lookup data at times.

Not sure how to code a button to do it...


Thanks,


Chris Wineinger

Interior Systems Inc

Here’s how I launch ie to load an external SSRS report. I’ve got the screen stripped down with no menu bars. You might not want that.

//jge - use the IE dll to create a new browser instance
SHDocVw.InternetExplorer IE = new SHDocVw.InternetExplorer();

//jge - strip down and set various properties of the browser window
IE.Top = 10;
IE.Left = 2;
IE.Height = 800;
IE.Width = 1100;
IE.AddressBar = false;
IE.MenuBar = false;
IE.StatusBar = false;
IE.ToolBar = 0;

//jge - create an empty object to pass "nulls" to optional flags in the Navigate2 call
object oEmpty = 0;
object oURL = "";

//jge - figure out which report to run based on the usercode value
switch (edvECOGroup.dataView[edvECOGroup.Row]["ShortChar01"].ToString())
{
case "DSCN":
oURL = "http://somewebsite”;
break;
case "QSCN":
oURL = "http://somewebsite”;
break;
case "ECO":
oURL = "http://somewebsite”;
break;
case "DEMO":
oURL = "http://somewebsite”;
break;
}

//jge - display the new browser window and go to the URL
IE.Visible = true;
IE.Navigate2(ref oURL, ref oEmpty, ref oEmpty, ref oEmpty, ref oEmpty);

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, August 05, 2014 3:32 PM
To: Yahoo Vantage Group
Subject: Re: [Vantage] How can I call a URL from a button on a screen?


Do you want to call a web browser or dashboard url?

Sent from my Verizon 4G LTE Smartphone

----- Reply message -----
From: "cwineinger@... [vantage]" <vantage@yahoogroups.com>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Subject: [Vantage] How can I call a URL from a button on a screen?
Date: Tue, Aug 5, 2014 2:16 PM



I need to launch a website from a Quote screen to lookup data at times.

Not sure how to code a button to do it...



Thanks,



Chris Wineinger

Interior Systems Inc



[Non-text portions of this message have been removed]
On Aug 5, 2014 4:11 PM, "Joe Englert englertj@... [vantage]" <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Here’s how I launch ie to load an external SSRS report.  I’ve got the screen stripped down with no menu bars.  You might not want that.


//jge - use the IE dll to create a new browser instance
SHDocVw.InternetExplorer IE = new SHDocVw.InternetExplorer();

//jge - strip down and set various properties of the browser window
IE.Top = 10;
IE.Left = 2;
IE.Height = 800;
IE.Width = 1100;
IE.AddressBar = false;
IE.MenuBar = false;
IE.StatusBar = false;
IE.ToolBar = 0;

//jge - create an empty object to pass "nulls" to optional flags in the Navigate2 call
object oEmpty = 0;
object oURL = "";

//jge - figure out which report to run based on the usercode value
switch (edvECOGroup.dataView[edvECOGroup.Row]["ShortChar01"].ToString())
{
case "DSCN":
oURL = "http://somewebsite”;
break;
case "QSCN":
oURL = "http://somewebsite”;
break;
case "ECO":
oURL = "http://somewebsite”;
break;
case "DEMO":
oURL = "http://somewebsite”;
break;
}

//jge - display the new browser window and go to the URL
IE.Visible = true;
IE.Navigate2(ref oURL, ref oEmpty, ref oEmpty, ref oEmpty, ref oEmpty);

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, August 05, 2014 3:32 PM
To: Yahoo Vantage Group
Subject: Re: [Vantage] How can I call a URL from a button on a screen?


Do you want to call a web browser or dashboard url?

Sent from my Verizon 4G LTE Smartphone

----- Reply message -----
From: "cwineinger@... [vantage]" <vantage@yahoogroups.com>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Subject: [Vantage] How can I call a URL from a button on a screen?
Date: Tue, Aug 5, 2014 2:16 PM



I need to launch a website from a Quote screen to lookup data at times.

Not sure how to code a button to do it...



Thanks,



Chris Wineinger

Interior Systems Inc


[Non-text portions of this message have been removed]

</div>
 


<div style="color:#fff;min-height:0;"></div>

I want to call a web browser pointed at a specific website, not local.

 

Regards,

 

Chris Wineinger

ERP Specialist

Interior Systems, Inc.

241 N Broadway Ste 600

Milwaukee, WI 53202

Office # 414.224.0957 X2051

Direct# 414.847.0701

Cell # 414.840.6594

 

IT related problem? Contact helpdesk@...

 

Not sure what the issue is. Just replace http://somewebsite with the address.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, August 06, 2014 7:46 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: How can I call a URL from a button on a screen?


I want to call a web browser pointed at a specific website, not local.

Regards,

Chris Wineinger
ERP Specialist
Interior Systems, Inc.<http://www.isiamerica.com/>
241 N Broadway Ste 600
Milwaukee, WI 53202
Office # 414.224.0957 X2051
Direct# 414.847.0701
Cell # 414.840.6594

IT related problem? Contact helpdesk@...




[Non-text portions of this message have been removed]