If A Process Is Stopped Then Re-opens It

May 1, 2011

I want to make a program that, when a certain batch file is closed, that it immediately re-opens it. I'm trying to use the If statement like [Code]

View 7 Replies


ADVERTISEMENT

VS 2008 - Process X Has Stopped Working

Nov 5, 2010

I am launching a new process from within my application and it works fine. The problem occurs as soon as I physically close the spawned process; I get a message from windows saying that "Process X has stopped working." If I kill the process programmatically in the calling .NET application, all is well.

View 6 Replies

VS 2008 Alert When A Process Opens A New Connections?

Sep 5, 2009

I'm writing a program that notifies the user when process X.exe starts eceives a new TCP connection.

Is the only way to issue a full 'netstat' and then select the entries relating to that specific application or is there a better way?

View 7 Replies

Process.start Opens Word 2007 Docx In Internet Explorer

Aug 13, 2010

In my VB.NET 2005 windows winforms application, I use process.start (filename)to open a Word 2007 document.On some computers, the document opens in Internet Explorer instead of Word.These computers have Word 2007 installed.If I double-click a .docx document in Windows Explorer, it opens in Word 2007, not IE, this only happens with process.start.I already tried unchecking the "Browse in same window" checkbox in Folder Options - File Types - Advanced..How can I make the document open in Word 2007, not IE?

View 5 Replies

VS 2005 Windows Services - Process Is Listed As A SYSTEM Process Rather Than A Process Under User Name

Jun 4, 2009

I have written a windows service that is meant to launch a notepad when a specific action happens. The problem i have is that even though the service launches notepad, the actual notepad it self is NOT visible. I know that it has been launced because i can see the process in the task manager. By the way the process is listed as a SYSTEM process rather than a process under my user name (i believe that is because my process is a "LocalSystem" one).

View 4 Replies

ASPX Stopped Working On IIS 6

Apr 20, 2009

this site used to work, i had to reformat the server, republished site though frontpage and i get this

View 1 Replies

Databinding Has Stopped Working?

Oct 9, 2009

I have been developing this VB application for some time now in Visual Studio 2008. I have created datasets, ran into problems, reinstalled them, etc. and have been able to resume work with my application. Just recently, the datasets have completely stopped working meaning no data is pulled from the SQL server. I have tried recreating the datasets with no luck. When I create a new label and try to simply associate it to a SQL field through the properties of the label, Databindings... Text (to pull in the value of the field to this label), when I run the program, it does not pull the data. None of the datasets work. I have checked the code and designer and tried to compare it to my old version and everything looks fine.

View 4 Replies

File.exe Has Stopped Working?

Mar 11, 2012

I just complete my assignment, everything work perfect on my computer. but when I copy this EXE to run on other computer I got an error

"XXX.exe has stopped working?? "

this project has no any dll file. I use only import System.Data.Oledb

View 4 Replies

VS 2008 Add Threads And Then Something Else Has Stopped?

Mar 3, 2010

I have a process that may take a while, so I decided to put it into a thread and adding some GUI (progress bar) to calm the users down while it's working in the background.The thread itself is working properly.The problem is that the cursor, which I wrapped with a 'sandglass' before using the thread ("Me.Cursor = Cursors.WaitCursor"), has stopped working, and I can't figure out why. When I debug, it's getting inside the function and relevant line - but ignore and do not change the cursor.

Attached is the code, before and after:

Before - working properly:

Private Sub PictureBox1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetReport.Click
Me.Cursor = Cursors.WaitCursor
If IsValidatedFields() Then

[code]...

View 3 Replies

VS 2010 Has Stopped Working?

Nov 20, 2011

my program connect to Access DataBase 2003 ! in my computer every thing be ok !but in other pc my program can not open on show this message :

my OS is 7!my VS version is 2010 and it is my connection string : "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + My.Application.Info.DirectoryPath + "my_db.mdb" where is my problem ?

View 2 Replies

Application Has Stopped Working Error

Oct 29, 2009

I keep getting an error that says hte application has stopped working and Windows is searching for a solution. When I click to debug, it tries to start a new instance of VB, but then tells me that a debugger is already running. Why is this happening?

The error is a uncaught Win32 exception and occurs somewhere inside a thread that I create, but I have no idea where.

View 3 Replies

Application Suddenly Stopped Working?

Feb 6, 2009

i tried updating my application on a vista home basic laptop. i get "myapp.exe has stopped working" then i restore back to the old version, it still give the same error. I am sure the old version is working because I tested it before updating it.

View 2 Replies

Asp.net - LINQ Intellisense Stopped Working?

Feb 13, 2010

What happend to my Intellisense?When I type a line like this ...

Dim users = (From u In Membership.GetAllUsers Select u.UserName)

I get (almost) no Intellisense when I get to the Select u. part. Only Equals, GetHashCode, GetType, ReferenceEquals and ToString appears. Not "UserName" and the other relevant propeties of the MembershipUser class.The code compiles and works just fine.

View 2 Replies

Break Points Stopped Working?

Feb 2, 2010

why break points might stop working? It's seems to have happened suddenly for all my ASP.NET projects in VS 2003 and VS 2005. all the debug options are still on, and it seems to be for all my projects anyways, not just one.

View 4 Replies

Debug.print Stopped Working

Jan 31, 2010

I opened an older project and it works fine. Using syntax: debug.print ("OK") and look for printed line in immediate window. Is there some setting I could have inadvertently disabled or have maybe discluded some imports? Only import is forms.

View 2 Replies

Deploy To Pocket Pc Just Stopped Working

Jun 5, 2009

I was using visual studio to program and deploy an application to pocket pc for the past week when all of the sudden the deploy stopped working. What happens is that I right click to deploy >> the menu asking me if I want to deploy to a device or emulator comes up and I select a device. In the past I could see in the status bar all the files that were being sent and about a minute later it said that it was successful. Now, it says deploy successful after about 1 second and nothing is sent to the device.

View 4 Replies

Deploy To Pocket Pc Just Stopped Working?

Feb 20, 2011

I was using visual studio to program and deploy an application to pocket pc for the past week when all of the sudden the deploy stopped working. What happens is that I right click to deploy >> the menu asking me if I want to deploy to a device or emulator comes up and I select a device. In the past I could see in the status bar all the files that were being sent and about a minute later it said that it was successful.

View 5 Replies

Detect That The Service Is Stopped By Hand?

Dec 21, 2011

We have made a service in vb2010, how can we detect that the service is stopped by hand?

We know the �Protected Overrides Sub OnStop()

View 3 Replies

Forms :: Progress Bar Stopped Responding?

Dec 21, 2009

I'm using vs2008 programming in vb.net. I'm currently working on a project that reads miscellaneous text files and imports data into a sql database accordingly (Reads line, imports, loops until finished). There are 75k-150k imports to do. I tested it out the other day before using a progress bar, it takes about 5-10 minutes and works fine.

The issue I have is that while importing, if you click anywhere on the form, it will say not responding and will continue to import, but users using the program might be mistaken and think the program has locked up. I thought a progress bar would solve this, since it is responding back while the imports are going on in the background. However, the progress bar works, but as soon as you click anything on the form, it again says not responding and the progress bar stops moving (the imports will complete however). How can I isolate this import process so it can do this in the background, but will not affect the rest of the program?

View 16 Replies

Mouse Highlighting Stopped Working?

Aug 25, 2009

All of a sudden I cant highlight text or anything in the IDE. Dragging the mouse with left burron down does nothing. It works in Word and on this page. Any pointers?

View 2 Replies

Populating PictureBox Has Stopped Working?

Mar 29, 2011

PictureBox1.Image = My.Resources.ResourceManager.GetObject(z)
PictureBox1.Visible = True
My.Application.DoEvents()

I've just added a load more image files, bringing the total up to 108.When the program reaches this point, (above) it fails with a 'Can't find File' error.I've tried many times to reload the image files, set all their 'Build action' to 'Embedded Resource' but I'm not at all sure it's doing it. I get an error message saying 'Corrupt .resources file'. but I've opened all the files in Paint Shop Pro without a problem.I'd be surprised if there's an upper limit to the number of image files I can put in the resources file, but not as few as 108 surely ! Most of the image files are between 100 - 350 Kb but 16 are about 1,250 Kb?

View 13 Replies

Save And Load Stopped Working

Oct 28, 2009

I'm using My Settings to store details, such as visibility of lables when I play my game. When the game is exited and re-entered, the settings are saved and reloaded.[code]I get the label visible by completing the Claire game. When the program is stopped and re-launched, the label would still be visible.All I want is to be able to reload the visibility upon reexecution of my program.

View 20 Replies

Sql Server - Vshsost.exe Has Stopped Working?

Aug 19, 2011

I am debug a code in server 2008 but it showing an error like vshost.exe has stopped working. I am unable to debug the code.

View 1 Replies

Tooltips Stopped Working (.Net 2010)?

Jul 25, 2011

All the tooltips in one of my apps stopped working. I checked the component; the settings are all the same as on another app that still works. what would cause tooltips to suddenly turn off?

View 9 Replies

VS 2005 Program 'has Stopped Working' On Win 7?

Jun 9, 2011

Program written and tested on XP x86 and then attempted to run it on windows 7 x86, but it just gives me the error '***** has stopped working'.I have checked it is being built for the correct platform (x86) and Win 7 has .Net framework 4 installed so i'm at a loss as to why it won't run. Some programs i've written work fine, some just crash.[code]

View 3 Replies

Windows Application 1 Stopped Working?

Jun 24, 2011

I am trying to get an application installed on a friends computer, written in VB 2008 Express. However, he continues to receive the Windows Application 1 stopped working message whenever he launches it.

He states that there are not any error details, and I am in a different state so I cannot even begin to diagnose the situation, so this is all I have to work with. Are there any suggestions where I can even begin to look that would cause this? He is on Win7. which is what I developed the app on. The program is pretty simple, and utlizes sql server r2. Any suggestions on some starting points to check? I have run it on 6 or 7 other computers with no problems.

View 7 Replies

Application Stopped Working And Just Crashes On Startup?

Sep 12, 2009

Application stopped working and just crashes on startup?

View 11 Replies

IDE :: Application Stopped Working After Shutdown Event

Feb 16, 2012

Visual Studio 2008, VB.NET, .NET Framework 3.5. Development Machine Vista Business. Problem occurs in Vista, Windows 7. It does not occur on XP. Others involved: Bennet-Tec Tlist tree control, Farpoint Spread for Winforms 5 spreadsheet control, ADO.NET with Access Database. Message issued:

[Code]...

View 4 Replies

IDE :: Visual Basic Compiler Has Stopped Working?

Aug 13, 2008

I am getting the following message in VS 2005 Standard Edition using VB for a Windows Form Application:Microsoft (R) Visual Basic Compiler has Stopped Working.A problem caused the program to stop working correctly.Windows will close the program and notify you if a solution is available.<Debug> <Close Program>Clicking on either Debug or Close Program shuts down Visual Studio.Happens when pasting code from 1 form into another. Seems random but usually about 5-7 pastes or every 10-15 minutes.I have looked at FIX: The Visual Studio 2005 IDE may randomly crash when you build a Visual Basic .NET solution (Article 942124) but it states this should happen when doing a Build or Rebuild.The Workaround says:To work around this problem, use the whole project as the reference.What exactly does this mean and how would I do this?Installed Products:

Microsoft Visual Studio 2005Version 8.0.50727.867 (vsvista.050727-8600)Microsoft .NET FrameworkVersion 2.0.50727 SP1
Installed Edition: Standard
Microsoft Visual Basic 2005 77633-235-2833766-41228Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77633-235-2833766-41228Microsoft Visual C# 2005

[code]....

View 7 Replies

Installing A Windows Service In Stopped Mode

Mar 18, 2010

I have a windows service that I've written in vb.net using vs 2008 targeting ASP.NET 3.5. It appears that it's installing in a running state, but with the start mode set to manual. Is there a way I can have the service be initially stopped? I assume that it would be something in my service installer, but haven't been able to find it.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved