Starting Up Vb Express And Running Any Vb Applications?

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


ADVERTISEMENT

Scan All The Processes (applications) Running In A System Before Starting?

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

Application Is To Monitor Starting And Stopping Of Applications Listed In A File?

Sep 3, 2010

I am working on a Windows Service application in VB.net 2008. The main objective of the application is to monitor starting and stopping of applications listed in a file. I build the service as system level by using

mManagementStartWatcher = New ManagementEventWatcher("Select * From Win32_ProcessStartTrace")
AddHandler mManagementStartWatcher.EventArrived, AddressOf

[code].....

View 2 Replies

Starting With VB 2008 Express Edition?

Sep 11, 2010

I like to have assistance with the VB 6 codes below; a few cheeky lines dock into positions I do not mean them to be in; sorry; I am on VB 2008 Express; a few lines have errors; adjacent to them I have described what VB 2008 reports.

[Code]...

View 8 Replies

Load Events Not Starting When Running As Another User?

Feb 15, 2012

I've created an application that is supposed to map a network drive as soon as it starts using this basic sub:

Private Sub DesktopAssistant_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'ElevatePrivileges()
'System.Diagnostics.Process.Start("batch\mapfs.bat")

[code]....

Here is the code for the MapDrive function:

Imports System.Runtime.InteropServices
Module map_unmapdrive
Public Declare Function WNetAddConnection2 Lib "mpr.dll" Alias "WNetAddConnection2A" _
(ByRef lpNetResource As NETRESOURCE, ByVal lpPassword As String, _

[code]....

It works perfectly fine when I start the application, but when I do RunAs and start the application as another user, the MapDrive function does not seem to execute. Everything else in the application works when running as another user, just not on-load events.

View 2 Replies

Starting Out With VB And Have Downloaded And Installed VB Express 2008?

Dec 18, 2009

I'm just starting out with VB and have downloaded and installed VB Express 2008. I'm researching and trying to wrap my head around programming in VB before I start working on any projects. I have a little bit of experience with ASP Classic so some of the syntax looks familiar, but I can't get a handle on database integration. Let's say I am creating an address book. Each installation is a stand-alone (no network connectivity). How are databases used in this situation? Are they built using VB Express and packaged into the installer or can you create them separately (using either Access or MySQL) and then package them into the installer? What is needed to read and write to these databases? Are there extra bits of software that need to be packaged into the installer to allow access to the databases?

What if this application does connect to a centralized database (let's say a MySQL or Access database on a web server). Is the connectivity handled the same way? Sorry for so many questions, but I just can find the answers I'm looking for when searching. I'm not necessarily looking for the actual code to do this, just an explanation of how it's possible (or even a link to some examples/tutorials).

View 6 Replies

Running Applications Within Applications?

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

Get All Of The Running Applications?

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

VS 2008 - Running Applications Besides *.exe?

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

C# :: Long Time Running Applications?

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

List Running Applications(not Process) Using VB

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

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

Running Net Applications On Protected Network

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

Running Other Applications From Within Main Application?

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

VS 2008 One Array, Two Running Applications?

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

VS2010 Running 2-3 Applications At The Same Time?

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

Filter Out Certain Applications Running And Output To Listbox?

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

Reflection Instances To Get A List Of Applications Running

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

Running VB Dotnet Applications With User Privileges?

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

VS 2008 Getting Detail Of All Applications Running In Windows?

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

VS 2010 Running Applications Using Local Admin?

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

NSIS Installer Scripts For VB Express Applications?

Apr 14, 2010

have any sample NSIS installer scripts for Visual Basic Express applications?

View 1 Replies

Make Applications In Free Version Of Express And Use Them On Other Machines?

Nov 19, 2011

Can I make applications in the Free version of VB Express and use them on other machines?

View 9 Replies

Get A List Of Running Applications On A Computer Similar To What Task Mangager Does In Windows?

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

C# - When Deploying .NET Applications - Find Out What Zone A Share Is In Relative To The Computer Running The Application?

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

What OS's Will Run Projects Compiled With VB Express 2008 Running Under Vista

Nov 12, 2009

What OS's will run projects compiled with VB Express 2008 running under Vista?

View 4 Replies

VS 2010 - Applications Made Using VB 2010 Express Expire After Some Time?

Nov 3, 2011

Here are my questions concerning VB 2010 Express:

1. I've registered my VB 2010 Express, will it still expire?

2. Will the applications I made using VB 2010 Express expire after some time?

3. Is it OK to write my code in the designer.vb file? I don't know why, but when I started writing my application it took me to the designer.vb instead of form1.vb code.

4. I've been working on an application for a week now, but suddenly I can no longer access my Design View(Shift-F7). All my codes are written on the [form name].Designer.vb. I can still view my codes but I cant access my form layout. On the solution explorer, my forms no longer have the 'form icon'. When i press Shift-F7 nothing happens. Right-clicking the form on the solution explorer doesn't show 'View Designer' option. How can I fix this?

View 5 Replies

What .NET Is Required For "2010 Express" Applications

Jun 19, 2010

can i know what .net framework is required for my application that has been developed under Microsoft Visual Basic 2010 Express.

View 1 Replies

IDE :: Very Slow Debug Stepping With Vista 64 Running Vb 10 Express On Hp Pavillion Notebook

Mar 31, 2011

My HP dv6 - 1030US notebook has 4 gb of ram, and a Fujitsu MHZ2320BH G2 hard rive with 166 GB. free. running vista 64 SP2 and all current kb's installed. My problem is trying to test Vb 10 express with this unit. I am an ex vb 6.0 guy(beginner level) and still put small # of apps together for my remodeling company.

[Code]...

View 8 Replies

Running A Setup.exe Program Inside Visual Basic 2008 Express?

Jan 21, 2010

I am in process of writing a setup program that will reside in a USB stick.After inserting the Stick the VB2008E program starts (dont know how) and guides the technician to do certain tasks. As a part of this She/He needs to run a Setup.exe that resides in the same USB stick.

1- How do I define the drive letter of this USB stick.

2- How do I run the x:Setup.exe program without exiting the VB2008? The install process should begin after click of a button.

3- Would Autorun work on USB drives to run the program automaticaly?

4- How do I compile to make a single EXE file at the end?

View 1 Replies







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