Add Water Mark To A Photo During Uploading In Asp.net?
Mar 1, 2011Possible Duplicate: Place watermark image on other images (C#, ASP.Net) how to add water mark to a photo during uploading in asp.net ???
View 1 RepliesPossible Duplicate: Place watermark image on other images (C#, ASP.Net) how to add water mark to a photo during uploading in asp.net ???
View 1 Replies-VB 2008-
I'm designing a very simple photo album program and need to be able to open an image using the system's default photo editor.
I design photo viewer app using this code
[Code]...
now how to make my photo viewer open when user open drive C and get all photo in the drive to be shown in it ?
I'm trying to take a picture from my webcam when the user clicks a button on a Form on a Windows XP Machine.
I tried going through several threads, but couldn't find the solution I was looking for. Most of the threads involved matters (and code) too complex for my requirements, or had bugs when I reproduced the code in my editor window which I was unable to resolve due to my lack of knowledge in I/O related programming.
So far the simplest solution I could find was this one:[URl]...but after using his solution in my editor, it says 'type WIA is not defined', despite adding a reference to Microsoft Windows Image Acquisition 1.01 Type Library.
I have a POCO object and I want to mark a property as a key (see TestClass below).I'm getting the following error. 'Key' cannot be used as an attribute because it is not a class. C:UserszzzDocumentsVisual Studio 2010ProjectszzzzzzBOTestClass.vb
[Code]...
i want to add photo to the employee and i want to save it to the another folder(any default folder of project) and retrieve it according to the employeeid from.basically i dont know the code
View 1 RepliesI want to use a value that is pulled from the SQL within the if statement. Ideally i want to do the equivalent of <% If DataBinder.Eval(Container, "DataItem.BookID") == 1 Then%> Is there a way to do this with the correct syntax?
View 2 RepliesI'm new(ish) to Visual Basic and I'm rapidly picking things up as I go.I am currently programming a photo organiser program with the aim of easy tagging, titling, commenting etc.I would like to create a gallery view similar to Windows Live Photo Gallery or Picasa. I've tried searching on Google and these forums for where to start with this but I'm not having much luck! Most search returns just give a guide on displaying one image in a picture box but I would like to display multiple images that can be selectable.
View 3 RepliesI want to make a photo importer,i've got 3 picture boxes and i want to make a button and when picturebox1 is full automactly import a photo to picturebox2 and wenn picturebox2 is full automactly import photo to picturebox3?
View 4 Replieswhile deleting foto it showing the error like"The process cannot access the file because it is being used by another process."actually while am clicking on the data grid.. the photo showing on a picture box"how can i delete the fotoam using the code
If File.Exists(strPhotoPath) Then
File.Delete(strPhotoPath)
End If
I've just noticed that even if a photo exists and I update only data, the photo automatically gets deleted. Specifically, please I want a code that can be used to update either data or photo and, or both.
[code]....
The numbers that get displayed are beyond the 2000. How do I write the code to only display numbers up to 2000.
Sub Main()
Dim iNum1 As Integer
Dim iNum2 As Integer
[code]......
Is there an ability in VB.NET to deprecate code?I know that in C# there are 'attributes', and tags in java; is there anything similar in VB.NET, other than leaving a 'todo:...?
View 3 RepliesI have a program that takes data from text boxes and exports them to a text file (all of this works). the problem I'm having is how do i mark the file for deletion? I couldn't find a tutorial on it.[code]
View 1 RepliesThis is in vb.net The photo never show up and I have no error.This is how I stock the photo on The SQl DB
Sub StartUpLoad()
[Code]...
i was wondering how am i going to transfer a photo from database to vb. it there possible to do that??
View 7 RepliesI'm creating a database for photos'.
The issue is that I have a need to upload a set of photos to the database instead of a single photo.
This would be all fine and dandy if I knew how many photos would be added at once but in this case it could be 1 or 100.
I have my database (setup in details) and dragged onto my form. Right now I only have a picture box for my picture to place into the database.
So what's the best way to upload numerous photos to a database without having to create 10000 cells in my database?
I am trying to create an HTML email with an attached image using asp.net VB.
The trouble I am having is that the image is stored as binary code in a table rather than on the server.
I have the following code:
Dim myHeader As New LinkedResource(Server.MapPath("/Handler.aspx?id=237"), "image/jpeg")
I know it's the question mark in the path that's causing the problem. Does anyone know a way around this??
I have a DataTable which I want to check if values in three of the columns are unique. If not, the last column should be filled with the line number of the first appearance of the value-combination.
[Code]...
I solved this by iterating the DataTable with two nested for loops and comparing the values. While this works fine for a small amount of data, it gets pretty slow when the DataTable contains a lot of rows.My question is: What is the best/fastest solution for this problem, regarding that the amount of data can vary between let's say 100 and 20000 rows? Is there a way to do this using LINQ? (I'm not too familiar with it, but I want to learn!)
I have created a few WebRequest extension methods that support cancelling. Is it possible to mark related .net framework methods as Obsolete. That will allow other developers to get warning and encourage them to use a new extension methods.
View 3 Repliesi want to copy a file for example photo.jpg to another directory let's say photosdir.....how do i do that?
View 6 RepliesLast week I was trying to display photos according to the selections from a listbox. That is, picturebox1 was showing the pictures with the same name chosen from listbox using the below [code]...
View 6 RepliesIn my application I have bound a datagridview to a SQL2005 bindingsource.I really had to change a database field (more length allowed) and now de DGV displays red exclamation marks and states: 'Colomn 'password' exceeds the MaxLength limit'. (the 'password'-colomn isn't even displayed, but that's a sidenote).I tried different things but can't get rid of the exclamation marks. how I can manage this. I really don't want to create a new DGV, because there a lot of code and stuff involved.
View 2 RepliesHow can I call Windows Photo Viewer in VB.NET? I want to use some code similar to the one below but it does show up because it does not have an .exe file, but has a .dll file instead.
Dim PlayerPath As String = "C:Program FilesGRETECHGomPlayerGOM.exe"
Dim process As Process = New Process
process.StartInfo.FileName = PlayerPath
[Code]....
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim Response As Integer
' Displays a message box with the yes and no options.
Response = MsgBox("Do you really want to exit?", Buttons:=vbYesNo)
[Code] .....
How do I place that blue question mark symbol next to "Do you really want to exit?"
I use this code to create shortcut to my app in context menu
Imports
Microsoft.Win32
Public Shared
[Code]....
"Create a "photo album" of your favorite musical band, favorite vacation, favorite sports team, etc. Include at least five pictures or images. Your photo album should include a button that advances the program to the next photo, as well as a label that describes the picture."The code i currently have is...
Public Class frmPhotos
Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
[code]....
Okay as an example i am opening images through listboxes. Say I have the name of the photo in listbox1 and the location name of it in listbox2.Okay so what i want to do is make it so if i select an item in listbox1 that it will select that item down the list in listbox2 but by location not names.
[Code]...
iam using the following code to store a path to databasetrPhotograph = "photo" & strPotoName & ".jpg"but its getting saved as "Photo6.jpg"The "" symbol is not getting saved
View 5 RepliesI'm trying to search a picture from a color or a color close to the original color and then mark it in the picture if it is in the picture. How can I do this?
View 13 Replies