VS 2010 Program Hangs In Vista?
Aug 4, 2010
I have a heavily timer tick driven application that seems to randomly just stop on vista/w7 while minimized, sometimes it goes on for hours sometimes just minutes but the end result is same just stops for no apparent reason, the moment i unminimize it it keeps going. This never happens on xp tho where it works perfectly so what might be the problem?
View 1 Replies
ADVERTISEMENT
May 5, 2011
I've created a multithreaded application that copies data from one directory to another, and I'm having trouble getting it to work properly on clients' computers. All computers running the software have Windows 7 and the .NET Framework 4.0 Client Profile installed, which is what I've compiled the program for. I have two threads: one does the actual copying, and the other updates the UI on the program. Whenever I run the program on my computer, even if I'm copying 45 GB, for example, it runs fine. However, if I run it on another computer, it will sometimes freeze the entire computer, so then I have to manually shut the computer down in order to use it again. I have been trying to find out why this occurs, but I cannot. Does anyone think he/she can provide me with some ideas as to why this happens and how I can prevent it from occurring?
View 4 Replies
Jul 8, 2010
I have detected a problem running my application under Vista 64 bits OS.
My application is developed using VB.NT 2008 and compiled as x86
I have a main form. In this form there is an option to open other form. TThis second form must return a few values to the main form. When the user click on this 2nd form, to return values, this form hangs up (2nd form hangs up)
But for what I could have known, it continues executing the rest of code that exists after to open form. I want to say that the form dialog (2nd form) is not closed (hangs up) but it the code continues being executed, because I have seen that inserts the data in the database.
The application not returns any error and any exception.
frmWaiting (form displayed when call thread)
This forms contains progressbar
main form
Dim ThreadVentas As System.Threading.Thread
[Code].....
View 4 Replies
Dec 17, 2009
I have an installer class that presents a form to the user. One of the functions of the form is to browse to a file using the open file dialog. This form functions fine when used in an application but hangs when calling OpenFileDialog.ShowDialog() during an installation on a Windows7 or Vista machine (Windows XP it works as expected). I get the same rusult when 'run as administrator' and with UAC off. I also get the same results when calling SaveFileDialog.ShowDialog() in the same context. The call doesn't throw an exception but causes the form to stop responding. Any suggestions on how to get this to work correctly?
View 6 Replies
Mar 30, 2009
The messagebox shows properly but will not respond to mouse click and every is halted.. Comment out the messagebox event everything proceeds. No error is generated, things jest stop at themessagebox and willnot proceed. Code as follows:
[code]...
View 2 Replies
Jul 25, 2011
my program seems to just freeze whenever I press this button. I need to be able to use this because I'm reading values from a joystick as i'm making a human interface device.
Why is this freezing?[CODE...]
View 3 Replies
Mar 23, 2010
When I close my compiled application, it will always hang for a few seconds before closing. It isn't something to do with my PC, I've got a quad core with 4GB of RAM -[code]...
View 4 Replies
Apr 12, 2011
I have a strange problem that I can't seem to find any answers on. I wrote two programs in VB2010. Both work great, install and uninstall no problem and I have done this on 4-5 PC's and laptops, all running Win7. A friend saw them and asked if he could use the programs, but when he installed them neither of them would work. All the prereq's were there and he is also running Win7. For some reason all of a sudden his enlarged font reset itself and VIOLA! both programs started working. I have retested this and it fails/works every time.
So my question is, how do I fix this or is it fixable? Is there somewhere in VB where this has to be set to be 'flexible'??
View 8 Replies
Feb 15, 2009
I have a VB.Net 2008 app that I have converted from VB6 which reads data from a weight scale connected to a serial port. I am able to read the received data and display it on the screen, but when I go to Stop the reading and attempt to close the serial port, the app hangs.
Private Delegate Sub ShowWeight(ByVal tWeight As String)
Private Sub comScale_DataReceived(ByVal sender As Object, ByVal e
As System.IO.Ports.SerialDataReceivedEventArgs) Handles
[Code]....
View 10 Replies
Sep 9, 2011
I'm writing a simple program to retrieve data via the Serial Port. I have a piece of hardware that returns its 14 byte status every time vbCr is written to it. The program works fine except after a few hundred requests the program begins to hang, off and on. Some times for a second some times for longer. I need to update every 25 milliseconds so the hanging sets in quickly. This faster the interval the quicker the problem sets in but no mater how long the interval the problem eventually starts.[code]...
View 8 Replies
Jun 4, 2012
I'm currently having an issue with VB.Net and Adobe Acrobat. The issue comes from exiting Acrobat but the Windows Taskbar still states that there is an Acrobat.exe process open. I have tried using Marshal.ReleaseComObject(), but it still hangs there. I do not want to have to rely on the "End Process" option on the Task bar in order to remove it.
Below is a snippet of the code that I am try to using:
Try
'Tries To Close Acrobat Application
acrobatApp.Exit()
System.Runtime.InteropServices.Marshal.ReleaseComObject(javaScriptObj)
[Code] .....
Although I am not sure if this could be a problem - I run a javascript saveAs script on the Acrobat side in order to make a copy of the file. This also could be a reason why it is hanging, but I ruled it out based on basic knowledge of saving files and exiting from other Acrobat/Microsoft Programs. Acrobat only closes when my application ends. (Currently) I am trying to make it consider the case if a user manually closes the Acrobat application.
View 1 Replies
Jul 5, 2009
My program hangs during debugging at a breakpont set at a subroutine call. It hangs on breakpoints anywhere inside the subroutine also. But does not hang otherwise at other locations where I have set breakpoints.
[Code]...
View 4 Replies
Oct 3, 2011
Im developing several applications under Visual Studio, and now have a real nightmare in hands. When i start to debug, VS hangs completely. Windows allows me to start task admin, and close the "devenv" process.I have serious problems here. I need to deliver my projects before the deadline!
Win 7 Pro 32 bits, VS 2010 SP1, running on HP computer based on Intel i5, 4gb ram. everything works as intended, except VS. When debug crashes, the devenv process uses about 25% of CPU and 250~400Mb of ram.
View 12 Replies
May 30, 2009
i compile my form with the below code when i run it on vista work fine without any problem but when i try to run in on XP cant run... that happened with any XP machine.[code]when i run my exe to other Vista machines work fine... but on xp NO.
View 1 Replies
Nov 15, 2011
Our program works fine, until someone locks the computer or the screen-saver pops up (but not ctrl+alt+delete). Once the computer is unlocked/the screen saver is closed, the application stops drawing everything except the title bar, and stops responding to input - it displays a mostly-white window which can't be moved or closed.(Example of application freezing - the mountains are from my desktop background)If we let it sit for about 5~10 minutes, it comes back to life, and doesn't hang again (even after locking the computer/screen saver popup) until the application is restarted.
View 9 Replies
Aug 17, 2009
I've written an algorithm that I believe to be correct for computing prime numbers up to n with the Sieve of Eratosthenes. Unfortunately, this program hangs on really large values of n (try 10 million). Here is what I've written...
Protected Function Eratosthenes(ByVal n As Integer) As String
Dim maxValue As Integer = Math.Sqrt(n)
Dim values As Generic.List(Of Integer) = New Generic.List(Of Integer)
[code]...
How might I speed this algorithm up? Where are my bottlenecks?
View 12 Replies
Sep 26, 2011
I have an app I'm developing using vb/vs2010. It's an x86 app running on a 64 bit machine. It hangs when I run it in the debugger or the debug exe. When I run the Release exe, it runs fine. System memory doesn't seem to be a problem. I show 1.8 gig free after I load the Release version. I show a similar number when the debug is hanging. Just to make it all really mystifying, the debug version works if I step through it a line at a time.
View 1 Replies
Dec 6, 2011
When I try to build a project, vb hangs and displays this message in the notification area
Microsoft Visual Basic Express 2010 is Busy. I have to end up using Task Manager to end the process. I have been using VB Express for about a year and have never had this problem. i have tried to re-install VB 2010 express, no joy. I even built a Hello World app, still no joy. This is really stopping all my VB work.
View 1 Replies
Jan 5, 2012
I am using vb.net with phpMyAdmin MySql database. While running the piece of code below, the program hangs in the for loop before the variables are assigned values from the data table(dt)...
'Check for appraisal period-----------------------------------------------------------------------
Dim sqlCheckDate As String = "SELECT * FROM tblappraisalsetting where appSetID=(select max(appSetID) from tblappraisalsetting);"
[CODE]................
View 1 Replies
Jun 22, 2012
I have a text file which contains large amount (around 44,948 rows/lines & 9 columns) of delimited text data in a text file which I want to populate onto a DataGridView table. I have written the below code, but the application gets hung for the rest of the time & so I have to stop debugging the program.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x As New IO.StreamReader(fileLocationTxt.Text)
[Cdoe].....
View 5 Replies
Nov 26, 2009
I need to create an application that is targetted for WS2003. I have my dev environment on Windows Vista, but im certain some of the locations are different for each environment.
What would be the best way to code on Vista but to be able to mimic WS2003 environment and how could i debug? I dont want to install VS 2008 on the server
View 3 Replies
Oct 5, 2009
I have a program that will process the files and produce the result in output file.When i publish and install the software in xp windows it run but in windows vista it read the file everything when i look for output file. The file is not created in vista. But other program which similar with previous one can run in windows vista expect one program. This is how i write the coding to create the file.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim OpenFileDialog1 As New OpenFileDialog
With OpenFileDialog1
[code]....
I dont know why it can not create a file in vista?
View 7 Replies
Jan 17, 2010
Is anyone familiar with making a program compiled in visual basic .net compatible with windows vista 64 bit, The installer gets a runtime error initially but then If I runt it as administrator it runs fine, After it's installed I get a ocx error but when I run the program in admin mode again it works fine, How can I go about editing my program so that it doesn't come up with the errors. Can I get the program to initially run as the administrator?
View 1 Replies
Aug 17, 2008
Back when VBStudio 2005 was the latest in .net programming, I created a program that, among other things, sets the user's system clock after obtaining certain code from time.gov and adjusting it according to a set of numbers. Due to a change in one of the websites with which the program works, it stopped working. I downloaded VB2005 Express (since I reinstalled WinXP since then and didn't feel like looking for MSVB Studio 2005), opened the source code, and made the correction. The program now works in what appears to be its entirety in WinXP. However, when it attempts to perform the function I mentioned earlier on a Vista machine, an error (a built-in error I included in the program) appears. Note that even on a Vista machine, the program does have some functionality. All requests that the program makes to access other websites is done using HTTP web requests.
View 2 Replies
Jan 15, 2010
I made an application to give to my friends as practice for my learning, so the app works fine with XP but not on a Vista 64 bit machine. Will the app need re-coding? The app is used as a game mod, so it writes to process.
View 2 Replies
Jul 17, 2009
I'm trying to run a program that runs fine on XP OS, but it won't run on Vista. I've tried to install msinet.ocx in the system32 folder, but it never works.I've tried to register with regsvr32 but it gives error I've tried to register with regsvr32 with cmd as administrator it's register the Activex Control but it gives error " Unexpected error "
View 1 Replies
Aug 21, 2009
I have encountered a small problem with my application due to the updater I built in.Basically the way the updater works is:1) Check for updates2) Download the new .exe file as "tmpMyApp.exe"3) Download "Rename.exe"4) Launch "Rename.exe" and exit application.5) "Rename.exe" then deletes the old application and renames the tmp one with the origional name "MyApp.exe"6) Launches "MyApp.exe"This all works completely fine for me, except when the program is installed in "C:Program FilesTinyGrab" this causes my app
View 3 Replies
Apr 10, 2010
I have a user of one of my programs reporting that they get an "access to the path...is denied" error during this section of [code]He's using Windows 7 x64 with UAC turned on. The location of "FilePath" is a subdirectory inside Program Files (x86) in this case.I tried to reproduce the error on my Windows 7 x64 system by enabling UAC (I usually have it off) but the program worked fine. However, in my case, "FilePath" is not in a protected system folder like Program Files (where write permissions are not given to normal users without admin elevation).So I tried to recreate this situation on one of my Vista x86 Virtual PCs where the "FilePath" would be inside Program Files. However, my program again worked fine. It had no problems writing to the Program Files folder with a normal user account, UAC turned on and no elevated permissions required.
Thus, I am confused. Why does it work for me and not for him? I want to try an x64 virtual machine but I can't with the software I have (Virtual PC doesn't support x64 guest OSs, VirtualBox won't run the software that my program interacts with). So maybe you guys can help me instead. Are the write permissions for the Program Files (x86) folder different between x86 and x64, or maybe even Vista and 7?
View 4 Replies
Dec 30, 2009
Imitate Vista or 7 Window Border in program?
View 9 Replies
Oct 28, 2009
I been trying to made a clone of the vista contact program to use in a address/phonebook application im tryin yto make for learning purposes. I have or think I have it almost licked but it seems there is a few buggs that does not work right.
what i want it to do is as i type characters into the textboxes it will automatically at the same time fill another control like a label.text or textbox.text. but ultimally the combined data will be added to a combobox.in the vista new contact program it automatically updates the full name combobox in realtime as you type each letter in 3 different format.
[Code]...
View 5 Replies