C# - .NET Choose Items Dialog

Aug 24, 2010

Is there a standard .NET control for what I call "a two pane picker", or do I have to code it by hand?

Two pane picker:

The left pane has a list of items. The user can pick items from the left pane to put them in the right pane using buttons between the two panes. Picked items in the right pane can be reordered with buttons.

An example of the "two pane picker" can be found by right clicking the Quick Access toolbar in Word 2007 and clicking "Customize Quick Access Toolbar..."

Note: If applicable, VB.NET answers preferred, but C# answers are acceptable too.

View 4 Replies


ADVERTISEMENT

Display Dialog With List Of Web Colors For User To Choose?

Jun 5, 2011

How can I display a color dialog with a list of known web colors for the user to choose?
E.g.
black
white
dimgray
gray
darkgray
silver
etc.
I need to display ALL web colors

View 1 Replies

Choose Items In Windows Application

Jun 4, 2011

I have some problem with my windows application in my system. when ever i right click in the tool box and select choose items, the application got closing. Can, any one help me how can i resolve this problem.

View 4 Replies

IDE :: Have A Silverlight Tab In The Choose Items ToolBox When Never Installed It?

Sep 11, 2010

Why do I have a Silverlight tab in "Choose Items ToolBox" when I never installed it?The problem is if I select that tab (by mistake of course ;) it locks up!Reproducable bug:Right click Toolbox to open context menu, select "Choose Items". In the "Choose Items ToolBox" window select SilverLight Tab, after that none of the tabs/buttons work so I am unable to cancel/close the window and have to kill devenv.exe with task manager.System:Windows XP Pro 32-bit VS 2010 Pro Silverlight is not installed!?

View 5 Replies

Choose Toolbox Items Window - Assembly Installer ?

May 3, 2010

I was looking through the choose toolbox items window the other day and i saw one called Assembly Installer. I was wondering what this is and what it does?

View 2 Replies

Using Facebook API - Components Don't Show Up In The Toolbox Nor In The 'Choose Items' List

Oct 6, 2010

Give me some kind of tutorial for using the FB API with VB.NET (2008). I tried installing the SDK, but the components don't show up in the toolbox nor in the 'Choose Items' List...

View 4 Replies

VS2010 Crashes When Selecting Choose Items In Toobox Context Menu

May 26, 2010

VS2010 Professional crashes when I select Choose Items from the toolbox context menu (right click). All has been working well since it was installed in March but just suddenly started with this behaviour. I had an issue with one of my apps which caused a total VS freeze at about the same time this issue started but the app is now working correctly.It had stopped me from using VS2010 and I reverted to vs2008 but that has developed a bug which prevents me from creating / accessing any data connections. A bit stuck now.I have removed and installed VS2010. Initial reinstall attempts failed due to unverified msi file (??). However, I have now successfully installed VS2010 back on the machine. Crash problem still remains.

View 4 Replies

Color Dialog Comes Up But When Choose A Color And Click 'OK', Nothing Changes

Jul 24, 2011

Why isn't this working? The color dialog comes up, but when you choose a color and click 'OK', nothing changes.

Code:
Private Sub ColorBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ColorBtn.Click
Dim NewColor As New Color

[CODE]...

View 7 Replies

File I/O And Registry :: Save File Dialog - Allow Users To Choose The Directory To Save Files Into

May 8, 2010

I am trying to find a way to allow my users to choose the directory to save files into, THe file name is automatically generated as it has a naming convention and i am able to pre program a location to save to but i d like to be able to allow my users to decide themselves which directory they want to save the files to and to have the ability to choose which directory to save to

[Code]...

View 2 Replies

Add Items To A List View Via Open File Dialog?

Jul 10, 2010

I'm dealing with image files so I need to have the image with the item.

I have an image list which is called img and the open file dialog is ofd1.

View 4 Replies

VS 2010 Randomizing - Program Randomly Choose Questions - NEVER Choose Same Question In Same Program

Dec 20, 2011

I am currently working on a family project which is based on "Who Wants To Be A Millionaire?" show. There is a huge diffrence between the show and my project. My project is a christmas edition and the goal is not to get money or something, since I will not add it... Erhmm... Let me get to the point. I have already designed a layout and scripted some things. I have about thirty questions but I do not want them to always spawn in the same array, if you know what I mean. I want the program to randomly choose one of those thirty questions and NEVER choose the same question in the same program run. By the way, there are four options on my project: A, B, C and D. I have got everything, I just need a code.

View 3 Replies

Get The 'Progress' Dialog To Display Immediately After The 'Install Icon' Dialog Disappears?

Jun 4, 2009

I have a simple desktop application that uses a .NET setup project (.msi file) to perform the installation. On the first installation, everything proceeds in a timely fashion with good feedback for the user.The problem occurs when the user is installing the latest version of the application over an old version on their machine.There is an unacceptably long delay of about 60 to 180 seconds from the time the installer's 'Welcome' dialog [It's not the Welcome dialog, I've removed that from the Start section of the setup project and replaced it with a CheckBox dialog to ask if the user wants a shortcut on the desktop] disappears until the 'Progress' dialog appears. The user sees minute(s) of blank screen and thinks the install has stopped or failed.

In the setup project properties, I've got the 'DetectNewerInstalledVersion' and 'RemovePreviousVersions' properties set to true. So, I believe that while nothing appears to be happening, the installer is actually removing the old version. The 'Progress' dialog does not appear until the new version begins installation.I've been trying to either:

a) Get the 'Progress' dialog to display immediately after the 'Install Icon' dialog disappears

b) Show another dialog while the Uninstall is running to let the user know that the setup is still running and everything is OK.

I have been unsuccessful with both methods. I'm using VS 2008 SP1?

View 1 Replies

Custom DialogResults - Create New Dialog Results For Dialog Forms?

Nov 11, 2009

Can I create new dialog results for my dialog forms? And then use them with Form.ShowDialog method?

View 13 Replies

Forms :: Modeless Dialog Active When Modal Dialog Displayed?

Nov 16, 2010

Is there a way to launch a Modeless Dialog that stays active even when a Modal Dialog is launched? Can I put the Modeless Dialog in a seperate Thread or something like that?

View 3 Replies

Passing Information Between Forms/dialogs (Form -> Dialog -> Dialog)?

Dec 22, 2009

I often use the process of displaying a dialog from a form, with the dialog user input then used to update the main form without any problem. In a new scenerio I launch the main application screen, I then show a login dialog ontop of the main app screen and can launch another dialog from the login if a new user is required. The plan is to update the login dialog (updating a combobox to reflect the addition of a new user) from the new user dialog.

See code below :-

'Update login forms user list as new user added successfully
frmRoomBookingLogin.cboLogin.DataSource = Nothing
frmRoomBookingLogin.txtPassword.Text = "Updating password from dialog"
MessageBox.Show("The password text is " & frmRoomBookingLogin.txtPassword.Text)

[code]....

The messagebox implies the dialog has been updated yet the text does not change. Is it possible to update the dialog when using a setup such as Form -> dialog -> dialog? I'm intrigued as why the dialog does not reflect changes. I have never refreshed/repainted the dialog as never required to in my other examples when updating a form from a dialog and never encountered a problem when using a two tier form setup.

View 2 Replies

How To Use A File Opener Dialog And A Folder Browser Dialog

Jan 27, 2010

I have an assignment due this week in which I have to make a app that has 5 buttons and a picture box. When each button is clicked it has to show the corresponding picture in the picture box, the fifth button closes the app.

I have the whole form set up the way it should be, but I have no idea how to write the code to make the buttons display the images and close the app.I have the images in a folder within the project folders.

I have yet to be able to find one, the one I found should how to do it using a file opener dialog and a folder browser dialog but that is not what I think my prof wants us to do, as that is more for a picture viewer app that lets the user choose the file of the image they want ot view.

All i want is for the buttons to be linked to specific photos that are part of the application itself and have them open.

View 3 Replies

Modeless Dialog Active When Modal Dialog Displayed

Nov 16, 2010

Is there a way to launch a Modeless Dialog that stays active even when a Modal Dialog is launched? Can I put the Modeless Dialog in a seperate Thread or something like that?

View 12 Replies

Dialog OK Button Sometimes Returns Dialog Cancel?

Jun 30, 2009

I have a Dialog that is basically a confirmation dialog on some SQL statements. After the dialog I have an if statement: If frmRelease.ShowDialog() <> Windows.Forms.DialogResult.Cancel then.My buttons are set as DialogResult = OK and DialogResult = Cancel respectively on the dialog form.

For some reason, sometimes my button set to DialogResult = OK is returning me a DialogResult.Cancel, and causing me to skip a block of cleanup code.

View 7 Replies

Don't Show Any Dialog, Or Detect The Dialog Using The Dll Name

Jun 3, 2009

I'm using a DLL in vb.net 2005, and this dll show a messagebox with OK option. I would like to close this Messagebox by code.

I was investigating to use SetWindowsHookEx, but I can not detect it. Is it possible to don't show any dialog, or detect the dialog using the dll name?

View 4 Replies

Forms :: Opening A Dialog From Another Dialog

May 29, 2009

I have a dialog which opens another dialog. The problem is that the second dialog opens behind the first. Is there a way to stop this from happening? I tried bringtofront with no success.

View 2 Replies

.net - Choose To Learn .NET Or C#?

Feb 22, 2011

Possible Duplicate: Which language should I pick up: VB.Net or C# I'm trying to make a descision on learning VB.NET or C# as my first .NET language. I'm aware that bith languages can achieve the same things since both ultimately use the .NET framework. I'm also aware that C# has a similar syntax to both Java and C/C++, so I definitely see the benefits with this.

But how about the future of VB.NET? Will it be maintained in the years to come?I do know a bit of python, so would that make C# easier to learn?

View 11 Replies

Choose The Last Value In An Array?

Oct 22, 2009

I have an array with values that differ from file to another. I mean in one file I might have 6 values in an array in another I might have 9 and so on.How can choose the last value in array to use?

View 2 Replies

How To Choose A Question

Jun 28, 2010

I need to setup when a user presses a button it chooses a predetermined question (a selection of 4) I have tried

Dim rand As New Random
rand.Next(0,5)

However thats for numbers, I then tried

Dim rand As New Random
rand.Next(w,z)

and I keep getting errors.So how can I set it that it chooses a letter between w and z.and how would I set it up in the coding itself like would I make it

W = question1 = inputbox("questionisinhere")
type thing?

View 10 Replies

How To Choose In Random

Feb 26, 2011

Sorry, it has been a long time since the last time I posted, but I did not have any idea of a project. Moreover, I had exams.Anyway, I am now facing a problem in programing a 'Sudoku' generator. However, I had an idea to solve it. Unfortunately, in this idea I need a code to pick a number in random other than:

View 9 Replies

Vb Choose Certain Word?

Mar 14, 2009

in Visual Basic 2008 i need to no how to get a sertin peace of text from ("texstbox1.text")like say ("textbox1.text") has this in it

"""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""
"""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""
<!doctype html><head><title> vbforums - Google Search</title><script>window.google={kEI:"Mfa4Sdj0OoHasAPm oNRB",kEXPI:"17050",kHL:"en"};

[code]....

how do i only get the vbforums text?

View 4 Replies

Best Language To Choose For Development

Jul 18, 2010

Which language, VB.Net or C# is the best language to choose for development right now? Needing users to have the .Net framework is something that I see as a drawback to Vb.NET, but what are the pro's and con's of each language? What can be achieved with one but not the other?

View 1 Replies

Choose .net Obfuscator Program?

Jul 19, 2010

I have written a program in vb.net 2008 (using .net 3.5). It's a decent size program. One part of this program is to access an online database and encrypt/decrypt files. To access db I use a hardcoded password. To encrypt/decrypt files I used a hardcoded key. No matter what I do I would need to hardcode one of the two things at least. For example: even if I store database password in an encrypted file I would need to hardcode key to decrypt it. Or vice versa. So after doing some thinking I figured that I need to obfuscate my code so that at least these hardcoded elements/values wont be visible easily. Infact to test, I used a program to disassemble my program. And to my amazement, it showed me every line of code in my program. I felt as if my entire code is pasted in my exe.

Thus I need to obfuscate my code. See I do not need too advanced settings. My program is not among the top shareware programs or super popular that I need very high security. But I need enough security so that my basic code, variables and sensitive information (password etc) is not visible. Please help me choose a good obfuscator which will do the job. It should not be too tedious to use and should be sufficient for me. Plus it should be trusted and secure. I mean I don't want my application to crash or be unstable after I obfuscate it. I have downloaded trial of .net reactor from Ezriz and it seems to be fine. What do you guys suggest? I cannot affort something over $200.

View 5 Replies

Choose A File In A Folder?

Nov 24, 2011

I'm making a program that starts opens different folders on the user's PC. However, I want to be able to have a program in that folder selected. So, whenever the user opens up the folder after clicking a button on my form, I want one file in that folder to be pre-selected.

View 9 Replies

Choose A Random Name From A Txt File?

Jul 6, 2011

Does anyone have a function that will choose a random name from a txt file that is separated by new lines?

View 5 Replies

Choose Linq Over Forloops?

Jun 27, 2012

Given a datatable containing two columns like this:

CODE:

Would you use this snippet to retrieve a List(Of Integer) containing all Id's:

CODE:

Or rather this one:

CODE:

This is not a question about whether to type cast the Id column to Integer by using .Field(Of Integer), CType, CInt, DirectCast or whatever but generally about whether or not you choose Linq over forloops as the subject implies.

For those who are interested: I ran some iterations with both versions which resulted in the following performance graph:

The vertical axis shows the milliseconds it took the code to convert the rows' ids into a generic list with the number of rows shown on the horizontal axis. The blue line resulted from the imperative approach (forloop), the red line from the declarative code (linq).

View 7 Replies







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