71 Topics

Member Avatar for
Member Avatar for makamanlol

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 …

Member Avatar for Waraporn
0
1K
Member Avatar for matoo

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 …

Member Avatar for matoo
0
270
Member Avatar for themathprof

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 for Santanu.Das
0
2K
Member Avatar for TnTinMN

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 …

Member Avatar for J.C. SolvoTerra
0
6K
Member Avatar for CJMW

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, …

Member Avatar for sfuo
0
2K
Member Avatar for Hawk123

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 …

Member Avatar for imti321
0
516
Member Avatar for J.C. SolvoTerra

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 …

0
1K
Member Avatar for y2kshane
Member Avatar for Yogesh_5

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..

0
116
Member Avatar for joshl_1995

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 …

Member Avatar for joshl_1995
0
1K
Member Avatar for Khoo

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); }

Member Avatar for ddanbe
0
353
Member Avatar for lexaeterna

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!

Member Avatar for deceptikon
0
125
Member Avatar for pardeepkhatri

i have 4 pictureBox which are hidden, and now i want to show them one by one, how it can be done?????

Member Avatar for deceptikon
0
270
Member Avatar for dws.ash04

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) { …

Member Avatar for dws.ash04
0
932
Member Avatar for IsaacMessi10

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 …

Member Avatar for IsaacMessi10
0
2K
Member Avatar for schroaus
Member Avatar for GeekPlease
0
222
Member Avatar for Eternal Newbie

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 …

Member Avatar for kplcjl
0
1K
Member Avatar for DyO1

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

Member Avatar for tinstaafl
0
186
Member Avatar for Taras20

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 …

Member Avatar for Taras20
0
2K
Member Avatar for vebi1000

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 …

Member Avatar for ddanbe
0
429
Member Avatar for aliyahkusnan

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 …

Member Avatar for Jeff-Bennett
0
2K
Member Avatar for sunil5

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 = …

Member Avatar for Momerath
0
190
Member Avatar for DyO1

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 …

Member Avatar for tinstaafl
0
116
Member Avatar for rock0

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) …

Member Avatar for tinstaafl
0
162
Member Avatar for staticclass

![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 …

Member Avatar for TnTinMN
0
241
Member Avatar for nickslick

![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) && …

0
133
Member Avatar for princy.mohan.1

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 ?

Member Avatar for Gé48
0
262
Member Avatar for prerit

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 …

0
116
Member Avatar for prerit

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 …

Member Avatar for prerit
0
8K
Member Avatar for codechrysalis

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 …

Member Avatar for codechrysalis
0
867

The End.