Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4564752
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:32:44+00:00 2026-05-21T18:32:44+00:00

I have a WPF projet that uses the WPFMediaKit and I have realised that

  • 0

I have a WPF projet that uses the WPFMediaKit and I have realised that it runs the camera and even the MessageBox.Show() code when in visual studio editing. That wouldn’t be a problem if it was only the camera that it was trying to run its doing some other stuff that crash the instant i go into design view.

Why is this happening and where can it be turned off? Is there some sort of livepreview-off switch?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:32:45+00:00Added an answer on May 21, 2026 at 6:32 pm

    You can’t stop it, it’s made so user controls can draw themselves and react smartly to the user at design time.

    You can however check for the DesignMode property inside your control and not do the camera operations (or anything at all if you wish).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visual Studio 2012 C# app that uses a WinForms UserControl nested
I don't even know how to describe this. I have a WPF project that
I have a WPF VB.NET project in Visual Studio 2008. For some reason, Visual
I have an WPF Full Tust explorer application that uses a COM assembly. In
I have a C# WPF (.NET 4.0) application that uses Excel interop to read
I have a WPF application that uses a WCF services to perform operations on
I have a WPF windows application that uses the ms ribbon control for the
I have a WPF desktop application that uses a custom database for storage. I
we have a WPF application that uses CurrentPrincipal to handle security. This all works
note I am new in Wpf > I have project that decode qr code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.