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 8616487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:37:55+00:00 2026-06-12T05:37:55+00:00

Does anyone have any insight as to what can cause a scenario where if

  • 0

Does anyone have any insight as to what can cause a scenario where if you were to call

mediaControl.Run();

that it won’t actually start rendering video until this is called

MessageBox.Show("");

I couldn’t figure out why the media wasn’t running even when getstate returned that it was running until i return the HRESULT which said sure its running… but only displays video on the window when a messagebox is shown.

The weird thing is that if you dismiss the messagebox, and rendering pauses… but if you called it again say 5 seconds after, it continue to works.

Furthermore… if you dismiss the messagebox and have a continous loop right after it that sleeps the thread indefinitely, it continues to render.

I have been banging my head all day with this trying to figure out why a messagebox is key… but ultimately, I can’t have a messagebox display.

Any random ideas would be helpful too… thanks.

Cheers.

  • 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-06-12T05:37:57+00:00Added an answer on June 12, 2026 at 5:37 am

    The main thing MessageBox.Show() does is to run the message loop. You may be able to replace it with simulated DoEvents() (see this answer)

    But there probably is a serious problem in your code surrounding this.

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

Sidebar

Related Questions

Does anyone has any insight on organizing sqlalchemy based projects? I have many tables
Does anyone have any tips that could help speed up a process of breaking
Does anyone have any good resources that show creating an unlimited number of threads
Does anyone have any examples on how to integrate a task scheduler in Bottle.
Does anyone have any idea how to change the thickness of the text pointer
DOes anyone have any good information with regards to when to log, I was
Does anyone have any useful advice/links to information about working with mp3 files in
Does anyone have any advice or techniques for deploying SSIS packages to the Integration
Does anyone have any experience querying FlexLM? (At a minimum) I need to be
Does anyone have any advice on which method is better when caching data in

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.