|
Hello
Is there any way to get all the child nodes of a selected node?
I just need a idea how to do this.
Thanks you all
|
|
|
|
|
VB.Net?
Simple: treeView.SelectedNode.Nodes
|
|
|
|
|
Hi, i'm new here but have been using vb.net for around a couple of years. I have set myself that task of creating a modified textbox, one with round corners. However it's been very frustrating and the textbox seems to ignore the paint eventhandler. I've come to realise that i'll need to subclass the textbox. However i don't have much experience with this, so i was wondering if someone could help to start me off in the right direction.
Thanks.
|
|
|
|
|
I downloaded and installed SQL 2005 Express so as i could use it in my Visual Studio... When i go to Add Item to project, and choose SQL Database, it i get the following message: An error has occurred while establishing a connection to the server. When connecting to the SQL Server 2005, This failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (Provider: SQL Network Interfaces, Error: 26 - Error Locating server/instance specified)
While this was true, i opened the settings for my connection and enabled remote connections and then restarted it. Yet the same error and problem still exist...
I tried several different things.. adding connections, and making tables there, yet it still wont work... i cant see to get it to make a usable DB.
anyone with advise, troublshooting steps, or that knows a simple guide that would show how to get this all set up, would be much appreciated...
"Love, Life and Option Explicit"
|
|
|
|
|
Plz give me first of all design for this software and code also. U can send design/code for small parts of this software also.
|
|
|
|
|
No one here is going to do your work for you.
These forums are for asking specific code/design questions.
If you don't have a clue on how to begin, then I suggest that you talk to your customer/manager(/teacher?) and get a list of software requirements needed by this project. Determining this list of requirements is the first step to every professional software project.
|
|
|
|
|
Dear,
we r solving yr problems but we r not developing yr project... so u have to learn software development life cycle. the good Book is Analysis and Design....Enjoy
|
|
|
|
|
Please keep SMS speak out of these forums.
thanks
|
|
|
|
|
i use fucnction Called sendwait("what ever ") to wrtie to another active application and it works good.
also you can send a fucntion of key on keyboard such as i send a action of button, such as send.("{enter }") this make a enter action in active application from vb.net form
but the problem which i faced that i need to pass the fuction of button Alt to another application as enter in previus example
please i need to solve this problem and pass the action of Alt to another application ..
best regards
kilany
|
|
|
|
|
|
when design time i see images on toolbar buttons but after build then run, there is no images. I guess it is a bug of Vs.Net Express .
Any diffeerent idea ?
Recently i face so many times Loader Exception and still there is no fix for that.
|
|
|
|
|
I know .NET 1.0 and 1.1 had a bug like this when calling EnableVisualStyles() . The work-around was to call Application.DoEvents() after enabling visual styles and before displaying your form, like this...
Public Class Main
Public Shared Sub Main(ByVal args() As String)
Application.EnableVisualStyles()
Application.DoEvents()
Application.Run(New MyForm)
End Sub
End Class
|
|
|
|
|
how can i pass alt to the consol so that i want to pass Alt to the consol like enter "{Enter}" but it doesn't work please help
Amarni
|
|
|
|
|
You can't send the "Alt" key input to the console by itself. "Alt" must be sent in combination with another key, just like "Shift".
If you are using SendKeys[^], and it sounds like you are, then you must prefix a key string with a "%".
For example, Alt + X would be "%X".
|
|
|
|
|
please i want to use treeview so that when i click on the first child do action then when i click on the second child i need to perform other actions ... so that how can i use tree view
Amarni
|
|
|
|
|
You should clarify on what you want to do.
You could react to the AfterSelect event of the TreeView and then decide on what to do depending on the TreeNode. You could use the Tag property of the TreeNode to hold some info on what to do. You could also inherit from TreeNode thus that every node 'knows' what should be done.
Dozens of alternatives...
|
|
|
|
|
please help us in finding the technique name and bmp header files, as soon as possible
thank you
|
|
|
|
|
how can i delete a line from text using vb.net
if line starting with specific string or character
ex line starting with "a" character.
Dim fs As New FileStream(OpenFileDialog1.FileName, FileMode.Open, FileAccess.ReadWrite)
Dim d As New StreamReader(fs) d.BaseStream.Seek(0, SeekOrigin.Begin) While d.Peek() > -1
If d.ReadLine.Chars(1) = "o" Then RichTextBox1.Text &= d.ReadLine End If End While
d.Close()
i read line from 1 file and redirect to another file
reply me to sahteesh@hotmail.com
|
|
|
|
|
hi sahtish, read ur question.I m suggesting a solution for the first time and hope it will solve ur problem becoz i have implemented similar code in my project.Sorry i wont be able to give the code right now but here is the logic for it.
if u want to delete a line starting from a specified char then use streamreader read method.the method always returns next char so if the next char is line terminator and next to it is the specified char then delete the line.
if u want to delete a line starting from a specified string then use streamreader readline method.the method always returns next line now if the line starts with specified string then delete the line.
to delete the line u may need to edit the text file using streamwriter's write or writeline method.
i hope this will solve ur problem and if it doesnt then mail me i will give u the complete code for it
bye
sandeep
email : sandeep_gaadhe@yahoo.com
|
|
|
|
|
I want to Shudown the system when the application is logged out.
Treat it as very urgent
Ravulakiran
|
|
|
|
|
We don't care if it is urgent, ok?
Anways a quick google groups search yeild the results:
click
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
|
how to send a data line by line?let say i've loaded a hex file such as:
:100000000C28FF309000FF309100900B0528FF3046
:100010009000910B052808008601003066000F3023
:0C002000650006140120061001201128C4
:0203FE000C28C9
:00000001FF
how to make the port send data line by line?can i write like this:
do while (not EOF(HEXfile))<br />
MSComm1.Output=HEXfile<br />
loop
|
|
|
|
|
It won't do this for you.
You have to read the file and output the strings yourself. It's not that hard.
You also have to decide how to handle the file's CarriageReturn/LineFeed characters.
|
|
|
|
|
how to do it?can you give an example?
Just Do It....
|
|
|
|