Tuesday, July 14, 2009

\Everytime I run Windows Media Player I get a Microsoft Visual C++ RunTime error No:6034.?

I have un-installed Windows Media Player and I get the same problems occurring when I reinstall. I have also downloaded the MS Visual Studio 5 C++ libraries and still no resolution.





I am also having problems with IE7 for instance on Ebay I cant view the 'How you are protected' section OR I cant post any ads as their upload image feature wont work on IE7. Everything works fine on FireFox. I have also un-installed IE7 and the problems are still there.





Its really annoying me as I cant seem to find any information on this so any help would be appreciated.





Regards


Will

\Everytime I run Windows Media Player I get a Microsoft Visual C++ RunTime error No:6034.?
You might have a faulty codec on your computer.





Windows Media Player uses codecs to decode the audio and video files.





If you have installed any new codecs recently, try uninstalling them to see if the problem still occurs. For example, if you have installed the DivX codec, then try uninstalling it and then seeing if that works.





Assuming that works, download the latest version of the codec and reinstall it.





You can test the theory that the codec is the problem by using mplayer2.exe. Mplayer2.exe is a cut down version of Windows Media Player. This will only work in Windows XP.





To access it, click on the Start Menu, then point to run. In the Run dialog box, type mplayer2, then press Enter.





Try opening a video file in this program to see if it causes the same problem. If you get the same problem in mplayer2 then its likely that the a damaged codec or other shared component such as a Media Player plugin or skin is the cause.





If you have System Restore turned on, then you could consider rolling back your system to a time when you know the system was functioning properly.


C projects in Visual Studio?

I don't seem to be able to create a new C project in VS -when I click on New project I don't see any choices for C.





I have tried on VS 2002 so far.

C projects in Visual Studio?
http://www.microsoft.com/express/downloa...





go download it from there. its the newest version. its only a 30 day trial but it at least lets you see if it works on your system. what operating system are you running? that possibly may help
Reply:Just start a console project. You can work in c or c++


I am coding on Visual Studio 2008 in C. How can I stop the program terminating automatically?

Basically the code runs and what is there works well but I am just starting on how to code (read as: copying examples and following them) and would like to know how I can stop it automatically closing before I can see its outcome.


Also if you can explain the code required to stop this occurring and how it work much appreciated.





Cheers

I am coding on Visual Studio 2008 in C. How can I stop the program terminating automatically?
The key is to do a console input of some type (getchar(), scanf(), ...), causing the program to halt with the text in the console window until you press Enter. A message to the screen just before this is also useful to know you've reached that point and aren't just hung somewhere earlier.





Hope that helps.
Reply:Two ways:


1. Run the program manually through the command prompt. i.e. Start| run| enter "cmd"





2. put a sleep (x seconds) in your program.
Reply:You could use getch() at the end of your program, which will wait for you to press a key before it terminates. Alternatively you could run the application from the command line.
Reply:Try adding system("PAUSE"); at the end. If you return 0; do it just before that.





System() calls an external program and Windows has a program called PAUSE. You should be all set.


I am using a full version of Microsoft Visual C# on a school PC... why is there no System.Draw namespace?

It's Visual Studio 2005, presumably with all the C# components installed. When I use System.Draw, it says it can't find it. When I look at the dropdown after typing:





using System.





the list does not contain Draw. Is there a way I can get this System.Draw namespace installed onto the computer, or is it part of the administrator's installation of Visual Studio / Visual C#?

I am using a full version of Microsoft Visual C# on a school PC... why is there no System.Draw namespace?
http://blogs.msdn.com/coding4fun/archive...

survey for cash

Visual Studio 2008 for C#?

I'm working on a simple excercise and cannot figure out the code to.....


Create a form with two list boxes. Add a number of items to one list box at design time using the


Properties window. Create a button that, when clicked, removes the selected item in the first list and


adds it to the second list.


Thanks in advance to anyone that can help.

Visual Studio 2008 for C#?
Just create the two listboxes and populate one of them.


Create a button and add this to the button click method:


listBox2.Items.Add(listBox1.SelectedItem...


listBox1.Items.Remove(listBox1.SelectedI...


Can't compile using Visual Studio Express?

Hello everyone,





I'm trying to compile a program with this line:





#include "stdafx.h"





Yet for some reason, I compile it and get a fatal error that says the header file cannot be found. I thought this came with all Visual Studio software, but I guess I'm wrong.





I'm using Visual Studio C++ 2005 Express Edition; is it a download that I need? Please post a direct link to the site if it is a download.





I tried downloading something earlier, but no success.





Thanks.

Can't compile using Visual Studio Express?
You should be able to safely remove that header without affecting your compilation.
Reply:I'm not a big C++ programmer, but I found this on 'thescripts' :





http://www.thescripts.com/forum/thread13...





Sounds to me like it is not necessary, and you may be able to remove it. Check out the link - some good info.


How do I get user input like text and numbres from windows forms controls using c# and visual studio 8?

I've been searching MSDN for days now but I can't find a definite answer. I know how to handle events and set item propreties at runtime but I have no clue as to how I might get a character string from lets say a rich text box control.

How do I get user input like text and numbres from windows forms controls using c# and visual studio 8?
If it's a textbox,


string strVal = txtControl.Text; // you can aldo do .Text.Trim();


If it's a dropdown


string strVal = (string) ddlControl.SelectedItem.Value;





Some objects have string properties (.Text) you can access directly and store into string variables; others have "object" types (.Value) that you'll need to cast. Then you can also convert them to other types by writing


int iVal = Convert.ToInt32(strVal);


for free-hand input, beware of conversion exceptions.





You can collect the user input either upon clicking of a button (set up an event handler for the button's Clicked event) or by handling the TextChanged or ValueChanged events of controls.


Creating event handlers is best and most accurately done via the designer.