C# - Create A Visual-Studio String Visualizer?
Aug 18, 2009
I was trying to create a visualizer for IDictionary or ICollection Then like the simple visualizer (without dialog; I mean the ususal string visualizer that appears when hovering the variable, see image below), I want to make my custom text, I want to cast the collection to its type's list (I.E. StringCollection to List(Of String) or List) and then I will be able to see it in the visualizer. Or for Dictionaries show to lists visualizers for keys and for values.how to implement or even how to start?This is something I thought about:
using System.Collections.Specialized;
using System.Collections;
namespace ConsoleApplication2
{
[code]....
I want to use something similar for ICollection (or IList), IDictionary etc.Note that in arrays, the visualizer shows every nested objcet.This is actually what I want to achieve:Try to visualize a List and you will see that there is a private value _items, so you can see its items. I want to achieve something similar in collection and dictionary.
View 2 Replies
ADVERTISEMENT
Jan 25, 2011
how to create my first project in visual studio
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
Jul 19, 2009
Alright, I've been taking this class in school for Software development, and right now I am working on a assignment my professor is having us do, and honestly, I am kind of stumped here. Basically he wants us to create a form in Visual Studio 2005. It has a group box with two Radio buttons, (One for boys, One for Girls) and a List box that lists the corresponding names of the Gender you selected with a radio button.Alternatively, you can click the Report button and get the list that way.
Heres a screenshot of how he wants it: He wants us to use parallel arrays to make the list, each name has a corresponding M or F. So far I have the objects all set up, and the I have declared the parallel array like this in the Declaration of the form:
[Code]...
View 2 Replies
Jul 7, 2010
I am trying to create an autocad drawing in visual studio with the code :
Dim strTemplatePath As String = "C:\acad.dwt"
Dim acDocMgr As DocumentCollection = Application.DocumentManager
Dim acDoc As Document = acDocMgr.Add(strTemplatePath)
acDocMgr.MdiActiveDocument = acDoc
However, when I try to run the program I get an filenotfoundexception and the program asks me to verify if the file exists in the specified location. The file does exist in the specified location.
View 1 Replies
Apr 26, 2010
I have a program I am trying to create in Visual Studio 2010 Ultimate, and have a few questions as to whether what I would like the program to do is even possible - Here is the idea of my program:
I have a main form with a ComboBox1, Pic1, ImageList1, and Label1 - In my ComboBox I have 118 entries, and 118 corresponding Images in the ImageList control - Right now I have it set to show the Image from the ImageList when a ComboBox1 entry is clicked, by the Index number:
If ComboBox1.SelectedIndex <> -1 Then
Pic1.Image = ImageList1.Images(ComboBox1.SelectedIndex)
Else
Pic1.Image = Nothing
End If
What I want to know is, Can I make it so I can add/update entries in the ComboBox1 and ImageList1 at runtime? Such as, have an 'Open' dialog to import the Image I want to add, and a simple InputBox to add to the Combo1 list? Also, if this IS possible, if I add Items at runtime, won't it mess up my Indexes, and then the correct Images from the ImageList1 won't be the ones that show?
I know, lot of questions, but I am trying to cleanse my mind of VB6, and focus on .NET - More complicated, but I like the appearance of the finished programs much better, without stupid additional OCX's
View 2 Replies
Apr 23, 2010
create patch file in visual studio.
View 1 Replies
Jan 28, 2011
- I added report wizard to the solution. - Then according to instructions i added fields to report.- But how I can attach the report to the Windows form ?- In Visual Studio 2005, I used crystal report viewer to attach reports on the forms.
View 2 Replies
Oct 12, 2011
WebMatrix is a web development and deployment tool by Microsoft so how is this compared to Visual Studio? which Use C# Razor Syntax is that more better coding.
[Code]...
View 2 Replies
Aug 16, 2009
i have created a DLL in Visual Studio 2008 Express and i have made reference to it, But i cannot get the value of string readValue.
This is my DLL...
Public Class Class1 Public Sub RegCheck() Dim readValue As String readValue = My.Computer.Registry.GetValue("HKEY_CURRENT_USERSoftwareMySoft", "SomeKey", Nothing) End Sub End Class
I can call RegCheck() but i cannot get readValue
Imports Trial Dim ck As New Trial.Class1 ck.RegCheck()
Is there something i need to declare ?
how to get this value i would be extremely greatfull as i have searched for days.
View 6 Replies
Apr 23, 2009
how to create a web service reference manually in visual studio. I do not want to use the "add reference" already contained in the ide.
View 6 Replies
Sep 17, 2009
I have added the references but I go to add ew item Crystal Reports still doesn't show.
View 8 Replies
Aug 7, 2009
The hard thing is that I wanna create a Toolbox in the target system Visual Studio Toolbox.I wanna create this Toolbox at the installation time.
Anyone knows a way to do this both for VS.NET2005 and VS.NET2008?
I found 2 ways:
Creating a .vscontent and .vsi file and execute it, which has 3 problems: Cannot run in silent mode - cannot create a custom named toolbox - my dll is not digitally signed and it will show a warning box, non acceptable![url]...
View 1 Replies
Jun 27, 2011
I basically want to make this in my application, so our technicians have an easier time installing our software. So far, I made a form with 4 text boxes: Server name, user name, password, and a combo-box to select a database.Everything was pretty easy until the database selection code. Microsoft's wizard is very efficient, there's no wait time when the database combo box is being filled.[code]That code gets the databases just fine, but obviously if an exception happens the whole screen locks up and it might take a while to recover depending on what the database error is. My question is, can I make mine just as cool/efficient as Microsoft's?
View 1 Replies
Oct 30, 2010
Can I create a tooltip that will show up when a user moves his/her cursor over an image? I can't find such a property in Visual Studio, and I've scoured Google to no avail. I'm using an image in a PictureBox.
Here's to anyone out there on StackOverflow instead of some awesome Halloween party! Yay!
View 3 Replies
Jun 20, 2011
How do i create a Splash Screen for a vb.net program? I want to make a visual that will come up before the programs starts and after it finishes in this possible?
View 1 Replies
Jun 26, 2009
Anyone know of any examples on creating plug in's for VS2008 - preferably with VB.net?
View 1 Replies
Sep 15, 2009
I have to compile projects which was compiled in Visual Studio 6 in Visual Studio 2005. When i compiled i got a set of same error. I opened the project for VS6 by selecting File->open->project/solution and tried to build a solution by Build option but i am getting the following error.
[Code]...
View 7 Replies
Apr 11, 2011
Is it possible to open visual studio express files with normal visual studio?
View 2 Replies
Dec 9, 2011
I am using Visual Studio 2010. I can connect to my MySQL datababse no problem by clicking my login button.Now I can't figure out how to query the database and check if username and password are correct, and switch to a different form, to display the data loaded from the database.This is Login.vb Form
Imports MySql.Data.MySqlClient
Public Class Login
Dim conn As MySqlConnection
[code]....
When the login is completed, and username and password are correct, I want it to load Main.vb.
View 1 Replies
Jun 1, 2011
In visual studio programming in Vb.Net you get a special autocomplete around functions. If you add a name in front of a statement the rest of the line is treated like function parameters.
strInEditBy dsInfo.Tables(0).Rows(0).Item("plandesc").ToString()
strInEditBy ( dsInfo.Tables(0).Rows(0).Item("plandesc").ToString() )
I wanted to add a = operator in the place of the ( but unless I type really fast it auto-adds the ( ). How can I turn that off.
View 1 Replies
Jun 11, 2012
I want to design RDLC report via visual studio 2010, it is big different with visual studio 2008. Please guide me create RDLC report in visual studio 2010. I have a Class table combine with table Student with 1...* relationship in database. I will fill this data into report which one each row of Class table is row group and multiple students below. Example: [URL]
View 1 Replies
Sep 13, 2011
I am currently in the process of improving my options dialog for a winforms application. At the moment I am using a tab control. I would like to create a form/dialog for settings that is similar to Visual Studio's. How is this done? I can see a treeview like control on the left hand side but what control are they using to display each of the options pages, it doesn't appear to be a tab control. I would like to be able to build the controls for each of the settings at design time.
View 1 Replies
Jul 9, 2009
I'm trying to create a video conferencing application using visual studio 2008 and programming language vb.net.
View 3 Replies
Jun 25, 2009
I am very new to this whole programming thing and I have read several books and many websites but I can't get a good start on creating a video poker game. I understand that I need to create classes, but have no idea how to start. Most of the things I have been reading have been for Visual Basic 6.0 and it appears hard to understand. I am looking for some type of tutorial of how to create the classes I need and how to get the actual information from the classes into my form. Can anyone out there provide me with a good starting point? Is there any good (and easy) code out there to get me started. I feel that if I can get a good starting base, I can learn from there.
View 3 Replies
May 25, 2010
I noticed that if I leave off the terminating double quote for a string constant in Visual Studio 2010, there is no error or even a warning, i.e.
Dim foo as String = "hi
However, the continuous integration tool we are using flags an error:
error BC30648: String constants must end with a double quote.
Is there some language rule in VB.Net that makes a terminating double quote optional "sometimes"? Is there some setting in Visual Studio that will make it flag this as an error, so I can avoid "breaking the build" in this way?
View 3 Replies
May 17, 2009
I want to create a new user account using ms.access database. How to recall back the database to login form so that we can using multi user account. So with the validate the user account, i can change the username and password anytime as the windows user acoount service.
View 4 Replies
Feb 19, 2010
I'm looking for a walkthrough to help me design/develope a simple Blog that has the following parameters:Logon Screen Authentication Membership --> Email Lost Password.Simple Treeview like structure Topic-> Multiple Posts (2) levels deep only Historic calendar in right banner or someplace.Search Feature By (Topic, Username, Entry Date...etc)Does anybody know where I can find guidance otherwise left to my own devices this could take me a while, be nice to have at least a solid starting point in the correct direction.
View 2 Replies
Apr 22, 2011
My question maybe not be very clear, but I just want to know how this process is called or references needed to create something similar, so I can investigate on my own ( but if you have code is welcome.Basically I have 2 desktop programs ( A and B). For A, I do not have the source code, for B I do.What I need is to create some service/program that after a screen pops up from program A, automatically runs B. IN other words, capture the moment a specific screen is shown in A and execute B.
My real life scenario is that I have a very basic POS where I can't collect customer demographics ( zip code, etc), so I created a second application to capture that but my cashiers are always forgetting to run the program and I need to find a way to run it after a screen is shown ( let's say the "Change Due" in the POS, so they don't forget to run it.
View 2 Replies
Jul 8, 2009
I'm trying to create an owner drawn TabControl that looks like the tabs in Visual Studio on XP (might look different in Vista, not so sure).So far, I've got the background and the blueish border, and now I've run into some trouble drawing the 'tab headers' (where the text is displayed).Here's what I got so far:
vb.net
Imports System.Drawing.Drawing2D
Public Class cTabControl
#Region " Colors "
[code]....
Why isn't this working? How do I draw a border like this around a 'normal' OwnerDrawn tabcontrol, without the funky SetStyle method..?also, the DoubleBuffer ControlStyle (in the SetStyles method) option is not listed in the Intellisense list, but it is accepted when I finish typing it... Is that a bug?
View 21 Replies