How To Display/store Large Amounts Of Text?

Nov 11, 2009

What I want to do is display large amounts of text and a few pictures, ideally with hyperlinks between the pages. A lot like wikipedia really, lots of similarly arranged pages, text in categories with in-line hyperlinks and the occasional picture to illustrate a point.But not online, integrated as part of a larger app.

How would it be best to go about doing that? The display method is sortof dictated by the storage method. My thoughts were:

Lots and lots of labels stored in an Access database

Straight HTML as if it were a webpage embedded in an iFrame or something

Labels populated from XML files?

Program the whole lot in Flash or something else (A language I can't speak)

This is only a mockup for demonstration purposes so the priority is user-friendlyness and ease of programming rather than storage concerns or good programming form.

View 1 Replies


ADVERTISEMENT

Send Large Amounts Of Text With TCP?

Nov 11, 2011

How to send large amounts of text with TCP.[code]...

View 6 Replies

VS 2008 : Submitting Large Text Amounts With .net?

Oct 11, 2010

if I want to submit a large amount of text to my asp web page, do I need to worry about the text itself such as containing "&a=" that would mean another variable is being assigned for submitting data? Any way of not worrying about this? Or do I need to replace the & symbol everywhere in the test first if used?

View 1 Replies

Instantly Render Large Amounts Of Multi-colored Text?

Dec 18, 2009

I need to constantly display large amounts of colored text in WPF or Silverlight, and I need the user to percieve it as showing up instantly.

Currently I'm doing this using a canvas and textblocks, one textblock per 80-character line, with multiple runs to a textblock to handle the different colors. There can often be 20+ runs to a line.

In a 45x80 grid of text, this gets a framerate of about 12 in Silverlight, which is sluggish. Oddly enough, it's even slower in WPF... I can only speculate that this has something to do with my dev machine's lousy video card. Maybe it's trying to hardware accelerate and actually slowing down because of it?

View 1 Replies

Getting A Binary Search To Work (warning:large Amounts Of Text/code)?

Dec 25, 2009

Couldn't think of a better title.(Background on the problem/me)Okay, so, first question/post here, so hi. Now that that's done with, the information pertinent to my problem. I'm fairly new to VB (and programming as well, aside from screwing around with C++ and learning assembler(well, attempting is the better word) god knows how many years ago), and have only seriously been programming for about under half a year, and my skill level is about at that stage. Only been using VB.Net, nothing older. Depending on the time of day and if I'm home or at school, I fluxuate between VB express and Vis Studio 08. Umm, this program I'm having trouble with was on a test that I took yesterday (took the problem home with me cause I really wanted to figure out what was wrong with it).

The stipulations of the test were:
No For->Each Loops
No using Built-In Sorting or Searching Functions

[code].....

View 4 Replies

Saving And Loading Large Amounts Of Data?

Sep 5, 2009

Is it possible to create a kinda virtual storage in a vb application so that data created during run time are stored right in the applicaion instead of its environment?

View 11 Replies

VS 2010 : Working With Large Amounts Of Data Without Getting Out Of Memory?

Apr 25, 2011

I recently wrote a program that collects information from the network can displays it in a DGV for the user to see. I tested this on networks where I would end up with several thousand items brought back and all worked fine, very little memory increase and once the search had finished the memory usage went back to pretty much what it was before the search, so I assume I have no major memory leaks that I should be concerned about (I'm careful to always dispose of things and clear large variables where possible).

However, a new company has now started using my application and they have several hundred thousand items that my program will find. They reported that they leave the program running its search for a few hours and most of the time it crashes with an Out Of Memory exception. Now I did have my app do some caching of certain information to avoid querying the network more than was necessary so I thought well maybe this is what is causing it but I added an option to turn that off and they say it still happens. So the only thing I can see it being is simply the amount of data that the program is finding and having to store in memory.once my application has gathered information about the items it stores them in a List(Of MyItemClass) and then when the search is complete the items are added to the DGV. So I'm thinking maybe its just the size of this List(Of MyItemClass) that is simply getting too large. Bear in mind that each instance of MyItemClass in this List can have quite a lot of information in it as it has several properties that are List(Of String) that may contain a few thousand strings in some scenarios.How do you deal with such large amounts of data without running out of memory?I'm assuming the only option I have got is to 'page' some of the data to a temporary file on disk once I get over a certain number of items in the List(Of MyItemClass)?

View 2 Replies

Stack Overflows - Filesystemwatcher Unreliable With Large Amounts Of Processing?

Apr 19, 2010

I created a program that watches about 10 folders for different excel files. Using the filesystemwatcher with filters in place and correct error handling, it still misses some files once in a while (that's ok I guess).Anyways, I'm writing this because I added another form that has a filesystem watcher, when I tried to load the form I got a stack overflow error - an error that isn't debugged (a greenish line that you can only stop debugging).Am I going about this a wrong way? Is filesystemwatcher unreliable with large amounts of processing?

View 1 Replies

Main Form Allow User To Enter And Store Monthly Amounts In An Appropriate Data Structure

Jan 28, 2012

The company require an application that displays coffee usage information for the managers of CostaB Coffee. Sample data has been provided for last years (2011) monthly usage amounts in kilos and is as follows: 400.5, 450, 475.5, 336.5, 457, 325, 220.5, 276, 300, 320.5, 400.5 and 415.

Requirements: The main form will allow the user to enter and store monthly amounts in an appropriate data structure. It will enable the users to calculate the total usage for the 12 month period and average monthly usage. A further requirement for the application is for the users to be able to display the monthly totals in ascending (smallest to highest) and descending (highest to lowest) order of the monthly usage amounts. Utilise appropriate formatting for input/output and include appropriate error trapping and data validation in the application.

View 12 Replies

.net - Large Display Text Moving Controls?

Aug 11, 2011

I'm working on a .Net Windows application. All the controls arrange fine, but when the user specifies their Windows display text to be larger than the Windows 7 default of 'Smaller', the controls get moved around on the form and makes it unusable.

Is there a way to lock down those controls no matter what the display text setting is at?

View 2 Replies

Display A Large List Of Text And Search?

Aug 4, 2009

I'm trying to have it so theres a big list of items for example:

item1
item2
item3

[Code]....

I was thinking a list box? but I'm not all too sure on how to use one. I'd like the user to be able to scroll down through the list OR use a search. How could I search the list?(Id use a textbox as what to search for and a button to search the list.)

View 9 Replies

Display Large Amount Of Fixed Text?

Nov 22, 2009

How do I display a large amount of fixed text (about 400 words) in a form. I also need to have scroll down bars.[code]...

View 1 Replies

Display Money Amounts In Word Form?

Mar 20, 2009

make a money denomination program in VB.NET.The problem is when you enter a number the program should convert it to word format.If you enter in '98534671.23'the program should convert it to "ninety eight million five hundred thirty four thousand six hundred seventy one and twenty three cents".See Also:How can I convert an integer into its verbal representation?

View 1 Replies

VS 2008 - How To Display Colored Text With Large Font In ListBox

May 14, 2009

I am trying to put colored text into a list box. I use the following

Private Sub ListBox1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ListBox1.DrawItem
e.DrawBackground()
Dim myBrush As Brush = Brushes.Blue
Select Case e.Index
[Code] .....

This works fine and dandy as long as I use 8 pt font, but when I change the font to 20 I get the following: How can I get the list box to display colored text in a large font?

View 5 Replies

VS 2008 Best Way To Display Large Text Files/Slow Controls?

Mar 24, 2009

I am new to VB.Net, but I can tell you so far I love programming. That said, I'm building a tool basically to parse and display simple plain text log files. I'm hitting one stumbling block that really has me frustrated.

Other tools are able to load huge log files (500MB even) in a number of seconds. My tool, basically hangs loading a file that is maybe 5MB.

I'm using the MyString = StreamReader.ReadToEnd to read the contents into a string, and then RichTextBox1.Text = MyString to display the contents. That said, I really want to display the contents in a datagrid, but there has to be a better way of doing this?

How can I get my application to load larger files and display them faster? What am I doing wrong?

View 7 Replies

Three Text Boxes For Inputting Amounts Of Money?

Jul 16, 2010

I have three text boxes for inputting amounts of money. One is for a total check amount, the other two are separate amounts that should add up to the total check amount. In each of the individual text boxes validating events, I have the following

Private Sub txtAmount1_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles txtAmount1.Validating
Try

[code].....

View 3 Replies

Take The Three Amounts From Three Text Boxes Entered By The User And Return?

Jul 24, 2011

the project here is to take the three amounts from three text boxes entered by the user and return a string in a label telling the user if the triangle is either a right triangle, equilateral triangle, or neither after clicking a button. The code I have must use a new Class named Triangle. No matter what is entered in the text boxes, the label always returns "You created a right triangle!"

[Code]...

View 3 Replies

Store Whole Numbers And That A String Is A Varialbe Used To Store Any Text?

Feb 19, 2009

i know that integer is a variable to store whole numbers and that a string is a varialbe used to store any text, but what variable type would you use to store a number that has decimals?

View 7 Replies

Display Them As Large As The Screen Will Allow?

Mar 10, 2012

I propose to start a project which will take image files from a folder selected by the user, and display them as large as the screen will allow. I shall start with images that will be in the form 'filename.jgp'.I reckon I'll be able to do most of the coding without too much trouble but before I begin I'd like to know that there is a way of discovering the x and y pixel sizes of a .jpg file so that I when expand, or reduce it I will be able to keep the image in the correct aspect ratio.I'd also like to know if there is a way to rotate an image through 90 either clockwise or anticlockwise, (counterclockwise) for those cases where an image is stored sideways due to the difference between taking photographs either in landscape or portrait mode, or even through 180 I guess for if the camera was totally inverted.

View 4 Replies

Display A Large Amount Of Data In Gridview?

Jan 7, 2011

I am trying to show a large amount of data in gridview but the problem is that everytime data increase the gridview row size increase automatically.

View 4 Replies

Display Large Varying Table In A Windows Form?

Mar 31, 2010

I need to display 3 columns and a varying amount of rows (typically around 50) in a windows form, kinda like excel. The data will likely be longer than the window, so a scroll bar will have to come into play somewhere.

View 1 Replies

Scrollable Display Of Extremely Large Image On A Form

Aug 11, 2009

I am an experienced programmer but mainly in 4GLs and assembly. Relatively new to VB programming, especially GUI applications. On a form I need to create an area that will be used to display *extremely* large TIFF images. typical image size would be 2000 pixels by 100,000 pixels. Typically I will NOT want to display the entire image at once, so the area will need to have scroll bars and/or other methods to scroll/pan around the image.

I have read about and tinkered with the bitmap and picturebox objects, including some threads about several different ways to implement scrollbars. However, I see that the picturebox size is limited to 32K pixels in both dimensions. I suppose that I might be able to copy various portions of the bitmap to the picturebox depending on scroll position, but that seems potentially quite slow and cumbersome. Can an expert developer who is experienced with these types of issues regarding the following:

1. Can bitmap objects be used effectively with TIFF images of the size I am working with?

2. an approach that should produce reasonable scrolling performance for these extremely large images without excessive coding effort?

3. For an image that exceeds the picturebox size when displayed at 1:1 scale, is the picturebox capable of displaying a reduced size version of such an image without lots of code, and if so, how?

4. Many (most?) graphics display objects count on all of their display data being stored in memory rather than on disk. Would that be true of a TIFF image loaded into a bitmap object and displayed via a picturebox? If so, the amount of RAM required in order to buffer the entire image in memory could be a potential problem for images of this size. Is there an advisable way to have the picturebox or other display object only load portions of the image into memory on an as needed basis, and purge them once they are no longer required? Are there any built in objects/methods/properties or is there any sample code to show how to do this?

View 12 Replies

Text Editor - Loading Multiple Large Text Files

Jul 10, 2010

I'm fairly new to VB.NET, and I'm working on a text editor with a tabbed interface. I deal with large text files. Should I have each tab / text document open up in a new thread or a process? I basically want the entire application to always run fast as the text editor is just one part of it. If I have several large text files open I don't want the rest of the application slowing down a bit.

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

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

Large Chunks Of Text In A Rich Text Box?

Apr 22, 2010

I have ~ 1 page how to that is currently in a text file which I want to add to a richtext box.I am just wondering if there is some way I can just copy/paste it so it keeps its formatting etc.

View 1 Replies

PDF File Display Store In Database?

May 5, 2011

I have Stored PDF file in a database i want to display this PDF file in my VB.net Window Form

How i display PDF in my Form..

View 8 Replies

Store & Display Names In An Array

Mar 15, 2012

In the following code (Class & Form1), I'm trying to figure out the following:

- Create an array that stores the 'Clients' (first name, last name, account number)
- 'Button List' the array with the (First Name , Last Name , Array Value , Account Balance) [code]

View 4 Replies

Display The Correct Number Of Asterisks Per Store?

Jun 21, 2010

I am having issues getting my application to display the correct number of asterisks per store. Also, I cannot figure out how to get each store to display in the list box.

' BarChart: Chapter 5 #6
' Program Discription: This application prompts the user to enter today's sales
' for five stores. The program then displays a bar graph comparing each store's
' sales. The bar graph is made up of asterisks in a list box. Each asterisk
' represents $100 in sales.

[Code].....

View 1 Replies

Sometimes The Path Is Too Large So The Text Gets Cut Off From The Frm?

Jul 12, 2010

My program displays the current path that it scans.The problem is that sometimes the path is to large so the text gets cut off from the frm.I was thinking is it possible of cutting this log path.

C:Hellowindowspath
andom text extfoldervb.txt

to

C:Hellowidows..... extfoldervb.txt

View 2 Replies







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