Vista (and Windows 7?) Data Storage

Oct 19, 2009

I have and application written that works great on XP. It is VB.Net 2008, using .net 3.5. I install and Access database to the program file directory. In Vista, I get an error that is permissions related as even admins don't have default write permissions to the Program Files directory and access creates a .ldb file when in use. To solve this, I have had the users give themselves permission to the folder.

Is that the best solution? If not, where should data be stored in Vista and in Windows 7? Also, I have an update feature of my software that will download updates to the program files folder. Is this out, too?

View 20 Replies


ADVERTISEMENT

Using .NET Save Data In Access On A Windows Vista Platform?

Jul 1, 2010

We have developed an application using Visual Basic .NET as the front end and Microsoft Access as the back end. If we run the application on Windows XP we can write records to the database but when we run it on Vista it does not write records to the database.

View 2 Replies

What Is The Syntax For The Windows XP / Vista Application Data Folder

May 20, 2009

What is the syntax for the windows XP/Vista Application Data folder When i use

[Code]...

View 1 Replies

Isolated Storage For Log File On XP And Windows 7

Sep 10, 2010

I'm restricted to .Net 3.5 so I can't use isolatedstorage.getfilenames() as in .NET 4. What I have below isn't working yet. I do get to the messageBox included in the code below but I can't find the file "IST_Log.txt" anywhere on Windows XP where I ran the program. I saw the messagebox appear 3 times meaning AppendLog was being called. What do I need to do to write this file on either XP or Windows 7?

Public Sub appendLog(ByVal message As [String])
' Get the isolated store for this assembly
Dim isf As IsolatedStorageFile = IsolatedStorageFile.GetUserStoreForAssembly()
Dim format As String = "MM/dd/yyyy HH:mm:ss.fff"
Dim isfs1 As IsolatedStorageFileStream
[Code] .....

View 5 Replies

Windows Azure Storage In VB: Not Running In A Hosted Service Or The Development Fabric?

Sep 4, 2010

I'm trying to run an instance of the Azure Blob Storage in the Azure Visual Studio 2010 development environment, but keep getting the followingrror:System.InvalidOperationException: Not running in a hosted service or the Development Fabric.The stack trace is pointing to these lines:

Imports Microsoft.WindowsAzure
Imports Microsoft.WindowsAzure.Diagnostics
Imports Microsoft.WindowsAzure.StorageClient

[code].....

View 2 Replies

Using A WAV File As The Input To The Windows Speech Recognition Software On Machine (Windows Vista)?

Nov 1, 2010

Could anyone provide me with sample code for using a WAV file as the input to the Windows speech recognition software on my machine (Windows Vista)?

View 3 Replies

Change The Background Of The Form To Look Like That Of Windows Mobility Center In Windows Vista?

Apr 10, 2012

How can I change the background of my form to look like that of Windows Mobility Center in Windows Vista?

View 2 Replies

Will An Program Built On Windows 7 Using Vs 2008 Or 2005 Have The Compatibility With Windows Xp Or Vista

Nov 15, 2009

will an program built on windows 7 using vs 2008 or 2005 have the compatibility with windows xp or vista

View 5 Replies

Cannot Upgrade From Windows Vista To Windows 7, Internet Explorer Freezing?

Nov 11, 2009

nothing

View 2 Replies

VS 2005 Piracy Protection Mechanism And Windows Vista Or Windows 7

Apr 19, 2010

i have created some shareware applications. I implemented the following mechanism for piracy protection. Before Windows Vista and Windows 7 i did write a dll file to the System32 folder with an encrypted license key. Also in the Registry under HKEY_LOCAL_MACHINE i inserted a registry key.

The problem is that with Windows Vista and Windows 7 due to the User Account Control (UAC) this is denied.

I want to ask : what other mechanism can be implemented ? Where should i store the encrypted key file and the registry key.

I want that the application can be installed for all users of a computer only once.
If i stored the key in the user's application data directory then another user could easily just install it under another user account. Also i do not want to put the key file in the application directory because that would be too obvious.

note that i create the registry key with my application and not with the installer.

View 2 Replies

Process.start In Service: Windows 7 Vs Windows Vista

May 18, 2012

I'm printing pdf files via the below code in a service. In Windows 7 this works really well, In Windows Vista, nothing happens at all? What am I doing wrong?

[Code]...

View 3 Replies

How To Create Dynamic Storage Of Data

Jan 26, 2012

I'm a junior VB programmer and looking for some advice on this subject. I'm trying to create a chunk of code that will create dynamic storage for variables for use later by dynamic custom controls.

For example:
An INI file might have an entry in it that looks something this:
....
[var1] <-- this becomes the Storage name
description=My Variable
type=System.Int32 <-- this could be any valid VB type
last_val=456 <-- Other code would save the last value
....

And I want to access the data using a standard "property set" like so after it's created:
var1_reference.value = 55
I've tried using a generic class which works ok as long as I declare the variables at design time from within the design environment. But when I try to create them from the INI file it gets messy.

Here's the simple generic class i've constructed to test this:
Public Class GenericVar(Of T)
'
' Generic Symbol Class for data storage
'
Private VarName As String
Private VarType As Type
[Code] .....

Also, as each object is created (and they could be different types) I store a reference in an array to make it easier to keep track of, but I'm having a hard time getting access to the objects and their properties, and certainly cant seem to assign an event handler to it once its in an arraylist because the design time code doesn't know what "Type" it is in the arraylist of objects.

View 2 Replies

Program Data Storage Location?

Dec 2, 2011

Where should I store my programs user data so no one will have trouble accessing it?

View 2 Replies

Whether Using XML Database For Data Storage Is Safe Enough

Mar 4, 2011

Whether using XML database for data storage is safe enough? because I wanted to branch using an XML database and then she sends the data to the center. and then the data is in process at the center and then incorporated into the database server

View 4 Replies

Debugging Difference Between Windows Vista And Windows 7

Jul 2, 2010

I develop applications in Visual Basic.NET (Visual Studio 2005) for a long time on Windows Vista without problem.

Now, I'm changing my laptop, and the new has installed the Windows 7. So, I reinstalled VS 2005, taking care to install the Vista compatibility. Thus, the version of my current VS 2005 is 8.0.50727.867 (vsvista.050727-8600) SP2. And that is my problem.

When I ran the application in debug mode (F5) on Windows Vista, a windows appeared whenever there was an error, like below:

Now, on Windows 7, the application just shows a exception message in the Immediate Windows, don't showing any error window, continuing the application execution, as below:

View 3 Replies

Debugging Difference Between Windows Vista E Windows 7

Jul 2, 2010

I develop applications in Visual Basic.NET (Visual Studio 2005) for a long time on Windows Vista without problem.Now, I'm changing my laptop, and the new has installed the Windows 7. So, I reinstalled VS 2005, taking care to install the Vista compatibility. Thus, the version of my current VS 2005 is 8.0.50727.867 (vsvista.050727-8600) SP2. And that is my problem.When I ran the application in debug mode (F5) on Windows Vista, a windows appeared whenever there was an error, like below: Now, on Windows 7, the application just shows a exception message in the Immediate Windows, don't showing any error window, continuing the application execution, as below [code]

View 2 Replies

Excel App That Will Not Work On Windows Vista And Will On Windows XP Pro

Feb 5, 2011

I have a program that works in Windows XP Pro, Visual Basic 2005 and Excel 2007 that does not work in Windows Vista, Visual Basic 2005 and Excel 2007.The program takes Excel data from an already opened Workbook on the desktop and moves it to the Visual Basic program.The error occurs when I try to open the Excel Application in Visual Basic:[code]Is there a different code to define an Application in Vista?The "Open" Application will not work on a Excel App already on the desktop.

View 1 Replies

DB/Reporting - Best Practice For Jagged Data Storage

Jun 10, 2009

say you have a database that you want to store 100 different recipes in. Out of that 100 recipes 20 have 5 ingredients, 30 have 7 ingredients, 30 have 4 ingredients and 20 have 6 ingredients. So what's the best practice for storing an unknown number of items in a database?

Currently what I am doing in these situations is storing them in a single field in a database separated by a comma. Then when I have to retrieve them I split them by the comma into an array. This doesn't seem right to me but I haven't noticed an impact on speed or efficiency, so what would be the best practice to handle this situation?

View 2 Replies

DB/Reporting :: Use DataSet For Local Data Storage?

Mar 22, 2009

I need a simple method for a user to enter as many rows of data as they wish (probably won't exceed 50 in most cases and that's pushing it) and then store that data for retrieving the next time they want to reuse that list. I will also need to read the rows in for manipulating text in a file with those entries.

Would the best method to be to use the DataSet in VB Express 2008 and then use the DataGridView for allowing the display and entry of the data?

View 1 Replies

Dynamic Data Storage Without Seperate Database Program?

Jun 5, 2010

I'm relatively new to the vb.net framework and object oriented programming. After perusing the threads for a few hours I can't quite find an answer so I'm posting this thread. I'm not necessarily looking for code examples. I just want to know if it's possible and where to look next. Basically I'm trying to build a starter application that will help me learn programming. One of the main things I want to do is to be able to dynamically (at run time) create a set of information (data) that can be manipulated via a set of static (and/or dynamic) functions/calculations. The reason I need it to be dynamic is because even though this program is really just for my own fun and perusal on my own machine (and I want it to be able to run without any outside connections (i.e. databases or servers) the data itself is going to be location (i.e.State of residence or even city) specific. Essentially most of the data will be numerical and can be of the integer type. But I'd like to be able to adjust and create new data sets if desired. From everything I've read and researched I haven't found a way to do this (at least now without an excessive amount of coding that is above my expertise). So I want to know if there is a way to do this that is relatively simple.

View 2 Replies

VS 2008 Compile On Vista For Vista Work Fine But On Vista For Xp NO

May 30, 2009

i compile my form with the below code when i run it on vista work fine without any problem but when i try to run in on XP cant run... that happened with any XP machine.[code]when i run my exe to other Vista machines work fine... but on xp NO.

View 1 Replies

DB/Reporting :: Searching For More Effective Data Storage For Quick Access?

May 12, 2008

I am quite green to VB .NET and it start occuring to me that I am doing things probably in a very ineffective way.Anyway here is the problem I have datasets, consisting of integers there is set 1 which is of format ID, ID2 - ID here is unique but different ID can refer to same ID2. Before I start reading in the data I have unknown number of these entries (ID and ID2 can be at least as high as 99999999)

Then I have a second data set of format ID2 here is the same as in the set 1 and it can contain several PID entries (all integers). In this set the ID2 is unique and again for one ID2 there can be unknown amount of these PIDs, same PID can occur more than once.

[Code]...

View 17 Replies

Cannot Upgrade From Windows Vista To Windows 7

Oct 31, 2010

Cannot upgrade from Windows Vista to Windows 7

View 1 Replies

Data Storage Methods (access/sql Etc) Require The End User To Download Extra Files?

Mar 3, 2012

I'm just getting started with Visual Studio (2005), and my aim is to write a fairly simple application in Visual Basic that will need to store some data to disk.What I really want is to be able to send the application to the end users (xp, vista, win7) and have them just be able to use it without having down download all kinds of extras. For example I'm guessing that if I use an SQL database in my application they will need to download SQl server express or some other sql downloadable?

If so is there a similar downloadable for MS Access?I'm just in the 'seeing how things work' stage at the moment and I don't want to waste time going down the SQL track just to find it won't actually work unless my users all download SQL to their machines (which they won't want to do).

View 4 Replies

Application Does Not Run On Windows Vista/7?

May 3, 2010

I have recently developed an aplication in XP that it works on XP nice but in vista or seven don't work at all. It gives a message when I try to enter the application like " The program cannot run.."

View 9 Replies

Check If Windows Being Run Is Vista Or XP?

Sep 25, 2010

How to check if windows being run is Vista or XP

View 1 Replies

Get Windows Serial For XP, Vista And Seven?

Jun 27, 2010

I'm retrieving Windows XP license key with this function but it does not work for Vista and Seven. How can I get the license key at both of these Windows versions?

Public Function sGetXPKey() As String
Dim result As String = String.Empty
Dim RegKey As RegistryKey = _

[code].....

View 1 Replies

Getting Windows Vista Error

Sep 17, 2009

I have an application that works fine on Windows XP. However I have taken the same application and made some modifications to it to run on vista the app loads fine etc.

the problem stems from trying to change a service in the registry under HKEY_LOCAL_MACHINESystemCurrentControlSetServicesDiagnostic Service Host

Start = 4 instead of 3 (which is what it is currently set to)

when the program tries to change it I get a dialog box with the information below. How can I makes the changes to the registry without getting these kinds of errors. I tried to get the Framework configuration tool but it talks about XP and Windows 2000 for VB.Net 2005 so I am not sure what to do... I should mention I have only been programming for a month...

Error details:

"Application attempted to perform an operation not allowed by the security policy. To grant this application the reuired permission contact your system administrator or use the Microsoft .NET Framework configuration tool. [code]...

View 7 Replies

Running An App On Vista/windows 7/xp?

May 24, 2010

I created an app that connects to an SqlCe database. it runs fine on my computer (xp) but when i try to run it on other computers, it crashes (on xp machine, the error is : OS error: the OS storage system is not responding, on windows 7 the error is: Access to the database file is not allowed).

On windows 7, if i right click the exe and run as administrator, it runs fine. But, i can't expect my users to do this every time they want to run my app.

View 4 Replies

Windows 7 Ribbon For XP And Vista?

Sep 20, 2009

Windows 7 ribbon for XP and Vista?

View 1 Replies







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