|
Thanks it was a good tutorial. As i done some good thing in this concern i will post it on codeproject.
Thanks again.
|
|
|
|
|
am using treeview controls in windows form
selected nodes to display in visible mode
"visible=false"
plz snd me code.
Chandhu
|
|
|
|
|
chandhuBTS wrote: am using treeview controls in windows form
Ok
chandhuBTS wrote: selected nodes to display in visible mode
Then nodes which are not selected, will not be visible. Now originally none of the nodes should be selected and hence all nodes are invisible.
chandhuBTS wrote: plz snd me code.
As per the requirement, drag drop a tree view on your form. And in form load event write this:
this.treeView1.Visible = false;
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
how to insert,delete,update data for a sql table from a VB form in .NET
|
|
|
|
|
|
Or, if you prefer video;
The MSDN How Do I[^] video series
I are troll
|
|
|
|
|
Hello everyone. I'm building a forms application and i want to build a security system but i don't know where to start. I have divided my application in modules and i have a login form. But want to build something like windows: Users can see somethings and can press some button but in other plases he cannot.
Could some one give some lights so i can guide myself. I would like to build it myself but if you could point out some 3rd party product in last resourt lol.
Thanks in advance CodeProject gurus lol.
|
|
|
|
|
Ice_LS00 wrote: Users can see somethings and can press some button but in other plases he cannot.
I guess you mean that you need to give user specific access rights.
In this case, you can implement roles and rights based application. You can have certain roles defined in the database and provide them with certain rights. Then you can assign each user with a role and depending upon that you can provide the access rights.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
One way to handle this is to use RoleProvider[^] and MembershipProvider[^] classes (inherit your own implementations). Those classes help you to create custom role-based privileges.
On those pages there are good example implementations you could have a look at.
|
|
|
|
|
Isn't this for ASP.NET? I'm developing a winforms application can i still use this?
Thanks for your reply
|
|
|
|
|
Ice_LS00 wrote: Isn't this for ASP.NET? I'm developing a winforms application can i still use this
Yes you can use it. Simply add reference to System.Web. The examples are for ASP.NET and I believe it's mostly used in ASP scenarios but there's no reason why you couldn't use those in winforms.
Ice_LS00 wrote: Thanks for your reply
You're welcome
|
|
|
|
|
I thank you again my friend.
Good programming.
|
|
|
|
|
You're welcome
|
|
|
|
|
Hi...any1 got some tutorials about uniface 7??
|
|
|
|
|
You know, the first thing ANYONE is going to do to find out what this is and find examples for it, is to use an internet search engine, like Yahoo or Google, and type in something like "Uniface Tutorial". Wait, I've got it -> Here you go![^]
|
|
|
|
|
I already did that...do not nid your advice for that
|
|
|
|
|
That's about your only source for tutorials on this thing.
|
|
|
|
|
hi,
I have a Linux share in my machine( windows 2003), a Linux application is putting some data files into this share.I am getting some files, and the file name contains '*' , which cannot be processed using windows, because '*' is a illegal character in windows while creating a file name. How can i use that file?
My small attempt...
|
|
|
|
|
Easiest way would be to rename them, on the Linux side
I are troll
|
|
|
|
|
is there any code in vb.net 2005 to stop paste in system driver.
|
|
|
|
|
textbox control allowed AlphaNumric("a to z and 0 to 9") Characters only
not allowed 'spacebar @ # $ %% ^^ && ** () _ - + =' etc.,
which event using in textbox. plz help me
Chandhu
|
|
|
|
|
Your question has been answered here[^].
Eslam Afifi
|
|
|
|
|
Edit: Nevermind. I had to jump through a number of hoops, but I think everything is fixed now. Thanks.
Hi.
I have created a dll in VC++ 08 that exports a CLR windows form class. I call into this dll from an external (closed source, third-party) application to instantiate the form and embed it into the external application window using SetParent(). The problem is, the form runs in the external application window, but the external application no longer updates (renders, responds to close button click, etc.).
Now I know the reason is that in order to keep the CLR form displayed, I had to use Application::Run(gcnew MyForm())--a selfish method that causes the form application to loop forever, not giving the external application a chance to process. How do I let the two windows be friends and share processing time?
I'm a 'n00b' at most of this, so please n00bify the answer for me. I won't be offended if you explain it to me as if I were a 2-year-old, handicapped child. (Please do!) I'm thinking the obvious answer may be the use of threads, but I can't seem to wrap my mind around the concept of threads (if that is even the answer). If there is a way to use Application::Run() and/or a custom form update loop, please enlighten me to one or both paths. (Code is greatly appreciated, of course.) Thanks!
modified on Monday, January 26, 2009 5:02 PM
|
|
|
|
|
I have a Main application form which has an MDI form. This MDI form has a control. When the control is larger than the MDI form, scrollbars appear which is fine. When i maximise the MDI form, it is big enough to contain the entire control, hence scrollbars should not appear. But the scrollbar still remain in the same position but they are non-functional. When i resize the form it disappears. It seems to me that its a refresh problem. And it doesnt happen everytime, it happens once in a while.
Please suggest a solution.
Saritha
|
|
|
|
|
You could try to invoke "Invalidate(true)" upon resize. I don't know if it works, but it should tell the control (and all children) to repaint itself.
I are troll
|
|
|
|