Solution For Structured Storage In Wpf?

May 30, 2009

what is the best solution to save data in structured storage?

i need this for a wpf application

View 4 Replies


ADVERTISEMENT

Structured Text In VB XML Documentation?

Apr 7, 2008

I am trying to add structure (line breaks, paragraphs and code) to the Remarks Tag of XML documentation in VB2005. I have tried many examples from "Recommended XML Tags for Documentation Comments (Visual Basic)" [URL], but all of the examples seem to compile to one continuous line when viewed in the VS2005 Object browser.

Below is an Example:

[Code]....

View 1 Replies

Use Of Exit Sub For Structured Programming ?

Feb 22, 2010

I have a pesky (i.e. A.R.) code reviewer where I work that says that Exit Sub is equivalent to the Go To statment in COBOL and is not structured code. I see nothing wrong with the Exit Sub statment as it eliminates messy If statements.

View 3 Replies

Anternative Way To Store Structured Data?

Nov 27, 2010

A convenient way to store structured data is to use classes.While classses offer a very good flexibility they have a big drawback that they increases the quantity of disk space

View 4 Replies

IDE :: Class Description Structured Documentation?

Sep 25, 2011

I once was able to insert a Class-Header type XML comment section which structured the describing of a class; I now cannot remember how I did it. I think I either used a snippet or some macro-type character combination that inserted some XML documentation fields which made commenting a class well structured. It may have even been an extension.

View 3 Replies

Reading From File Into A Structured Array?

May 22, 2012

I need some input on what I'm doing wrong. What I have so far is an order form program where customers input their information and what they want to buy. Now, what I'm trying to do is take the customer information, store it in an array, write the customer information to a file, and then when I open the order form, it loads the customer information file and automatically fill in a display box on another form with all the customers and the information.I want each customer in a file to be stored on one line. Like so: (Name, address, city, state, zip)

Mike-123 E Dream Rd-Denver-CO-99558
Jane-234 E Code Rd-Seattle-WA-99458

Then when the file is read, to read it, and add each name to a structured array (customers(NumberOfCustomers).Name, customers(NumberOfCustomers).Address, customers(NumberOfCustomers).City, customers(NumberOfCustomers).State, customers(NumberOfCustomers).zip).

After it has all been added to the array, all customers in the file, I want to loop through the array and display each customer on a new line in a listbox, which opens in another form.So far, everything works IF I don't write to a fail. If I store the customers in an array and use a loop to display the customers in the listbox, all is well. However, when writing to a file and trying to read it back into the array is where I've hit a problem. The following code seems to work well, however, it just reads the first line over and over as many times as there are lines in the file, and displays all those using the loop. I just need a way to loop through the lines and store each line into each structured array for each customer, instead of read the first line 12 times over into 12 different places in the array.

[Code]...

View 1 Replies

Structured Exception Handling 2010

May 10, 2011

Anyone out there who happens to have an exhaustive code snippet for SEH (including all possible exceptions) for VS 2008 or VS 2010 (.NET 3.5 or 4.0) ?

View 10 Replies

VS 2005 Read And Process Different Structured Xml File?

Sep 1, 2011

i'm having trouble reading a slightly different structured xml file , it looks like :

HTML

<?xml version="1.0" encoding="iso-8859-1" ?>
-<VESSELS>
<vessel MMSI="205416000" TIME="2011-09-01 09:31:16 GMT" LONGITUDE="3.19722"

[Code]....

I do need the different fields like time / lontitude e.d.

View 1 Replies

VS 2010 Reading A File Into A Structured Array?

Nov 12, 2011

how to read this file into my structured array. it's a 'quiz generator' program. i have a .dat file with a set of 10 questions, and i need to load it into my structured array:

vb
Structure testQuestion
<VBFixedString(100)> Public question As String
<VBFixedString(30)> Public choiceA As String

[Code].....

View 25 Replies

.NET Custom UserControl With Structured/Multi-level Properties?

Aug 13, 2011

I can create a Custom UserControl with simple properties (Integer, String, etc) and have those properties show up in the Property Panel. I can also create a Custom UserControl with properties like Size, Rectangle, etc and the properties will show up as an expandable item in the Property Panel (click on the '+' and the Size expands to Width & Height).

Is it possible to create properties with my own custom structure? e.g. Property 'Message' expands to Text, ForeColor, BackColor, Blink etc. I have tried creating a property that references a simple class or structure with containing the properties representing my custom structure but in the Property Panel the property is greyed out and cannot be expanded or modified.

View 1 Replies

Passing Structured Array To User Control ASCX Is Asp.net?

Jan 12, 2009

Code:I have this issue ....in asp.net 2.0 MSVS 2005 ' I said user control, I mean web control ..ie ascx page in asp.net

1 STRUCTURE MyStruct
2 X as Integer
3 M as double
4 Z as string

[code]....

View 4 Replies

Structured Array - Lookup Button Match Abbreviation To Name

May 12, 2011

I am trying to make the lookup button match abbreviation to name or vice versa. here is what I have so far.

Public Class FrmState
Structure State
Dim stateNameString As String
End Structure
Structure Abbreviation
[Code] .....

View 9 Replies

C# - Get A Tooltip To Display An Image And A More Structured Set Of Details Then Just Plain Text?

Apr 23, 2010

I have a DataGridView in a Winforms application containing a collection of items. Each item has an image and various other details. I know it is possible in WPF, but can you get a tooltip to display an image and a more structured set of details then just plain text?

View 1 Replies

2010 - SQL Data Manipulation - Display Each Element On A Page In A Structured Format

Jun 15, 2010

I'm currently learning VB.net and can confidently connect to databases and return results to comboboxes run stored procedures ect to datagrids, However I'm wanting to find an online tutorial for doing loops with data so for example

I return the following data into a dataset

Orderno Orderitem Price GUID
111 Pies 1.50 xxx-xxxxx-xxxxx-xxxxxxx
111 orangutang 2.00 xxx-xxxxx-xxxxx-xxxxxxx
ect

I want to display each element on a page in a structured format so as to make a visual representation in seperate entities (labels maybe) of the data like so:

Order number

line 1 (includes item and price in plain text on a page i guess using a label)
line 2 (same goes)

Subtotal( )

The results and formulae i can do but it's simply how to split off the data from my dataset and display elements as seperates (also how will i dynamically create the lables as obviously i'm not going to know in advance how many order item rows will return )

Obviously this is not urgent but if anyone could point me at a tutorial or even better a few lines of code that will do this for the microsoft northwind data so i can mess about with it and play.

View 3 Replies

MS Excel - Appealing, Structured And Neat Appearance For Ease Of Usage By People With Limited IT Abilities?

Mar 2, 2010

I'm currently working on my (business) master's thesis... the topic is capital budgeting tools to manage major investments for a European energy supplier.So far the company has used MS Excel for calculating relevant data to make decisions on whether to invest money in new projects or abandon them. There usually is a host of input data, lots of basic calculations and just two or three outputs (such as Net Present Value, Return on Investment etc) .It is my task to develop a new excel template or decide on buying a completely new software license, if excel proves unable to provide the functionality the company needs.

So far I have only very limited programming knowledge, stretching to Java basics, some HTML code and SQL Databases.However, a colleague hinted at the fact that the VB.net programming language can be easily learned and used to improve excel considerably. Ideally I would need excel to be able to:

- make sure people putting data into our template don't mess with it

- be able to communicate with a database

- have an appealing, structured and neat appearance for ease of usage by people with limited IT abilities

- provide all output, including sensitivity analysis charts, in a structured, printable overview

View 6 Replies

Opening A Solution File It Was Saying "The Selected Fiel Is Not A Valid Solution File"?

Mar 27, 2012

Till yesterday I was working fine with my Project.I din install anything new, am not trying to open my solution file with a different version also.Today when i tried opening my solution, it was saying

"The Selected Fiel is not a valid solution file"

"The Operation could not be completed.Unspecified Error"

Microsoft Visual Studio Solution File, Format Version 10.00

# Visual Studio 2008

Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "??E", "..Setup2Setup2.vdproj", "{600F8FB2-B9A9-4138-B7E7-FE7B39815CC1}"

EndProject[code].....

View 6 Replies

How To Storage Some Information

Apr 8, 2010

I need some input how to storage some information.The information I wish to store is a list (1-300) that contains the following:

-Raw material (string)
-An array of Value (double or long)
-An array of Date (string preferably)

My first approach to this was looking at the structure statement but I couldnt figure how to use the array within the structure statement.

View 2 Replies

IDE :: Not Enough Storage Space Is Available?

Nov 30, 2006

Almost every one hour, when I run the project

View 12 Replies

Storage Fpr SSL Files?

Dec 30, 2010

I am using a MySQL Server on the net and a Windows Forms client program, which connects to this server.

I want to use SSL and have prepared everything, that this can be used. My primary question now is as follows:Where / how to store the files for the SSL certificate as best way? As embedded resource? as external file? As part of the My.Settings environment?

View 3 Replies

Use Memory As Storage Instead Of HDD?

Mar 31, 2012

I have been trying to do this for about a month now (hard to get answer quick because of school), but i need to decrypt a file into memory. I know you have to "write all bytes to memory" but i have two problems with that, 1. I have never touched on that itself and don't know how to write the bytes of an executable to memory, 2. I still wouldn't know how to decrypt it in memory. Right now my code is:

ElseIf entype = "rc4" Then
If File.Exists(thepath & exerandname) Then
Kill(thepath & exerandname)

[code]....

it checks if the file exist then deletes it, then it opens the file and decrypts (_4reversecr.enc) the file(Cutter(1)) with the key (key)?

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

Add An Array To A Storage Collection?

Feb 15, 2012

I currently have the following bits of

[code]...

I want to add an array to the class `StopwatchStorage` but can't figure out how without some ambiguous warning or error popping up. The Array will contain TimeSpan type elements (essentually an array of Stopwatch.Elapsed values)

How do I declare and add a dynamically sized array to the class. I know that I will have to use the UBound function each time I want to add a new array.

View 3 Replies

Creating Isolated Storage?

Jan 12, 2011

I was reading an article about isolated storage and thought of doing the following.Encrypt files.Add them to Zip.Unzip the file,decrypt the content and copy all the files and folders into an isolated storage and then load a specific file into a web browser and launch lets say an HTML page I got stuck on the Isolated Storage thingy

here is a part of my code

'So far i unzipped the content of the Zip file
'Setup file streams to handle input and output.
fsInput = New System.IO.FileStream(strInputFile, FileMode.Open, _

[code]....

Encrypt files.Add them to Zip.Unzip the file,decrypt the content and copy all the files and folders into an isolated storage and then load a specific file into a web browser and launch lets say an HTML page)

View 1 Replies

.net - Parallel.ForEach Local Storage?

Aug 3, 2010

I recently changed a For Each loop to a Parallel.ForEach loop. I'm concerned about an object being declared outside the loop but assigned while iterating in the loop. Here is the simplified code.

Dim results As ModelResults
Dim noResultsModel As New List(Of ModelResults)
Dim lock As New Object
Parallel.ForEach(_modelEngines,
Sub(model)

[Code]...

Is there a potential race condition with the results object? Would anything be different if I moved the declaration of results into the for loop?

View 1 Replies

Accessing MP3 Player / USB Storage Device?

May 14, 2009

I'm trying to access a USB Storage device, however the device although appearing in the commputer / Drives section, is not allocated a Drive letter, thus when I itterate through the attached drives link text it does not appear, I've taken the "Location" from a file on the drive (properties) and it comes up as COMPUTER/Q1/Datacasts but this doesn't work when I pass it to the FileInfo Object (network drive cannot be found) And I'm at a bit of a loss at which way to procced

View 1 Replies

Add A Document Storage Module To AR Software

Jul 7, 2009

I am attempting to add a document storage module to our AR software. I will be prompting the user to attach a doc/image to thier account. I will then put a copy of this file into our folder so that we can reference it without having to rely on them keeping the file in its original place. This system is not using a database but instead its using multiple flat files.

I am looking for guidance on how to handle these files once they have attached them to our system. How should I store these attached files? I was thinking I could copy the file over to a sub directory then renaming it to a auto-generated number so that we do not have duplicates. The bad thing about this, is the contents of the folder can get rather large.

View 2 Replies

C# - Access Images From External Storage In ASP.NET?

Jan 21, 2010

I have an ASP.NET site in a web server and the images are stored in NAS (some kind of lacie external storage), I tried UNC and other things but no success.how can I access images from external storage in ASP.NET

Update: The images are reachable from the server but when I try to access in ASP.NET throws me error.

View 2 Replies

Contents Of Mass Storage Device?

Aug 19, 2010

I have a listbox (ListBox5) and what i want to happen is when, and only when, a USB mass storage device is inserted a list of the files will appear on the listbox - and then when your press the button marked "Remove File" it will delete the selected file off the USB

View 5 Replies

Deployment :: .NET App Updates And Isolated Storage?

Jul 2, 2009

The Windows Application we are coding uses an XML to store connection settings etc. The application also needs to update automatically online. The problem is that the config file is replaced when the application is updated and the user has to set up the application again (definetly not ideal!).I placed the XML file into isolated storage, no problems doing that. But still when the application is updated the isolated files get replaced/removed and the user has to reset their settings..

View 1 Replies

How To Acquire A Server / Online Storage

Apr 30, 2010

I have an idea of making a chat program with someone over the internet. So my understanding of what i have to do is create a server that holds a text file that can be manipulated by both parties. Then create a program to read the file and change it. So my question is am i on the right path? Also, How do i acquire a server/online storage?

View 5 Replies







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