6,113 Topics
![]() | |
Hello, I used the below coding to store an image into the database. [CODE]lblImagePath.Text = ImageUpload.PostedFile.FileName ImageUpload.PostedFile.SaveAs(lblImagePath.Text) Dim mbytes() As Byte = System.IO.File.ReadAllBytes(lblImagePath.Text) Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\database\db.mdb;Persist Security Info=False") Dim cmd As New OleDbCommand("insert into ImageTable values (@Image)", cn) cmd.Parameters.Add("@Image", OleDbType.Binary, mbytes.Length).Value = mbytes cn.Open() cmd.ExecuteNonQuery() Response.Write("Image load … | |
Hi, In Google Chrome the [COLOR="Green"]'chrome.tabs.captureVisibleTab(integer windowId, function callback)' [/COLOR] method will return a data URL of the JPEG encoding of the visible area of the captured tab. We want to save that content as image to hard disk without opening/passing the contents into new html page. Does anybody know … | |
can you please help me how to insert a backrond picture in vb6. | |
Below is a script which i use to return a random image in a specified directory. (It also sets a session variable to cache a list of images recently displayed, but that is irrelevant to my problem.) I am looking to have this script also find files in the sub-directories … | |
this is the full code of uploading image using php.. [CODE]<?php // Connect to database $errmsg = ""; if (! @mysql_connect("localhost","root")) { $errmsg = "Cannot connect to database"; } @mysql_select_db("records"); // First run ONLY - need to create table by uncommenting this // Or with silent @ we can let … | |
Hi! I am planning to create a system for my case study wherein i can Add tags from images and search for it by [B]"tags"[/B] such as [B]photobucket. [/B] For example i open an image to my system, and it's file name was [B]"WhiteHouse.jpg"[/B] and i added or[B] tagged[/B] it … | |
Hi, We are developing a Google Chrome Extension to capture whole web page as image. Most of the available Extensions will open a tab/window on the click of a button,where they are showing the captured web page as image(in new html page).And are telling to right click on the image … | |
i am new in jsp...Can any one help me that how i can upload image in database using one html form and jsp code.......... | |
Hi, I'm having problems adding images to a game I'm trying to modify. The given project has some images in a folder called "Images". So I added new images to this folder and tried to use these new ones in my code. To do this, I right clicked on the … | |
i want print this image out... 10 11 ___ / ()\ _|_____|_ | | === | | |_| o |_| || o || ||__*__|| |~ \___/ ~| /=\ /=\ /=\ [_] [_] [_] [CODE] #include <iostream> #include<fstream> #include<string> using namespace std; int main() { string filename; int number; cout<<"enter the … | |
Hello, Everybody ...!! I have query regarding ASP.NET. i want make one aspx page in which can upload an image. and want to use different types of tools which is supported by asp.net for upload an image and store in database which provide some validation like not 2 MB photo … | |
Please help me. Now i'm using VB.NET to update my project. I have webcame but i don't code for capture Image from Webcam Please help me. | |
Hi, I am asking here three question together rather than making separate threads for each question. I am making an application where I can load images in a canvas. I load the image with file menu askopenfilename dialog box. Something like this: [CODE]class MyApp(object): def __init__(self, master): frame = tk.Frame(master) … | |
I am a beginner programmer who is moving on from the basics of python to wxPython. I have the book [I]wxPython in Actio[/I]n and am using it as a reference while I make GUI programs for fun (still haven't sat down and read through the book, will someday). I am … | |
Hey, I have a big problem. I want to do a program which will get a part of the screen of a program. After that It will show this small rectangle in Image component in BCB. But the problem is, it has to refresh it at least 10 times in … | |
Hi, I am loading some pictures from a traffic cam website and displaying them in picture boxes but the form freezes because its working too much. Is there any way to speed up the process, here is my code. [code] string[] picURL = new string[9]; picURL[0] = "http://www.nzta.govt.nz/traffic/current-conditions/webcams/webcam-images/cst1.jpg?rnd=0.0822959104552865"; picURL[1] = … | |
I have always used the API for Vb.net from Decaptcher.com and have always sent the Captcha by sending an actual url to them as you see in the code below. Or maybe it uploaded the image anyway to them (I use the Webbrowser Control) I'll use for example this: Code: … | |
Hey guys, I'm hoping someone can gelp me try to get a snipet of code working that i've been having problems with. What I'm trying to accomplish is to get a picture from a users computer with ASP.net with a C# backend, convert that picture to an System.Drawing.Image so I … | |
Can this be done? I need the image in a certain place on the page, within a div of its own. | |
Hi, I am new to java programming, but i have this problem: I open an image, i put ir in array 2 dimensional, teh idea is like this array[count][0]=x; array[count][1]=y array[count][2]=red; array[count][3]=green; array[count][4]=blue; array[count][5]=alpha; I do so becaude i need to work with colors, but later on i want to … | |
Not sure if this is the right place to put this as it's my first post, so if it's not I apologize. I'm wondering if there is a way to put an image into the background of my applet. I've searched all over the place and just can't seem to … | |
I'm sure this has been discussed but I can't find it in my searching. I have seen suggested solutions, but none work in my case. I've got a page with several divs. Each div has with some text and an image. The images are align to the right of the … | |
hie, i want to operate a usb webcam using c or c++ language that is i want it to take pictures using c/c++ commands can any1 suggest me how can this be done. Also i want to find out two laser spots from an image using processing and track them … | |
How to use GDTwain control in VB.net | |
I have a 2D array with 2 types of values : '-1' and non - '-1'. -1 implies pixel off else on. After each loop my array changes. Hoa can i make a video from these images ? any idea , tools , any help :X | |
Hello, I have to update continously an image based on screen capture. So how can I memorize only the part of the image that changes (pixels)... because I don't want to take a scrrenshot every time... Think of a remote desktop. It's not good to send a 200K desktop screenshot … | |
I've been looking everywhere for samples, examples, and help for this, but I've not been that successful. I want to open an image <www.silentnoobs.com/renders/pb000495.png> and read the first few lines and output it correctly. There's a ton of jibberjabber in there. Here is the first ~100 or so characters in … | |
Hi all, Over the last week or two i have been working on uploading images to mysql db, Whilst i have the image uploading to the correct location and the name of the image added to the database, i cant understand how to add the image location to the name … | |
I am trying to find out how i would include the option to upload a picture as part of a form. i need help with the following: 1. how to add picture upload to form 2. how to store image in folder with the location stored in the database. 3. … | |
i want to upload pictures in a folder rather then Mysql database ,please give me direction to uploading images in a folder | |
how can i insert an image to ms-access database using java swing form and vice versa. | |
Hi..Good 'day! wanna ask that is there any code in uploading image in php..i wanna add field name in my [B]candidate table[/B] in my database..and i wanna add there[B] image[/B] but i do not know what's the right data type am going to use..as well as the code.. | |
Hi Dear All I have 1000s of JPGs Images. Names like S-KHI-1233 Now I need To rename all the images and new name should be last 4 numeric digits like 1233. For all 1000 JPGs I want to do this. if image name is S-KHI-1964 then new name should be … | |
Is this the right process to rotate an image ? [code] <?php $original = imagecreatefrompng("myimage.png"); $yellow = imageColorAllocate($original,255,0,0); imagerotate($original,50,$yellow); header("content-type:image/png"); imagepng($rotated); imagedestroy($original); imagedestroy($rotated); ?> [/code] ![]() | |
Hi I am currently working on a web site which I had to modify to add the option of either using pounds or euros forthe pricing. I have two image input types which onclick I want to set the session variable $_SESSION['currency'] to GBP or EURO, and then refresh the … | |
Hi all. What should be the simplest of tasks is sending me crazy. I have a PC based on an ECS P4M900T-M2 motherboard. I've been using it for about a year using the on-board GPU. But now I want to add a second monitor so I bought a PNY 8400GS … | |
Hi, when i run my java program it has that little java coffee cup image in teh task bar. All my apps have this. i guess its default. How do you set that to something custom? i cant seem to come up with teh proper name for what that image … | |
I'm building desktok application in .NET that uses web camera device I'm using DirectShowNet Library . i want to capture the image when user clicks the snapshot button available on webcam.and then dispaly the image in picture box.pls help me out iam stuck with this issue. Do you know how … | |
I'm building .NET application that uses web camera device I'm using DirectShowNet Library . i want to capture the image when user clicks the snapshot button available on webcam.and then dispaly the image in picture box.pls help me out iam stuck with this issue. Do you know how to do … | |
Where can I find a program which can record image/Binary on pendrive ? | |
hello! i have to create Jtable with two columns one is for data(string)and another one is for animated gif file ... how can i write a gif and data in two columns respectively.... please give any sample code snippet... | |
can someone help me for image converter to icon in visual c#?how to design an icon?whats the difference by using photoshop?i'm currently doing a project for image convert to icon in mobile phone..but all i want to do is just design a new icon for replace old menu icon?is that … | |
Hi can anyone help me. Currently im using Luxand and c#. I want to save my 2nd image using different name. But How can anyone help me? Heres my codes: [code] public partial class Form1 : Form { string Filelocation = @"D:\Facial Based Tracker Device\Images\Viewer.jpg"; . . . . FSDK.CreateEmptyImage(ref … | |
Hello, I'm a complete alien so some questions may be too evident. I'd like to get a degree in computer graphics (something like physically-based animation and rendering) in a major American university. I'm a Russian national with German residency, never been to US. I already have a degree in applied … | |
Hi guyz, could anyone please assist me with a code to load an image bmp, pln etc in C++. I'm using OpenGL Library. Please assist, in dire need. Joel | |
can anyone suggest html/ css code for auto resizing background image to fit screen width | |
have this printing page and i need to display image uploaded in the form..........and here is the code regarding the printing page [CODE] Protected Sub print_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles print.Click Dim fs As New FileStream("file.html", FileMode.Create, FileAccess.Write) Dim s As New StreamWriter(fs) Dim st As … | |
Hi this is my first post and I think I've come to the right place for help after reading all the great replys to others with similar problems. My problem- every time I try to go to a certain website, I immediately get redirected to Ownbox.com. I just ran hijack … | |
How to generate thumbnail image at runtime in ASP.NET. ? | |
i have an image along with a form, to be saved in the sql database. but how should i do it. here is the code that i used to save the form in the database. [CODE] Protected Sub save_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles save.Click Dim ConnStr … |
The End.