Best Method For Storing Values?

Feb 6, 2010

Basically, I want to have a database that's lightweight and I won't need to install amillion other things on my clients computers for them to access this.I just need a simple method of reading and writing values so that they're not hardcoded into the program. I could do MySQL (which is what I'm very familiar with), but it doesn't need to be making calls remotely.

View 4 Replies


ADVERTISEMENT

Method Of Storing And Retrieving Data?

Apr 23, 2009

I basically need to hold a lot of data - the structure is that of a five dimensional array holding integers.What would be the most efficient way of storing this in a file (I was thinking of XML - your opinion?) that would also be quick to extract.

View 3 Replies

VS 2008 Which Method Would Be Faster For Gathering And Storing Data

Nov 16, 2009

I have a simple multithread application that stores updated data from a list of websites. After each thread gathers data, it then store the data into the same text file. I am now thinking of having each thread store the data directly into a arrayList, and after a certain amount of time past, store from the arrayList to the text file. Which situation would enable the application to complete its task faster?

View 1 Replies

Program For File Database, How/method Selection For Storing Files?

Jan 26, 2012

The user will basically be able to select a file on their hard drive, and enter some details or info about the file and then save it

View 2 Replies

ASP.Net Datatable Not Storing Values

Oct 6, 2011

Im working on an Asp.net / VB.net website and coming from a C# / WPF background things are still a little new to me. I have declared a DataTable like so: Public notificationList As DataTable And I have then used the Page_Load event handler to populate it and bind it to a control on my page, which all works fine

[Code]....

However in another method i need to be able to access this DataTable, yet whenever I do it always appears as nothing. Do I need to be storing this value elsewhere like in the session etc?

View 2 Replies

Storing Values In Application?

Feb 14, 2012

I am trying to store things such as user data for each user in my program, like with a class I made named UserData. I would like to have data different for each user. How can I do this? Also, I need to be able to access other user's data from my account.I tried using Settings, but they only had a limited number of classes, and the settings didn't seem to save for some reason.

View 13 Replies

Storing Multiple Values In A String?

Mar 4, 2012

How can i use .filenames of a openfiledialog with a string?


[Code]....

but i get error: Error 1 Value of type '1-dimensional array of String' cannot be converted to 'String'.

View 2 Replies

Storing Textbox Values In Notepad?

Feb 23, 2009

how can i store textbox value in notepad

View 2 Replies

Storing Values In Arrays Fom Inputbox?

Feb 5, 2009

i have declared an array which i want to populate with names, as they are entered into an input box.It does not seem to work i have tried many other methods with the array but to no success.

Dim namearray() As String
Dim i As Integer
name = InputBox("Enter the candidates name:", "candidatename", "", 500, 500)
name = namearray(i)
i = i + 1

View 6 Replies

.NET Best Data Type For Storing Currency Values?

Feb 13, 2010

What is the most appropriate data type for storing currency values in VB.NET?

View 1 Replies

Asp.net - Storing French (decimal Values) In Database?

Jul 18, 2010

I have my form set in french as well, and it automatically changes the text format to use ','. However When I try to insert my values into the database it says cannot convert nvarchar to decimal? Worst case, Is there a way I can disable the numbers from changing to use ',' and just use '.' always regardless what language it is? My working language is vb.net?

View 1 Replies

C# - Session Is Storing The Values On The Server Not In The Client?

May 17, 2012

I used this way to make my shopping cart system :

Click here to see the example

when I add a product to the shopping cart it adds it very well but the problem is in the session, it stores it in the server not in the client browser.

so if some body visit the website from another computer he can see the added products on his browser while it should be empty.

Is there a way to save it on the client side instead of the server side ??

View 2 Replies

Storing French (decimal Values) In Database?

May 3, 2012

I have my form set in french as well, and it automatically changes the text format to use ','. However When I try to insert my values to the database it says cannot convert nvarchar to decimal? Worst case, Is there a way I can disable the numbers from changing to use ',' and just use '.' always regardless what language it is?

View 1 Replies

VS 2005 Storing Color Values In Datatable?

Dec 7, 2009

Is it possible to store color values in a data table? Such that when these values are loaded into a datagrid, the datagrid will display the color.

View 2 Replies

Storing UserID And Password Values From MainString To Variables

Mar 10, 2009

I have this string
mainString="/MyApp/ViewPage.aspx?userId=admin&password=1&id=975"

I am getting value in mainString using this code
Dim mainString As String = Request.QueryString("dest")

And I have two sting variables
1)strTempUsername
2)strTempPassword
In these variables I want to store userId and password values from mainString.

So for this requirement how I write logic in code
Dim arrArray() As String
'/MyApp/ViewPage.aspx?userId=admin&password=1&id=975"
strIndexq = mainString.IndexOf("?") ' Check QuestionMark Exist or not in mainString
If strIndexq > 0 Then
Dim strTemp As String
[Code] .....

Here I am getting userId and password but in this code I will get problem when after ? if userId and password starts wit capital letters and password maybe contain characters like "1&a"

And after getting userid and password. I want to remove userid and password from mainstring. So I want mainstring look like:
"/MyApp/ViewPage.aspx?id=975"

View 15 Replies

VS 2005 Storing Null Values In Access From Datatable?

May 22, 2009

Did anyone knows where can I upload a folder so my programe to be able to download an update from there???

View 3 Replies

VS 2010 - Reading Text Files And Storing Values To Database

Apr 29, 2012

I am using VS 2010 and I want to read the Text File values and place them into variables. This is my code
Me.OpenFileDialog1.FileName = Nothing
If Me.OpenFileDialog1.ShowDialog = System.Windows.Forms.DialogResult.OK Then
Me.TextBox2.Text = Me.OpenFileDialog1.FileName
filename = Me.TextBox2.Text
End If
[Code] .....
I am unable to move pointer to next line.

View 6 Replies

Asp.net - Error Sending Values Through GET Method

Sep 21, 2011

I have to send some value using FORM GET METHOD. when ever i send it gives me an error.

[Code]....

ERROR Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. is there any way i cant use a VB.NET Code to send using GET METHOD

View 1 Replies

Get The Values Of The Parameters Of A Calling Method?

Oct 19, 2011

I am writing a alternative to GDI, and rigth now i am working at a logging function. The idea is that while you use the class to draw, it will write a logg of what you have done, which can be used to draw it back later. In that way i would be able to store a drawing with weary little disk usage.

[Code]...

View 1 Replies

Method Parameters Have Incorrect Values When Using RowTest

Apr 6, 2010

I have the following test method (VB.NET)
<RowTest()> _
<Row(1, 2, 3)> _
Public Sub AddMultipleNumbers(ByVal number1 As Integer, ByVal number2 As Integer, ByVal result As Integer)
Dim dvbc As VbClass = New VbClass()
Dim actual As Integer = dvbc.Add(number1, number2)
Assert.That(actual, [Is].SameAs(result))
End Sub
My problem is that when the test runs, using TestDriven.Net, the three method parameters are 0 and not the values I am expecting. I have referenced the NUnit.Framework (v.2.5.3.9345) anf the NUnitExtension.RowTest (v.1.2.3.0).

View 1 Replies

Create Individual Properties In A Class Or Just A Method To Set The Values?

Oct 2, 2011

I am learning vb.net and I am having trouble wrapping my head around the following... I can create several properties of a custom class and get/set values or I can create a method to set them all at once. If each property is going to allow read and write should I just make a method to assign values all at once? I assume that I am missing a very important piece here. Example: I can create 2 properties:

[Code]...

View 2 Replies

Html Method=get Not Passing Values To The Next Aspx Page

Jul 2, 2010

i have simple html page with 3 textboxes.

[Code]...

The page loads but is these textboxes are empty. what am i doing wrong?

View 2 Replies

InvalidCastException - Retrieve Values From A Look Up Table With The SelectedRows Method?

Nov 28, 2011

I'm trying to retrieve values from a look up table with the selectedRows method. But i'm getting the exception InvalidCast. It says: Conversion from string "Codigo" to type'Integer' is not valid. Well my code is varchar not numeric.

Try
frmMovimientos.codDestino = dgLook.SelectedRows("Codigo").ToString
frmMovimientos.desDestino = dgLook.SelectedRows("Descripcion").ToString
Catch ex As Exception[code]....

View 9 Replies

What Non-zero Return Values From The Rename Method Of Win32 Computersystem Mean

Sep 17, 2010

i'm using powershell 2.0 on win 7, does anyone know where to find what the non-zero return values from the rename method of win32_computersystem mean?i get a 5 every time i execute it, & have no idea where to find what that means.it's a HUGE brick wall on a project i'm working on

View 3 Replies

Binary Search Tree Delete Method Only Deletes Last Two Values?

Apr 9, 2011

I have a delete method for a binary search tree that only deletes the last two values that were entered in, and when it tries to delete anything to the left of the root or even the root itself it returns a null pointer exception.

Public Function Delete(ByVal key As Integer) As Boolean
Dim current As Node = root
Dim parent As Node = root
Dim isLeftChild As Boolean = True

[Code]...

View 4 Replies

Error 5843 - One Of Values Passed To This Method Or Property Is Out Of Range

Apr 18, 2011

I've mainly been recording keystrok macros... I created visual basic code that allows the user of a template to hide table gridlines - which works fine. The code to show gridlines does not work if the table has only one row. Here is the code - it is getting "stuck" on the
.LineWidth = wd

LineWidth050pt for a horizontal border, as there isn't one. I don't know how to change the code to not execute the command if a horizontal border line does not exist.

With Selection.tables(1)
With .Borders(wdBorderLeft)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth050pt
.Color = 5592405
[Code] .....

View 2 Replies

Using List(Of T).ForEach Method To Update Values Not Working As Expected?

Aug 8, 2011

I have the following code,

PB.ForEach(Function(x) x.Cost = GetPartCost(x.PartNumber, x.Units, x.Cost, FB))

Return PB.Sum(Function(x) (x.Cost * x.Qty))

However it always returns 0. I've checked and the GetPartCost function executes and returns a non-zero number but the list item cost properties are never updated.The property is just a simple property,

Public Property Cost() As Double
Get
Return _Cost[code]....

If I set a breakpoint in the Set of the property, it never gets hit.

View 1 Replies

Using Split Method - Error: Char Values Cannot Be Converted To Integers

Feb 10, 2009

i have a form with 12 text boxes. I'm trying to get the data from those text boxes to "save", and when that form is opened again have the data be inserted back. This form has different time slots so I need to be able to have it save and repopulate based on what time slot I am clicking on. I was going to have it read the data by splitting it with commas, then inserting them back into the correct fields but it's not working. I had it write the results to a text file and they get written correctly and inserted back, but the problem with that is it only reads that text file so every time slot I open up gets the same data. Below is code I used to get the data when the Save button is clicked. [Code]

Problem is I get an error saying "Char values cannot be converted to Integers" on the first line, the (","c) part. Plus even then I don't know if this would do what I want. EDIT: Ok I fixed the error and got it kind of working, but now I have a new question. Now, I put a button on the form that I can use to load the data when I choose to just to test. This works, it takes the data from each time slot and loads it back when I click the button. New question is how can I get it to load as soon as I open the existing appointment? Putting it in the form load event won't work because it checks for data before there is any in there.

View 10 Replies

Asp.net - Get Row Keys / Cell Values & Call A Method When A Row Is Selected In The Standard .net 2.0 Gridview

Mar 31, 2009

I have standard .net 2.0 gridview control from which i want to get row keys or cell values from the grid when a row is selected.

I also need to call a method each time a row is selected.

How i can do this using ASP.net & VB?

View 3 Replies

Strongly-typed Generic Method Invokes Its Argument's Base Class Method Instead Of A Shadowed Method In T?

Oct 19, 2010

Consider a MyForm class that contains a shadowed implementation of Show(). It also contains a CreateForm() method, which accepts an instance of the form and calls the shadowed sub:

[Code]....

View 3 Replies







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