Running .NET Applications Under EXCLUSIVE DOS Mode?
Sep 10, 2009
I developed an application I need to run exclusivly under DOS mode (no Windows), when I wrote the app I created it as a CONSOLE application, when I run this EXE under the DOS mode it says it can't RUN in DOS mode? Is there ANYWAY I can make this work?
View 5 Replies
ADVERTISEMENT
Jun 12, 2010
I had made a program and didn't set a password for the database that used by that. after that I set a password by opening my database in exlusive mode. but when I want to open it in my program I Found out an error Cannot start your application. The workgroup information file is missing or opened exclusively by another user.I know that it is for my exclusive opening but how can I Solve this problem ans disable the Exclusive mode.
View 9 Replies
Sep 16, 2010
What is the real mode , protected mode , supervisor mode and the hypervisor mode ?
View 1 Replies
Jul 24, 2009
Is there a way to, when a parent application is opened up, that at the click of a button, or anything of designated event, that this parent application can open a secondary one?
View 11 Replies
Apr 14, 2011
I have several VB.NET Windows Form applications connecting tp several Network databases. When I build, update and test my apps, I want them to connect to a testing database as opposed to connecting to the production databases when the app is released.Right now, I change a setting in my coding before releasing the app, but I would like this to be automatic, to prevent any testing data in the Production database and vice versa.I found this piece of coding on the web, but it doesn't seem to ever be in DEBUG mode and by DEBUG mode I mean when I click the "Start Debugging" button or the F5 key. [code]
View 5 Replies
Oct 20, 2009
How can I get all of the running applications? If I have to use Process.GetProcesses, then how can I determine which are applications (appear in the task bar)?
View 4 Replies
Mar 4, 2011
In the Visual Basic 2010 development environment... i.e. cannot edit code when running in 64 bit mode.
View 2 Replies
Apr 1, 2011
I have opened an existing project and made changes in the design mode. (For example, I added a new button.) But when I tested the program using Start Debugger, none of my changes showed up.
View 1 Replies
Oct 14, 2010
i am using visual studio 2005 on win 7 with office 2007.i have developed win application. i am using microsoft activex spreadsheet component in my program. so it automatically creates reference to AxInterop.OWC11.dll But when i run program in debug mode (open program and click RUN in toolbar it works) it works. But if i run directly .exe (go to bin release doubleclick .exe) it gives error at loading point of that component. It says "Attempted to read or write protected memory. This is often an indication that other memory has been corrupted." An unhandled exception occurrs.AxInterop.OWC11.dll is in release directory.Is this office 2007 error or Win 7 ?
View 2 Replies
Feb 22, 2011
i am having trouble executing applications that havent got the prefix .exe here is the code tat i mostly found in the internet can someone help so it will be able to play with all applications tried to make it play with msi but it wont play.
[code]...
View 12 Replies
Jun 30, 2011
I'm getting the 403 Forbidden error while running a VS 2010 in debug mode. It gives me this error as it tries to read thru an XML File. See attachment. This is a web app and it's reading an XML file that retrieves the DB/Server information. It's not the Web.Config file but just a regular xml file. This file is read by every application in our system. Not sure why it suddenly started doing this. I've created the virtual directory on our IIS Server and set permissions on the C:inetpubwwwrootAppName directory of my C: drive where the app resides.
View 2 Replies
Dec 18, 2009
I have an app that runs silently everytime the user logs in. But I want to be able to pass it a parameter to make it print to the console. I use a conditional if statement to do this now, but I would have to recompile the project to set it to false or true.
View 5 Replies
Aug 1, 2011
i made a form as big as my screen and remove the button on the title bar to ensure that the form will not be tamper with, but i still can make it small using mouse arrow drag, going to last border of the form.
View 4 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
Mar 14, 2010
Anybody have an idea to list running programs ; not all running background process. I tried following code, but which list all process names. eg: notepad.exe, vb6.exe, svhost.exe etc. but what i need is the running window based programs( with windows.)
1st method
Dim process As Object
For Each process In GetObject("winmgmts:").execquery("Select * from Win32_Process")
Debug.Print process.Caption
[code]....
View 2 Replies
Sep 7, 2009
I have seen that unsigned .net applications will not run on most college networks and as part of a school applications i am trying to let these applications run on a protected network. The app is written in VB 2008 and is signed strongly.
View 1 Replies
Mar 16, 2012
I have created an application that will run several other Engineering applications from within it.
I have my main form which will have a button on it for each application that has to be run. All the other projects are complete and have their respective '.EXE' files, which I have added to the main project.
I have coded one of the buttons to start an application, this is as follows;
Private Sub btnCoordsCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCoordsCalc.Click
Process.Start(My.Computer.FileSystem.CurrentDirectory & "Hole_Coordinates_Calculator.exe")
End Sub
This method works OK and does start the application. So my question is; Is this the correct way to do it, or should I import the whole project into my main project?
View 1 Replies
Nov 19, 2009
i am a casual user of visual basic express 2008 and use Vista Home Edition Ive been using it for a while now, with no problems at all. Recently i started to take a look a WPF in my apps, again no problems.(visual basic express ran fine, debugging ran fine & finished apps ran fine)
However for some reason (and all of a sudden) i keep getting errors and none of my apps will start up.
The errors are:vshost.exe has stopped working (I get this when visual basic express starts)PresentationFontCache.exe has stopped working (I get this when visual basic express starts a wpf app)
(Application Name) has stopped working (I get this when running finnished apps)I've tried all the usual methods (Reninstalled VBE & .Net3.5)I cant see why it has stopped working all of a sudden?
View 7 Replies
Nov 19, 2009
he lack of VB terminology in the following question - this is all fairly new to me. Anyway, on to my question.I have 2 seperate applications running and they both need to access the same array. Is it possible? If so, how?
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
Aug 8, 2011
I have a winform with a main panel that is anchored top, left; dock: fill, and set to a specific size to contain another panel of content that we want to scroll through. The other panel along with a few other controls are on the main panel. Now, for some reason, after running the application the controls will be shifted down (never horizontally) some random amount. Now, the "random amount" may in fact be the last position of the scroll bar or something, but either way, it is unintended functionality. I have resorted to automatically resetting the locations of these controls on the main form in the constructor?
View 1 Replies
Jan 29, 2009
I'd like to ask assistance for the following scenarios below:
1. I want to check whether certain applications are already running or not.
2. The applications i need to check are the ff:
a. MS Word
b. MS Excel
c. Notepad
d. MS Project
e. MS Powerpoint
3. If any of these are running, the window title of that application will be filled-in in a listbox.
View 2 Replies
Jun 18, 2009
I have created a simple windows forms application. I would like to be able to connect to that running application and view certain properties from a seperate windows form application. In VB6 I would have run the first application and then called GetObject to connect to the instance. Does anybody know how I could do this in .Net. I'm guessing I'd have to use reflection to get a list of applications running and then somehow connect to them but I'm not sure how to do this?
View 5 Replies
May 17, 2009
I am running a client-server application and am having problems with privileges (I assume). The application is developed using 2005 Express. The Client is running Win XP Home whilst the server is running Win 2003. When the user on the client has Admin rights on the local machine, everything is OK; however when the user has only User rights, an error occurs: VB will not run.
View 14 Replies
Jun 10, 2009
I want to get the detail of all the applications running in windows like
Application name : Status : User : Resources Usage : etc....
also I want to get the detail of all the users logged in at a time
View 7 Replies
May 12, 2012
I am wondering if it is possible to run an application from a domain account that has restrictions on running .exe files by coding in the local administrator details (username / password).
View 3 Replies
Jun 7, 2012
i would like to scan all the processes(aplications) running in a system before starting my program. and also need to close some programs before starting my program.how to read all the processes ruining in a system one by one.
View 1 Replies
Sep 5, 2008
I am writing a web application using .net 3.5 and vs 2008 which allows people to add data to a db via a control panel front end.Objective: Before committing one of the fields to the db i would like the user to answer Yes, No or Cancel to confirm their action. I have tried to implement this with a modal dialog box or message box but the following error appears: Server Error in '/' Application.
View 10 Replies
Jul 22, 2011
I know this code will give a list of processes
ListBox1.Items.Clear()
Dim ProcessList As System.Diagnostics.Process()
[code].....
View 3 Replies
Jun 8, 2011
Using any version of .NET how do you find out which zone a particular share is classified under. I am having a problem identifying if a share where my referenced dlls reside is in the "intranet zone" or "internet" zone relative to some user machine that is running my .NET application. I suspect this is a problem because I am having a problem accessing referenced dlls from a share on some machines but not others. How can I tell which zone .NET is classifying that share in so I can adjust permissions accordingly?
View 1 Replies