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


ADVERTISEMENT

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

Username And Password Storage Location

Apr 18, 2011

I am writing a program in vb.net that requires a user to log in before he can use the application. The main user is created when the program is installed, similar to how windows works when it is installed.

The main user can add additional users to the program. I already know that I should store the passwords encrypted. My question is, where should I store the usernames and passwords? The registry, Isolated storage or .config file. I don't want any user to be able to modify/delete that file as the other user would obviously not be able to log in. Also, this file should be accessible for any user that logs into the computer.The computer is not guaranteed to be connected to the internet, so it must be stored locally.

View 2 Replies

.net - VB In Program Information Storage?

Oct 7, 2011

I'm making an installer that needs to have information stored inside the exe itself.I cannot use my.settings because it is stored outside the application and if it is changed and the exe is moved to another computer it will reset to default.

And I cannot use resources since I cannot add/edit resources after the application is build.

Is there any way I can store and change info even if the application is moved to another location?

View 1 Replies

Write A Recipe Storage Program For Personal Use?

Oct 10, 2009

I am planning to write a recipe storage program for personal use. I know what I want to do, but I am not perfectly clear on the most efficient way to do it. I am using SQL server 2005 and I am comfortable writing stored procedures. This is one of my first vb.net projects and I am still getting comfortable with ADO.net.What I want to do is create a form that can handle an list of ingredients of an unknown number.

The form will also accept a cooking procedure of an unknown number of steps. Each step will be written by the user into Rich Text boxes (vb 6 term?)I am planning to use combo boxes to select ingredients from a list or add new ingredients as needed. I also want to eliminate duplicates in the ingredients table of the sql 2005 db. I am looking for the most efficient method to save all the parts of a recipe to the database. saving a recipe will require dozens of database hits and therefore be unacceptably slow.

View 1 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

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

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

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

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

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

File I/O And Registry - File Storage - Where The Best Place To Keep Files For A Program

Jun 2, 2009

Looking for an idea of where the best place to keep files for a program. I use them frequently and they interact with the program directly. I want to place them in a place where they won't be easy to find if someone is just cruising thru the directories. Any ideas?

View 7 Replies

Make A Program With A Button That Will Run .exe That Is In Same Location As Program

Oct 4, 2009

I am new the Visual Basic and just downloaded 2008, and I am wanting to make a program with a button that will run a .exe that is in the same location as the program/

View 2 Replies

Get The Location Of Program?

Jun 22, 2010

what is the code to be put in your program such that your program could show its location?

View 2 Replies

.net - Moving Program To A Location?

Jul 8, 2011

How could I move my VB.NET application to a folder using VB.NET in the same file? Essentially, I want to be able to move my VB.NET application to the Start folder when it is executed (within the same application). Also, I want to be able to move it to the same folder on any computer, for there is no set path to the Start folder on different computers. Or I would like to just create a shortcut for my application in the start folder?

View 2 Replies

"Nominal Storage Allocation" In The Context Of Primitive Data Type Allocation Size?

Jul 30, 2011

Looking at this table describing the data types in VB.One of the columns is labeled "Nominal storage allocation". What does this mean? Why is the word "nominal" here?

View 2 Replies

C# - Program Installation - With The Default Location?

Feb 18, 2012

I'm a beginner. I recently developed an application in C#. Now I wanna develop its setup. I read a few articles online, followed them, found it very easy. I also changed the default location of application folder from C:Program Files to C:. My application folder is containing a few folders besides exe and dlls which I added manually.

Now here the problem starts, when I install the application and change the location say from c: to d:, my files (all files including exe and dll) are going to user's given location. But my folders (all folders in application folder) are going to c: (which is default location given while creating setup). But I want output files and that folders at same location

View 1 Replies

Create A Program Which Allow To Copy Xx To Another Location?

Apr 12, 2011

I need to create a program which allow me to copy xx to another location. The hard part was it need to be start and running all the time (when start up Window) and only trigger to copy when certain condition was meet, - when the program detected certain string in the xx, like "end file"only it will trigger the copying and renaming process.

View 1 Replies

Get Location Of A 3rd Party Application With Program?

Jul 22, 2009

I am trying to write an application that will get the X and Y coordinates of a 3rd party application like Notepad or Word in VB.NET, but I am unsure how to accomplish this. I know some VB.NET but I am still a novice.

View 7 Replies

How To Change Update Location Of Program

Apr 27, 2010

An update to my program has been downloaded to a particular folder. The code recognizes that the file is there
(i.e. "If IO.File.Exists(My.Application.Info.DirectoryPath & "UpdatesPQCM.exe) Then),
Sets the update location to that file and initiates the click-once update subroutine. Problem, I don't know how this update feature can be modified this way in run-time. I would set the update location using the solution properties but this program may exist anywhere on the hard drive, or even on a thumb drive (as per its design).

View 7 Replies

How To Find Start Location Of Program

Feb 18, 2011

How to find start location of program VB.NET???

View 1 Replies

Program Duplicate Part Of Itself In Another Location

Feb 16, 2011

ok so i have done some searching and i can't seem to find any topics on this subject maybe im not searching for the right topic but here is my problem maybe someone could give me some advise: im writing a program that has a "main" .exe on any system. it will run and do what i am asking it to so far but my problem is i need it to generate a copy of only a portion of itself it has to generate a form and a login form to export in any specified location for transfer and travel and make it "run-able" without the main being present

[Code]...

View 1 Replies

Set Exact Location Of Cursor In Program?

Mar 19, 2009

How to set the exact location of the cursor in vb.net?

what i want to do: when form1 loads the cursor position is automatically set to the position (1680; 1050)

View 3 Replies

Load In Image / File From Location Of Program?

Sep 7, 2009

If I create an array of bitmaps, something like Dim PictureArray(10) as New Bitmap..How do I then load my pictures into the array? If I try Picture Array(1) = "("c:image.bmp") I get an error.Also, can someone remind me of how I load in an image/file from the location of my program? Do I just use ("image.bmp") or do I need to specify curdir or something?

View 15 Replies

Setting Form Location Property Within Program?

Feb 9, 2010

I have a single form that I would like to move across the screen with my VB program. Of course it's simple to set the location X and Y property for compile time using the properties tab, but I want the form to move as the program runschanging the coordinates within a for-next loop.I can easily get the X and Y coordinates of the form within my program by using X = me.location where X has been dimmed as type point.console.writeline(X) will appear as {X=20, Y=40}. for example

View 2 Replies

VS 2010 Why Install Program Or Run From Published Location

Mar 1, 2012

In the past I have written VB6 and VB NET 2005 programs that are installed and on the user's computer. This had to be done because the salesmen in our company have has a set of local data on their laptops so that they could do work and not be connected to our network. I would then sync the files when they connected to the network. (This same program is used by the rest of the company as well, but everyone else uses network data.)We are now at the point where we are not using any local data. Our salesmen access our network data using an iPad, VPN, and a Citrix server, which works fine

View 2 Replies

Display Html File At Anchor Location With Program?

Jan 20, 2010

I'm trying to open up an html file (with explorer) and navigate to a specific anchor location. The user should just see the file open up at the anchor's position. It's a local html document, not on the web, if that makes any difference. How can I do this in Visual Basic 2008?

So far I've been opening html files with Process.Start(filename) or Shell(filename, "explorer.exe", etc), but that doesn't seem to work with the additional html anchor tag (#anchorname) at the end of the file name. Also I've looked at webbrowser control, but as near I can tell that is more for editing html files.

View 2 Replies

VS 2010 Move Mouse To A Pixel Location Of A Program?

Mar 10, 2012

How can I move the mouse to a pixel location of a program?[code]I know it doesn't work, but I'm trying to make it easier to understand what I'm trying to do.

View 5 Replies

IDE :: Specify Location Where Data File Will Be Placed?

Aug 11, 2011

I am currently developing a Windows Service in VB 2010. The service depends on two binary files and one text data file that contain connection information for the app. At this time I have an installer setup with the service so that when I build the service and then the installer I get a setup.exe and MSI file.

I added the three additional files to the installer project and notice that they get placed in the application folder, that is, in the same folder as the application, when the setup app is run. For the two binary file this is ok and actually required, but
I would like the data file to go into the docs and settings, <user name>, Applications Data, <AppName> folder, NOT the Application folder as it defaults to. The Folder property in the properties dialog box for the data file allows me to select Application Folder, User Desktop or User Program Menu as the location of the file on the target machine, but none that will let me select where I want the file to go.

Is there any way to tell the installer where I want the data file to go? Since the installer itself is a project with code, perhaps I can add code to manually create the data folder for the application and then copy the data file from the application folder
to the data folder, but I am not sure of this.

View 7 Replies







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