473,395 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

I got error wen compiling this source code c#

1
Expand|Select|Wrap|Line Numbers
  1. amespace USS.Controls
  2. {
  3.     partial class cWatchVideo
  4.     {
  5.         /// <summary> 
  6.         /// Required designer variable.
  7.         /// </summary>
  8.         private System.ComponentModel.IContainer components = null;
  9.  
  10.         /// <summary> 
  11.         /// Clean up any resources being used.
  12.         /// </summary>
  13.         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14.         protected override void Dispose(bool disposing)
  15.         {
  16.             if (disposing && (components != null))
  17.             {
  18.                 components.Dispose();
  19.             }
  20.             base.Dispose(disposing);
  21.         }
  22.  
  23.         #region Component Designer generated code
  24.  
  25.         /// <summary> 
  26.         /// Required method for Designer support - do not modify 
  27.         /// the contents of this method with the code editor.
  28.         /// </summary>
  29.         private void InitializeComponent()
  30.         {
  31.             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(cWatchVideo));
  32.             this.Wmp1 = new AxWMPLib.AxWindowsMediaPlayer();
  33.             ((System.ComponentModel.ISupportInitialize)(this.Wmp1)).BeginInit();
  34.             this.SuspendLayout();
  35.             // 
  36.             // Wmp1
  37.             // 
  38.             this.Wmp1.Dock = System.Windows.Forms.DockStyle.Fill;
  39.             this.Wmp1.Enabled = true;
  40.             this.Wmp1.Location = new System.Drawing.Point(0, 0);
  41.             this.Wmp1.Name = "Wmp1";
  42.             this.Wmp1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Wmp1.OcxState")));
  43.             this.Wmp1.Size = new System.Drawing.Size(480, 360);
  44.             this.Wmp1.TabIndex = 0;
  45.             this.Wmp1.Enter += new System.EventHandler(this.Wmp1_Enter);
  46.             // 
  47.             // cWatchVideo
  48.             // 
  49.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  50.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  51.             this.AutoSize = true;
  52.             this.Controls.Add(this.Wmp1);
  53.             this.Name = "cWatchVideo";
  54.             this.Size = new System.Drawing.Size(480, 360);
  55.             ((System.ComponentModel.ISupportInitialize)(this.Wmp1)).EndInit();
  56.             this.ResumeLayout(false);
  57.  
  58.         }
  59.  
  60.         #endregion
  61.  
  62.         private AxWMPLib.AxWindowsMediaPlayer Wmp1;
  63.     }
  64. }

the error is :
Error 1 The type name 'AxWindowsMediaPlayer' does not exist in the type 'USS.Controls.AxWMPLib' C:\Users\Pinchas\Desktop\ultratlast\Code\Controls\ cWatchVideo.Designer.cs 62 26 USS
Aug 5 '13 #1
1 1446
vijay6
158 100+
Hey cp0462, did you added 'AxWMPLib' reference to your project?
Aug 7 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

84
by: Andy Glew | last post by:
I am in search of any rigourous, scientific, academic or industrial studies comparing naming conventions in C++ or similar languages such as Ada: Specifically, are names formed with...
0
by: Matt | last post by:
Just out of the blue all of my code has given a 'Could not instantiate the resource processor.' error on compiling. This apparently means your installation of VS .Net has lost the plot. So I've...
4
by: Gary Wessle | last post by:
Hi I have been trying to find out the reason for this error for an 1hr, please look at it for me. thanks **************** error **************** $ make; ./proj g++ -gdwarf-2 -c -o...
2
by: Raffounz | last post by:
Hi everyone, I've installed Fedora Core 5 and SuSe 10.1 on my laptop, installed glib and ortp 0.7.1, run ./configure with success, but when I type make after a while I receive this error: if...
1
by: vduber6er | last post by:
Hello, I just recently switched my code from one server to another and now having some problems compiling my code. I was able to compile fine with my last server now but this current one is...
6
by: Gaijinco | last post by:
I'm having a weird error compiling a multiple file project: I have three files: tortuga.h where I have declared 5 global variables and prototypes for some functions. tortuga.cpp where I...
1
by: TheOne | last post by:
I downloaded sample codes from http://www.cs.rpi.edu/~musser/stl-book/source/src.zip and tried to compile them. I started my cygwin on xp, renamed Makefile.unix to Makefile and typed "make"....
2
by: KyleUbenk | last post by:
Hello, I am attempting to compile java code from within my program. Basically I have a file in the directory with Java source code, and I want to be able to compile it from within my program. The...
10
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it...
1
by: Time | last post by:
I have to compile one source code having kernel modules in it for driver analysis. How do we compile a source code having kernel files in it? Is it the regular procedure of of compiling a c code by...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.