Access Images Contained Within Solution Explorer?
Feb 2, 2012
I'm trying to access some images I've copied into a folder within Solution Explorer. For the life of me I can't figure out how to access them programmatically.
I'm using VB 2010 Express Edition. The folder name is 'Images'. The image name is 'checked.png'.
View 1 Replies
ADVERTISEMENT
Jan 24, 2011
I am trying to incorporate images into my buttons, but am having some difficulty doing so.
View 10 Replies
Sep 26, 2009
When i Restarted my project, the solution explorer is not showing up. I tried with ctrl+ ALt+ L, still it is not showing up. The property window is showing.I tried with the suggestion of going to options in Tool menu and checked whether "ALWAYS SHOW SOLUTION" is selected or not. What may have caused this problem?
View 4 Replies
Jan 16, 2012
I'm debugging someone else's code and one of the projects within the solution explorer always has bold letters. What does this mean? It is the second project in the build order and has one depedency, but creating a dependency on another project does not produce bold letters.
View 1 Replies
Jul 20, 2009
I have added some classes to my project and now i want to define a variable as one of the classes, for example the class is called xml and i want to create a variable called XMLfile and have it as the class XML.
Can this be done? Or can variables only be declared as types (like Integer, string, etc)?If you're not living on the edge, you're taking up too much room
View 4 Replies
Jun 10, 2009
I just noticed that "TakeOffList.Designer.vb" is not in the "TakeOffList.vb" tree,
Whats happened there, will this cause a issue later as it all runs fine at the moment?
View 2 Replies
Jul 16, 2010
I want to be able to create a tree view that can get its nodes form a directory on a computer. In the code below, I am able to get all of the files into a list, but I cannot get the folder correct. What I mean is in your user directory, you have sub directorys such as, Documents, Music, and Pictures. When you run this code, it displays them each as thier own node, not nested. I hope this makes sense.
[Code]...
Changed the code to the way spinion told me to. When I run this code I get an error 'Object reference not set to an instance of an object' when it starts to try and add files to the tree view.
View 1 Replies
May 1, 2012
I am trying to run an HTML file that I have imported into the Solution Explorer. I don't know how to refer to documents in the Solution Explorer in code. How can I do that?
I am currently using this code, but it doesn't work: process.start(".help.html")
View 1 Replies
Nov 17, 2008
I created a simple usercontrol AutoHidePanel by using toolStrip and a panel, which have to work like Solution Explorer. When the user click's the autohide pin the panel width will slowly minimized up to 3 pixels so that the user can't see that panel. when the mouse moves over to the control, It will appear as before and these functions are working fine.
But I have a prob. with below function. When the mouse leave the control, it should disappear again. so i wrote hide function in to the MouseLeave event of Both controls(Toolstrip and panel) Here the prob. begins, when the cursor moves from Panel to ToolsStrip or ToolStrip to Panel the MouseLeave event minimize the AutoHidePanel Control. I tryed this Hide Function in the MouseLeave event of my control AutoHidePanel but that dosen't even raises the event because the panel is filled in my control.
View 1 Replies
Mar 27, 2009
In the Solution Explorer window, is it possible to change the highlight color of selected items *when the form does not have focus*?For example, selecting a module in the Solution Explorer highlights that module's name in Blue, then when the focus is lost by moving to another window in the IDE, that blue highlight becomes a very, very light gray (on some LCD monitors in particular). I'd like to make that light gray a bit easier to see.Is this possible? I'm running VS2008 SP1 on Vista 64.
View 2 Replies
Dec 28, 2009
ok so when i was watching a tutorial with my dad about learning the ropes of vb express 2005 i saw something he had that i didn't. so i paused the video and my dad tried getting the part to where i needed it and in the process deleted most of the stuff on the right hand side. so he uninstalled then reinstalled and we got most of it back except the solution exlorer. now i've gone to view and when i click on the solution exporer nothing happens.
View 2 Replies
Dec 27, 2010
It was suggested that I pose this question here instead of the installation forum:In VB2010, when opening a class, form, etc. from the Solution Explorer, I would like it to open as a floating window, not as a tabbed document. Is there a way to do this?
View 12 Replies
Jun 23, 2010
I'm having trouble working with the Solution Explorer in VB.Net 2010. To start, I am clicking New Project > Windows Forms Application. Initially, in the Solution Explorer, there are 2 files listed: My Project and Form1.vb.
When I double-click My Project and select Resources, Add Resource, Add Existing File and select a text file that I've added to the BinDebug folder of this project, the Solution explorer is updated to include the Bin folder reference. However, if I later remove the reference, the folder remains visible in the Solution Explorer. The Show All Files button does not hide the reference again.
Is this something to be concerned about? Is there a way to remove/hide the Bin reference from the Solution Explorer since it no longer contains my resource?
View 3 Replies
Oct 6, 2010
Some of my students end up with a different icon in the Solution Explorer when they create applications. An example is the attached Exam.vb icon, which includes a little arrow into the normal Form icon (see pic) . I am guessing it means it is linked some how. When the application is zipped and submitted, an error is thrown when I unzip it to grade it which indicates that the file in not part of the project, and it references the absolute address on the original application.Any idea what caused this and how can I instruct the students to avoid it in the future?
View 5 Replies
May 8, 2011
A form I created, was able to modify and shows when the program is run has suddenly changed in the solution explorer. Now when the form "MainMenu.vb" is highlighted in the solution explorer the icon for "view designer" vanishes from the toolbar. The "view code" shows "MainMenu.vb" but there is not any code there and only an empty "General" and "Declarations" show. The icon to the left of the "MainMenu.vb" is like a module icon not a form icon.
View 5 Replies
Mar 3, 2012
I have a solution that contains a WCF service project. In Solution Explorer only the MyService.svc file is shown, but on double clicking it the MyService.svc.vb file opens for editing. That is OK, but Visual HG (based on Mercurial) now doesn't show that the MyService.svc.vb file has changed and I cannot commit any changes without browsing to the Tortoise HG workbench. This is a possible cause for errors when merging code. So, how do I make the MyService.svc.vb file appear in Solution Explorer?
EDIT: The problem seems to be limited to VB WCF projects. In C# there is an arrow before the .svc file that will show the svc.cs file when clicked. Bug?
View 1 Replies
Mar 16, 2011
I seem to have some finger trouble creating a new application, here is what I am trying to do: I am trying to create a new solution and under the solution an exe (console project and a set up / deployment project. I have done this in the past and cannot see to do that any more.
Steps:
1. Create a new solution, the solution show in the solution explorer (with 0 projects)
2. Using "add" I create a console application (under the solution) and it shows a module etc. So far fine.
3. At this point the solution explorer windows only shows the console project and the solution itself (that used to show on the top) is gone. Now I am not able to add another project to my solution. I close my screen and then try to open the solution again. It comes up with the console project.
View 2 Replies
Oct 3, 2010
I would like to group the elements in the Solution Explorer (Forms , Modules etc) .Is this possible in the VB .NET Editor ?
View 5 Replies
Jul 23, 2011
I know I can go to signing> and uncheck clickonce and assembly so I'll try that, but can I also just delete the folders in my solution explorer properties? I have not one but 3 folders in there --
[Code]...
View 7 Replies
May 9, 2009
I am developing an application in which I need to use the tool jus like the Solution Explorer or Error List or Properties Window. Its like there have the common functionality of Floating,Dockable,Tabbed Document,Auto Hide and Hide. Can u let me know which tool in toolbox has this feature.
View 7 Replies
Mar 25, 2009
Stupid question, but how do I get access to this Explorer? The says: To create a performance session for Windows client application:
(1) Open the solution in the Visual Studio IDE.
(2) On the <B>Analyze</B> menu, click <B>Launch Performance Wizard</B>.
(3) From the <B>Which of the following available targets would you like to profile?</B> drop-down list, select the name of the application that you want to profile, and then click <B>Next</B>. You can add more binaries later.
(4) Accept the default Sampling profiling method, and then click Next.
(5) Click <B>Finish</B>.
Only problem is that there is no <B>Analyze</B> menu in the IDE.
View 1 Replies
Jun 14, 2009
why i cant see the Form Design?and when i double-click the Form1.vb on the Solution Explorer i got error:does anyone here encounter this probz before?how to fix this.. (should i reinstall vbnet?)
View 1 Replies
Mar 29, 2012
I am having this strange thing happen where I have a Module that contains multiple classes in my project. In the Solution Explorer, the module shows up as a Windows Form and if I double click on it to open it, it tries to open the Form Designer. What could be causing VS to think that it is a Windows Form instead of a module?
[Code]...
View 3 Replies
Dec 7, 2009
dim ie as shdocvw.internetexplorer
dim ie=new shdocvw.internetexplorer
sleep (500)
ie.navigate2("http://www.vbforums.com/images/logo.gif")
Now I want to save that image to a file,. How do I do that?
Also is there a way to do it using webclient?
View 3 Replies
Oct 16, 2009
I have created a usercontrol that contains two rectangle shapes to create a unique button effect and a rounded-corner rectangle shape serving as a border to provide a look similar to a group box. It also contains two labels, one for use with a Text property of the control and the other to indicate the status of expansion of the control. The control is designed to collapse itself when the "button" is clicked leaving only the "button" visible. Clicking it again toggles this affect. I've dubbed it an ExpansionBar. It is also designed to be a container control so that I can add controls to it and allow these to disappear when the bottom portion collapses. This seems to work great! The problem is that the controls contained in this usercontrol cannot be accessed during runtime. In other words, I can add a checkbox to it and it will disappear correctly when the control collapses, but I can't select the checkbox to check it... same thing with any other controls, you can see, but can't touch.
View 2 Replies
Oct 15, 2009
I know that i have to drag and drop the ListView control from the Control Box into my form
Then goto Properties and choose view: LargeIcons/SmallIcons.
View 1 Replies
Nov 17, 2009
I have a Generic Dictionary contained or nested as a child in another Generic Dictionary. I need to be able to access the child dictionary objects by key. When I attempt to do this I get the following error:
"Value of type 'System.Collections.Generic.KeyValuePair(Of String, String)' cannot be converted to 'System.Collections.Generic.Dictionary(Of String, String)'."
So it seems that the contained Generic Dictionary is being returned as a Generic KeyValuePair when accessed via a key as opposed to iterating through the parent dictionary in a For/Each loop.
The first section of the sample works OK (using a key to access a string value in a dictionary).
The second section of the code works OK (iterating through the dictionary values in a For/Each).
The third section of the sample is where the error occurs (using a key to access a nested generic dictionary...see underlined code).
Dim td1 As Dictionary(Of String, String)
For Each thisKey As String In td1.Keys
Debug.Print(td1(thisKey))
Next
Dim td2 As Dictionary(Of String, Dictionary(Of String, String))
[Code] .....
View 1 Replies
Jan 22, 2010
How to enable "Autio Hide" command for Solution Explorer Window
View 3 Replies
Nov 25, 2009
I've got a console app with a sub main then i have a seperate class inside the module..i can't seem to update the public global variable from inside the class as i can't declare the variable as shared...
View 6 Replies
Nov 30, 2009
When I load the report from my c: drive it works fine:
[code]...
Now when I load the report from solution explorer it tells me "Load report failed. The system cannot find the file specified"
[code]...
I have added the report to solution explorere and part of my project
View 3 Replies