Error When Running Project The Second Time
Sep 22, 2010
I have a project that will run while I'm working on it only once. The second time I try to run it I get the following error.
The operation could not be completed. The process cannot access the file
Does anyone know what that error means and why I'd have to restart my computer every time I want to run the project a second time?
View 6 Replies
ADVERTISEMENT
Feb 25, 2011
I have a VB application that uses databases and writes information onto an Excel-file. I have the Excel-file in my Project folder(Visual Studio 2008ProjectsProjectXProjectXExcel objektitListy.xls)Every time I open up my project I get the following error:[code]The thing is, I don't know why the error starts up in the first place. Why is the VS 'unable to open the module file' even though it exists in that folder and can be opened normally?Also, why does the error disappear when the file is opened manually from the containing folder?
View 5 Replies
Mar 3, 2011
My problem is with Splash screen I added it to my project but after running that project it displays forever until I clicked on my main forum. please help me how to give a particular time to splash screen i.e., 2 seconds.
View 5 Replies
Dec 14, 2010
I am in Great problem, When I am running on my own machine then there is no problem creating but when I am running my project on another machine then the project generating problem which like this 'Could not load type 'TechnoAid.FrameWork.logManager' from assembly 'TechnoAid.FrameWork, Version=1.0.0.0, Culture=neutral,PublicKeyToken=null'."Source="Inventory.Metadata"TypeName="TechnoAid.FrameWork.logManager"StackTrace:
View 1 Replies
Aug 23, 2011
I have been working on them and adding to them for several months. Out of nowhere, one of the subs in my project is not recognizing updated code. I had a for loop in there that was acting funny so I changed something and noticed no difference. I messed with it for a while and decided to just replace everything in that sub with a simple msgbox and it still tries to run the code that was previously there. I have built the solution, rebuilt it, cleaned it, closed and reopened it, removed the bin and obj folders and restarted my computer several times. This is not a server program or anything dealing with IIS or anything like that.
View 4 Replies
May 30, 2012
Project running old code instead of new
View 2 Replies
Jan 15, 2012
I am writing an application which calculates profit from 3 column values. The SQL is as follows in vb dataset designer; [code] I want to add another column of 'Total' that may display running profit an a separate column. [code]
View 5 Replies
Jun 2, 2011
i am new in visual basic. net programming. i am facing problem that when i made a file in vb.net and run it on same computer than it runs fine, but when i copy it to another computer where vb.net or .net framework is not installed then it doesn't work. can somebody help me how to run that file without install .net framework
View 7 Replies
Jul 9, 2009
Id like to be able to resize the tab and datagrids , like your able to rezize the form ..
View 13 Replies
Jun 9, 2011
I have an application that I wrote in visual basic 2010 express.I want it to be able to run simply when a click on a shorcut.I have tried 'publishing' it to create a shortcut but this only opens a bunch of files, but no executable files.How can I create an executable file???
View 2 Replies
Jan 21, 2010
we have this situation, we need to 'force' user to do stock opname at specified time, so when the time has arrived..the stock opname program will run while their current running is'freeze' until the opname is done..
View 10 Replies
Aug 2, 2010
I am developing an application whereyby I want to run a check at 5pm each day. It will check if the next day is the due start of a project and if so send a notification email to the assigned developer, does anyone know the easiest way of doing this.
View 8 Replies
Apr 5, 2011
so instead of when i build my project running the advanced installer t make it a exe i just went to my visual basic projects folder and ran it from there and it worked good, so i though if i make a zip file the files in it password protect, and just leave out the startup icon then my users can just click that to use my program while not being aloud into the source code, but after i zipped the folder the program doesnt work anymore, any way to do this?
View 22 Replies
Sep 29, 2010
This may be a strange question and have no answer but I thought I would post it to see how you would go about doing it. I have a line of code:
Grade = Math.Round((Math.Abs(CorrectAnswers) / TotalQuestions) * 100)
Basically that line just figures out the grade no major code work there, what I want to do is execute that specific line with different variables without running the whole application and navigating to the point in the application which for this segment would be completing a 150 question exam, or coding some #temp page and running it from there.
View 3 Replies
May 13, 2009
I'm trying to do a setup project with VS2008 for my VB .NET application. I would need to create a text file into the installation directory based on the answers the user who installs the program gives. Idea is that I need to have the installation path variable in a text file so that I can read it. And also some other directory specifications too.
I could do the following:
Write the wanted information to the window registry and after the installation is ready, create another application that is run at the end of the installation to create these files.
View 5 Replies
Jun 29, 2010
I made a project in Visual Basic 2008 Expression Edition. My project works perfectly on the computer on which I made it. But when I make the executable file (.exe) and try to run the project on any other computer it doesnt work. I get the following message Project has encountered a problem and needs to be closed.
I followed the procedure provided by the Beginner Developer Learning Center to make the executable file. [URL]
I have Windows 7 installed on the computer on which I made this project.
View 4 Replies
Mar 10, 2011
this code was just working! but for some reason it stopped to work now. when i run this project the following code is supposed to execute but it does
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim xmldoc As New System.Xml.XmlDocument()
[code]....
View 2 Replies
Nov 22, 2011
My desktop application having Time Out exception when running a command in SqlTableAdapter which is inside a SqlTransaction. The error only occur every first time running sql after application start. A few pieces of codes having the same problem. After the exception, the SqlTableAdapter can run and complete like normal.
Also I noticed most of the time a Select command also very slow when first time running after application started.
Below is one piece of the code that having this problem:
' Business Layer
' Transaction Begin
' da is Data Access layer class
[Code].....
View 6 Replies
Jul 5, 2010
I'm going to design an Application (C# or VB.NET) which use .NET Framework to run for very long time. It may be restarted every year or even more...Is there anything (using special design patterns or so) which I must care about in designing "Long time running applications in .NET"?
View 3 Replies
Nov 17, 2009
I'm making a new program so I won't be able to post my code here yet.
But I wanted to ask you fine folk how I can check if a program is running for the first time.
[code...]
Just start the program normally and when they click the menubar ask for the password they set in the first time
if it's a little iffy on my side but I just started this project and I've only made the GUI and I have no idea what so ever how to do this.
View 5 Replies
Sep 29, 2010
When I create a shape with the form Open where is the code or all the information like
[Code]...
View 5 Replies
Sep 13, 2009
Im using a MySQL Server and id like to know the date and time that its running...Here's the query:
SELECT GetDate
But im getting an error saying there's no such field in the database.Everything is fine i know how to connect im just bored writing the code here....Do i have to Execute the query or read it?Im using a Reader...
View 1 Replies
Mar 10, 2010
check how long a process has been running? I'm using the below code to check whether these programs are running.
Is there a way to see how long they've been running?
Private Sub tmrKillJoy_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrKillJoy.Tick
Dim local As Process() = Process.GetProcesses
[Code].....
View 1 Replies
Apr 10, 2012
I'm creating a 2D RPG game, the character moves by pressing the keys A (left) and D (right), this activates a timer that increments the x.position of the character by 1 pixel in case you press D, or decrements if you press A. The movement of the main character is always perfect and smooth and this is how I want to do it, but when I add other character and I animate them using the same method, they dont have a smooth movement, but if I press A or D these characters regain a smooth movement, so, basicly, the second timer (which is always enabled) only increments a value smoothly if the 1st timer (not enabled) is activated.
View 2 Replies
Mar 21, 2012
I have created a main application form that has buttons that start up various other applications.
Following advice on here from a previous post, I have imported all the files of each separate application into the main application.
There will be times when the user wants to run more than one of these applications at the same time. I know you can just import the '.EXE' file of each app, and you can then run several at a time. But because I have all the files without the .EXE, you can only run one at a time, you have to close one app to start another.
My question is simply; Do I have to import the .EXE file of each app, or is there some code I could put in my main form that will allow me to run more than one app at a time? (the reason for having all the files of each app is so you can make any alterations without having to open each app separately).
The code below is a typical code for one of the applications start buttons, all the buttons codes are the same, apart from the app name, the buttons are imported, so not standard buttons.
Private Sub btnCoordsCalc_ClickButtonArea(ByVal Sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles btnCoordsCalc.ClickButtonArea
Dim frm As New frmHoleCoordinateCalculator
[Code]......
View 2 Replies
Jan 1, 2010
at the time of recoredset movenext out of memory error occured in run time data have 3800000 lakh recored
View 2 Replies
Jul 9, 2010
Ok i got my application, put it on my other computer which has a smaller screen. And i have my controls in a panel but it still gets them chopped off by the screen. the part highlighted in yellow is the bit that gets missed off, what can i do here as i still want the search to be on the right. How can i make the controls fit in the screen even on a smaller screen.
View 11 Replies
Jan 18, 2009
i wanted to know if there is a way for the program to determine if its being run for the first time in a computer or in a different user.
View 1 Replies
Mar 9, 2012
After compiling the project it works fine on windows 7 32bit and 64 bit but will not work on server 2003 or xp clients have not checked vista yet, i have verified that .net 4 is installed and i can tell you that i do not get an error message when installing apart from the icon that i have given the project does not appear and is a blank icon on the desktop. When i try to run the program it will try to start i see the service in the task manager and after a while it will error out and crash. I can see the memory usage go from 20,000K to 70.000k.
View 7 Replies
May 23, 2011
if i using with AxWebWrowser how i can add tags to source code of the page in running time (Make a changes on site)i want Highlight "this is the text" so for example:
[Code]...
View 9 Replies