<ProvideProperty("NullableBinding", GetType(TextBox))> _
<Description("Set to True if this textbox is bound to a nullable property.")> _
Partial Public Class NullableExtender
VB.NET 2.0 Framework..I developed a control that implements IExtenderProvider in order to attach to controls and display a form for translating of the text of that control.This works great on regular controls on the form but the IExtenderProvider is not attaching to controls on UserControls by default.Is it possible to modify the UserControl or my IExtenderProvider control to enable it to attach to controls on a UserControl?
I have a problem with the combox its only displaying the first item in the list its being populated by a webserice call the drop down in question is comboboxmodel now the manufacture one is fine and sets as it should any reason as to why the comboboxmodel would not. [code]
Simple Code lookup to get Description I have a static list of Street Type Abbreviations and their associated Street Type Descriptions: RD to Road. I have the complete list needed. There are 37 elements in the list - 37 Street Type Abbreviations with their associated Descriptions. The lookup will only happen once. The input lookup field is in a single field: stType.
I'm using vb 2010, and a newbie programmer I just want to ask how to change the description of the .exe file from WindowApplication1 to something else and how to change its icon? By the way, does applications made in vb 2010 requires .net Framework to run? Because i tried to run my .exe file in another pc but it gives me an error.
I want to put some description/tooltip text within textbox control which will vanish when the focus is on that control. Its similar to that like in the search box above. When the search box is empty it shows "Search MSDN with Bing" and when the contol gets the focus that string vanishes.
I want to get the description of an external .exe file from my vb.net app, rather like in task manager. My program can monitor active processes and open their file locations, but it cannot get their descriptions (like in task manager) I want it to be able to do this, and I've found the following code to get the description of a normal file (I had to re-write it from csharp):
Public Class Myform Imports System.Runtime.InteropServices <StructLayout(LayoutKind.Sequential)> _
[Code]....
For example, if the process 'dwm.exe' is open, then I want my program to get the description "Desktop Window Manager." I want it to be universal for any program so it can be done with any open process.
I have a form that has appx 20 checkboxes. The data is stored in xml. We would like to have a textbox or panel at the bottom of the screen to display information about the check box. Just like the property box in the IDE. The information will be store in the description attribute. Does vb.net have functions that do that already or do I need to program for that? Also would I be best to but the description attribute on the xml or the property on the programs?
How do I make my app have a description in the Processes tab of the Task Manager? Changing the assembly description doesn't do it apparently. Right now the description is just it's name.
I want to set a directory worth or files to a certain decription, I know how to list all the files in a directory but how do I set a files description attribute to what I want it to be?
is there any way to get the Description of an application using VB.NET? So for example, instead of displaying Word.doc, Powerpoint.ppt... etc in a listbox, is it possible to display Microsoft Office Word 2007 if lets say the default return name is the shortcut name(with extension)?
EDIT: To check the Description of an application, go to your application, right click -> Properties -> General and you'll see the Description text.
This is how it goes. Currently, I'm using OpenFileDialog to open a file. However, am I able to get the Description(right click any program -> Properties -> General) of the file that I've chosen from there? I've found some leads with this .NET Application's Assembly path and Information. But that only applies to your own application itself.
Where do you put the "main code" for lack of a better description? I can find all sorts of places to put code based on events like button clicks or forms loading. However, I can't seem to find a place to run code without an event (just idling).Basically I'm looking to monitor a file and call a sub when it changes. I can monitor the file fine based on the size but I can't figure out where to put code to call a sub when that changes. Everything seems based on user actions but that doesn't work in this case.
I'm writing a VB.NET function with a ton of overloads. I've seen that most .NET functions have parameter descriptions in IntelliSense. For example, when typing in String.Compare(, IntelliSense says Compares two specified System.String objects and returns... you get the idea. This description changes and you click through different overloaded versions of the same functions. When you start typing in something for a parameter, it describes the parameter you're currently inputting as well. Example: strA: The first string to compare..
I know its unlikely but I was wondering if there is any way to get the comments (i.e. the bits after the ''') of a class or property..? I have managed to get a list of properties of a class using the PropertyInfo class but I cant find a way to get the comments / description.. I need it for a guide I am writing for the administrators of my site - it would be great if it could automatically update if new properties are added, so there is no need to worry about updating it in the future too much.
I created one web user control with property named "ReadonlyField" with boolean datatype. I am able to use in my web pages and now i wanted to add a description to that property so that i dont need to explain each time to my team member what is that property's intention.
I got following snippet in c# but didnt find any equivalent in vb.net and also not sure whether it will work or not.
[Description("My Description")] public int MyIntProperty { get {..}
I have made a custom component (button based) and was wondering how to add a custom icon to it as well as a custom description I've seen 3rd party components that got special icons as well as a custom description
And actually got a second question How to add description to functions I create myself? You know... in code when you start typing and a function shows up, if you let the mouse over it,
I am trying to edit the assembly description for my vb.net application. However I'm stuck and have been for about an hour. Here's the following line i'm trying to edit in AssemblyInfo.vb:[code]but the program keeps throwing me an error stating 'constant expression is required.' I have also tried and \n with no luck either. I haven't found an answer online and was wondering if someone could point me in the right direction.