It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am reading data from wordpad one by one which records the sale of grocery item by barcode. I want to store it in memory so that after reading the whole file I can calculate the total number of the same items sold by comparing the bar code.
Memory. There are several types of memory.
Any variable is a type of memory storage so one answer could be
dim s as string = "hi"
You can also use files as "memory"
Take a look at this
You should make a class to store your items, then use a List(Of T) to hold instances of the class.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
According to wiki
Marshalling
marshalling an object includes codebase and object data. If codebase i.e. source code of class of an object is transferred to another machine , how can it be protected to be viewed.
If codebase i.e. source code of class of an object is transferred to another machine
It isn't. That isn't what 'codebase' means. The 'codebase' of a class is information about where the .class file was loaded from. Don't just guess what words mean, look them up.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
can I get the value of a variable declared in a procedure then use it in an if condition in another one , and how please ?
You have to either pass the value to the other procedure as an input parameter, or store the value somewhere that both procedures can reach it, such as a class member if both procedures are members of the same class, or in a global variable. Your question is pretty vague on details, so I can't provide much of an answer beyond this.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to show the progressbar while updating 10-30 thousand records in ms access database.
Without more details I can only offer a list of operation to be done:
First you need to know how many modified/inserted record are
present.
Then you should subscribe to the event RowUpdated of your
OleDbDataAdapter.
Set the progressbar initial value to zero and the maximum value to
the count of modified records.
In the RowUpdated event increment by one your progress bar value.
See for reference the OleDbDataAdapter docs on MSDN
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In my app I need to get mirrored and rotated copies of video files on iPhone.
What the best and fastest way to do this?
Try this on for size.
The CAReplicatorLayer class creates a specified number of copies of
its sublayers (the source layer), each copy potentially having
geometric, temporal and color transformations applied to it.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
So when I create a reference to an 2d array i have to specify its size? But during runtime I need to decide its size, or change its size? How do I do that?
Instead of NSArray use NSMutableArray.
With that type you can change the size afterwards and add more objects later during runtime.