VS 2010 Prevent Program Freeze?
Apr 28, 2011
my program freezes untill the loading has finished.Is this normal? And if it is then how can I prevent my program from not allowing me to go back to the other form untill the loading has completed?I'm using this url as a start up page for my custom browser;so can I prevent my program from freezing or not ?It looks as if my custom browser form keeps demanding focu
View 5 Replies
ADVERTISEMENT
Apr 18, 2012
How can I prevent debuggers from accessing my program?
View 2 Replies
Mar 24, 2012
i created a windows blocker to prevent users access, and only give access to the computer for a certain time if they pay....In the block state taskmgr can not be accessed also no other method can close the blocker. but once the computer is unblocked for use it become vulnerable only to the taskmgr since i have to give access to the taskmgr when the program is not blocking access. Is there anyway to prevent my program from being KILLed in the taskmgr or is there a way to restart the blocker if the user KILLs the program?
View 14 Replies
Nov 18, 2011
I am Matthew and I'm extremely new to coding and any sort of scripting language; yet I am highly interested in programming and want to learn lots about this subject. So to start myself off I am trying to create some applications which I could use in day-to-day life to just basically make life easier.So the first program I am trying to make I am already confused and not sure what the heck I have to do in order to get it functioning, I've looked on lots of videos on you tube for tutorials and they have all done a great job but some videos just don't answer my questions.When I click a button and "Form2.Show()" appears, how can I make it so that when I type text in a list box in form2, it doesn't disappear when I close it? Then once I have known done that, how can I make it so I can choose a random string of text in the list box on form2 to show up on the click of a button on form1? Then a final question is, How do I prevent fields being reset in form1 & form2 on program close? Also, is it ok for me to make a thread asking 1 simple question? or do I have to ask a handful each time to save threads or something?
View 30 Replies
Feb 14, 2009
My following code hangs my VB IDE. What could be the reason. I am of the opinion that by 'sleep' I am avoiding a tight loop and so the program should not freeze. What should I do?
[Code]....
View 3 Replies
Feb 26, 2012
I am making a program that loads, edits and saves 5000 rows x 100 columns of data. The data is stored in a datagridview. I use these commands to write the file:
dim z as integer
dim z1 as integer
fileopen(1,"c:drawermyfile.txt",openmode.output)
for z=0 to datagridview1.rows.count-1
[Code] .....
Every time I issue this command the whole program freezes until the computer is done writing the file. Is there some way I can get it to write this file without freezing up the program? Or, perhaps a better way to write this large data file?
View 16 Replies
Feb 9, 2011
I just put a button and a textbox on a form to try and learn to multi thread, i think i've done it correctly. but it still appears to freeze for a little bit just before it attempts to display the data. i think it's the invoking. Is it normal / have a done something wrong?
[Code]...
View 2 Replies
Feb 23, 2011
I'm making a small version of Spy++ and i would like to recreate the function that finds windows by dragging your mouse over it. Now that is pretty easy but one little annoyance is some windows minimize or loose focus ect when you bring the mouse pointer over them.
I would like to know if you can stop a program from gaining focus or minimizing. And i know i can get the handles of open windows by the EnumWindows function?
View 2 Replies
Dec 1, 2011
I am trying to get my program to read async so it doesn't just freeze up while it fetches the data. I have:
SR = New StreamReader(WC.OpenReadAsync(New Uri(url)))
Dim html = SR.ReadToEnd.ToString
It keeps throwing the error "does not produce an expression". I remember trying this in the past, only to have the same error.
View 1 Replies
Apr 8, 2010
I have a small problem with my application. When the system starts up, the program starts with it, but runs hidden (registry key with paremeter). The program also has a GUI.I want it so that when the user clicks the desktop icon, it does not start a second instance of the executable, but instead reveals the currently running background process. Is that possible?i.e. when the application is started with the "-startup" paremeter, it loads a hidden form2, and closes form1. When the desktop icon is clicked, it loads form1, while form2 remains hidden.
View 4 Replies
Oct 24, 2011
i got 2 program here...exe and B.exe.. B.exe is external program.. how can i run my program just once at same time? all start from .exe.. if .exe running twice, a messagebox appear ".exe already running".. if .exe detect B.exe was running, a messeagebox appear "B.exe already running".. i'm using Visual Basic.NET..
View 2 Replies
Aug 8, 2011
i want to be able to prevent an application from downloading. For example Utorrent. I have seen applications that can do this but never been able to integrate it in my own application. Also i have tried blocking the application's allowed ports in my windows firewall
View 1 Replies
Jul 6, 2010
How can i prevent from closing a program even with the task maneger?
View 39 Replies
Jan 20, 2010
I have a VB.NET program. In proerties/Application I checked Make a Single Instance Application. But it still allows someone from opening the program while already opened. How can I prevent this?
View 3 Replies
Apr 15, 2009
I'm using Visual Basic 2008 Express Edition. When I have my personal program open, I don't want another instance of it to open. I would like it to detect if the program is already open and if it is, it won't open another.
View 4 Replies
Nov 5, 2010
I'm working on a program that requires the user to input an integer. How do I prevent the user from entering a non-numeric value? I tried using the IsNumeric() function but I get an error before I can use it. I get the error at the console.read, before I can call the IsNumeric() function. [code]...
View 5 Replies
Apr 16, 2009
I want to make it so my VB program can be registered to be used with only one computer & possibly be registered online.
(Yes i searched the site but i saw no useful program registering guides that i uderstood and worked with the newest version of Visual Basic .NET)
View 35 Replies
Mar 22, 2009
How do I prevent the user from resizing my program during run-time? I know how to disable the max and min buttons at the top, but I can still click the edge and drag it to resize my program. I want to be able to disable this feature so my program stays the same size the whole time.
View 2 Replies
Jun 26, 2009
I've been trying to open a program called 'DET 3' which is designed by the Honduran government and helps us pay taxes for the government. I've been getting this error message when I try to open the program "Component 'Mscomctl.ocx' or one of its dependencies not correctly registered: a file is missing or invalid" I need this program to work so I can pay my taxes before July 10th.
View 8 Replies
Nov 17, 2009
I have built and deployed an application in VB2008. If I start the program from the start menu a new session will start and there 'll be multiple sessions of the same programming running. I dont want this behaviour! I want the program to start only when no other session of the same program is running. How can I do that in VB2008?
View 9 Replies
Feb 12, 2010
How i can prevent the operation of more than one copy of the program at the same time.
View 9 Replies
Mar 9, 2011
My program becomes unresponsive when I download Data using WebClient.OpenRead(). What can I do to prevent the program from freezing while downloading the Data?
View 5 Replies
May 25, 2010
How can I prevent my Vb program from showing up on the task manager and in the process tab in task manager?
View 5 Replies
Jun 5, 2012
I'm trying to make it where you can click make a dialogbox lose focus until you input the requested information. I'm trying to create an effect where if you try clicking on the parent form, it flashes and won't let you activate it. You can see this effect in Windows sometimes when an error box pops up and you have to click 'OK' to continue. How would I go about doing this in VB.NET?
View 3 Replies
Nov 8, 2011
I'm trying to make it where you can click make a dialogbox lose focus until you input the requested information. I'm trying to create an effect where if you try clicking on the parent form, it flashes and won't let you activate it. You can see this effect in Windows sometimes when an error box pops up and you have to click 'OK' to continue. How would I go about doing this in VB.NET?
View 2 Replies
Mar 5, 2011
the Datagridview is included in first tabpage. first tabpage is the search form and the second tabpage is the record detail view. user is switching and working between those two continuously.
The problem is that everytime user selects the tabpage1 the datagridview repaints itself. there is about 6000 rows in datagridview so it takes about 2-3 sec to paint itself. I know the delay is normal and can't avoid that. but it affects the tabpage selection. tabpage1 isn't selected completely until the Datagridview1 finishes it job. in this time the tabpage1 and tabpage2 gets combined and confused.
is there a way to put datagridview processing in backgroundworker or something that doesn't affect main UI ?
View 1 Replies
Apr 4, 2011
Title pretty much says it all. Does anyone know a way to to prevent a computer from entering a low/non-processing mode while the program is running? I don't care about monitor modes, screen-savers, hard-drive spindown, etc (in fact, I'd prefer to leave those alone; I like it that it shuts the monitor off after a time period).Basically, I have an industrial program that needs to continually monitor a PCI card it uses for IO; and this activity alone isn't enough to convince Windows not to go into Sleep mode. We normally just shut the power-save features off, but we had an incident where a technician forgot, a customer's machine went to Sleep after the end of the shift, the pumps stopped recirculating, yadda-yadda big mess.
View 6 Replies
Jan 19, 2012
I'm using loop to read data from sql and then make some calculations then save it again to another table but when application loop for 3 or 4 times it's freeze but the job is done but if loop = 10 or more then it is freeze and hangup for long time .i need to learn how to make my application working better and never freeze and make application working with any count for loop without freeze .
View 7 Replies
Jan 28, 2011
I have a button and various other controls that when clicked, calls as sub. However if the user clicks the button or any of the other controls multiple times, the sub appears to 'stack up'. For example, if I click the button 10 times, and then some of the menu items that trigger it 20 times, the sub would 'stack up' and execute 30 times total. How can I have the sub cancel calls to itself if its called again? I basically only want the latest call to it to count.
Heres code to reproduce it. Just a button on a form.
Dim intTotalTimesClicked As Integer = 0
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
BlastOfNumbers()
[Code] .....
View 12 Replies
Sep 12, 2010
I want to prevent my application from losing focus, untill I close it. (so that I can not click on ANYTHING else, untill I'm done with it. period.)I've tried using Me.Focus() on a timer, but that doesn't do s***...I've also tried countless API's out there, but I seriously can't get any of them to work.. my form simply does NOT want to stay in focus! It's driving me crazy! What the hell am I doing wrong?
View 2 Replies