Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
O

OmurTokman

@OmurTokman
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C sharp Picturebox linking error
    O OmurTokman

    Thanks for the reply, I'll look into the thread you mentioned.

    C# csharp com algorithms help

  • C sharp Picturebox linking error
    O OmurTokman

    thank you very much this code worked.

    C# csharp com algorithms help

  • C sharp Picturebox linking error
    O OmurTokman

    Hello,

    First of all, I would like to inform you that I am not a software developer, I am dealing with it as a hobby.

    I made a simple desktop application, there is a picturebox on the form, I want a website to be opened when I click on the picture, but it gives an error. I've been searching for a few days, there are similar issues but no answer.

    Methods I have tried.

    using System.Diagnostics;

    private void pictureBox2_Click(object sender, EventArgs e)
    {
    //ProcessStartInfo adres = new ProcessStartInfo("http://www.website.com.tr");
    //System.Diagnostics.Process.Start(adres);
    //System.Diagnostics.Process.Start("https://www.website.com.tr/");
    //Process.Start(@"https://www.website.com.tr/");
    System.Diagnostics.Process.Start(@"https://www.website.com.tr/");
    }

    The error the codes give is "System.ComponentModel.Win32Exception: 'The system cannot find the file specified.' "
    Error details.

    System.ComponentModel.Win32Exception
    HResult=0x80004005
    İleti=Sistem belirtilen dosyayı bulamıyor.
    Kaynak=System.Diagnostics.Process
    StackTrace:
    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    at System.Diagnostics.Process.Start()
    at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
    at System.Diagnostics.Process.Start(String fileName)
    at AcınımHepalama_001.Form1.pictureBox2_Click(Object sender, EventArgs e) in D:\ÖMÜR ÇALIŞMALAR\MU-uygulamarı\AcınımHepalama-001\Form1.cs:line 604
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)

    C# csharp com algorithms help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups