Click here to Skip to main content
14,382,566 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi Guys i am getting the error in the fellowing designer.cs

when the form having inkpicture is trying to load.

can you please help me.
thanks .

this.inkPicture1.BackColor = System.Drawing.SystemColors.ControlLightLight;
          this.inkPicture1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
          this.inkPicture1.Cursor = System.Windows.Forms.Cursors.WaitCursor;//the error at the line bold(Unable to load DLL 'olepro32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
      )    this.inkPicture1.Dock = System.Windows.Forms.DockStyle.Fill;
          this.inkPicture1.Location = new System.Drawing.Point(0, 0);
          this.inkPicture1.MarginX = -2147483648;
          this.inkPicture1.MarginY = -2147483648;
          this.inkPicture1.Name = "inkPicture1";
          this.inkPicture1.Size = new System.Drawing.Size(714, 514);
          this.inkPicture1.TabIndex = 0;
          this.inkPicture1.UseWaitCursor = true;
          this.inkPicture1.WaitOnLoad = true;
          this.inkPicture1.Stroke += new Microsoft.Ink.InkCollectorStrokeEventHandler(this.inkPicture1_Stroke);
Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi Rajesh,

I think,To display the wait cursor over a given control,you need to call that control's UseWaitCursor method. To make the wait cursor display for the entire application, regardless of the control or form selected, call UseWaitCursor on the Application class.
[no name] 1-Aug-12 3:50am
Hi sir, Actualy its working fine having xp and vista. but when i am trying to install the application in window7 i am getting that error..
Rate this:
Please Sign up or sign in to vote.

Solution 2

In that case, you should refer to this URL[^]

The missing '.dll' might be an issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100