Store String Information In Exe?

May 14, 2009

I want to store some string information in my application exe. The information should not be lost in when the application is closed or restarted. It should be like editing a text file in application resources.

View 14 Replies


ADVERTISEMENT

Copy Information And Store It In A String?

Jun 21, 2010

I was wondering how you can copy information (from a webpage, for example) and store it in a string?Also, how would I take only one word of the string if there are spaces between words and I will always be removing the word with the same location in the string (for example, the last word in string).

View 1 Replies

Store Whole Numbers And That A String Is A Varialbe Used To Store Any Text?

Feb 19, 2009

i know that integer is a variable to store whole numbers and that a string is a varialbe used to store any text, but what variable type would you use to store a number that has decimals?

View 7 Replies

Can Store Confidential User Information

Aug 7, 2011

I am trying to store confidential encrypted user information for my program on a single computer. I do not want the application to be copied on to another computer and be usable. So I was thinking about storing the information in the Registry but I read that that is a very unsafe location and is bad for more reasons then one. I started storing the information in the programs Settings.config file but I am not sure how to encrypt that information. The only thing I have gotten to work so far is storing the information in a XML file and encrypting that which has worked but I want the information to be more hidden and more secured.

View 9 Replies

Store Information In And Parse Using Streamreader?

Sep 7, 2011

I have a config file that I store information in and parse using streamreader. For example..

configfile.txt TEMPLATE NAME: mytemplatename TEMPLATEDIRECTORYPATH: C:TEMPWOOF.TXT

I had been doing a split function after the ":" but, that doesn't turn out so good once you add in file paths. I have turned to trying to grab the first ":" from the left using the "InStr" function which returns the char integer. I need a way to grab all the information on that line after the first ":".

View 4 Replies

Where Should Store Configuration Information In ASP.NET Application

Apr 23, 2009

I have an ASP.NET application. It resides within another ASP.NET application. I put my DLL in the other apps bin folder and have a subdirectory with my aspx files. I can't edit the main app's Web.config.

So where can I store configuration settings? For example, this is an app that will get deployed to various clients. I want to store the client name used for display in the headers and such. And the location of a logo file.

View 3 Replies

Where To Store The SQL Database Login Information In .NET

Mar 11, 2009

I am new to development and I am looking for some pointers. I have a sql 2000 database and a vb.net app. Right now the SQL username and password to connect to the database is stored in the VB application which is not convenient since we must change the password periodically. The user opens the app and enters the username and password for the vb application. Using the credentials stored in the application to connect to the sql server, the app checks the username and password stored in a user table in the database to determine if they are allowed to connect or not. For various reasons, it is not feasible to simply have the application username and password be the same as the database username and password. We must have only one database username and password and it must be changeable. Like I said, it is now stored in the compiled application which is inconvenient.

View 1 Replies

[2008] How To Store Information In ListBox

Jan 10, 2009

This is kind of hard to explain... I would like to create a listbox, that holds items, and those items store data. Ill try to explain with this picture below. The code I have now is
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

[Code]...

View 2 Replies

[2008] Store Information In ListBox?

Mar 24, 2010

I would like to create a listbox, that holds items, and those items store data.Ill try to explain with this picture below.The code I have now is

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
ListBox1.Items.Add(TextBox2.Text)
End Sub

How do I add information to the item that gets added to the ListBox?(My Button three is the Add to List button)

View 2 Replies

IENumerable And Tiles - Store The Information Of Each Tile?

Feb 1, 2010

While trying to find an answer to my question, I came across a project called OTSe, which allows people to make they're own online 2d online games. The system is based on an open X, Y, Z square tile map. For the sake of easy understanding, lets say they're are 3 types of tiles. Tiles you CANNOT walk on, tiles you CAN walk on, and tiles that SLOW YOU'RE CHARACTER DOWN.The project team has created a API class for users to work with in order to develop tools. What I'm trying to do, using they're classes, is GET the all the tiles on the current floor I am walking on, and then display them in a tile grid on my form, changing they're color depending on what type of tile they are. If the tile is NOT WALKABLE, make the tile gray, if the tile IS WALKABLE, make the tile brown, and if the tile SLOWS YOU DOWN, make the tile red. I also need it to store the information of each tile, since tiles are objects, and have properties.

[code]...

View 1 Replies

Store Information In Excel With Express Edition?

May 30, 2010

In my application I want the user to enter information that can be stored in BOTH an SQL database and and Excel spreadsheet. I tried research but can't find the code to include or import Excel
into my project.I've seen examples like:

Dim excelApp As New Excel.Application
Dim excelWB As New Excel.Workbook
etc....

but VB doesn't recognize it as a shared namespace. Is it possible to load a spreadsheet into a VB project with express edition?

View 2 Replies

Store User And Password Information Into The Application

Jan 8, 2011

I'm trying to make a application with a login system. I want to store user and password information, into the application. So I can access it from my administrator account. I have tried to make a textbox for every username and password,And then save it into my.settings And then I run the finished application, it works fine to store the information. but if I copy the application after I had entered some user/pass information. All textboxes I blank on the other computer.

View 4 Replies

VS 2008 Store Information From A Form Before It Is Cleared?

May 18, 2010

I am looking for information on how to store information that has been entered into an application form before it is cleared for new information. I would like to store it with a date and time stamp if possible.

View 2 Replies

How To Store Current User Information, Security, And Preferences

Aug 20, 2009

I need to have the ability to have a Global variable/class that stores some basic information about the currently logged in user including that user's preferences, security rights, UserID, etc. This information will be needed by any/every part of my application. In the past I have either used a Public variable/class in a vb.net module for this purpose. I'm trying to get away from my old ways of doing things and was curious what people currently do for this functionality.

I am thinking a singleton or 2 regarding preferences and security but am not sure if that is the best way to go.

EDIT: I asked this when I was too sleepy last night. This is an n-Tier WinForms application.

View 2 Replies

Store Paragraphs Of Information, And Then Search For It Based On A Keyword?

Oct 13, 2010

I want to build an application using VB, that is essentially an information system.The operation of this system would be as follows:1. User can select one of several buttons, each button being a different topic.2. When a button is selected, information about that topic appears on the right hand side of the form.3. The system allows information to be added by a user So, for example, if a user clicked on the button named 'Banana', information about the banana would appear on the form, where the user could read this info, scroll down etc.I would also like the user to be able to search a specific word like 'apple' and for information on the apple to appear.How could I implement this? I don't know how I would store paragraphs of information, and then search for it based on a keyword.

View 1 Replies

VS 2010 Store Specific Information About User In A File?

Apr 27, 2012

I need to store specific information about a user in a file of some sort. Something like an old ini file?

I will need to save a file for each customer.

CustomerName
OrderDate
DeliveryDate

[Code]....

All things point to a database but for several reasons I can't use a database.

View 2 Replies

Display And Modify Retail Store Information Records From The Database

Dec 4, 2008

I am writing a VB 2008 program to display and update records from a sql database. This particular form is used to display and modify retail store information records from the database. I am running into an issue with saving the records once they have been changed.The error message I am getting is "Update requires a valid update command when passed DataRow collection with modified rows". I am including all of my code for the form because I am not sure what is relevant. I am getting the error when SaveTheEdit() is called on line 83. [code]

View 2 Replies

Make An Application Where Can Store A Lot Of Account Information In A File On Computer?

Jul 5, 2011

make a application where I can store a lot of account information in a file on my computer. This is how it works so far.I have a class called "AccountInfo" with some properties such as Account Name, Password, etc... This is bound to a DataGridView via a Bindingsource. So basicaly what I'm asking, is how can I save/load all these accounts in my computer easily in a file or something?

View 2 Replies

Capture Console Real Time Output And Store The Information In A Log File?

Jul 16, 2011

How can i capture my console real time output and store the information in a log file?

i know that i can write in the file when i write in the console window, there's got to be a better way... how can i capture the console's output stream?

I found that Console.OpenStandardOutput is a stream, but i can't read from it

Dim r As New StreamReader(Console.OpenStandardOutput)
MsgBox(r.ReadToEnd)
r.Close()
r = Nothing

View 9 Replies

Database - Where To Store Users' Information(personal Details - Username And Password) In Vb

Feb 16, 2011

I'm a newbie in visual basic. I'm doing a login system. I'm done with the GUI. but for the programming part, I want to know where to store new user's information along with the username and password. I've done research. seems like it has something to do with database. p/s: I'm looking for high security in storing data to prevent hacking.

View 1 Replies

Using A Collection : Store 3 Pieces Of Information For Each Employee In The Company On A Daily Basis?

Feb 27, 2006

I am trying to come up with a way to store 3 pieces of information for each employee in the company on a daily basis. So for instance

Day 1: Joe, 8, 80
Day 2: Sam, 10, 90
Day 3: Bill, 5, 40
Day 4: Bob, 8, 40
Day 5: Sue, 2, 50

most of the applications that I build are Create, Read, Update and Delete type applications that don't really need arrays so I have almost no experience with either.

VB
'
Dim iDays As Integer = NumberDaysPerMonth(Date.Now)
Dim DayNumber(iDays) As Integer

[code]....

View 19 Replies

VS 2010 Creating A Console Application That Will Create And Store Client Information As A .txt File?

Apr 24, 2012

Basically i am creating a console application that will create and store client information as a .txt file it is going okay but i have come across a slight hick up i want to use something on the lines of this .....

dim lastname as string
Do Until Integer.TryParse(Console.ReadLine(), LastName) = False
Console.WriteLine("Invalid input, Please try again")
Console.Write("LastName:-")

[code].....

this works fine to trap out numbers from letters but the problem i am getting is when the program calls uppon LastName it is recording 0 and wanted to know if there is a way of getting past this ..... so basically i need a way to allow letter but not numbers and symbols and then dispay a pernolised error message but at the same time use Stream writer to save was the answer is in a .txt file.

View 3 Replies

Store Textbox Information And Such From Visual Studio/basic 2010 Into Excel And Vice Versa?

Jun 10, 2011

The idea is that I have certain values stored in textboxes/listboxes and thus can I store the information in a spread sheet. And if I change the value in the spreadsheet can it also change the value in the application? I had one idea which was to make both store data in a txt file and read from that, but I'm not quite sure how to do that either.

View 1 Replies

Parse Live HTML From A Website And Extract Specific Information And Store It Into A Database With Visual Basic?

Dec 30, 2011

The info i need extracted is formatted:

<TD><A HREF="http://xxxxx.com/xxxxxx/index.html"><IMG SRC="../xxxxx/thumbnails/xxxxx.jpg"> </A></TD>
<TD>=== <B><A HREF="http://xxxxxxxxx.com/xxxxxxxx/index.html">LINE 0</A></B> ===<BR>
<FONT SIZE="2" COLOR="#400080">

[code]....

how do i extract the info between TD=== and /a and Line 1,2, and 3 and store it into a database from a live website?

View 2 Replies

InputBox Function - Program - Allow User To Input 5 Payrolls For Store 1, Store 2, And Store 3

Mar 22, 2012

I am coding a program that will allow the user to input 5 payrolls for Store 1, Store 2, and Store 3. The total of the 5 payrolls are then added together and shown in the respective Store's labels. A total label is also there to add up all the totals into one number. The numbers in the label must be in currency form. My problem is the numbers don't add correctly when I hit calculate. The first two numbers add together, but then after that the number just seems to subtract a random amount.

So far I have this --

Public Class Form1

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Me.Close()
End Sub

[CODE[...

View 14 Replies

How To Store String In Date

Dec 6, 2010

how to store string value in date variable in vb.net

i am using the following code

dim dtBL as Date
txtBLDate.text="23/11/2010"
dtBL = Format(CDate(txtBLDate.Text), "MM/dd/yyyy")

but i am getting the error which says that 'Conversion from string "23/11/2010" to type 'Date' is not valid.'

View 3 Replies

Store In A String The Name Of A Component?

Feb 11, 2009

I want to store in a string the name of a component without using the component itself. I tried the following

Private Sub CmbPriceList_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles CmbPriceList.KeyUp
Dim test As String = sender.GetType.Name
End Sub

The above code returns the type of the component (here it returns 'Combobox'). But I want the name of it.

View 7 Replies

Get Value From Datatable And Then Store It To The String() Arraylist?

Jan 6, 2012

I want to get value from datatable and then store it to the string() arraylist. datatable contain 3 column (columnA | columnB | columnC). I want to get all value from columnB and store it to arraylist.

I have try something like this

If myTableData.Rows.Count > 0 Then
For i As Integer = 0 To myTableData.Rows.Count - 1
Dim value() As String = myTableData.Rows(i)(1)

[Code]....

View 2 Replies

Permanently Store String/object?

Apr 23, 2011

I need to permanently store a string or maybe a object in my application. And yes, I have tried the application settings (My.Settings).

My.Settings.something = "hi" will save "hi" into something, and when i use msgbox to output the data, it works. The thing is; when I copy my application to somewhere else on my computer it is gone. I guess the settings is saved to some file at the filesystem, and when I move my file it also creates a new settings file. How can I store a string inside my application, and also move the application later on?

View 2 Replies

Store & Get Connection String From App.config

Mar 11, 2010

I'm stuck regarding to grab connection from app.config file...i'm surf many type and kind to do it..but still can',t.....i need to connect into two database (oracle n firebird).

View 2 Replies







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