Blue Screen When Stopping Execution In IDE?
Jan 13, 2012
Using this code, before I added the funky "abort" button code - stopping it using the Stop Debugging button in the IDE blue screened my computer every time, PROCESS_HAS_LOCKED_PAGES - Anyone care to try it ? Win7 Ultimate , VS2010 SP1. This machine has never blue screened since it was built. Code is by no means exotic in any way.
Public Class Form1
Dim Abort As Boolean = False
Private BStart As New Button
[Code].....
View 8 Replies
ADVERTISEMENT
Jul 6, 2011
I have been experiencing a problem with one of my Try Catch blocks. Specifically, I have a block of code that inserts data into a db using a stored procedure. There is a problem within the code getting one of the parameters to the SP. I know what the problem is and how to fix it. My issue is that the Try Catch should be stopping any further execution of code once it catches the error. I have verified that the error is being caught and that it sends the exception to my label used for error reprorting. However, instead of stopping future execution and displaying the error it rolls over the label assignment and continues to the next piece of code in the calling procedure. In essence, it is as if there is no error occuring at all.To give everyone a point of reference, I call a sub-routine from a button click event. Within the sub-routine I have my Try Catch block with the SP code. I am NOT using Try Catch Finally. It is simply Try the SP Catch ex as Exception and End Try.
View 2 Replies
Jun 22, 2010
When i run the debugging tool for visual basic my computer crashes (Blue screen). it's rather constant with the VB forms, even ones without code at all... Any help on the matter? All the forms were originally built on this computer but don't work any more, they however work fine on other computers so it has to be my computer.
View 7 Replies
Jan 22, 2009
I was attempting to clean up my serial port example that is in the code bank. I had decided to use a modem, thinking that a lot of computers still had them. By using the loopback feature of the modem I am able to simulate / emulate various features of the serial port.All was going well, and then I got a Blue Screen with this error after running for 10 minutes or so:DRIVER_IRQL_NOT_LESS_OR_EQUALSTOP 0x000000d1 etc.I then went back to using my GPS receiver, which sends messages constantly to a serial port. This test ran for several hours(4). It received messages correctly during the entire test.I then created a new, not as complex, version and it also receives the Blue Screen. I have made sure that the modem drivers are up to date, searched for the error, etc. My gut is telling me that it is the modem driver. I have attached the project. This is the scaled back version, but it uses the same functionality.
View 7 Replies
Mar 8, 2012
I am developing a simple application in VB10 that uses ADO.net to store data in an Access database, and gets input via a serial port RS232. It works well, but is not fully debugged. Unfortunately, a problem has recently started where as soon as i close the program I get a blue screen. Makes it hard to debug. The solution does not even have to have run; it just has to have been loaded and then exit VB10. The blue screen aslo happens to most of the other example solutions that I have downloaded.
Questions:
1)How do you capture the STOP error codes (probably stupid question)?
2) Is there an easy solution that rings a bell? My IT support is trying but not getting anywhere. Have to believe it is hardware related, but the hard drive checks out with testing.
View 2 Replies
Mar 18, 2011
I was debugging my application when suddenly the computer crashed(blue screen).
When I restarted the PC one *.vb founded to be corrupted!
Is there anyone that knows a way to restore it?
View 5 Replies
Jul 16, 2009
I was trying to install a program and it install fine but when i went to run i clicked the icon and i got a blue screen and it rebooted, i found out from the program site that its caused by framework.net, i need to update mine, or fix it i check my add or remove programs and i had 2.0 i went to get 3.0 and it told me that cound not cause of prev version was not upto date.
View 1 Replies
May 27, 2009
I have a vb application its a point of sale system and its running on 4 computers at 2 different locations ever since i upgraded those 2 sites from the old vb6 to our new vb.net software they keep getting blue screen randomly. [Code] Both location have the same exact setup, ie video monitors ram and so on. I have installed every update there is including updating the BIO.
View 6 Replies
Jun 23, 2011
I have a alpha mask (grayscale)... and want to specify a color (eg color.blue) and then be able to paint the blue version of the new image(using the solid color with the alpha mask) to the screen using graphics...
How is it best to do this?
View 1 Replies
Jun 29, 2011
BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I left my desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?
View 11 Replies
Apr 9, 2010
I want to add the word "blue" at the end of each line. [code]
View 6 Replies
Jul 7, 2011
How do you put a blue border around a button used in a VB form? I cant seem to figure it out!
View 8 Replies
Mar 11, 2010
I need the change some controls colors. I have a preview;
How to change the blue color to some color?
View 6 Replies
Dec 23, 2009
You know in the code all the blue words?well can they not be turned into pictures or say like barry trotter cards then we could have a wizard class in vb or a barny set themed one or ma fav idea at the momnet parite ones.Me heads a shed and me lifes a dream, Its all for fun and mostley free.
View 1 Replies
Sep 16, 2009
I have lines like this in my text file [code] I want to change the value of column red and blue. Column red=X Column Blue=Y. The user will input the first value of X and Y. Let say user input is X=100 Y=100. The column should be divide half. The value will be like this.. [code]
View 19 Replies
Aug 4, 2010
Provided the following
vb.net Private Function isBlue(ByVal aRGB As Color) As Integer
If aRGB.R < 30 And aRGB.G < 30 And aRGB.B > 170 Then
[CODE]....
I use it with the following:
vb.net Dim count As Integer = 0
Dim img3 As New Bitmap(DirectCast(CameraTable.Controls("camera" & z.ToString), PictureBox).Image)
For x As Integer = 10 To 16
Works great. Takes a small square and tests for the blue color indicated by the aRGB value.
What I am trying to do now is test for all Black (as opposed to blue). I want to copy that isBlue Sub to a "isBlack" Sub and perform a like test, but I do not know what to use for this part:
If aRGB.R < 30 And aRGB.G < 30 And aRGB.B > 170 Then explain those values and what changes to each one does?
I've edited the code some:
vb.net Dim bluepixels As Integer = 0
Dim blackpixels As Integer = 0
Dim img3 As New Bitmap(DirectCast(CameraTable.Controls("camera" & z.ToString), PictureBox).Image)
[CODE]...
And in the sub I am testing for an R, G, and B value less than 3 (black should be all 0's) I'm still interested in how to manipulate those RGB values to test for other colors, or very specific hex colors.
View 1 Replies
Jun 2, 2009
I have a question for a combobox in Visual Studio 2008 (VB)If illed a combobox from a table and the use the following statement: Me.cmbProduct.SelectedValue = 1 (or another number)The problem is now that in the form the value is selected but with a blue color. I have on my form several comboboxes but i don't want that blue color.
View 13 Replies
Sep 19, 2009
Dim Randomizer As Integer
Randomizer = Int(Rnd() * 51) + 1
If Randomizer = 1 Then
picCard1.Image = Image.FromFile("Picture Filepath") And
TheCount += 1
End If
On the d of the And I'm getting a blue squiggly for Expression expected.
View 9 Replies
Aug 22, 2009
how to remove the blue windows state in VB application?I am curently on a project and grapchicly it looks nicer without, is it posible to remove it, without the X button and the maximaze box and the mimize box?And how to remove the windows taskbar while running an application?thx-pbandov-
View 4 Replies
Nov 10, 2010
I use VB2010 Express on a Win7(x64) desktop. I use the following code to select items from data listed in a ListView and then save the selections to a database when I have finished choosing. I use the following code
[code language="VB.NET"] Private Sub ListView1_Click(ByVal
sender As Object, ByVal e As System.EventArgs) Handles ListView1.Click
Dim z As Byte = ListView1.SelectedItems.Item(0).Index
Dim n As Byte = 0
[Code] ......
Each time I click on an item in the list, that item is highlighted in Blue. When I click on another, the highlighting transfers to the new item and the previously selected item is green. The HideSelection has no effect on the highlighting, nor does transferring the Focus to another control. How to get rid of the blue highlighting as the only way I have found is to click in the listview control below the data which is counter intuitive.
View 1 Replies
Jan 30, 2010
I have three HScrollBars(for the colors red, green, blue and maximum to 255), a picturebox(to see the output color) and a textbox which gives the color in HTML output. For example: 0xE60000FF >> This is a red color.I know I first should make a code and paste it here, but I really don't have any idea how.
View 12 Replies
Apr 14, 2011
I have a calculate button, somehow it is hi lighted with a blue ring. when it is tabbed to it reacts as clicked. useful i guess, just not right now. Any ideas what propertie i inadvertantly changed. i think my track pad is way to sensetive as i often get small issues like this, i just cant figure this one out.
View 10 Replies
May 20, 2009
I'm currently working on a hw application and i cant seem to figure out how to get the blue scribble line out of all the "text" code. My design has all the same name and all but dont know what its still showing the blue line.[code]
View 20 Replies
Mar 9, 2009
I'm trying to get extra credit for my class.
View 1 Replies
May 10, 2011
My application having one mdiform in that form six child forms are there.Switching of one form into anather form blur bars are appearing form at the title of every opened child form.These six child forms are opens in mdiform.how to remove the blue bars are appearing from every opened child form in mdiform.how to remove these blue bar.
View 7 Replies
Sep 4, 2010
Say i have an empty chart, and on form load i wanted 60% to be green and 40% to be blue, how do i do this in code?
View 4 Replies
Feb 16, 2012
I have a form with a lot of LineShapes on it, and basically what I'm trying to do is make certain lines a blue colour and others a black colour, depending what it's in an array of integers. Each line is called line1, line2 etc. So if one of the values in the array is 3, then line3 would be coloured blue.
I have the following code to handle all the lines more easier:
MeterArray = New PowerPacks.LineShape() {line1, line2, line3, line4, line5}
However, since I'm going to have about 50 seperate lines, this is going to look quite messy when I reach line50. So my question is, is there a tidyier way of handling these lineshapes.
View 3 Replies
Jun 5, 2012
He wanted to know how they can do to convert a portion of the form that you see only blue or black and white. I mean, the user presses a button and all that is in the form sees only blue or black and white only.
View 1 Replies
Jan 17, 2011
I have a multiline RichTextBox and a ListBox filled with keywords. When I type in the letter t, or any other first letter of a keyword I would like the ListBox to show, just like it does in VB. How can I make my selection the color Blue?
View 4 Replies
Jan 13, 2011
How would you remove the blue highlight line from item when it is selected. And ones a the user clicks on item how do i automatically check it.
View 5 Replies