0

I need to popup internal page (within project folder) when pressing button, I already used the code

System.Diagnostics.Process.Start("http://www.mkf.com");

but I need to run internal page like (mk.html), how can I doing this

4
  • but I need to run internal page whats an internal page mean? like one in your bin directory? Commented Sep 8, 2018 at 8:06
  • Possible duplicate of Open a html file using default web browser Commented Sep 8, 2018 at 8:14
  • yes sorry I mean inside directory Commented Sep 8, 2018 at 11:24
  • Not Open a html file using default web browser . I need to open page inside project directory this what I mean Commented Sep 8, 2018 at 11:30

1 Answer 1

0

you can open the internal page via directory path in your "Process.Start" function.

System.Diagnostics.Process.Start("mk.html");
Sign up to request clarification or add additional context in comments.

2 Comments

I already used this, but error message appeared "System.ComponentModel.Win32Exception: 'The system cannot find the file specified' "
Have you used the total directory?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.