VS 2010 Make PictureBox Usage?
Jan 17, 2012
I used 4 seperate pictureboxes to load in each picture. Then I click the option to select X picture, which works. However, if I click another option, the Y picture doesn't load.I tried with:
pBox1.Visible = False
pBox2.Visible = False
pBox3.Visible = False
[code].....
View 3 Replies
ADVERTISEMENT
May 5, 2012
is it possible to make one picturebox transparent, so you see the picturebox' picture underneath it?
View 2 Replies
Sep 2, 2011
How to make the picturebox appear randomly? And, when i click on them when it's is appeared, the score will +1? this is Whack-a-Mole, sorry that i don't know what this game's name. Can you tell me how to make the picturebox appear randomly and disappear after a short moment(0.5 sec something). And the game total time i would like to have about 1 minute.
View 17 Replies
Oct 28, 2009
I'm having problems making an image properly "transparent"
Dim x As Integer
Dim y As Integer
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
[Code] .....
The initial image is Transparent, however, once you create another image very close to it, there is a "box" around it. That "box" is what I am trying to get rid of. I have no clue on how to get rid of it. Yes, I have made the image itself, transparent, as the initial image is transparent. Just any image that makes contact with the other images show the "box".
View 5 Replies
Nov 25, 2008
I found this code to rotate a picture online somewhere and made some changes and it works beautifully. My only problem is how much memory it uses. Does anyone see a way for it to use less memory?
Code:
Private Sub RotatePicture(ByRef bm_in As Bitmap, ByVal angle As Integer)
' Copy the output bitmap from the source image.
[code].....
View 1 Replies
Jan 18, 2012
All I am looking to do is display the current RAM usage being used in a textbox, nothing more nothing less. I will encorperate it into a timer and update automatically, how do I do this ?
View 8 Replies
Nov 8, 2010
How can I get the CPU usage for an individual, specific process? I know how to get the total CPU usage, but not for 1 process. What I ultimately want to do is list all the processes whos cpu usage is greater than zero.
View 1 Replies
Nov 9, 2009
I am trying to make a picturebox follow another picturebox. But I also want this picturebox to be able to collide with the other picturebox if the picturbox stops. I hope this is not too confusing. I cannot figure this one out. The code below is probably nothing like what I should be doing, but i cannot think of any other way to do what I want.
PictureBox1.Location = New Point(PictureBox2.Location.X)
PictureBox1.Location = New Point(PictureBox2.Location.Y)
View 1 Replies
Jun 10, 2012
I have two Picturebox and both should be transparent background, but the real problem is both transparent for form background but not over each other .
View 1 Replies
Jun 20, 2012
Is it possible to create an application with vb.net to track a users usage of Excel, Word and another application called lets say - Userapp.exe
At work we have been asked to create a diary of our days work and since most of my work is in excel, word and a custom application I have built, I was wondering if it was possible to track the usage of these programs store the data in a datatable and then save it to a access db.
Usage of the program would mean the time that the file is open on the screen, that way the time a program is open but minimised in the taskbar would not be counted.
The data table would have these headings -
1. Program (i.e excel, word etc.)
2. Name of File used
3. Time used in program
Could I use the windows task manager for this?
View 1 Replies
Sep 1, 2010
I saw some 'offsets' such as: 0x006E71A0and some that were like, Game.dll+8E336CI'd more so think the 0x006E71A0 and the Game.dll+8E336C are among the same format, so i'd like to use that.I have also read somewhere(this could be wrong) that the memory addresses formats are different between VB, C#, and C++.
View 2 Replies
Jan 19, 2012
I've wrote this code to accomplish what the image below looks like. This works fine for anything that is around 40x40 but if I try to do 100x100 it takes forever and sometimes errors out with a window handle error. Once it gets around the 40th column the labels start adding slower and slower. Is there anything I can do to make this more efficient? I added the backgroundworker routine in there to see if it would speed things up at all but it doesn't.
vb.net
Private Sub CreateGrid(ByVal rows As Integer, ByVal ranges As Integer)
If Me.InvokeRequired Then
[code]....
View 5 Replies
Jan 25, 2010
Get the current number of usage days, unique usage days, etc in an evaluation license using CryptoLicensing Generator.
View 1 Replies
Sep 23, 2010
I am trying to setup performance counters for CPU Usage and Memory Used.I would like a progress bar and a label to display the percentage.I have the below code and although it seems to be half working, there is something just not right.. The memory one seems to be working fine although the CPU one is acting strange.
Shared perfTotalMemory As New ComputerInfo
Shared perfFreeMemory As New PerformanceCounter("Memory", "Available MBytes")
Shared perfProcessorTime As New PerformanceCounter("Processor", "% Processor Time", "_Total")
[code]....
View 2 Replies
Jun 23, 2011
I'm having an unusual problem that I've never had with WR's before. I have a very user-driven program that interacts with a server of mine through webrequests. Depending on what the user's doing, it could end up sending a dozen requests/minute. This has never been a problem before, but for some reason system memory usage increases and doesn't stop increasing, as if something is cluttering it up for every webrequest that is sent out.
Is there a known problem with WR's like this? Or is it just a random screw up? I can get my system back up and running smoothly.
View 5 Replies
May 19, 2011
I have a form with a ListView box and a button. When the user clicks on the button, the following code adds an item and subitem to the ListView box. The ListView box has 2 columns (Name and Gold).
Private Sub btnTest_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTest.Click
Dim testName As String = "Slasher"
[code]....
View 8 Replies
Aug 26, 2010
I check the memory usage of my project from task manager, It always increases when I open forms but doesnt decrease when I close them. So the memory usage is getting bigger and bigger...
View 8 Replies
Jan 21, 2011
I am working on a small desktop form in VB 2010 and am trying to place a pictureBox with an image in it, next to another pictureBox already located on the form when the user clicks a button.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim tool As String
[Code]....
But for some reason the newPictureBox with image from "ptext" does not show up on the form. When I specify the new Point to be something like, (50,50) instead of getting the first pictureBox coordinates, the new pictureBox shows up in the right place.
Am I using System.Drawing.Point wrong? Or is there some other error that I'm making?
View 2 Replies
Jan 18, 2011
i am trying to create a kind of calculator for fuel usage with menus lemme show ya the code:
Public Class frmFuelCalc
Private Sub AboutFuelCalcToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutFuelCalcToolStripMenuItem.Click
MsgBox("Guru Software" & vbCrLf & "Fuel Calculator Version 1.0.0.0" & vbCrLf & " Copyright 2011 © " & vbCrLf & " Guru Software Design â„¢ All Right Reserved", MsgBoxStyle.Information, "Fuel Calculator")
[code]....
View 1 Replies
Jun 9, 2011
make media player in vb6 or vb2010.. not using windows media player..
View 1 Replies
Nov 25, 2010
The error that I get is "Object reference not set to an instance of an object."[code]...
And is it even possible to do a vb6 style implementation? As I see it, this will clone the picture image while the vb6 implementation will just read directly off the image? and is lockbits like getdibits? I need to process 60 bitmap images of about 200pix by 200pix every second.
View 4 Replies
May 1, 2012
I'm trying to make a picture box do a "fade in" effect. I just don't exactly know how to code it. The general premise is, in the main form's load event handler, I'd run a procedure so that when the form opens up, a picture will fade in. I have 20 copies of the same picture, each gradually less and less faded.I was thinking of cycling through an array of all the images with a timer control so it animates and fades in.
View 1 Replies
Dec 12, 2010
Can you control what part of the image is shown in the picturebox. ex. you only want the top left 100x100 pix shown of a 1000x1000 pix image?
View 4 Replies
Dec 8, 2009
How can I make a picturebox transparent?
View 8 Replies
Feb 16, 2011
Sub resetboard()
For x = 1 To 80
This don't work
Boardstring(x).Image = NewBoard.Images(x)
This does d1.Image = NewBoard.Images(x) Next Is it posable to replace d1.image with a Boardstring(x).image
View 4 Replies
Jan 22, 2010
Make a picturebox fullscreen?
View 1 Replies
May 12, 2012
I want to make a PictureBox to non background color, when I change its backcolor to transparent its backcolor still black.
View 2 Replies
Feb 16, 2011
So I am trying to Make a Jewel Quest sort of Game and I need to be able to make the image from one picturebox trade places with an image from another picturebox, I m trying todo it with the MouseMove, DragEnter, and DragDrop events and so far i think ive gotten everything figured out for the first two but cant figure out how to code the drop event.....
View 3 Replies
Dec 9, 2009
is there a way to change the size picture (scale the image according my size 300 x 150). Let say an user upload an image with (500 x 300), using picturebox, can i scale the image (500 x 300) to my picturebox size so that it can looks perfectly nice
View 2 Replies
Oct 27, 2009
I'm making a minigame where the user moves their mouse around a picture and a little image of a stick figure follows that image. I've got part of it to move, but it only moves up and down. I've tried to change the code to go by width and height but it wont go into debugging even though it shows know error.[code]...
View 4 Replies