Multiple Thumbs On Single Scrollbar?

May 10, 2011

I'm working on a project that involves using multiple scrollbars. Scrollbar1 displays the medium value and its thumb is disable, scrollbar2 displays min value and scrollbar3 displays max value. I can try to use three separate scrollbars to accomplish thetask but that doesn't look nice. Therefore,

View 3 Replies


ADVERTISEMENT

Split The Arraylist Thumbs Into Parts Of 15 And Call The Function With Thumbs

Apr 29, 2012

In the code below there is a inparameter named thumbs to the function CreatePage. thumbs is an arraylist. My question is if you know if it's possible to split the arraylist thumbs into parts of 15 and call the function with thumbs(1-15), thumbs(16-30), thumbs(31-45) and so on. Until the arraylist is empty.

html.CreatePage(txtTitleTag.Text, txtText.Text, "index", txtDirectory.Text & "", thumbs, txtMetaDesc.Text, txtMetaKeywords.Text, "test.com", "test2.com", BackgroundColor, FontColor)

View 1 Replies

Is Running Multiple Threads Faster Then A Single Thread On A Single Core Cpu

Dec 23, 2009

Say I have a code with 3 methods that do some pretty intensive work. Would executing these methods on 3 seperate threads be faster then executing them one after the other on a single core cpu? And what if it's a dual core or HT?

View 8 Replies

Selection Of Multiple Folders At A Time / Scrollbar Position?

Jun 1, 2010

A couple of questions about the FolderBrowserDialog in VB .NET Express 2005...
1. How can I make it so this control allows selection of multiple folders at a time?
2. It remembers the folder I selected last time (in the same session), and highlights that folder, which is good, but that selected folder appears near the bottom of the window. Is there a way to make it so the previously selected folder appears in the middle of the window (i.e. the scroll bar is further down the window)? See screen shot attached for how it currently looks when the window opens.

View 2 Replies

Textbox With Vertical Scrollbar - Get The Scrollbar Position Without Having To Reposition The Carat?

Oct 21, 2010

So with the stock Textbox, I set the Scrollbars property to Vertical. This is great if the text in my box never changes; I can scroll up and down while the box sits still. If I'm running a background operation that logs output to the box though, the scrollbar resets itself to the top every time I append text to the box.

I know I can set the Textbox.Selection property (or use the Select method) to reposition the carat in the textbox, make note of that position in a variable, then append text, reset the carat, and use the ScrollToCarat method to reposition the scrollbar where it belongs. That's a really (ridiculously) long way around. Anybody know if there's another/better way of holding the scrollbar position, short of actually building a custom control (or using a Textbox and a separate Scrollbar)? It never hurts to try. In a worst case scenario, you'll learn from it.

View 8 Replies

Merging Multiple Sheets From Multiple Workbooks Into New Sheets In A Single Work Book

Dec 13, 2011

I am looking for the code to consolidate multiple .xls sheets from within multiple work books in a file all containing the same format of information. Each sheet needs to be coppied to a new sheet within a single work book.

Once in a single sheet I need to then copy data from a range of fields into one consolidated sheet.

View 1 Replies

C# - .NET Multiple Namespaces For Single Class

Sep 27, 2010

Is it possible to have a single class reside within two name-spaces and how can I do this?

To clarify: We have a class library (let say root namespace is classLib1), which has grown over time (more classes) and I want to logically group classes into different namespaces. However some of the older classes need to be grouped into these new namespaces (e.g classLib1.section1) and doing so will break legacy code in other assemblys that use this class library. So I want to be able to refer to a class using both name-spaces until we can phase the old ones out.

I can't find any information on this, which suggests there is a reason that people would not want to do this!?!

View 3 Replies

C# - Using A Single DataSource On Multiple .NET Forms

Sep 16, 2010

My program has two forms which get data from the same data source. After binding controls to tables and fields on both forms, I noticed each form has it's own apparently duplicate DataSet. Is it standard practice for each form to have its own DataSet even though they use the same ConnectionString and connect to the same database at the same time?

View 1 Replies

Combining Multiple Projects Into A Single One

Apr 19, 2008

I originally developed a simple application software [VB.Net + MS Access] (Lets call this project A) but now I want to include more functionality in it. I have an encryption/ decryption software utility (Lets call this project B ) and a Text to speech generation utility(Lets call this project C) . That is, I want to add Projects B and C to project A. [Such that clicking on the main form of project A calls a form from project B or C as desired].In solution explorer, I right clicked--Add Existing Project--and added both the above mentioned projects 1 by 1. (Added B and C to the solution explorer with the already present A).As the application software's (Project A's) main form is the main form of my project, I want to have a menu option on the main form (Of Project A) so that a user could click on one of the menu options and the main form of my other projects ( Project B or Project C or Encrypt/Decrypt or Voice Generation) should open by him doing so. To this effect, I tried the following:

1. I dragged the form simply from one of the projects (From B or C ) into the folder of my Application Software (Project A).This generated a lot of Build errors and the Voice Generation utility (Prj. C) would not work like this.

2. Tried to reference a dll, however the authors of Projects B and C did not include a dll in their projects.

3. Now I came to know that to call a form residing in another project folder or even another folder within the same project, you have to give a path for the form. HOW DO WE DO THIS?

As you can understand, I cannot copy the entire code of the 3 projects here....I will try attaching my project here though..Here it is: http: rapidshare.co...MY_Prj.zip.html[Dear Administrator: The downloading option on the webpage does not allow files bigger than I mb, thts why I used an external link]As I said, in the application, Project A is TMS.NET ; Project B is EncryptFile and Project is C.I encountered a problem while adding project C [spoken word], so the project contains only projects B and A. I will try to attach project C seperately.That is, TMS contains proj A+B and Speech contains C.

View 4 Replies

How To Combine Multiple Matrices Into A Single One

Jan 12, 2011

I am trying to understand transformation matrices (not just their implementation in VB, but in general) and I've put about 3 full days into this so far. I believe I have the data in my matrices correct. Applying any single matrix to an array of points does a correct transformation.I am wondering if I understand how to combine multiple matrices into a single one.I understand you just have to multiply them together.I took this to mean you just have to multiply each element with its corresponding element in the second to make a third matrix?[code]

View 5 Replies

MDI Single Form Or Multiple Forms

Mar 7, 2010

I've written an application with about 30 forms and am almost ready to publish, my biggest concern though is that i'm not sure if its a normal thing to do having all these forms and hiding, disposing and showing forms throughout the use of the application.I've toyed with the idea of converting to a MDI Child / Parent interface as well as having one form with lots of subcontainers that are hidden and then hiding / showing them as the navigational buttons are shown.Ive worked on this application for about 8 months now, but would be happy to rewrite the interface and appearance of it if i know that it is not generally an acceptable practice having forms flashing open and closed while navigating through the application.

View 3 Replies

Multiple Operations Using Single RecordSet?

Jun 18, 2012

I have some task regarding do operations on database using ADODB in Vb.NET.regarding using the same record set multiple times?

I have tried on this topic just by closing the recordset after performing First operation and doing second operation e.t.c.

In ADO.NET we have "MultipleActiveResultSets=True" in ConnectionString for SqlDataReader.Do we have any property like this in ADODB?

View 1 Replies

Save Multiple Textboxes In A Single .txt?

Dec 4, 2011

ok i need a code to save multiple textboxes in a single .txt..

EX:
TextBox1.Text = ("Michael Rittenburg")
TextBox2.Text = ("United States")
TextBox4.Text = ("Nashville")
TextBox3.Text = ("Tennessee")
TextBox5.Text = ("37203")

View 3 Replies

Single File To Multiple Subdirectories?

Jun 7, 2009

basically im looking to have two textboxs with 3 buttons

TextBox1.text contains the path to the new file and

TextBox2.text contains the path folder to subdirectories

i have everything i need working, haha i know not much, this is only my second day with vb.I just needed a button now to carry out the function of copying the file i tried using simple file copy but i had to specify a file output in that and it only gave me option to copy it to one directory.For instance

C:index.php TextBox1.text <- loaded in from button 1

C:www* TextBox2.text <- button 2 loading subdirs

now i need a button 3 that would carry out the function of copying textbox1.text to all subdirs in textbox2.text.i thought i would have been able to use simple copy as stated above with wildcard in my program but no joy

View 6 Replies

Single Form With Multiple Instances

Aug 12, 2010

I have a form which displays temperature and humidity data for a device in the field. I have multiple devices. Rather than creating a separate form for each device, obviously it is much better to have a single form that I instantiate, pass data to, and display. The devices are listed in a treeview, and when the user double-clicks the node, I create an instance of the form, pass the device's data to the instance of the form, and display the form. All of this works perfectly. However, I have a challenge: If the form for a particular device is already open, I don't want another one opened when the user double-clicks the node.

However, whenever I place logic in the program to check for the existence of the form and only allow another instance to be created if one doesn't already exist, it prevents me from creating a form instance for any other device that I may wish to view, simultaneously. So, I have a dilemma -- allow the user to display the data for multiple devices, including allowing multiple forms to be open for a single device, OR only allowing one device to be displayed at any given time.

View 2 Replies

VS 2010 Single Or Multiple Datasources?

Sep 23, 2010

Is it better to add just one datasource to your project that holds all your database tables and queries that you use as typed datasets. Or, create a datasource for each individual form or situation where your using the database tables as typed datasets. It seems simplier to have just one datasource but is there a down side. We're talking about @25 database tables/queries.

View 8 Replies

Accessing Multiple Projects In A Single Solution

Jun 17, 2009

I've developed a couple of different stand-alone projects, myRibbonRTF and myRibbonCalendar and have them functioning well. I want to tie these together with other projects in a single solution called myMain. When I add these projects to the solution, their forms are not accessible in myMain (e.g. myRibbonRTF.frmMain.Show()). I've searched high and low for the last week trying to solve this and the only nearby solution is to turn the other projects into .dlls and access them in myMain that way.

View 7 Replies

Asp.net - Prevent Multiple Logins For A Single User?

Jun 9, 2011

How can I prevent a single user from logging in to my asp.net website from more than one computer at the same time?I have tried using the application server side state managenment but it is not work properly.

View 1 Replies

Building A Single Setup For Multiple Applications

Apr 7, 2010

I have been working with Visual Studio 2005 for about a year and a half but the deployment task was never left to me. So now I'm being asked at my company to build a setup which will prompt to install up to 4 applications, which can be chosen by the user using checkboxes.

All of the 4 share the same dependencies, so I created a merge modules package for that purpose. But I still don't know how can I build a single setup to install these 4 applications.

View 5 Replies

Cannot Attach Multiple Pictures In A Single Picturebox

Jun 21, 2010

i am trying to make screen saver in vb.net i m using picturebox and timer (for separation of time), but i cannot attach multiple pictures in a single picturebox.

View 1 Replies

Format Sql To Allow Multiple Rows In A Single Column?

Oct 11, 2011

i have a project and i want to insert multiple rows into a single column and then display them into a single text box...

this is what I'm going for:

DATABASE: column 1
| column 2 | column 3
| column 4 |

[Code]....

yes i know I've posted this in 3 different forums but no one seems to know either

View 2 Replies

Grouping Multiple Invoke Calls Into A Single One?

Jul 9, 2009

after finally fixing many problems with my program, and finally fixing it so it could run in a backgroundworker... I started to learn INVOKE but a small problem with this. Im not sure.. do I have to INVOKE for EVERY component of a FORM I want to modify? or is there a way to group all the invokes into a single big one?or a groupbox could work?

If progreso1.InvokeRequired Then
progreso1.Invoke(New updateprogressbardelegate(AddressOf updateprogressbar), New Object() {Me.ProgressBar1, valorprogreso})

[code]....

View 4 Replies

How To Add Multiple Documents Into A Single Word Document

Sep 9, 2008

I have written the following code:

Dim cmdString As
String = "Select x from abc where s='Y'"

[code].....

View 1 Replies

How To Store Multiple Image In A Single File

Aug 18, 2011

I want to store images like finger prints and data in a single file so i can send that file via mail.

View 1 Replies

Loading Multiple Datagridviews From A Single Sql Table?

Nov 18, 2011

I wrote a function that allows me to retrieve data from a single SQL table and place it into 3 datagridviews. The problem i am having is as follows:* Whenever a user types something in anyone of the datagridviews that information is recorded in all three of the datagridviews.I am seeking partnership to address my issue. I have enclosed my function that is called to populate the 3 datagridviews

Function SetupColumns(ByVal str As String) As BindingSource
Data_set.Clear()
Try

[code]......

View 8 Replies

Multiple Applications Updating Single Database?

Feb 19, 2009

I have an application which takes input on a local machine and sends it to a database stored on a server. I'd like to be able to deploy my application over a number of computers (all on the same network), all of them updating the same database (on the network server).First of all, will this be possible without putting together a completely new application to handle all connections to the database and sorting the entries?

View 7 Replies

Multiple Data Items In Single Field?

Apr 30, 2009

What I'm trying to do - VB 2005 express and sql 2005 express editions - Trying to set up just a basic hardware/software inventory program. As is I've got separate tables for computer and software licenses...with ComputerID and LicenseID primary keys respectively...where I'm bumping into walls is that I wanted to be able to link them together with a foreign key, for example the computer record would have a foreign key for LicenseID and when a license would get installed the ID would go in and there'd be a nice pretty link. However I run into scenarios where a computer might not have any software installed...or might have more than 1 software item. Or a single software item may be installed on 1 computer, multiple computers, or nowhere. It possible to have that single foreign key field link to multiple records from the opposite table?

What was originally suggested to me was to have a 3rd table called Installations. It'd have 3 rows...one named InstallationID as the primary key, and 2 foreign key rows named ComputerID and LicenseID that linked to the other tables, so that when a license was installed, a record would be added to the Installations table, and later on when we wanted to see where all a particular license was installed or what licenses a single computer had, the table could be filtered by computer ID or license ID and all matching records could be displayed. When I tried that out though I'm having a heck of a time getting the correct items to display.

Just as a basic test i set up a new form and dragged the tables onto it from the Data Sources window using "Details" view for each of them, so that it set up the table adapters and binding sources and navigator for me. I got rid of the auto-added labels + textboxes on the form and added just a couple new textboxes, 1 linked to the licenseID and one to another row i had in that table for productkey...tested it and it moves through the records fine and the correct data shows up in each box to correspond with the other. now though I'd like to add another control to display each of the ComputerIDs that are linked to the particular license being displayed in the other controls via the foreign keys routing through the Installations table, but I'm not having much luck.

View 1 Replies

Multiple Data Source For A Single Report?

Jun 9, 2011

is it possible to have a single report from two different tables? Because I have been reading articles that are saying that it is not possible and a subreport should be implemented? Can anyone clarify this for me?

I've been retrieving the fields that I need for my report with inner join sql statement and setting it as the data source of the report that I had created but it doesn't show up when the crystal report viewer is loaded. I had the correct syntax based on testing on what is retrieved by the statement, the only problem is how should it be shown in a single report.

View 3 Replies

Multiple Defenitions With Single Signiture In Webbrowser?

Oct 14, 2009

I have this code for some custom events in a webbrowser I'm making. The events are meant to be for when the user carries out certain actions, here are the actions:

Mouse Enters a link (HTMLElement)
Mouse Exits a link (HTMLElement)
Mouse Clicks a link (HTMLElement)

[code]....

Here is my problem: I have the event handler with the same name for both my Picture event and my Link events. How can I change my code so that the same function is carried out as I want, but the names for each of the events are different?Here is the error which I am yielding:Error3'Private Sub onmouseenter(sender As Object, e As System.EventArgs)' has multiple definitions with identical signatures.C:\Users\Josh The Great\Documents\Visual Studio 2008\Projects\Net Browser\Net Browser\Forms\Form1.vb216417Net Browser

View 10 Replies

Multiple Incident Replace Within A Single String?

Feb 11, 2012

Using the example piece "aString = Replace(TestString, "o", "i")"

I would like a count of every time it makes a change. Possible?

If not, is there a clean way to do a multiple incident replace within a single string and have it record counts?I know I can create loop throughs but they are slower and messy.

View 3 Replies







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