I'm working with VB.net 2010. I need an windows form where i can select scanner's connected to my pc and then scan image and save it by a save dialogbox.... Waiting for help.....

Member Avatar
Member Avatar
+0 forum 7

Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. This snippet may appear much slower because of the amount of CPU it's applying to each pixel, but the blitting itself is very fast. Also, don't forget that an average game will only redraw parts of the window that need redrawing, this redraws the whole surface every time. So, as …

Member Avatar
Member Avatar
+1 forum 13

I'm coding in VB6. I have pictures in Picture1 and Picture2. I would like to replace the picture in Picture1 with the picture in Picture2. What code will get this done? Thanks.

Member Avatar
Member Avatar
+0 forum 3

One of my websites is based off of the HTML5 Big Picture Template: [iamepic.today](http://www.iamepic.today) Within this design, I am noticing two interesting effects taking place, one within Internet Explorer 11 and the Other Being Safari 5.1.7. Within Internet Explorer 11, when you scroll through the different sections from top to bottom you will see a weird flickering effect. (This definitely occurs when you scroll fast.) I've read in articles that the -webkit-backface-visibility needs to be set to hidden, but that didn't solve the problem for me. I've also read that it could be a performance issue with that specific version …

Member Avatar
Member Avatar
+0 forum 1

NOTE: The games GUI is not fully implemented, so changing it's image and difficulty is done manually in the Button.Click Event NOTE: Whether you download the VS2013 source file or copy and paste the code, you need to download, and extract the two image files to the project's "Bin\Debug" directory. If you copy and paste the source ensure your form has the following controls: Button (Button1) PictureBox (Name:pbGameBoard, Width:792, Height:792) # THE GAME # This is a fun example using graphics. It is a representation of the classic tile slide game, where you slide the tiles around to make the …

Member Avatar
Member Avatar
+1 forum 1

I have this code: If e.Delta <> 0 Then If e.Delta <= 0 Then If PictureBox1.Width < 500 Then Exit Sub 'minimum 500? Else If PictureBox1.Width > 2000 Then Exit Sub 'maximum 2000? End If PictureBox1.Size = New System.Drawing.Size(PictureBox1.Width + e.Delta / 1, PictureBox1.Height + e.Delta / 1) PictureBox1.Location = New Point(Control.MousePosition.X - PictureBox1.Width / 2, Control.MousePosition.Y - PictureBox1.Height / 2) End If which zooms the PictureBox to the center of the cursor location, but when I insert the picturebox to a panel, the image does not properly zoom in to the center of the image, instead to the edge …

Member Avatar
Member Avatar
+0 forum 4

Hi all I am new to designing web pages and I want to try create a page that will allow me to upload pictures with a caption and then display them on a web page. I want to try create a page to display family picture etc, but to just have to add files to the directory/database without having to edit the webpage each time. Is there a way to do this? I am using Adobe dreamweaver Thanks

Member Avatar
Member Avatar
+0 forum 2

I've been trying to resize my jbuttons to the size of my pictures, but the jbuttons keep on occupying the whole frame. The size of the photos are 150x267. import javax.swing.*; import java.awt.event.KeyListener; import java.awt.*; import java.awt.event.KeyEvent; import java.util.Timer; import java.util.TimerTask; public class StartGame extends JFrame implements KeyListener { Timer timer; JPanel startpane, oakpane, choosepane; JButton a,b,c; int enter = 0; public StartGame() { super("Animon"); this.setBounds(100,100,1000,1000); startpane = new JPanel(); oakpane = new JPanel(); choosepane= new JPanel(); //start JLabel pic = new JLabel(new ImageIcon("animon2.png")); pic.setSize(400, 500); startpane.addKeyListener(this); startpane.setFocusable(true); startpane.add(pic); add(startpane); //oakpane addoakpane(); //choosepane this.addKeyListener(this); this.setFocusable(true); this.setVisible(true); } public void keyPressed(KeyEvent …

Member Avatar
Member Avatar
+0 forum 2

How can I include in a form uploading a picture from my computer?

Member Avatar
Member Avatar
+0 forum 2

Hello, I am trying to create a page for gallery (picture) input: input_gallery.php <?php include('../includes/koneksi.php'); $post_id = isset($_POST['post_id']) ? $_POST['post_id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $post_image = isset($_POST['post_image']) ? $_POST['post_image'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; //Load image if (!empty($_GET['post_id'])){ $result = mysql_query("SELECT * FROM static_page WHERE post_id =".$_GET['post_id']) or die(mysql_error()); $data = mysql_fetch_array($result); $post_id = $data['post_ID']; $page = $data['page']; $post_image = $data['post_image']; } else { echo "unable to select data"; echo "id is empty"; } //Update Image if (isset($_POST['update'])){ if (empty($_POST['post_id'])) { $sqlstr = "INSERT …

Member Avatar
Member Avatar
+0 forum 6

my problem is i want to show the picture from folder to image box but it need to find what picture depends on text box, If Right(filStudent.Path, 1) = "\Picture\" Then imgS = filStudent.Path + txtFind Else imgS = filStudent.Path + "\Picture\" + txtFind End If imgStudent.Picture = LoadPicture(imgS) but the error always appear at line 6

Member Avatar
Member Avatar
+0 forum 1

Hello, I have some 5 picture boxes, and stored the images into imagelist. Now I can able to load 5 picture boxes with first five images from imagelist. I have two buttons previous and next. I got stuck with this, please help On click of next button, it should hide picture from picturebox1, and move all the images, finally the 6th image from imagelist should be loaded into picturebox5. And vice versa on previous button event. Thanks.

Member Avatar
Member Avatar
+0 forum 1

Hello, I'm having a problem with my code. It seem to only echo out the picture name from my database and not the picture. This is my code search.php $result = mysql_query("SELECT * FROM all WHERE (`title` LIKE '%".$query."%') OR (`add_type` LIKE '%".$query."%')") or die(mysql_error()); if(mysql_num_rows($result) > 0) { while($results = mysql_fetch_array($result)) { $photo = $results['image']; echo " ".$results['image']."<a href='http://www.mysite.org/br/s.php?id=$id'><img src='/cate/upload/ $photo' width='100%' height='100%'></a>"; } } This is where i save my picture -> /cate/upload/ I think i have to leave the $result code, the only thing i need is to transform the $result['image']; to echo out the picture, not …

Member Avatar
Member Avatar
+0 forum 3

1. Please how can select Assigned Court so that the Assigned Judge and his Court Location should be auto selected...What I was able to do is just for Assigned court and Assigned Judge..Please I need help to capture the three. This can be found on the Second ICON after login...Add Entry 2. Under Add Control User (4th ICON)...I tried ading user profile picture but its showing error. Please assist 3. On the Report page (6th Icon), Status of cases per court should be included and a Report graph in bar chart should be displayed at the bottom of the page …

Member Avatar
Member Avatar
+0 forum 4

Hi I'm working on a registration form.So every one can register but to regeister you need to upload your logo.! this is the file:register.php : <?php $page_title = "register"; require_once("inc/config.php"); require_once('inc/header.php'); ?> <center> <form action="check-register.php" method="POST" encrypt=”mulipart/form-data”> <input type="text" name="username" /><br /> <input type="password" name="password" /><br /> <input type="password" name="repassword" /><br /> <input type="text" name="email" /><br /> <input type="text" name="company_name" /><br /> <input type="text" name="company_phone" /><br /> <input type="text" name="company_location" /><br /> <input type="file" name="company_logo" size="40" /><br /> <input type="hidden" name="flag" value=1><br /> <input type="submit" value="Register!"> </form> </center> the second page : check-register.php : <?php $page_title = "check"; require_once("inc/config.php"); require_once('inc/header.php'); …

Member Avatar
Member Avatar
+0 forum 2

On my search page [URL="http://daparadise.com/search.php"]http://daparadise.com/search.php[/URL] i want to make the logo auto change when a certain day comes up. Say like christmas. our a birthday or something like that. So how would i make the logo change in php when these days come up?

Member Avatar
Member Avatar
+0 forum 3

I want to create a map, with image of a floor plan. As the user zooms in or out, or moves the image around the form and clicks on a room to see more information about it, it will be possible. I'm thinking of creating labels or buttons with opasity set to 0%, over the rooms. However, when I zoomed in, the label stayed in the same location, it didn't move with the image as it was zoomed in/out, moved. How could this be solved in a painless way. Thanks for you efforts.

Member Avatar
Member Avatar
+0 forum 13

Hello good day. I am hoping to discover some free/trial software that will allow we to identify a printed/drawn symbol/sticker on images in a folder. I have taken a picture of a few pages from my notebook(handwritten). On these pages I have put stickers. Is there a software that allows me to have a reference picture which can be used to search and locate other images in my folders with that reference picture in them? I'm aware of Evernote's Moleskin smartbook and its page camera. Are there any others however for the desktop computer please? Thank you so much for …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone. I have successfully added an image to my JPanel, but what I want to do is this: I want to be able to mark a section of the image as clickable. Then when the user clicks within that section, I run some action. So essential I want to give the feel of a button and action Listener. Any suggestions please?

Member Avatar
Member Avatar
+0 forum 3

Hello Good day. I have an interesting question as it relates to adding a background image to a JPanel (or whichever component is best for what I'm trying to achieve. Hopefully I'll get some help here.) I have a large picture that I want to use as a background image and I want it to be the background for my JFrame. The only thing is that I don't want the image to resize when the JFrame resizes. I want the image to remain centered in relation to the JFrame's position and size, but I just don't want the view of …

Member Avatar
Member Avatar
+0 forum 3

i have a picture captured by a camera so how to add different hair styles on it. i am using vb2010 pls how best can i combine these pictures into one picture that can be printed.

Member Avatar
Member Avatar
+0 forum 3

So I have this code here: http://jsfiddle.net/4Cqkh/1/ What I'm trying to do is when I click on a thumbnail, the below larger image of it should display according to which thumbnail is clicked. I tried switching the larger image's src to that of the thumbnail src's value when clicked but it's not working correctly. (I had to exectuce the js's function by calling itself instead of using onclick since the onclick doesn't seem to work when I tried wrapping it into the img tag). Any help would be appreciated.

Member Avatar
Member Avatar
+0 forum 1

Hi I want to get pixel value from picture. Anyone know how to do this? Regard

Member Avatar
Member Avatar
+0 forum 2

Hello. How do i make a flood fill in python? For exampel. I choose to download this picture of world countries. I save this as picture.png in a folder. The folder also contains a python file whith the name change.py. The change.py file is gonna change USA to yellow. To do this the code need to know where in x,y axis the USA is. It's not to be exactly beacuse flood fill will change the whole USA to yellow just by flood fill in one pixel in the area of USA. Do you know how to do? http://www.fightaidsghana.org/wp-content/uploads/2012/09/Map-HIV-World.png

Member Avatar
Member Avatar
-1 forum 3

Hello guys , i am new around here.Need help with one script its for movie's web site, i need to add more than one picture in database. The code is: <?php @mysql_connect($host,$user,$password); @mysql_select_db($db); @mysql_query("SET CHARACTER SET cp1251") or die( "Не мога да избера БД"); if(isset($_POST['submit'])){ $kategoriq = htmlspecialchars($_POST['kategoriq']); $seriq = htmlspecialchars($_POST['seriq']); $nomer = htmlspecialchars($_POST['nomer']); $zaglaviebg = htmlspecialchars($_POST['zaglaviebg']); $zaglavieus = htmlspecialchars($_POST['zaglavieus']); $wreme = htmlspecialchars($_POST['wreme']); $godina = htmlspecialchars($_POST['godina']); $dyrjawa = htmlspecialchars($_POST['dyrjawa']); $rejis = htmlspecialchars($_POST['rejis']); $roli = htmlspecialchars($_POST['roli']); $link = htmlspecialchars($_POST['link']); $reiting = htmlspecialchars($_POST['reiting']); $nositel = htmlspecialchars($_POST['nositel']); $broinositeli = htmlspecialchars($_POST['broinositeli']); $rezume = htmlspecialchars($_POST['rezume']); $dopylnitelno = htmlspecialchars($_POST['dopylnitelno']); $kat1 = $_POST['1']; $kat2 = $_POST['2']; $kat3 …

Member Avatar
Member Avatar
+0 forum 6

I want to change an image in another place on my site when I click on the page title. I have tried doing different codes five ways to Sunday and cannot figure it out. Can someone help? Here's my code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Assignment 2 JavaScript</title> <link href="styles.css" rel="stylesheet"> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.js"></script> <script type="text/javascript" src="jquery-1.8.3.min.js"></script> <script> $(document).ready(function() { $('.hover').mouseover(function(){ $(this).css('color', 'red'); $('.hover').mouseout(function(){ $(this).css('color', 'black'); }); $('p').mouseover(function(){ $(this).css('color', 'orange'); }); $('p').mouseout(function(){ $(this).css('color', 'black'); });// for the links // var changePic = $('pageTitleBanner').attr('src'); $('#masthead').mouseover( function() { $(this).css('background-color','red'); }) .mouseout( function() { $(this).css('background-color','black'); }) …

Member Avatar
Member Avatar
+0 forum 2

Hello. I have a picture box on a form. The imageLocation of the picture box is set to a url like for example "http://www.google.mu/imgres?imgurl=http://1.bp.blogspot.com/-w6AJJ5Xoulg/T3AymMKbFlI/AAAAAAAAACI/EslCtw42HHg/s1600/jpeg.jpg&imgrefurl=http://zainriasat786.blogspot.com/2012/03/discuss-impact-that-file-format.html&h=480&w=640&sz=36&tbnid=fkqhzaWg8cSK4M:&tbnh=90&tbnw=120&zoom=1&usg=__54xTPooPnJOFy8xQS0TJXOtV1d8=&docid=JkpXnRk64SCIzM&hl=en&sa=X&ei=LjxoUO_uEsXRrQf28oDYBw&sqi=2&ved=0CD0Q9QEwBA&dur=24". When the form closes, we can see that memory is not released. I have added code to dispose the picture box on form closing but when I open the form again, the form crashes. Is .Dispose() the best way to prevent memory leaks?

Member Avatar
Member Avatar
+0 forum 8

Hello. I have four picture boxes on a form and the ImageLocation of each picture box is set to a web url. When the form loads, the images are retrieved asynchronously. That is when the form loads, you can see the images appearing one by one. Is there a way of loading all images concurrently that is all at the same time? Thanks and Regards

Member Avatar
+0 forum 0

I am trying to add a logo into cells A1:J1 (they have already been merged). I have the logo set as the background of 2 different userforms. I can't figure out how to get the image from the background and into the merged cells on the worksheet. PLEASE HELP!!!

Member Avatar
Member Avatar
+0 forum 1

Hi all and good day, I'm having a problem to download/saved Facebook user profile picture that login to my system using their Facebook account. Right now I'm thinking to automatically saved their Facebook profile picture to my system as they signup or login. I already have the access to user's profile picture but I just don't know how can I save the picture from the URL I got. Can someone help me with this? Pardon my English. xD Thank you.

Member Avatar
Member Avatar
+0 forum 2

The End.