[2005] Data Gathering / Grouping?

Jan 30, 2009

The code below randomly selects two players from "Preferences.txt" which has the names of all current players. (not necessarily all saved profiles) Now I need to find the best way to match 'Doer' and 'Receiver' with their profiles in "Players.txt" and get their profile attributes.

[Code]...

View 3 Replies


ADVERTISEMENT

Gathering Data From Several Different COM Ports And Reformat?

Apr 28, 2010

I have written a program that will gather data from several different COM ports and reformat the data before sending it to a web site. This program is intended to run 24/7, but only send the information at user specified intervals. I have the routines to gahter data, but I only need it to perform this task at the specified time (5 minutes to each hour). At startup the dialog minimizes to the system tray. I would like a balloon message notifiy anyone watching that the data is about to be sent, and allow them to add additional comments if they choose (by clicking on the balloon). The system tray icon has several context menu items that the user may need. Is this the proper use of a background thread? I would also like opinions on the best method for pausing execution until the specified time.

View 4 Replies

C# - Gathering Data From Tables Of Access Database

Mar 2, 2010

I want to gather some data from some tables of an Access Database, I've found some solutions online, but I haven't found ways to fill a datatable, or dataset, and get each single field properly. Is it easier for me to get whole tables then get just the info that i want, or should I make a lot of searches in the access DB getting just what I want each time? Any code snippets for it? The Access Database is in an ACCDB file, with no user or password. I'm currently using VB.NET, but it doesn't matter if you answer in C#. [URL]

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

VS 2005 ReportViewer Grouping?

Jan 5, 2010

I am making a report using the reportviewer. I have grouped the data and the group works. But when I try to put some data in the group header, I get the following error:The Value expression for the textbox Dep_Name refers to the field Dep_Name. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.

The data I am trying to display is from a different table then the one that I am using to group the data. Does this mean there is a problem with the relationship between the tables?

View 10 Replies

VS 2005 DataGridView Grouping Similar Value?

Jul 26, 2010

I'm trying to group similar items together, for example, the image below.

I wish to group the "apple" together and once it is grouped, I want the average value from the two values.

Here's my codes.

VB.net
Public Partial Class MainForm
Public Sub New()

[Code].....

View 11 Replies

Grouping Data From Two Dataset?

Mar 28, 2010

i've got a problem with dataset:

I've got two dataset from two different server but they have the same columns.
so it's like that:
First DataSet :

[code].....

View 2 Replies

Gathering Info From A Webpage

Jan 14, 2009

I am writing an app that I would like to add a feature to for use for my company.We have a web page here in Tulsa that gives the current police activity or calls in our area. It can be seen here about the middle of the page under current calls. url...It is auto refreshed every 60 seconds. Any way, I would like to be able to access that info without having to load the page and display it on my app.

View 1 Replies

Gathering Text From A Web Page?

Jul 19, 2010

I'm trying to gather changing information (just text really) from a web page, or collection of web pages. For example, looking up the most recent weather predictions from weather.com.

After searching the Internet I came across some code (which I don't fully understand) that seems to get the job done but not very efficiently:

Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("www.example.com")
Dim response As System.Net.HttpWebResponse = request.GetResponse
Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream)
Dim src As String = sr.ReadToEnd()

View 5 Replies

.net - Gathering Swipe Card Information Using Vb Winforms App?

Apr 9, 2011

I developed the billing project. I going to implement the card swipe reader. I have no idea about the card swipe reader application with VB + winforms

View 4 Replies

Gathering Physical Memory Usage Of A Started Process Tree

Mar 21, 2012

first of all, I'm not 100% sure this is the right forum to post this, as there seems ot be tones and tones of forum branches here, so if I'm not in the right location, i'm creating an IDE for a proamming language and I need a way to monitor the physical memmory usage of a process tree. I'm not talking about the WorkngSet64 of a process, but the WorkingSet64 of the process and any child process started by it.

[Code]...

View 7 Replies

Gathering Textbox Text From A Listview Control After Button Click

Nov 16, 2010

Creating a shopping application using ASP. Using a list view control to display 6 items per page. Each item has details such as picture, name and price. I have a textbox to enter the quantity desired and a add to cart button to create the "cartItem" (saves the selected item to a cart item object)

[Code]....

View 1 Replies

Magic The Gathering: Deck Runner Images - Add A Deck, And Then Test It Out

Mar 29, 2012

I have been working on a program in where i can add a deck, and then test it out, for various reasons. (Too much mana, not enough mana, ect.) and i have been wanting to add pictures so i could see what cards are popping up, but have no idea on how to do that. i can use my.resources to add pictures for my own cards, but i have no idea on how to go about giving the cards pictures.

Here is my code:

Public Class Form4
Public card1drawn As Integer = 0
Public card2drawn As Integer = 0

[CODE]...

View 1 Replies

Itextsharp [2005 Express Edition] - Install To Extract Data From PDF Documents Using 2005?

Mar 12, 2009

Is this software what i need to install to extract data from PDF documents using 2005? If so is this the link i need to get it from? [url] I just got no idea about itextsharp

View 5 Replies

.net - Grouping Using LINQ?

Feb 5, 2010

I'm having a heck of a time with transforming a simple SQL Query into a LINQ query(using vb btw)

Here is my SQL:
SELECT USRDEFND5
FROM int_gp_employee
GROUP BY USRDEFND5

[Code]...

I've tried a number of different variations of the LINQ. My current statement is:

From b In xmlFile...<row> Group b...<usrdefnd5> By b...<usrdefnd5> INTO group when I foreach through the resulting collection, EVERY line (17000) shows up.

View 2 Replies

.net - Grouping Application Settings?

Aug 12, 2011

My VB.net application has a lot of application settings, is it possible to group them somehow(other than having a common name)?For example, my application has a lot of winforms each of which needs to save some information about itself. Is it possible to use something like:

Form1.width = My.Settings.Form1.Width
Form2.width = My.Settings.Form2.Width
etc.

View 1 Replies

.net - Linq Nested Grouping?

Jul 7, 2009

I've a large table of Items and I need to organize them by Category, then by Year and then by Month.Item has CategoryID and Dated properties.I got this far:

Dim Items = From Item In DB.Items _
Group By CategoryID = Item.CategoryID _
Into Categories = Group _
Order By CategoryID

But where I put the:

Group By Year = Year(Item.Dated)

and the

Group By Month = Month(Item.Dated)

The final result should be something like this:

For Each Category in Categories
For Each Year in Category.Years

[code].....

View 2 Replies

Asp.net ListView Or Repeater Grouping By Three

May 8, 2012

I am using a nice shopping cart I found online. I would like to translate this code to use a repeater or listview and dynamically retrieve my data, but I cannot seem to find a way to group my data correctly.I know the ListView can group by a certain amount of items, but I have not found a way to do it with this scenario.The shopping cart works by having a ul list of items, followed by their details in the div below. This process starts again by getting three more ul items, followed by three more details. How could I do this using a ListView or repeater? I have not found a way to repeat both of these sets of data I need in a group of three.[code]

View 1 Replies

Datatable Grouping Using Linq?

May 25, 2011

I'm completely dense here, but I'm trying to get some stats from a DataTable. One of the columns in the datatable is called "colour".I need to find out how many of each instance of "colour" are in the datatable.

I'm trying:
Dim q = From p In PGWorkingDataTable _
Group p By p("colour") Into Group _

[code].....

View 2 Replies

Forms :: Grouping Controls Using Tag Or Name?

Feb 24, 2010

I am trying to group various controls (of the same type, e.g., labels together, buttons together, etc.) on a form using a tag or a name of some sort so I can identify all those that belong to tag 'A' and those in tag 'B'. In the end I will have on a form a number of labels grouped as tag 'A' and some labels as tag 'B' so I can change their visible properties on/off.

View 4 Replies

Grouping Applications In The TaskBar?

Sep 2, 2009

If a user has a few of my applications open and he/she minimises them I would like to group these in the task bar like MS Word for example.

Product Name - Application 1
Product Name - Application 2
Product Name - Application 3
Product Name - Application 4

Because all of my applications begin with the product in the Title bar can this be achived.

View 1 Replies

Grouping Code For Outlining?

Oct 1, 2011

I have multiple sub's that i'd like to group together, however all of the groups need to be in the same class. They all work together, but it would help me organize the code and make it less confusing if I could group some of the different subs together for outlining purposes. Is there a way to do this? I tried to find answers online, but I couldn't find what I was looking for.

View 3 Replies

Grouping Variables Within Classes?

Sep 8, 2009

I have a class called Trigger. within this class, I can perform a variety of functions, the main of which is to monitor a specific condition. In this class I have a bunch of class variables that are used to setup the condition as well as for information purposes after the condition has executed. All the conditions are stored in a database and when I start the program, I create a New Trigger class for each condition and store the variables (name, desc, action to perform once the condition is met, etc.) I was thinking about changing the class to create a Structure called Configuration where I would store all the variables. But then I would have to save the Configuration within the class so it could be used later on if needed correct?

[Code]...

but in looking at this i realized that I am creating a new structure and then creating a new trigger class where I am saving the Configuration structure which essentially seems the same as just using class variables as I was before. I also looked at creating a Configuration Class and a Trigger Class. then from the main class I would create all the Configurations and have a shared Trigger class that monitored all of them instead of having a single Trigger class for each Configuration. Using this method i could create a hash table that kept track of each configuration that was being monitored and stop it if required.

Does either method sound more appropriate over the other. I am just trying to understand when/why to do things a certain way.

View 4 Replies

ListView Control Grouping?

Feb 17, 2010

I did attempt searching but it just gave me a "505 bad gateway error".So my issues is the grouping header isn't working lol.

ListView1 - name of the ListView control
3 columns added to lv
3 items added to lv

[code].....

View 8 Replies

Repeater Grouping By Months

Jan 18, 2012

My repeater is searching through dates in the SQL Server database and returning the first 3 letters of every month. Is there a way to show the repeater the way I want to? [code]

View 2 Replies

Any Object That Supports Column Grouping

May 25, 2010

Is there any object that supports column grouping in VB.Net. Because I've been trying datagridview with no success.

View 3 Replies

Counting Orders And Grouping Them, Linq To Sql?

Aug 15, 2011

I have a table called Ordersthe table has many rows but im only interested in two in particular.I want to query the table so it returns the average ordered count of each producti want to know what is the average count of the ordered products, but now in total but per productID instead.

View 1 Replies

DB/Reporting :: Grouping Rows In Datatable?

Aug 10, 2009

I am trying to summarize a datatable based on a primary column and then add certain columns. For example this table

col-1 col-2 col-3
1 AA 2
2 BB

[Code].....

This simply doesn't do anything becuase it thinks the target table doesn't have a primary key.

View 1 Replies

Exclude One Value From A Grouping Sum, Based On A Value Of Another Field?

Apr 9, 2009

How do I exclude one value from a grouping sum, based on a value of another field?ie I open Report=> Report Properties=>Code and insert my Custom Code, but how would I change the below code to exclude a numeric value of another field for the below case?

Public Function ChangeWord(ByVal s As String) As String
Dim strBuilder As New System.Text.StringBuilder(s)
If s.Contains("Others") Then

[code]....

View 1 Replies

Grouping A Generic List Via LINQ?

Jun 26, 2011

I need to take a collection and group it via Linq but all the examples I've seen fail in some manner or other with some syntax difference that I can't quite lick.

My collection:

Dim a As New List(Of ProcessAlert)
a.Add(New ProcessAlert("0000112367", "5551110000@txt.att.net", "Alert", 2))
a.Add(New ProcessAlert("0000112367", "5551110000@txt.att.net", "Document", 2))

[Code].....

View 1 Replies







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