Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

open pocket ie to a specified url

Hi,
I am creating a new pocket internet explorer window using the following code...

PROCESS_INFORMATION pi;

if (!::CreateProcess(TEXT("\\windows\\iexplore.exe"),
   NULL, NULL, NULL, FALSE, 0, NULL, NULL, NULL, &pi))
{
  MessageBox(NULL, _T("test"), _T("test"), MB_OK);
}

Is is possible to open internet explorer to a specific url??


thanks a lot

Cathal
0
cathalc
Asked:
cathalc
1 Solution
 
chensuCommented:
Try this.

SHELLEXECUTEINFO ExecInfo =
{
    sizeof(SHELLEXECUTEINFO),
    0,
    NULL,
    NULL,
    _T(""),
    NULL,
    NULL,
    SW_SHOW
};

::ShellExecuteEx(&ExecInfo);
0
 
cathalcAuthor Commented:
Perfect:)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now