Store Some Reusable Data?

May 18, 2009

I am having a problem thinking of how to store some information in my design [code]...

Also I am thinking I would like to put something like A Division = 1 or A and so on! So I am thinking that I may have to steer away from this method and move to an array instead?

View 2 Replies


ADVERTISEMENT

Develop Reusable Functions In VB?

Feb 27, 2011

I'm new to programming.So face problem in coding for reusable function for add.My database in MS-SQL.I'm coding in vb.net.Imports System.Data.SqlClient[code]...

View 3 Replies

Dynamic And Reusable XML Read Write In ASP.NET

Mar 22, 2011

I am new to XML and ASP.NET. I need to design a application which will use webservice input and output (LDAP webservice not made on asp.net).I need to send username password and other fields in XML string format to webservice methods and get the more details about username in xml string format only.So i need to send xml and get xml string and populate my server controls with xml attributes ,elements,values etc.This includes update and delete also..If I use XMLDocument evry time to read write xml , what can be the best way to store all unique xmlattribute, xmlvalues and xmlelement in a Object which is accessible throughout my website for a specific user and sould persist on all postbacks unless user logouts

View 2 Replies

Make A Control Reusable In Different Projects?

Jun 22, 2011

Is there a way to not put the project name in the Inherits attribute?

I am working with vb and I have multiple projects, that have multiple web pages. In each of these projects I create controls that are reused in the web pages.

Each control I have is declared like this:

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="MenuBarControl.ascx.vb" Inherits="**projectName**.MenuBarControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>

When I want to copy the control into another project I have to change the **projectName**. Having to change the project name for each project makes the code not reusable. Changes made to specific projects each time is not reusable.

I want to be able to omit the project name in the Inherits attribute. When I do that now I get an error

Parser Error

Parser Error Message: Could not load type 'MenuBarControl'.

View 2 Replies

Reusable Custom Control With Properties?

Nov 13, 2009

I have built a Custom Control Class that makes it much easier to build a side bar element in my html.

The problem I am running into is that when I set the "Text" property, the last time I set it gets used for every instance of the control on my page. This is my first time doing this, so I'm assuming I'm missing something basic.

[Code]...

View 1 Replies

VS 2005 Where To Declare Reusable Class

Jun 11, 2010

I need to declare an Address(street address) class which can be reused in multiple forms. Where should i declare it?

View 3 Replies

Create Custom Control With Reusable Properties?

Nov 14, 2009

This is similar to my last post but with a different purpose.I have built a custom control, but when I set the properties for it... ALL instances of that control on my page grab the exact same property. I need to be able to set the property to "abc" for one instance of the control on my page, and then set the exact same proprty to "xyz" for a different instance of the control on the same page.

[Code]...

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

Create A Reusable Grid View Component Like Date Time Picker In Asp.net?

Jan 5, 2010

I want to create a reusable user control which contains a date time picker in asp.net. Need to add this user control in a grid view as column.While clicking the column,date time picker has to be displayed.Which is the suitable method,Creating the component or creating the user control.Also want to know,How to add this component in to the toolbox?

View 2 Replies

Code That Reads An Input File And Store Data In SQL Server Data?

Sep 11, 2009

I am new to VB.net. I want to read and input file and store that data to an SQL Server database. Do you have an sample code that do such?

View 1 Replies

Continously Reading Data From A Modbus TCP Device And Store Data In A Textfile?

Mar 2, 2012

I have a modbus TCP device that I have managed to connected to through my VB source code.

I want to poll (continueously read) data from certain registers of the device, and store the polled data in a file (text,csv, excel).

View 1 Replies

XML 6.0 SP2 - Create A Small Backup Before Data Is Syncronized To A Data Store?

Feb 14, 2011

I have an application that uses Dataset.WriteXML to create a small backup before data is syncronized to a data store (less than a meg).This application has worked well for 5 years now, and all of a sudden with the installation of XML 6.0 SP2 the XML document is not working correctly.I have multiple tables within a Dataset (Company, Contact, Notes, etc...)When WriteXML is called, the first table should be Company, however, the first table is being named Contact with the Company Data in it. The Notes table is being called Contact and so forth. In other words it's not giving the correct names to the tables in the XML File.This appears to be a bug, which is causing great distress on all the companies who have been using this program.

View 3 Replies

VS 2010 How To Get A Template And Store It In Data Base Without Using Data Set

Dec 12, 2011

i just want to know how to get a template and store it in a data base without using data set

View 1 Replies

Best Way To Store Data

Jul 31, 2011

I hope this is the correct place to obtain a little bit of advice for a program I am looking to produce in visual basic 2010.

I currently work as a design engineer designing press tools and a lot of our designs are similer just maybe a feature, length, diameter change etc. So the design principles are the same for each product.

What I am aiming to do is program the 3D design package so that 80% of the tool design can be done using the program etc.

Now the enquiry I have is where would the best place to hold the standard data be?

For instance each press has a maximum blank diameter, shutt height, bores diameters in the bed and likewise each product type has design features with the same calculations such as length, pierce etc.

I have done a bit of reading and I have found that data can be stored into text files, xml files and databases etc or hard coded into the program.

I am looking to allow new presses to be added so the user would need to add new shutt heuights, blank size etc but the tooling would have to be unqiue dependent on the typs of stage. So I am wondering to store this information would a database be the best option even though the data will not be continually updated more a place for it to be retrived from excpet under failry rare circumstances.

View 3 Replies

How To Store Data

Jul 24, 2009

I was thinking about using an access database to store the data but I would like to know if there is a better way of storing data?

View 4 Replies

Best Way To Store Data From Desktop App?

Dec 19, 2009

I'm writing an app in vb.net and was wondering wath the best way to store/retrieve data was?

View 5 Replies

Easiest Way To Store Data

Mar 31, 2011

I've just finished an application which does everything I want within the Visual Studio environment now I need a way to store the data the user creates but I've never had to do it before and am a bit lost. I've spent days trying to use XML to do this but to no avail mainly cos my classes use ArrayLists as properties and it gets a bit beyond me. I've been told that ArrayLists were not the best choice for this and would be prepared to change my design if need be if I thought the end to this problem was in sight.

View 11 Replies

How To Store Data In Memory

Apr 21, 2011

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.

View 2 Replies

Program That Uses XML To Store Data ?

May 21, 2010

I'm making a program that uses XML to store data and I'm having problems retrieving the data. Here's an example of how I'm storing data:

<?xml version="1.0" encoding="utf-8"?>
<main>
<category>

[Code].....

View 4 Replies

Store And Display Data?

Aug 5, 2009

I'm having problem displaying and storing data from RS232 to access 2007. I have a PIC demo board that sends SMS via AT commands. I want to grab useful information like phone numbers and status message and store/display to access/richtextbox respectively. Right now every line of AT commands are display. And does not store to access. How do i search for the string with numbers like phone numbers?

[Code]...

View 1 Replies

Store And Represent Data?

May 31, 2011

I'm creating a program that outputs Quotations (and other information relating to these 1. What is the BEST way to read/write from a database (I only really know how to use Access but if XML or SQL would be better, I'm willing to learn). The database needs to be stored and accessed from the same state every time that the program opens. I've tried multiple different ways, both through DataAdapters (in code) to doing it through connecting the database through the Visual Studio GUI. Neither have seemed to work. Other people have told me that using DataAdapters and such aren't the best way, but no one has been able to tell me what this 'best way' is. Also, I need to somehow be able to link pictures in the database - apparently it's not easy to do in SQL?[code]...

View 5 Replies

Store Data For Pilots?

Apr 18, 2009

i want to store data for Pilots ( a program i am working on ), i want to store the Callsign (ie UKV1918) and there Lat and Lon (latitude and longtitude)I need to be able to update the pilots lat and lon, and remove the pilot when they disconnect.

View 4 Replies

Store Data In List?

Jun 23, 2011

I just wondering if Visual Basic.NET and VB6 can do these examples.I have use python before and i will take some examples.Save numbers to a list and add

Quote:

this_is_a_list=[1,2,35,4564,532,2454,3404,3,455,2,1]
x = len(this_is_a_list)
this_is_a_list.insert(10, x)

len is a function who count how long a list is. This list is 11 numbers long. I will now insert/add number 10 after the last number. The first number has the place 0. The second number has the place 1.Can VB.net do that? Check how long a list is?Delete a list?

View 9 Replies

Store Data In Memory?

Feb 23, 2009

Is it possible to store data in memory or a temp file so that if my application crashes information such as text boxes can be restored?

View 3 Replies

Store Data In Program?

Jul 18, 2010

I m trying to create a windows app that will store employee working hours of everyday. Is there any way to store a week much data in some sort of file or somewhere else beside database ? Or I have to use some sort dbms.

View 6 Replies

Store Data In Several Collections?

Mar 31, 2011

I'm not sure how to do this but I want to store data in several collections. I want the data to be stored / accessed as follows.

CombatCollection("Joe").CombatRecord(1).AttackRecord(1).Damage

how these nested structures or collections are defined and used?

View 9 Replies

Store Data In Variables?

Aug 15, 2011

I am using sql in and am stuck. after "selecting * from table", how do i store whatever I have obtained from my database in a variable, for display?

View 2 Replies

Store Data To A Database?

Feb 1, 2011

I wish to create a visual basic asp.net web application which can store data, entered by the user via a textbox to a database, once the STORE button has been clicked. I also want to be able to view the stored data by clicking VIEW STORED DATA.I am using visual studio and I am a complete beginner. I need to know how to create an appropriate database and how to link it to my web application.

View 2 Replies

Store The Data For A .net Database?

Apr 15, 2009

best way to store the data for a .net database and the reasons why. Please note I would like to have access to the database from a blackberry and the option for multiple applications to read & write to the database at the same time.

View 3 Replies

Store User Data In VB?

Mar 28, 2011

I'm creating a desktop application in visual basic using an online mysql database, i have the login script done but how would i save the users id into a session and then use there information for there profile page?

View 13 Replies







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