How To Save Ink Strokes In Vector Image
May 20, 2009is it possible to save inkstrokes in a format that is something like a vector typein order to be able to keep its features independetly of its magnification?
View 1 Repliesis it possible to save inkstrokes in a format that is something like a vector typein order to be able to keep its features independetly of its magnification?
View 1 RepliesJust wondering how if it is possible to draw onto something, with GDI+, that can then be saved to some kind of vector format?
View 2 RepliesI have found how to create a metafile using graphics but I can't save it to a vector file. I tried the Metafile.Save("*.emf") function but when I insert the image into PPT, it appear to be a bitmap when I enlarge it.
Here are the code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Using gRef As Graphics = Me.CreateGraphics
Dim hdc = gRef.GetHdc()
[code]....
I have a camera in my 3D game. I have a start vector and and end vector for its positioning. I am wanting to move it smoothly from the first vector to the end vector.
View 2 RepliesHow to save image from webbrowser loaded page to hdd (after loading save to hdd)?
View 2 Repliesi want to save image in ms access 2000 database & i want retrive it in a crystal report in vb.net 2005
View 8 RepliesI am "weeks new" to visual basic 2008 but I was hoping that someone might tell me how I can open an image in whatever type of "visible" graphics window (always positioned at: x=0 y=0); move to some "definable position" of interest x=(n) y=(n); change the brightness of that "individual pixel" by some "definable means of measure" from its original state; and save the new image as a separate image file?
View 4 RepliesI hoping to find a current and simple way to do this. I'm using VWD Express 2008 and SQL Express 2008.I'm able to get the client's path to the image file using an asp:FileUpload control on the web form.
How do I upload the client's image file and display it in the web form's image control?How do I save it to the sqlserver? The image table is already set up with a "Image" data type column. Can the image be saved to the database as simply as other data types?
I try to add text strings to an image but keep the metadata of the original image. The problem is How can I save ImgMetaData (from the original image) to the new image?
Here are the codes:
Public ImgMetaData As BitmapMetadata
Public myImageCodecInfo As ImageCodecInfo
Public myEncoder As Encoder
[Code]....
i made a vitual dekstop and i have a few problems that to be fixed. The first problem i have is that i have a picturebox as the entire form like the desktop background but the progrblem is that i have some group boxes over that picturebox box. How can i make so you can see throw the group box so that you can see the image behind it. And how can i save a picturebox image without a save file dialog
View 5 RepliesWhat I am doing is making a key shortcut program where the user can set that if he presses a certain key combination from anywhere on his computer while the program is still running, a defined action or program will execute. I know how to use the keyup or keydown to get the key input when the form is focused but how do you get the key input when the form is not focused or hidden. The form will be minimized to an icon in the system tray. I have not started working on the program yet since the whole purpose of the program is this.
View 2 Repliesfind a current and simple way to do this. I'm using VWD Express 2008 and SQL Express 2008.I'm able to get the client's path to the image file using an asp:FileUpload control on the web form.How do I upload the client's image file and display it in the web form's image control?How do I save it to the sqlserver? The image table is already set up with a "Image" data type column. Can the image be saved to the database as simply as other data types?
View 3 RepliesI'm a VB beginner.I've been playing with Graphics.DrawString by watermarking a picture with a text string. The picture below to the left comes from PictureBox with a text string drawn with Graphics.DrawString. The font style used is Arial 48 points, regular, I think. The picture in PictureBox shows just as I configure. Great... The resolution of the original Terri Hatcher picture is 300 dpi (300 x 300). Exporting this picture with Graphics.DrawString, I get the picture below to the right. The text string appears a lot bigger than previously shown in PictureBox. It turns out that the text size varies, depending on the resolution of the original picture. That's kind of odd. I develop several graphics applications in a different environment and have never seen this sort of graphics.drawstring thing. Anyway,
my sample application seems to draw a text string at an image resolution of
[Code]...
Using VB.net 2010, Windows 7, and SQL Server Express 2008 R2.
I am trying to save an image from a picture box to an image field in SQL Server. The line of code below produces an error. What am I doing wrong?
...code
objCommand.Parameters.AddWithValue("@ss_no", mskSS_No.Text)
objCommand.Parameters.AddWithValue("@d_code", txtD_Code.Text)
[Code]....
I am trying to edit an image. I can open the image with Picturebox1.load(mypicture)
I can change the pixels/edit the picture by Dim img as new bitmap(picturebox1.image)
[Code]...
now here is the weird part. When I save the image the filesize INCREASES..but the picture dimensions are the same Example... TEST.PNG 1.3KB, when opened up via picturebox/saved the image is now 2.3KB
not sure why...i even though I specify system.drawing.imaging.imageformat.PNG
samething with JPG... it actually SHRINKS it evenmore.. example 88KB jpeg.. saved as jpeg is now 47.7KB...
I am absolutely not making a key logger. Second of all, this is for personal use only, I just want to try it out since I am trying to build a virus scanner. What code would assist me in recording key strokes in the background?
View 6 RepliesHow to send keystrokes to an application that does not have focus and is not selected. i have read about sendmessage, but am not sure how to use it or anything, not even sure if its what i need.
i dont need to send anything but normal character keystrokes
im using VS 2008
I have been searching the forums but have not found anything like what I am wanting to do.Anyways what would be the easiest way to count the number of key strokes? Then when X amount of strokes have been reached, display a message?
View 9 RepliesI am making a little application to provide a simple GUI for editing controls for some old games that use INI files to store their config.I have just come across the following ini file key but I can't see how it is storing the controls. It is meant to be for an NES pad, which has 8 buttons - Up, Down, Left, Right, Start, Select, A, B.
Quote:
[Controller 1]
Keys=C800D000CB00CD002D002C000000000036001C00000000000000000000000000000000000000000000000
[code].....
How do I get VB 2008 to Listen to the Keyboard Key strokes when I am in another program??
View 4 RepliesI used to know vb6 and I need to make a quick application.
View 2 Repliesi need to know how to send key strokes as it were type from the keyboard.(no sendkeys)
View 3 RepliesCan I get an example of how to make something like a Vector or an ArrayList in Visual Basic .NET?
View 4 RepliesIs there Any way to handle the crtl + Alt + Del Key combination. Take for instance in a quiz application (Win Forms ), the user should not be able to switch to other windows till the test is over.
I'm able to capture the ctrl and alt key strokes individually, using c# standard properties. but once they user hits the del key . The control goes out of my appliation and windows handles it.
I am wanting to create a rectangle for two points (vector). I need a function that takes two points and a length and calculates a perpendicular point from line (vector) AB, to a given length.
I found this code, however it doesn't seem to work.
[Code]...
Is it possible to insert vector images (ecw or ai) in an VB.NET application? If so...is it possible to zoom in on them and keep the same precision? I'm trying to create a very basic GIS system and I need to zoom in on some places.
View 11 RepliesHave some vector graphic files stored as hex strings, I ahve now idea how to go about displaying these as graphics,
View 1 RepliesI need to write a simple program that imports tab delimited x,y coordinates into a simple form, by clicking an "Import" button and navigating to the particular .txt file. On the button press I want to read the text file and display these in the shape of anything from a simple square to a slightly more complex closed polygon (maybe using a path function) in the main picture box to view the shape.
Then I would like to press an "Export" button and save the displayed shape coordinates/vertices back to a file location of my choice as a .txt file.
I'm trying to develop macros for games. I'm currently coding with vb 2010 and I'm using the keybd_event API. It works great, I've done many working macros but I cannot find a way to send arrow strokes using this API. (Left, Right, Up, Down) I don't want to use the numpad. Here is what I've found: [Code] For some reason, nothing happens, no keystroke seems to have been sent. When I use any other ascii decimal from the ascii table, it does work but not for the arrow strokes.
View 2 Repliessuppose i have a tree that have a root node. that root node have 3 child nodes. each child node have 3 child nodes and so on say up to level 4. if i number each node from the root node and numbering from left to right, the root node being number 1 and the left child of the root being number 2, the middle child of the root being number 3 and the right being number 3. on the third level the left child node of the left child node of the root being number 5 and so on. if i have numbers 1 up to 13 and want to put each number into a node numbered the same i.e number 1 gets into the root node, number 2 gets into the left child node of the root and so on. how would i achieve that.
View 1 Replies