Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Microsoft.Ink in an Asp.net or classic Asp App

Microsoft.Ink in an Asp.net or classic Asp App

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netmobilejson
3 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    realmontanakid
    wrote on last edited by
    #1

    Hi Short Question. Is it possible to work with Microsoft.Ink on Asp or Asp.net? After adding the Tablet PC Api to my Asp.net Project i try to create an instance of Microsoft.Ink.InkPicture. But it seems that it's working only with Windows.Forms.. Is there any other Way to write with a Pen on a Screen using a Webbased Application? Greetings from Germany

    R 1 Reply Last reply
    0
    • R realmontanakid

      Hi Short Question. Is it possible to work with Microsoft.Ink on Asp or Asp.net? After adding the Tablet PC Api to my Asp.net Project i try to create an instance of Microsoft.Ink.InkPicture. But it seems that it's working only with Windows.Forms.. Is there any other Way to write with a Pen on a Screen using a Webbased Application? Greetings from Germany

      R Offline
      R Offline
      realmontanakid
      wrote on last edited by
      #2

      Hi Me again. I try Goooogle and found this article.. http://www.code-magazine.com/article.aspx?quickid=0512062&page=1 I think that's it but there is one thing that i don't understand. In the article.. --- Start by creating a new Windows Control Library project and add a reference to the Microsoft Tablet PC API. Then you will Ink-enable the entire surface of the new User Control just the way you would in a Windows Forms application, with just one twist. When you instantiate the InkOverlay object, one of the overrides in the constructor is to hook it up with a control, rather than a Windows handle. Public Sub InkOverlay(ByVal attachedControl As _ Control) This is one of the most important things to remember for using this control in a Web application. You must attach the InkOverlay object to the control itself, not its handle. --- I don't understand this.. Can anyone help me with this.. My Code for the Control looks like this.. namespace INK { public class UserControl1 : System.Windows.Forms.UserControl { private InkOverlay inko; private System.ComponentModel.Container components = null; public void InkOverlay(Control attachedControl) { } private void InkControl_Load(object sender, System.EventArgs e) { inko = new InkOverlay(this); inko.Enabled = true; } public UserControl1() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if( components != null ) components.Dispose(); } base.Dispose( disposing ); } } } -- modified at 6:00 Tuesday 31st January, 2006

      R 1 Reply Last reply
      0
      • R realmontanakid

        Hi Me again. I try Goooogle and found this article.. http://www.code-magazine.com/article.aspx?quickid=0512062&page=1 I think that's it but there is one thing that i don't understand. In the article.. --- Start by creating a new Windows Control Library project and add a reference to the Microsoft Tablet PC API. Then you will Ink-enable the entire surface of the new User Control just the way you would in a Windows Forms application, with just one twist. When you instantiate the InkOverlay object, one of the overrides in the constructor is to hook it up with a control, rather than a Windows handle. Public Sub InkOverlay(ByVal attachedControl As _ Control) This is one of the most important things to remember for using this control in a Web application. You must attach the InkOverlay object to the control itself, not its handle. --- I don't understand this.. Can anyone help me with this.. My Code for the Control looks like this.. namespace INK { public class UserControl1 : System.Windows.Forms.UserControl { private InkOverlay inko; private System.ComponentModel.Container components = null; public void InkOverlay(Control attachedControl) { } private void InkControl_Load(object sender, System.EventArgs e) { inko = new InkOverlay(this); inko.Enabled = true; } public UserControl1() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if( components != null ) components.Dispose(); } base.Dispose( disposing ); } } } -- modified at 6:00 Tuesday 31st January, 2006

        R Offline
        R Offline
        realmontanakid
        wrote on last edited by
        #3

        got it..

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups