71 Topics
| |
Hey guys, im sort of working on little project and i have these picturebox arrays, so when button1(capture) is pressed the image in the [drawing]picturebox is set to the image of the picturebox[i], then when you press play, it repeats all the images captured eg if i = 100, it … | |
Hi there Everyone I am writting a program POS in which i have employees database. they get a code or we can say employee ID numbers. 100001 100002 100003 now i want to keep the recourd attached with picture ID as well file names will be 100001.jpg 100002.jpg 100003.jpg as … | |
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. | |
I have just seen a resurrected thread about issues with loading images to a PictureBox and the inability to delete the file while the program is running. There was no clear explaination of the problem, only suggested hacks and apparent frustration. So I thought I would offer this explanation from … | |
So I'm making a map editor with C# and XNA. I have currently got it setup so there is a windows for with a picture box, which the game is being displayed through. The problem is this, I want (0,0) to be the upper left corner of the picture box, … | |
Hi everyone. I want to ask a question on how to show pictures (jpg files) from access database to a form I have a database called DataBase, i have some fields there. One is called picture, and the data type is attachment. and i have the following code Dim ds … | |
Did you know that you can data bind a bitmap to a PictureBox's image property, and the source image doesn't have to be in a binary format stored in a data table? Using a standard object setup for data binding (iNotify etc.) you can easily update your program's image propertie's … | |
how to resize a image thtz lager than picturebox?? | |
i want to divide one picture box into two parts in equal height.. or it may be dynamic if user want 3 parts then it will divide into 3 of equal height.. | |
Hello Community, I was wondering if there is a way to get only the visible section of the image from picturebox1 and place it in picturebox2. So what I have is picturebox1 set to a certain size, and the image size mode is set to center. Picturebox2 is also set … | |
How to stretch PictureBox into Maximized screen size ? Currently the size of picturebox is exactly the size of the image, I want to stretch to the resolution screen size excluding taskbar. private void Form2_Load(object sender, EventArgs e) { Form2 f2 = new Form2(); pictureBox1.Size = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); } | |
good day! i just wanna ask if there is a way of getting the path of an image from another computer in LAN and set it as image propety of a picturebox. thanks in advance! | |
i have 4 pictureBox which are hidden, and now i want to show them one by one, how it can be done????? | |
Hi, so yeah. what i'm trying to do is load an image from my database create some graphics to it. probably just some lines and marks and save it back to my database. here's so far what I got. for creating graphics: } private void pictureBox3_MouseDown(object sender, MouseEventArgs e) { … | |
I'm trying to imitate the Windows 8 Start Menu preview'. Private Sub CornerHoverMouseOn() Handles CornerHover.MouseHover Dim CHL As Integer CHL = (Screen.PrimaryScreen.WorkingArea.Height - 100) CornerHover.Anchor = AnchorStyles.Bottom + AnchorStyles.Left CornerHover.Location = New Point(0, CHL) CornerHover.Height = 100 CornerHover.Width = 50 CornerHover.BackgroundImageLayout = ImageLayout.Stretch CornerHover.BackgroundImage = My.Resources.CornerHover End Sub Private Sub … | |
Just kind of a random question. How exactly do you rotate objects in vb.net? | |
I'm having a nightmare here! I'm calling 2 different forms, one like a loading screen and the other is the working form. The trick here is placing the 'SplashScreen1.Close()' at the end of Form2 and it will automatically close the loading screen when Fom2 finish. But I could never get … | |
| I have trouble accesing images that are located IN the application (in solution explorer) What I want to do is theme options in one of my programs If TreeView1.SelectedNode.Name = "wood" Then main.background*.BackgroundImage= End If *PictureBox |
Hi everyone. I'm new in Visual Basic(i work in Visual basic 2010) and i have a problem and hope u will help me. I want to load image to pictureBox depending on randomly generated number. For example if random number is 14 then i want to load image with the … | |
I am very new to C sharp programming. I have the design like as shown below attached image. My concept is i have to set some volume in "Transfer volume" text box (for example 100) and then press "set" button. It automatically sets the scale of picture box, it is … | |
excuseme :) sorry I have some problem here, I make a simple paint using vb 6.0 I already can save the image that I load, but something like brush and pencil that I draw in the image can't include :( after I save and open it, it just the image … | |
namespace play_stop { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button4_Click(object sender, EventArgs e) { timer1.Interval = 1000; timer1.Start(); Counter = 0; } public void circles() { Graphics g = panel1.CreateGraphics(); g.DrawEllipse( new Pen(Color.Red),panel1.Width / 2, panel1.Height / 2,75, 75); Graphics h = … | |
| Hello, I need a code that checks if a button is pressed to change the BackGround Image of Picture Box So when the button is pressed,a backgroundimage of a picturebox must be changed I tried to use PictureBox1.BackgroundImage.FromFile("IMAGE.bmp") *THE IMAGE IS IN THE PROJECT,IT'S NOT ON THE HARD DRIVE ANYMORE**but … |
I'm new to C#, I want insert or remove black X into position in picturebox. I don't know how can do this. thanks my code is here private void pictureBox1_MouseClick(object sender, MouseEventArgs e) { int x = e.X; int y = e.Y; if ((x >= 1 && x <= 20) … | |
![cap1](/attachments/large/3/cap1.png "cap1") Hi, I'm trying to build a simulation environment where male and female individuals move randomly in a map, which have one picturebox and one label each. My problem is, I can't seem to make them transparent (see the picture attached) Person.cs: this.label.BackColor = Color.Transparent this.picturebox.BackColor = Color.Transparent does … | |
![Hi Daniweb forum, I've come across a problem in my panel_mousedown event. Now I initially have 3 pictureboxes Painted on panel1, and each picturebox Control is set to Visible = false; and only become visible again when using this code: private void panel1_MouseDown(object sender, MouseEventArgs e) { if (picturebox1.Bounds.Contains(e.Location) && … | |
i'm using 4 pictureboxes and 1 textbox in one particular application. when i click on picturebox1 i need a certain value to be fed as input to the textbox, simillarly for the other pictureboxes too. how can it be done ? | |
Hey guys, I'm making a project on Image processing in C# and I have successfully implemented other controls like zooming,filters,grayscale etc. All these controls happen when user clicks a menu item. Now I'm stuck on how to skew an image in a picturebox. Please explain by taking a simple example … | |
I have a project on image processing. I have a picturebox with an image loaded in it via a openfiledialog box. I was trying to zoom an image in the picturebox by certain pecentage i.e **50%, 100% 150%** and **200%** . All this is done when a user clicks on … | |
Alright so Im making this sports application where whenever the user clicks on a radio button with a designated sport a message apporiate to that sport will come up . I also want to have a 'different' picture show up for each different click of a corresponding sport . Would … |
The End.