Installing A Visual Basic .Net Application On Windows 7?

Oct 4, 2011

We are installing our application on windows 7. The application utlizes a Acces database. The application locates the database by looking in the registry under at HKEY_LOCAL_MACHINE / SOFTWARE / WOW6432NODE / COMPANY NAME / SOFTWARE NAME /STARTUP. When i install the application on windows 7 it places the a database where installshield directs it to and writes the path to the registry. However, somehow local copies of the database are showing up under the user profiles. (Example: c:/users/profilename/AppData/Local/VirtualStore/Program FIles (X86)/Company/SoftwareName/Data). We recently changed it to store the information in c:/ProgramData/Company/software however the same issue occurs and its creating local copies of the database and when the application runs it points to the local copy of the database. What we need is for all users to be pointed to and use the same database in ProgramData, is there something we are missing to accomplish this?

View 10 Replies


ADVERTISEMENT

Cannot Read HTML Help Files In Visual Basic 2008 Windows Application

May 1, 2011

My students did a tutorial in HTML Help Workshop to add Help files to a VB 2008 Windows application. They zipped the files and uploaded them to our class web site.

I downloaded them at home, unzipped, and tried to check, but every one shows Table of Contents or Index and cannot find the .htm documents for the topic. The same thing happened in my office. However, these projects work correctly in our classroom
lab and do display the .htm files.

View 4 Replies

How To Call WPF MediaElement From Windows Forms Application In Visual Basic 2010

Oct 23, 2010

I am a novice in programming and wrote several simple Windows Forms applications. I need to play mp3 file in Windows 7 x64 application.

Could you, please, explain in simple words, how to call MediaElement.Play() method from Windows Forms?

View 8 Replies

Multiple Client Windows Form Application Using Visual Basic Express 2005?

Jul 30, 2009

I am making a server - multiple client windows form application using Visual Basic Express 2005.

I was wondering if there was a way that I could debug multiple instances of the client at the same time?Ashray Lavsi If my post answers your Question, don't forget to "Mark it as Answer"

View 6 Replies

Visual Basic 2008 Express Edition Application Does Not Work On Windows XP Machines

Jun 23, 2010

I have a Visual Basic 2008 Express Edition application that operates as a front end for iSeries V6r1. The application was developed on a windows 7 machine. Users load the application from a shared folder on a server. Currently, there are 2 Vista, 3 windows 7 and 4 XP users. All had no problem in loading application, all users except 3 of 4 XP users can run the application with no problems. However, 3 of the XP users receive the following error message when they perform any action that tries to connect to the iSeries:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

All 4 XP users are on same service pack

View 8 Replies

Programming Login - Developing A Windows Application Using Visual Basic 2008 With A SQL Server Database

Feb 26, 2011

Iam developing a Windows application using Visual Basic 2008 with a SQL Server database. Throughout the program I give the user as many options as possible and have no problem with either the database or the windows forms. The program does not initially require a Login and I want toprovide the User with the opportunity to add a Login to the system. The default Login form is perfectly satisfactory.

The problem is that I can't figure out how to program the change sothat the Login from isopens the program rather then th form designated as the StartUp form. this forum I am able to prgrammatically change the form but I can't figure out how to make the requirement a permanent factor. I tried using a Constant, but if the User wants to change, you can't change the constant. Its an apparantly simple yes/no situation but if I set a varable to yes and then change it to no the next time the program runs, the change will be lost.

View 6 Replies

Installing Visual Studios 2010 - Windows

Dec 23, 2011

when I try to install it, after it extracts all of the needed temp files, it throws this error, and stops there..."windows cannot find 'C:users*my username*appdatalocal empSIT19120.tmpsetup.exe' make sure you typed the name correctly and then try again."anyone know what the heck I need to do to get this fixed...nothing has changed, not even the file location of the installation files...nothing..also, I just found out, the temp file's name is changed each time I try to run the setup application...

View 2 Replies

Installing An Application On A Windows 7 Machine?

Sep 1, 2011

We are using a Windows 7 virtual machine as a testing platform for our VB 6 application. Th application utilizes an Access database.The application locates the database by looking at a configuration (ini) file.When I install the application on the virtual machine, it places a database where InstallShield directs it to and writes that path to the ini file. All well and good.However,somehow a second copy of the database is created in a user local folder.

If the user uses the "run as administrator" option, the application uses the database that is in the location designated in the ini file and that works fine. But if the user does not select the "run as administrator" option, the application apparently somehow attempts to use the local database and is unable to locate it.

Is this behavior is peculiar to the virtual machine, or is it something we need to be concerned about on "real" Windows 7 systems?If it is peculiar to the virtual machine, is there some way to get the virtual machine to behave more normally?

View 6 Replies

Make Autorun Setup For Win Application Visual Studio To Installing Sql Server And .net Framework?

Jun 18, 2011

how to make Autorun installing for win Applicatin Visual studio that installing .net framework and sql server or all needed?

View 1 Replies

Installing An Application Developed In VB6 That Accesses SQL Server On Windows 7?

Dec 9, 2010

There are problems installing an application developed in VB6 that accesses SQL Server on Windows 7?

View 1 Replies

Send An Application To The System Tray With Visual Basic In Visual Studio 2008 Professional?

Sep 26, 2009

I have Visual Studio 2008 Professional and I'm trying to make it so I can click a button to send the application to the System Tray and then click the icon in the System Tray to make the application come back.

Can anyone provide me a method or sample code to do this?

View 8 Replies

Send A Short String From A Visual Basic Application To A Delphi Application?

Apr 5, 2011

I need to send a short string, (less than 30 bytes, but sent every second), from one VB application, to a Delphi application.. is this possible, using CopyDataStruct, WM_COPYDATA and SendMessage functions in Windows?

View 1 Replies

Get Windows Version In Visual Basic 2010

Oct 19, 2010

How can I find the OS using Visual Basic 2010? It does not seems to recognize any of the old commands like GetVersionEx etc.

I am looking to find out the Windows Version, Build, 32 or 64 bit, RAM, Processor and Manufacturer.

View 2 Replies

Run Visual Basic Or C# Applications On Windows Mobile 6.5?

Jul 12, 2010

i want to buy a phone thats running on windows mobile 6.5 (htc touch2) and i want to run visual basic applications on it. i don't know how i can run them , is it possible ? ive started to learn c# to. Is it possible to run applications made in visual basic or c# ? if i can , how do i run them

if i can't what phone should i use ( android driven phone maybe?)

View 2 Replies

.net - Embedding A DOS Console In A Windows Form With Visual Basic

Jan 12, 2012

I've managed to find from other questions some data that allows me to achieve the next code:

Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("user32.dll")> _

[Code]....

My problem is that I can't manage to find the DOS console window.

The question in C# Embedding a DOS console in a windows form

View 1 Replies

Closing/Exiting DOS Windows Visual Basic 2008?

Jun 24, 2009

after running what i wanted in the DOS command prompt with:

System.Diagnostics.Process.Start("cmd.exe","/C C:gds2asc.exe C: emp.gds C: emp.txt")

How do i exit or close the command prompt window?

View 2 Replies

Console Window In Windows Forum In Visual Basic

Jul 14, 2011

How would i run a batch file and instead of opening a DoS window and showing the text in a Textbox or Richtextbox... And if i can do that, how would i make another textbox that issues commands to said batch file

View 11 Replies

Make A Metro App Using VS11 On Windows 8 CP Using Visual Basic?

May 12, 2012

I'm trying to make a Metro app using VS11 on Windows 8 CP using Visual Basic. the usual "Default object" setting in the settings for the application is grayed out. How exactly are you supposed to set the default form now?

View 1 Replies

Use Visual Basic To Make Activex Control For Windows CE?

Mar 26, 2012

how to use visual basic to make web activex control for windows CE ?

View 1 Replies

Visual Basic Code Be Inserted In A Windows Form?

Apr 9, 2012

I have read a few chapters, and researched a few websites but none of which fulfil my question, which is where should I put this If statement

Public LoginName As String
Public Password As String
LoginName = txtUserName.Text
Password = txtPassword.Text

[Code]...

The idea is once the user has finished inputting text into both text-boxes the image on the button changes from a no-go to a green-submit button but unsure what declaration it would go under and which element. I have tried several form elements and declarations but not having the desired effect that I would like

View 3 Replies

Where To Find Microsoft Windows CE Toolkit For Visual Basic 6.0

May 30, 2012

I'm a having hard time finding Microsoft Windows CE Toolkit for Visual Basic 6.0 for download. I have a msdn subscription but it's not available. The Toolkit for Vb6 is too old to be still part of the MSDN subscriptions I guess.

View 10 Replies

Written In Visual Basic 2005 And Running On Windows XP SP3?

Jan 4, 2011

I hope someone can help with a very frustrating problem I'm trying to solve in one of our Windows Forms apps written in Visual Basic 2005 and running on Windows XP SP3.

The app is essentially quite simple in concept but there is lots of code and data, however, the problem does show itself consistently. The app does the following:

1) Startup

2) Choose Access database to load data from

3) Load the data into memory as a series of collections of objects

4) Do lots of number crunching

5) Fails when entering a particular sub for the first time with an Access Violation Exception

The most difficult aspect of this problem is it only shows itself when compiled in Release mode. It doesn't show itself when running in Debug mode either within Visual Studio or running outside Visual Studio. I assume this is due to the extra 'padding' in a debug exe which is masking the effect of bad code causing the error. The problem is made worse in that the 'standard' build target machine where the problem shows itself only has a copy of Visual Basic 2005 Express so as a result I have been debugging the app at runtime using WinDbg which is tricky but sort of fun (for a nerd!).

I have read / researched extensively on the internet for solutions and as a result have tried the following but all without success:

a) checked for any badly declared DLLs (p/invoke) but the app doesn't use a single one.

b) checked for any COM references / interop. There were two references which were rarely used so I removed them and commented out the code that referenced them but the exception was still raised.

c) I've tried adding my own trace code in the problem area and the line prior to calling the Sub runs but the first line of the Sub never executes due to the Access Violation exception being raised.

d) I have used WinDbg to set breakpoints around the problem area at runtime which has confirmed 'c' above that the sub never executes.

e) I have used WinDbg to double check the addresses of the parameters passed into the Sub are correct as they seem to correctly point to the same address as the local / module level variable that was passed in.

f) I have checked all of the extensive data loading is not eg leaving DataReader objects open etc.

g) I have tried compiling the code in VS 2008 on a different machine targeting the 2.0 framework but the bug still showed itself.

View 18 Replies

Debugging Application In Visual Basic?

Apr 27, 2011

my code is giving me a serious problems i thought my code has worked prefectly but theresulting valuesare not corresponding with the typed sentences in the text box .i thought when i had trimmed my sentences the code would work but thatis not the case now .i am requesting full assitance with my code is displayed here:

Dim txtInput
As
String =

[code].....

View 8 Replies

Getting Visual Basic To Run External Application?

Dec 10, 2009

I'm a complete beginner to Visual Basic & am hoping to get a solution here.(VB version = Microsoft Visual Basic 2008 Express Edition)I'm trying to use VB to construct a GUI that runs an external application w/ arguments. The actual app is a DB builder that takes 3 arguments:

- a working directory ( flag = -d )
- an output directory ( flag = -o )
- an input text file

When I run the application from a DOS window it works fine as follows:

[Code]...

View 1 Replies

IDE :: How To Exit Application In Visual Basic

Jun 22, 2010

How to Exit Application in Visual Basic

View 2 Replies

Keystrokes In Visual Basic Application?

Dec 9, 2011

I am looking for some tip on how to send keystroke of a mouse button click. Basically my requirement is when a list box is dropped it shows a datagrid, right now user has to click 2 times to get focus on datagrid, although i send a focus on datagrid when list is dropped from dropdown event still the focus stays on list box, i have to click 1 time to release focus from listbox then click on datagrid to set focus. I like to automate this 2 clicks with a keystroke. I dont see any mouse button click keystrokes.

View 4 Replies

Web Enable A Visual Basic Application?

Feb 3, 2010

How do I go about enabling web features in my application? I'm wanting to put in a title in my application send it to imbd.com and scrape the site for the results to display in my application. Can anyone direct me to a tutorial or simply tell me how to go about implementing this type of feature?

View 2 Replies

Zip A File With Visual Basic Application?

Oct 24, 2011

What is the best way to zip a file with my visual basic application?

View 2 Replies

Run A Visual Basic 2008 Express Program At Windows 7 Startup

Mar 15, 2012

I am trying to get my program to run at windows startup. Not just load the VB project but to run it.

So that the user just turns on the computer and the project is up and running.

I have seen and tried lots of code suggestions (all different) none seem to work!

View 6 Replies

Visual Basic 2010 Debus Stops In Windows 7 64bit

Feb 17, 2011

After starting debug te program hangup. Moost of te time if DataGridViewLijsten_RowHeaderMouseClick is called. Using pause butten the program is almoost in the random routine.

[Code]....

View 1 Replies







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