|
Hello
I would need a TreeView with an Transparent Background. So the TreeView is in the front of a PictureBox an i would need to display only the text from the tree an the background sould be alive from the picture box.
I have a screen shoot from the standard treeview without the transparent backcolor at http://www.coyote.at/tree.jpg[^]
Has anybody a idee how i can get the transparent background??
Thanks and greetings from austria
Tom
|
|
|
|
|
I that case you will have to write your own implementation of the treeview. Create a new customcontrol and inherit from treeview. override the OnPaintBackground
Now in windows forms there is actually nothing like transparent background color. The framework does a little trick here. If you set the background of a control to transparent it will inherit the OnPaintBackground implementation (am not really sure how this is done codewise) of its parent to simulate a transparent look.
Hope that I could give you an idea how to solve your problem. I think you will have to read first some here and there on how to handle the OnPaintBackground (if it actually exists for a treeview; otherwise the OnPaint)
Maybe this link can help you out
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconrenderingwindowsformscontrol.asp
Amjath
|
|
|
|
|
hello i have got problem in fckEditor in Asp.net. i want to upload the image but i have got the Error "XML request Error :Internal server Error 500". i m not able to find the solution. Some body please help me to sort out the problem and tell me how can i upload the image successfully without any bug.
|
|
|
|
|
I want to load a .PNG file in VB and to use it as the Splash Screen as in Adobe Photoshop 7 <splash screen=""> you can see the clear edges and alpha blends at its smooth corners.Ahhhhhh.....
Do this all in VB.Tried very much but cant display alpha blends and smooth corners.
e v r yt h i n gi sn o tw h a ti ts e e m s
|
|
|
|
|
I want to Send Mail to any Yahoo Account via any protocol just i want to recieve mail in my yahoo account from the specified sender using VB. i have checked MAPI, WINSOCK but i sends the mail but i dont recieve it.Need Help and Thanks in Anticipation.
eVERYTHINGISNOTWHATITSEEMs
|
|
|
|
|
http://www.systemwebmail.com/faq/2.1.aspx
http://www.upyourasp.net/articles/article.aspx?aid=3
|
|
|
|
|
Its all in VB.net and in ASP.net i wm using VB
|
|
|
|
|
but u implement C# code in vb.net code
|
|
|
|
|
Uhhhhh..... what does this mean?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
That mean converting code from C# to vb.net Mr.'MVP';P
|
|
|
|
|
Sorry smartass, but "implement" is not interchangable with "convert". Their meanings don't even come close to each other. In either case, the OP is talking about about VB6, not VB.NET. Those two, also, don't even come close to being interchangable.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Give the users the opportunity to apply formatting to the messages, and someone will always abuse it...
Are you sure that the messages are really sent? What mail server are you using? Can you successfully send mail to some other mail address?
Some ISPs block the port for mail so that you have to use their mail server to send mail, to prevent spamming.
---
b { font-weight: normal; }
|
|
|
|
|
Agreed... recently I had a problem with an application where I could send mail internally, but not externally.
The code worked in VB 6, but not VB.NET; ultimately, I had to change the SMTP server node in the VB.NET code to make it work.
|
|
|
|
|
I want to load the 32 bit alpha icons like as in win xp with also there alpha shadows and blends i have downloaded a code from the vbaccelerator but it requires comctl32.dll ver 6.0 i have searched every where for that DLL but could only find ver 5.82 any one can help me with that to display the 32 bit icons in VB with there alpha channels.
eVERy tHINg Iz nOt wHAT iT sEEMs
|
|
|
|
|
Is there a way i can get the user name associated with the processes just like in task manager.
|
|
|
|
|
Do you mean get current username logged in PC?
If so :
using System.Security.Partial;<br />
.<br />
.<br />
.<br />
.
string username = System.WindowsIdentity.GetCurrent().Name.Tostring();
it gives DomainName\Username
|
|
|
|
|
I want the user name of the process and not the user who is logged in.
|
|
|
|
|
The code snippet that was posted will give you the name of the user running the process. It is usually but not always the person who is logged in.
Jared Parsons
jaredp@beanseed.org
http://jaredparsons.blogspot.com/[^]
|
|
|
|
|
Well, in VB 2005, this single line of code works :
My.User.Name
This returns the Name of the User under which the current process is running
Yuvi Panda T
Microsoft Student Partner
Blogs at : http://yuvipanda.blogspot.com
|
|
|
|
|
But I am using VS2003.
do you know how to get the user name for a process in 2003
|
|
|
|
|
Not sure, but I guess this should help:
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Yuvi Panda T
15 Year Old Microsoft Student Partner
Blogs at : http://yuvipanda.blogspot.com
|
|
|
|
|
This will again get Logged on user name.
|
|
|
|
|
check this article
http://www.eggheadcafe.com/articles/20011015.asp
|
|
|
|
|
Thanx, but This article is telling how to kill a process and not how to list the username of the process.
|
|
|
|
|
if you're working on a win 2k, xp or 2k3 machine, check into the system.management namespace. it allows you to connect to wmi which has the information you need.
-jim
|
|
|
|