Creating A Software That Can Annotate Pictures And Save With The Annotation?
Mar 3, 2011creating a software that can annotate pictures (jpg)and then save the (jpg) file togerther with its annotation using VB.NET?
View 11 Repliescreating a software that can annotate pictures (jpg)and then save the (jpg) file togerther with its annotation using VB.NET?
View 11 RepliesIm working with VB 2008 express
I have several pictures on my form designer and a large textbox to the right of them. When the user clicks the pictures I want a list to be created in the textbox. I was able to get a single button posted into the textbox but when a second picture is clicked it over rides it and replaces it. I wasn't sure if i should be use some kind of loop or not.
I am working on a project that requires me to read a table of items, and then display the items as button with a photo for a POS system. Any suggestions on how to implement this? This project is using .NET 3.5 and a SQL Compact 3.5 database as a data store.I am using windows forms over an MDI form.
View 5 RepliesI've been trying to get some PictureBox'es to appear and disappear dynamically. Here is my code I've been trying to get to work:
Private Sub Container_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Image As New PictureBox
[Code].....
Obviously, this isn't how I started out. But I've been trying everything I can to get it to actually display. If I have a PictureBox with exactly the same properties, it displays when I tell it to. This way, it doesn't. I even created an entire class and used that - nothing. I'm guessing it may be the fact that I used a Dim statement, but I'm still a teensy bit novice-y to certain aspects of VB (in particular, Image handling).
i am working on annotating a PDF, i tried ItextSharp.the problem is i can annonate a new pdf.but i cant find a way to annotate a existing pdf.
View 6 RepliesAre we able to like add flash pictures into VB.Net smart device?
View 3 Replieshow do I save pictures in a SQL Database via a Visual Basic Form? Each picture would be assigned to a unique number (example identity number)
View 4 RepliesI developed an application which uses some pictures. It has some pictures etc and some common formatting options.I wanted to know how can I save this file in my own format so that it can opened in my own application.
View 8 Replieshere is some of the code that i have:
Public Function CaptureImage(ByVal X As Integer, ByVal Y As Integer, ByVal Width As Integer, ByVal Height As Integer) As Bitmap
Dim JPEG As New Bitmap(Width, Height)
Dim G As Graphics = Graphics.FromImage(JPEG)[code]....
when the timer hits a 2 second interval the picturebox on form 3 gets a new image from the screen shot that form 4 takes off of form4's area. i want the user to select a folder with the "folder browser dialog" and i want each frame capture to be saved to the folder (every 2 seconds) that the user chooses as "1.jpg, 2.jpg, 3.jpg" etc .
I'm creating a program and i want it to secretly save when the user clicks on save.
In other words, i have made it so that it saves twice. Once for the user to read (like a fancy copy) and another that the program uses to open up the form.
Currently when pushed, 2 save dialog boxes come up after each other. I don't want this to happen. I want 1 to come up (the user friendly, fancy version) which is the easy part, but i also want the other 1 to save automatically and secretly without asking the user to set the destination.
I'm trying to pass some parameters into a data annotation, and it is rejecting my named parameter. It's the same exact syntax in Microsoft's documentation for the TableAttribute, except in the documentation they have an uppercase N, but intellisense on the parameter in VS asks for a lower case n. It looks like the constructor was updated, but the tooltip wasn't, because this is what shows up when you get the syntax prompt: And I needed to be able to specify schema. But now I've found another way to do this. Why I was trying named parameters in the first place; because this wasn't working. Apparently I missed trying this syntax, which works.
View 2 Repliesin the sense that MVC does not complain about my protected inner abstract Metadata class, and the model validation still works:
Partial Domain Object, generated by a tool:
Partial Public Class SampleDomainObject
Private _id As Integer
[code]....
I did this because I didn't want to have to implement actual properties with backing fields, getters, and setters in VB.NET for the Metadata class to keep the maintenance to a minimum (I'm on .NET 3.5, no auto-properties for me).What I'm worried about is that having a protected abstract inner class could be confusing to others using this domain object outside of MVC (my domain objects are part of a shared data access framework).
Is there a dataannotation validate rule for a collection based property? I have the following
<DisplayName("Category")>
<Range(1, Integer.MaxValue, ErrorMessage:="Please select a category")>
Property CategoryId As Integer
<DisplayName("Technical Services")>
Property TechnicalServices As List(Of Integer)
I'm looking for a validator that I can add to the TechnicalServices property to set a minimum for the collection size.
A number like 1,000,000.33 is written in another country as 1.000.000,33
which computer setting do I need to read to understand which type of number annotation is used on the current computer?
is there a way to convert those numbers in a neutral way??
I am using data annotations to validation my class properties. A requirement has emerged to store the validation error messages in an external file from which they would be loaded into memory at runtime.I thought I'd be able to load a colleciton of error messages from an XML file and then set ErrorMessage:=[StringVariableHere] ... but apparently that doesn't work as you need to use a constant value.If I store the errormessages in a Resource.resx file then those error messages are compiled into the project and can't be loaded at runtime - or am I wrong?
View 1 RepliesIm using a black n white image of a human as my back ground and panels to display the same bits in color when the area is clicked. What isn't working for me is the panels are slightly overlapped and one will always be on top of the other. it is transparent so you can see the back ground, but not the panel underneath it when it has a picture in it.
View 6 RepliesI have been working on this for awhile and I'm completely stuck, I'm making a program for Resident Evil 5 that calculates the times for each level to let the user know how much time needs to be shaved off before the infinite rocket ammo is unlocked. It's mostly just for fun, but I'd like to make it as useful as possible.
[Code]...
I have created a program for making soap. I am having trouble creating a save file for the program. I want to create a txt like string save file.
[Code]....
I'm having trouble now incorporating the breakup of the string using .Split:
[Code]...
I can't seem to find a way to take each instance of oils(i) and then split for which(0) and set field "Txt" + which(0).Text = which(1)
The code below reads an Icon from an .ico file, converts the Icon read to a Bitmap and saves the bitmap using:
Bitmap.Save(PathA)
Then does:
PanelShowWrittenIconA.BackgroundImage = New Bitmap(PathA)
[code].....
I am fairly new to vb.net and I was curious, I have experienced issues in the past of using .jpg files from my computer and it working fine, but then when I compile it and send it to another computer it doesn't work like intended and I assume it is because the file isn't on the other computer. My question is how do I prevent this? Is there an easy way of including all picture files I will be using.
View 2 Repliesim trying to center some pictures 5 above and 5 below in the center of a form "Form1". Right now i can make them look centered in a smaller area, but when i maximize the screen the pictures are in the upper left. I tried changing some options with no luck and have been browsing some WWW posts but im not coming up with any understanbable.
View 4 RepliesI just can't seem to figure out how to automatically upload a picture to myspace, facebook, any of the social sites in .NET. I always have to do it manually through my web browser control. There just isn't any code out there to help me with this process that I can find.Does anyone have an example of an automated picture upload to a social website?
View 1 RepliesI was wandering if there is a way to move pictures around in a form and where ever you move them to, when you close program and open the program up they come up exactly where you lift them, And how can i add pictures to a form by say right click the form and select new picture and it adds it to the form, is there a way to do this, on how to do this or point me in the right direction.
View 1 Repliesis it possible to have 2 pictures in one picture box ? the reason i ask is because im doin a lil project. it needs to have the picture change when it intersects with another picture
View 6 RepliesI need directions on which code to use to load picture for each wrong guess.
View 5 RepliesI was just reading this project example from my school's folder, and they have a rock paper scissors game.
I saw this within the
(My.Resources.Scissors)
(My.Resources.Paper)
(My.Resources.Rock)
My question to you is, where is my resources folder and how can I add images to it so I can access images using code?
I have a strong amount of pictures, which i would like to "protect" by adding watermark on them. Is there any way of adding watermark by using vb.net or C# ?
View 3 RepliesI'm trying to blend a few textures together to "bake" the final texture. Since I need the actual resulting bitmap, I don't think I can/want to do this using DirectX or OpenGL. I have:
- 4 Textures (RGB, 2048x2048): t0, t1, t2, t3
- 3 Alphamaps (ARGB, the RGB value is irrelevant, 64x64): a1, a2, a3
Here's what I currently do for each pixel (in simplified notation):
FinalColor = ((t0 * (1 - a1) + t1 * a1) * (1 - a2) + t2 * a2) * (1 - a3) + t3 * a3
This works fine, however, it takes forever, because I have to iterate over a 2048x2048 image pixel by pixel. Is there a more elegant way to solve this (i.e. using graphics.drawimage or something like it, but then, how?) How can I scale to Alphamap up with bilinear/bicubic interpolation (without having to do it pixel by pixel)? I currently use the original resolution, but that leads to rather visible transitions.
I am using the fileupload control in asp.net. I want the browser to only show pictures. I am currently using validation to ensure they only select images but how can I make the browser only search for images?
View 4 Repliesso i have 101 pictures and i need to assign the pictures to an array so that i can do a for loop to generate them all.
so what i have is 101 pictures in my resources, and i have a array of 100 (Pictures(100)) and i was thinking if there is a default value to the resources so i can maybe do something like for i=0 to 100 pictures(i)=my.resource.i <--- assuming 1 is default value of the resource. folder but it isn't just saying