Set A Files Description Attribute?
Jan 16, 2011I 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?
View 11 RepliesI 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?
View 11 RepliesI 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?
View 2 RepliesIn order to have a description for a property of a custom control to be shown in the Property Grid and also in the Object Browser, should I use a Description Attribute and also a Comment? This appears to be redundant, is there a way that the Object Browser displays the Property Description?
View 2 Replieshere any algorithms/pseudocode for reading/parsing 3-column csv data and determining unique objects/attributes/values?
example data:
john,height,1.75
george,age,21
[Code]....
i have already implemented a solution of my own but it's too slow and i can't find any relevant literature on the internet.
Possible Duplicate: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive
I am using window xp and iis 5.1 to run the application.
error is occurred Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
[Code]...
I get an error when I try to build my project.'SSLAccessFiltercannot' be used as an attribute because it does not inherit from 'System.Attribute'. [code]
View 1 RepliesI was wondering if there's a way to add a description for a button that will be visible only when the mouse enter the button .
View 2 RepliesIs there away to get file description without using SHGetFileInfo? ie *.txt=text document
View 19 RepliesI want to add a description for my subs :
My Website [URL]
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.
[Code]...
I'm currently working with this piece of code:
CheckedListBox1.Items.Clear()
CheckedListBox1.DisplayMembe "ProcessName"
DiProcess
[code]....
How do i put a long description in my about box? I can't put it through Assembly Information because it cannot fit.
View 8 RepliesHow to replace cell value with their description. This is my grid
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="None">
<HeaderContextMenu EnableAutoScroll="True">
</HeaderContextMenu>
<MasterTableView AutoGenerateColumns="False" DataKeyNames="OrderID" DataSourceID="SqlDataSource1">
<RowIndicatorColumn>
[Code]...
How to replace CustomerID with CompanyName which is come from Customers table during run time?
Please can you tell how I can change the name of the All Programs > Text description of the program when it has been installed?
View 3 RepliesI'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.
View 3 Replieshow to create a look up showing value with discription using vb form
View 7 RepliesI 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.
View 3 RepliesI 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 tried changing it in right click project/properties but it didnt work. how can i change the description of my .exe file?
View 4 Replies<ProvideProperty("NullableBinding", GetType(TextBox))> _
<Description("Set to True if this textbox is bound to a nullable property.")> _
Partial Public Class NullableExtender
[code].....
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.
View 1 RepliesI have a servicecontroller and though that service controller i set the name of a label.
Dim service As ServiceController
service = New ServiceController("W32Time")
Label1.Text = service.servicename*
[code]....
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.
View 4 RepliesWhere 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.
View 4 RepliesHow do I find the description for a computer in ActiveDirectory?
View 6 RepliesI'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..
View 5 RepliesI 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.
View 5 RepliesI 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 {..}
[Code].....
i need the basic connetivity code and description in vb .net
View 1 Replies