Reference To Any Code Classes For Enabling Selection Of Folder Via A Dialog Window

Mar 30, 2006

I could use a reference to any code classes for enabling the selection of a folder via a dialog window.

View 5 Replies


ADVERTISEMENT

Multiple Folder Selection In Folder Browse Dialog Box?

Jul 7, 2009

how to do multiple folder selection in folder browse dialog box?

View 1 Replies

Opening A New Window As A Dialog Box Via Code?

May 5, 2012

I'm opening a new window as a dialog box via code.If I click on another application (let's say outlook) and then click on my project again in the task bar I get my main window and my dialog box is in the background and I can't get it back. What's wrong and how can I fix this?

View 2 Replies

Asp.net - Reference Page Class From A Code Folder?

Oct 14, 2011

I have an ASP.NET website written in VB.NET and trying to add MVC to it.

I managed to add controllers (to CS_Code folder) and make them running. However, I have to use some code from aspnet pages.

When I try to call method from page I ma having compile time error

public CustomerFrontend.DefaultForm DefaultForm { get; set; }

Error:

The type or namespace name 'DefaultForm' could not be found (are you missing a using directive or an assembly reference?)

Page directive definition which proves than namespace is correct:

<%@ Page Language="vb" ValidateRequest="false"
EnableViewState="False"
AutoEventWireup="false"
Inherits="CustomerFrontend.DefaultForm"
CodeFile="DefaultForm.aspx.vb" %>

View 2 Replies

More Window Enabling / Disabling Troubles

Oct 31, 2010

when I got home to try out the method in the above post in my real application things did not work out.The big difference is that my main form is a MDI. When I open my edit form, it's mdiparent is set to the main form. When I click 'edit' and then disable "me" the entire application goes modal.I was expecting only the MDI child to go disabled, not the whole application..Basically, I want only the MDI child window that opens it's "edit" dialog to go disabled..

View 1 Replies

Non Hard Code Way To Reference Public Documents Folder?

Nov 6, 2011

What used to be C:Documents and SettingsAll UsersApplication Data is now Win7 as C:UsersPublicPublic Documents or similar..This folder is not part of the Environment.SpecialFolders list. Is there another way to expose the above Public folder?I'm hoping you can programatically use that location for non virtualized read/write/alluser files.

View 1 Replies

File Selection Versus Folder Selection?

Aug 26, 2011

I am using this code to select a folder.how to do the same kind of thing selecting a file instead of an folder.

Private Sub PathButtonB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PathButtonB.Click
Using FolderBrowserDialog As New FolderBrowserDialog
With FolderBrowserDialog
.Description = "Kies die Folder waar hierdie ResepteBoek die Kunswerke vir sy Resepte moet gaan soek."
.ShowNewFolderButton = False

[code]....

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

Folder Selection - Enable The User The Ability To Select A Folder And The Folders Music Files Populate A List Box

Jan 6, 2009

Basically I am trying to enable the user the ability to select a folder and the folders music files populate a list box. I want two list boxes on the page, one with all the contents of the folder and then the other one for files selected from the first box. I have no clue on how to do this at all...

View 4 Replies

Add All The Files From The Selected Folder In A Folder Browser Dialog To A List Box?

Feb 6, 2010

Code so far:

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
If FolderBrowserDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
End If
End Sub

I have managed to get drag and drop working if this is any help:

Private Sub ListBox1_DragEnter(ByVal sender As Object, ByVal e As _
System.Windows.Forms.DragEventArgs) Handles ListBox1.DragEnter
If e.Data.GetDataPresent(DataFormats.FileDrop) Then

[code]....

View 3 Replies

User Specified Folder Name Vs Folder Dialog

Mar 18, 2009

In my application, user can select a folder via folder browser dialog box.

However, I want them the freedom to type folder name manually as well.

When they select folder path via folder browser dialog box, everything runs fine.

However, VB is not accepting user typed folder path eg. "C:Appjob"

View 7 Replies

Reference A Report Variable In The Report Properties Code Window Of A Local Report?

Apr 19, 2011

how I can reference a report variable in the Report Properties Code Window of a local report? I have tried Variables!Claimant.Value (for a variable called Claimant) but I get an error "Reference to a non-shared member requires an object reference." I have tried qualifying it with Report. and also with the report name in front of it but I get errors with this also.I have the variable CLaimant defined in the Variables section of the Report Properties.

View 3 Replies

IDE :: Highlighted Reference On Selection Only

Jun 18, 2010

While debugging my code flashes like paparazzi finding an up-skirt shot opportunity with the latest starlet. Every line step moves the caret to the new line, which in turn is now on a variable, keyword, etc... which causes the highlighted references to light up all over the interface.I don't want to turn off the highlighted referencing entirely, but in many editors, I actually need to select the text to get it do the highlighted referencing, and I would love to be able to do that in VS 2010.Am I missing an option somewhere that would let me use Highlighted References only when I select some text, not just the text caret is on a word?

View 1 Replies

COM Classes - Library - Reference To En External Dll

Dec 20, 2011

I have a .net class library that works fine. This library has a reference to en external dll. I have converted all its class to comclasses and checked the com interopt checkbox in order to use it as com library. I also registered it with regasm.

[Code]...

View 5 Replies

Reference Objects On Webpages In The Classes

Feb 26, 2010

I have a project where a email is sent when the user clicks send on the web page, however the content of the email will change depending on what is inputted by the user. I have added classes to my project so that depending what is selected by the user different classes are selected and as such different emails then sent from the project.

[Code]...

View 9 Replies

ComboBox Value Selection - Using Specified Table As Reference?

Feb 6, 2012

I have a vb application sitting on an sql server with 4 different tables. I want a scenario where when I select any table from the combobox, every query I will run should use that table as a reference.

E.g. ComboBox values(tables)=A,B,C,D

If A is selected then
SQLQuery="Select * from A "

If B is selected then
SQLQuery="Select * from B " etc

View 3 Replies

VS 2010 DataGridView Selection Reference?

Apr 12, 2011

I am currently working on a net scanner project. I have a class called node. I then create a List(Of node) to create the list of nodes I am going to be scanning.

I have a separate thread that scans the nodes using a simple Do Loop.

I then add the nodes to a DataGridView control:

[Code]...

This seems time consuming if there are a lot of nodes in the list. I figure there has to be a better way to do this, or maybe another data structure I should be using?

View 3 Replies

VS 2008 Reference The Same Instance Of A Class From Different Classes?

Feb 2, 2010

Whats the best way to instantiate a class so that i can have access to the object from diffreent forms and classes?

View 2 Replies

C# - Can't See An Assembly In Add Reference Dialog Box After Installing It In Gac

Sep 30, 2010

I have created a shared assemby MyLibray version 1.0.0.1 and installed it in gac. Again I created MyLibrary version 1.0.0.2 and installed it in gac.

See the gac screen shot.

But in Add Reference dialog box only older version 1.0.0.1 is available.
See the screenshot.

View 2 Replies

Handling Folder / Shortcut Selection

May 9, 2009

I have an app that requires the user to select a folder, the app runs up/down that folder tree to read/write various files. All that works fine. To select the folder, I support three methods, a FolderBrowserDialog, drag/drop and also a text mechanism where the path can be typed/pasted into a textbox.The issue I have is handling folder shortcuts. Pasting the path is fine and drag/drop is fine because I can sort out what the incoming object is in code. But for folder/shortcut selection by dialog, I've ended up with two buttons, one being the FolderBrowserDialog for folders and the second an OpenFileDialog for shortcuts (set to display only .lnk files).From a users perspective, I think this is quite poor, it also 'looks' plain odd. It forces the user to check what type of folder object they want to use before they can select it. How can I permit folder OR shortcut selection with the same dialog? It seems that my only option is to build my own dialog, which could actually be quite involved, since I would need to replicate the File/Folder dialogs.

View 2 Replies

C# - ASP.NET's App_Code Folder And Shared/Static Classes?

May 15, 2011

If I have a 'Shared' object defined in the App_Code folder; is that object shared amongst all users/visitors of my website? Or is it shared on a per-user basis?I don't know if that makes sense or not; but I've got a puzzle/solver I'd written earlier that I'm trying to incorporate into a simple ASP.Net site. It's probably poorly written, but I'd used a Shared boolean to determine if a solution had been found. The code works, now as an ASP.NET site, but if two visitors to my site were both validating their puzzle at the same time, would they both be accessing the same boolean?

View 3 Replies

VS 2008 - Window Selection And Resizing Form

Nov 30, 2009

I want it so when you click a button you have to select the window you want (A Temporary Red box appears round the window your currently selecting). Then when you click the final window decision then it will put a new form on then resize the form to the selected window!! how??

View 12 Replies

Unresponsive Dialog Window?

Jan 26, 2009

I'm making an Install Manager and when you hit the install button a dialog is suppoed to come up saying that your installing and theres no way to track your installation and some other stuff but it only pops up after all the software is downloaded and while its installing. The finish button is supposed to show up when everything is completed that they checked off. Instead, the dialog pops up after it finishes downloading and while it's installing. It also shows the finish button before it's finished installing. Heres the necessary code

Dialog1.vb
Imports System.Windows.Forms
Public Class Package_Installation

[code].....

View 12 Replies

Getting Folder Browser Dialog?

Jun 22, 2010

Below code is opening Folder Browser dialog on button click, I want that if mine PC is in network..In Folder Browser Dialog even the network drives are coming,I want that Network Places do not come in treeview.

Option Strict On
Option Explicit On
Option Compare Text
Public Class Form1

[code]....

View 3 Replies

How To Use Folder Browser Dialog Box

Nov 15, 2011

How to use folder browser dialog box. What I want to do is to locate the path where the user want to save the file and then enter the file name.

View 1 Replies

Moving Modules/classes/forms To A Common Folder?

Nov 23, 2009

I have two projects

a.sln and b.sln they have their own classes, modules and forms.

As I work on solution 'A' I devise a class and save it in solution A's folder. As the class develops, I now find a need for it in solution B.

How can I move it from solution A's folder to my Common folder then link it into solution A and B.

Currently I am doing this manually, Moving then linking to it. Is there a way to do this withing the IDE

View 14 Replies

Error While Loading Dialog Window

Jan 31, 2009

Error While Loading Dialog Window [code]...

View 7 Replies

Make Dialog Go Beside The Main Window?

Nov 9, 2009

i need to know how too make a dialog stay attached to the side off another window.

View 6 Replies

Navigate To A Page From Dialog Window?

Mar 26, 2012

I have a dialog window that I open from a record in a datagrid, this datagrid happens to be inside a Page that is navigated to inside a frame.

I have a button in this window, that when clicked, I would like to navigate the main window (which happens to be in a frame), to a different page that the datagrid is on.[code]...

View 1 Replies

VS 2008 Dialog Window Error?

May 11, 2010

With opeOuvrirFichier
.Title = "Ouvrir un fichier..."
.InitialDirectory = "C:FilmEtJeu"

[code].....

View 2 Replies







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