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
G

googlejumbo

@googlejumbo
About
Posts
24
Topics
20
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hii I am working on project and want to get some data from dataset and want to create and ink stroke
    G googlejumbo

    hii all I am working on project on Tablet PC I want to create an Ink stroke from the BezierPoints I have already record BezierPointsin the database now i am retrieving the points from database using Dataset and want to recreate the ink stroke using that points My code lines are as below SqlDataAdapter da = new SqlDataAdapter("SELECT BPX,BPY from BezierTable", cn);// where BPX, BPY are Drawing Points DataSet ds = new DataSet(); da.Fill(ds, "BezierTable"); Point[] BezierPoints = Convert.ChangeType(ds, BezierPoints);/// here iam getting error unable to cast dataset Ds to the system to drawing.point BezierPoints Stroke newStroke = inkOverlay.Ink.CreateStroke(BezierPoints); now how i can convert the dataset into System to drawingpoint as my CreateStroke method require argument as System.drawing.point Please help me iam unable to create the stroke from database with regards amit

    C# help mobile database graphics

  • How to remove specific portion of stroke from ink ?
    G googlejumbo

    hii everyone, Iam working on TabletPC handwriting synthesis iam using MICROSOFT.INK SDK i want to erase specific portion of the ink dynamically example : i write CAR using my handwriting , I want to erase the alphabet C,R and want to get specific portion of A only please help me out , how can i erase defined specific portion dynamically without using INK ERASEMODE/DELETE MODE functionality (of stroke selection first den use erase mode), I dont want to do it manually after selection and den usong delete mode I want to do it Programatically please help me out with regards Amit

    C# tutorial question help

  • Erase specific portion of stroke
    G googlejumbo

    hii everyone, Iam working on TabletPC handwriting synthesis iam using MICROSOFT.INK SDK i want to erase specific portion of the ink dynamically example : i write CAR using my handwriting , I want to erase the alphabet C,R and want to get specific portion of A only please help me out , how can i erase defined specific portion dynamically without using INK ERASEMODE/DELETE MODE functionality (of stroke selection first den use erase mode), I dont want to do it manually after selection and den usong delete mode I want to do it Programatically please help me out with regards Amit

    C# help tutorial question

  • curve from bezier cusps
    G googlejumbo

    thank you for the reply. further, i do have the coordinates of the cusps. and want to draw curve out of these. i.e using minimum number of points. my requirement is to redraw(approximate) a curve from a given curve and its coordinates with minimum number of points with minimal error.

    C#

  • bezier curve from bezier cusps
    G googlejumbo

    i have some ink data. i get the bezier point and bezier cusp of the same. wud bezier cups be considered as the control poits of the curve and is it possible to drwa the exact curve from bezier cusps alone if i discard the bezier points. i searched google but cud not find the satisfactory answer.

    Mobile

  • curve from bezier cusps
    G googlejumbo

    i have some ink data. i get the bezier point and bezier cusp of the same. wud bezier cups be considered as the control poits of the curve and is it possible to drwa the exact curve from bezier cusps alone if i discard the bezier points. i searched google but cud not find the satisfactory answer.

    C#

  • Unable to Save Array values in database
    G googlejumbo

    Thanks alot , it really helped me I really appreciate your Involvement in this forum keep in touch with regards Genius

    C# database help data-structures security

  • Unable to Save Array values in database
    G googlejumbo

    Thanks for your Prompt Reply sir I have made the changes in the code as you have suggested as shown: SqlConnection con = new SqlConnection(); con.ConnectionString = "Data Source=localhost;Initial Catalog=InkDb;Integrated Security=True;Persist Security Info=True;Packet Size=4096"; string qry = "Insert into beziertable values(@strokeIndex,@cuspIndex,@BezierCusp)"; SqlCommand sqlInsertCmd = new SqlCommand(qry, con); sqlInsertCmd.CommandText = qry; sqlInsertCmd.CommandType = CommandType.Text; int count; int i; sqlInsertCmd.Parameters.AddWithValue("@strokeIndex", mInkoverlay.Ink.Strokes.IndexOf(stroke)); int cus; cus = Convert.ToInt16(stroke.BezierCusps.GetValue(0)); sqlInsertCmd.Parameters.AddWithValue("@cuspIndex", cus); // I have made the changes by making declaration outside the loop as sqlInsertCmd.Parameters.AddWithValue("@BezierCusp", val);//My loop works acuurate But as my loop execute i<=100 times and it come out of loop and the value which my variable "val" carry will get inserted into the database , but i want all the values of "val" for each iteration till i=0 to i>=100, But the last value of "val" get inserted , i dont want this , i want all the values of array of the Stroke.GetPoint(i).X. Please suggest me the solution to rectify the Problem/// for (i = 0; i <=100 i = i + 1) { val=stroke.GetPoint(i).X; } sqlInsertCmd.Parameters.AddWithValue("@BezierCusp", val); //Only last value which i get in "val" after loop completes get Inserted into Database , but i want all the values to be inserted into database , how i can do this please suggest how should i rectify the problem...// sqlInsertCmd.Connection = con; SqlDataAdapter sqlDataAdapter3 = new SqlDataAdapter(); sqlDataAdapter3.InsertCommand = sqlInsertCmd; con.Open(); sqlInsertCmd.ExecuteNonQuery(); con.Close(); Thanks alot sir, waiting for your response with regards Genius

    C# database help data-structures security

  • Unable to Save Array values in database
    G googlejumbo

    Iam Trying to Insert Array values in the database , but first value get inserted but when my loop increments and try to insert the second value iam getting the Error "exSql = {"The variable name '@BezierCusp' has already been declared. Variable names must be unique within a query batch or stored procedure."}Please help me out where iam wrong SqlConnection con = new SqlConnection(); con.ConnectionString = "Data Source=localhost;Initial Catalog=InkDb;Integrated Security=True; Persist Security Info=True;Packet Size=4096"; string qry = "Insert into beziertable values(@strokeIndex,@cuspIndex,@BezierCusp)"; SqlCommand sqlInsertCmd = new SqlCommand(qry, con); sqlInsertCmd.CommandText = qry; sqlInsertCmd.CommandType = CommandType.Text; int count; int i; sqlInsertCmd.Parameters.AddWithValue("@strokeIndex", mInkoverlay.Ink.Strokes.IndexOf(stroke)); int cus; cus = Convert.ToInt16(stroke.BezierCusps.GetValue(0)); sqlInsertCmd.Parameters.AddWithValue("@cuspIndex", cus); //Using loop to get the all stroke.GetPoint , it will return Array(2dimension) , i want to add all values of array //In the Database In the parameter Bezier Cusp ,but it show me the error that"exSql = {"The variable name '@BezierCusp' has already been declared. Variable names must be unique within a query batch or stored procedure."} for (i = 0; i <= 100; i = i + 1) { val=stroke.GetPoint(i).X; sqlInsertCmd.Parameters.AddWithValue("@BezierCusp",val); sqlInsertCmd.Connection = con; SqlDataAdapter sqlDataAdapter3 = new SqlDataAdapter(); sqlDataAdapter3.InsertCommand = sqlInsertCmd; con.Open(); sqlInsertCmd.ExecuteNonQuery(); con.Close(); } Iam unable to find out the Reason my table structure should be like this after Inserting Stroke Index Cusp Index Bezeir Cusp 0 0 1st value of array(X componet) 1 1 2nd value of Array like this it should insert the Record in this manner tell me there any wrong logic iam using to insert the array values in database with regards Genius

    C# database help data-structures security

  • [Message Deleted]
    G googlejumbo

    mind ur language. my motive was to understand how things like reflector work. if u don't have the answer at least don't speak nonsense and discourage people. exe are meant to hide code. and reflector to experiment with the same. ur answer shows ur incapability to understand the problem n solve the same. stop doubting others capabilities when u urself don't know. others pls ignore this reply n help if they can. thanks

    C#

  • [Message Deleted]
    G googlejumbo

    [Message Deleted]

    C#

  • How to convet the text into your Handwriting using table PC in .Net
    G googlejumbo

    Dear All, Iam implementing a project through which i want to convert the entered text through UI into desired Handwriting Pattern iam using Tablet Pc Pen As an input device to capture my handwriting (iam using Microsoft.ink as namspace )what i have done till now is that , after using ink pen of tablet pc , i have written something on the Ink control of .net and store the image as GIF format now i want my PC to learn my handwriting pattern , tell me how i can acieve using .net(csharp/vb.net) ,so that when i enter any text through UI it can convert it into my handwiriting sample please also tell me how i will capture the Information , about the Pressure, strokes, trasparency etc of the pen tip I need your help please suggest some sample code for me

    C# csharp mobile design regex

  • Classic Asp Session not getting expire As per IIS setting timeout
    G googlejumbo

    Dear All, iam having an application in which there are Asp.net and Classic Asp pages i have created two Session variables one for Asp.net and other for Classic Asp i have set session time out of 2 mins in IIS setting now i check the Session fot both Asp .net and Asp but after the Define time interval dotnet session expire but classic Asp session is alive can u help me out of the Problem My classic Asp session is not getting expire after define time interval

    ASP.NET csharp help asp-net windows-admin

  • iam reading web.config Appsetting value of add atrribute in asp but iam facing the error of object required
    G googlejumbo

    hii iam using the below code in my asp file Dim LinkUrl Dim strEnabledSessionCheck set xmlDoc=server.CreateObject("Microsoft.XMLDOM") set xmlappSettings=server.CreateObject("Microsoft.XMLDOM") set xmladd=server.CreateObject("Microsoft.XMLDOM") xmlDoc.async="false" xmlDoc.load(server.MapPath ("../web.config") ) set xmlappSettings = xmldoc.GetElementsByTagName("appSettings").item(0) ''response.Write (1) set xmladd = xmlappSettings.GetElementsByTagName("add") 'response.Write(1) for each x in xmladd 'Check for the Atrribute Value If x.getAttribute("key") ="EnabledSessionCheck" then 'Response.write(x.getAttribute("value")) strEnabledSessionCheck = x.getAttribute("value") ' response.Write (strEnabledSessionCheck) but in the code line: set xmladd = xmlappSettings.GetElementsByTagName("add") iam getting the following error: Error Type: Microsoft VBScript runtime (0x800A01A8) Object required kindly help me out

    ASP.NET help sysadmin

  • can we get web.config value in classic asp
    G googlejumbo

    hii Actualy , i have set one variable value in Appsetting tag, now i need to access the value of that variable in my classic Asp page, can anyone tell me the proper way to access the value from web.config in classic asp. Although i can access that value in the ASP.net very easily please help me out

    ASP.NET csharp asp-net help

  • How to mainatin the session Simultaneously in asp and asp.net
    G googlejumbo

    hii iam facing the problem of maintaining session between the ASP and ASP.NET pages,Kindly suggest any solution about this

    ASP.NET csharp asp-net help tutorial

  • iam using javascript window.open method to open child popup window and want to retreive some values from parent to child window using request. form
    G googlejumbo

    iam using javascript window.open method to open child popup window and want to retreive some values from parent to child window using request. form as iam using query string for it but the values are too large and the length of query string is very big now please tell me any solution for this

    ASP.NET javascript database

  • how to read data from sqlserver and convert it into XMl using XSLT
    G googlejumbo

    kindly tell me ,i have to fetch some records from the database and convert it to XML, using XSLT.

    ASP.NET xml database tutorial

  • How to store audio files in sqlserver 2000?
    G googlejumbo

    How to store audio files in sqlserver 2000? i want to store all mp3 files in sqlserver and want to retrieve them from the database , so that i can play them one by one , can anyone tell me the code for this task ? please suggest me the logic or any code for this help me out

    ASP.NET database help tutorial question

  • how to get an printscreen of an image or webpage using asp.net csharp coding
    G googlejumbo

    sir plzz any one suggest the csharp coding to take printscreen on an image

    ASP.NET csharp asp-net tutorial
  • Login

  • Don't have an account? Register

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