|
You might find it easier to keep a Dictionary as well as the TreeView, and even have a lookup of team ID against the node its in.
|
|
|
|
|
Many thanks Mark, I'll certainly give it some thought. I've almost achieved what I want via the recursion example in the help files. The majority of problems are caused by the fact that I don't select the nodes myself, an incoming radio data signal determines which node is active. I only click the nodes to poll the particular radio for it's position. It was easier in VB6 but times change!
Regards
Rob
|
|
|
|
|
how can i include radio button in datagrid in vb.net 2003?
thanks in advance! =D
jyn
|
|
|
|
|
add a template column and edit it. After this drag a radiobutton into this template. that's all. If you want to reach to this control try to learn about "FindControl(string ControlID)" method. Regards.
|
|
|
|
|
ok, i'll try.
thanks for your reply =D
jyn
|
|
|
|
|
hi i am a new vb leaner, now i am using vb6 and i got stuck in my program when i want to create program that can access the file properties so i know the date created
Dim myFSO,f
Set myFSO = CreateObject("Scripting.FileSystemObject")
Set f = myFSO.GetFile(txt_filename.txt) // txt_filename.txt is input from user
and when i run the program it always stuck invalid procedure call/ argument
do you know the solution
|
|
|
|
|
Hi arifliminto86,
This worked fine when I tested it:
Dim myFSO As Object
Dim f As Object
Set myFSO = CreateObject("Scripting.FileSystemObject")
Set f = myFSO.GetFile("c:\test.txt")
Debug.Print f.DateCreated
Greetings, Thomas
|
|
|
|
|
I have problem with removing row(s) from datagrideview in VB.Net. please give me some idea.
chivin
|
|
|
|
|
told ur problem
use following statement
Datagridview1.rows.clear
or
Datagridview1.Rows.RemoveAt(1)
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
I'v been working on a project in wich every form (or almost every form) inherits from 1 main form (frmClientForm). Untill now I havn't had any problems with that (just add new item -- inherited form ...).
But now I get an error just before I would get the window in wich to choose the form to inherit from:
Unable to load assembly 'path to my exe'. Ensure that the file is a valid .NET Framework assembly.
The file (my exe of the prog) is deffinatly a valid assembly since its being build by visual studio itself.
The file exist.
I tried rebuilding/compilling/clean solution/project nothing seems to work.
The form to be inherited from is in the same project as the form that inherits.
after I press OK I still get the window in wich I can see forms in other projects (but same solution) but not the forms of the project in wich I am adding the new form.
Anyone have any idee what the cause of this error is?
|
|
|
|
|
Microsoft has a hotfix for this issue:
http://support.microsoft.com/kb/912019/en-us
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
thanks that did the trich (at least for the moment)
|
|
|
|
|
How to move all files in a directory to another directory?
And how to rename directory and file?
|
|
|
|
|
I assume your talking about VB.Net and not VB6.
Check out the classes under the 'System.IO' namespace.
THeres some pretty obvious ones like 'File' and 'Directory'.
|
|
|
|
|
|
You should specify the language your asking about when posting in this forum.
Most people will assume VB.Net if you don't say which.
|
|
|
|
|
|
VB6 is a dead language. You should always specify that you want VB6 help, otherwise people will assume .NET.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I would like to me bold some part of String data type and make some part with color,using vb.net code.
Would you please help me to get that.
thanks,
RB
|
|
|
|
|
When adding Bold and Colour to a string you normally do it when its displayed.
If your displaying in the Console then check out the properties on the System.Console class.
If your making a WinForms app you'll want to look at the RichTextBox control.
|
|
|
|
|
How you do that depends upon the container that's showing the string. If it's a web browser, it's going to follow the HTML rules for formatting. If RTM, the method of formatting changes. If A TextBox, changes again...
What you want doesn't have any meaning as the String type doesn't support any kind of formatting. It's up to the container showing the string that dictates how this is going to be done.
|
|
|
|
|
Thanks for you help. Actually, I'm writing a window console program to send mails. Now, I want to make bold of Subject and make some body text with color. I'm using the String type for Subject and Body variables.
Please help me .
Thanks in advance !!
RB
|
|
|
|
|
Emails don't support any formatting in the subject line. You simply have no choice there.
Colorizing text in the body of the email would require that you send the body in either RichText format or as an HTML page. In either case, the receiver has to support that kind of email. HTML is easy. It's just like any other HTML page. Just use the correct HTML tags around the section you want to change color. There's HTML tag tutorials all over the web.
|
|
|
|
|
Dear Dave Kreskowiak,
Thanks for your help.Sorry to bother you again. I'm still comfused. Let me get clear. So, do I need to create a richtext box or HTML page?
|
|
|
|
|
Do you need to create a RichTextBox?? No. You just need to add the formatting codes to the string that will tell a RTB how to properly format your message.
You can either create a RichText document or an HTML page. The choice is up to you. HTML will probably be easier since the tags are nothing more than this: <b>bolded text</b>.
|
|
|
|