I have a transparent layer on the top of a form. I need to display only some part of that transparent form.
-edited- If you think of a map and traffic signal icons displaying on the map. There are a map image layer and a traffic signal icons layer, which is tranparent except icons. if you move the map location, the traffic signal icons should move along with. if the certain area of map does not appear on the screen by moving, corresponding traffic signal icnos should disappear as well. This is what I am trying to do here. Moving the trasparent form is straightforward, but I need to hide some portion of that transparent form.
[Map]
[Traffic sig] here I need to show "fic s" part only.
I've been looking around on the internet for something to do this, but I have not found anything straightforward. Can anyone help? I just want to draw an image that pretty much "Highlights" an area in a bitmap. Anyone know how to do that?
i want to display a transparent png into the form, i know picturebox doesn't suport tranparency. my image has a transparent background .i want it to be like i can see the picture behind the png(its like a watermark what ever picture is diplayed inthe bakground it should be visible through the image above it)
I added an image as the background image for a form in VB.net. When I run the program, after approx. 5-6 seconds, the image partially overlays itself, as in an offset overlay of the underlying image. I never had this problem in VB6, but I did have it the other time I used a background image on a form in VB.Net.
I'm trying to draw a semi-transparent layer over my entire form when certain events occur, with a prompt in front of this semi-transparent layer (similar to the effect in Windows Vista/7 with UAC enabled)At first I was trying to use a custom semi-transparent panel, but this didn't seem to work at all. As such I'm now trying to use a child form within the form using the opacity property on the form. However, when this semi-transparent form is added to the controls of the main form and displayed, it loses it's transparency.I've got a hacky work around at the moment where the semi-transparent layer isn't actually a component within the main form, and the transparency works then, but obviously this isn't ideal and could potentially cause various issues further down the line.
I need to make a RichTextBox transparent in order to display a background for it. So far I've managed to find a custom control for it, but when I scroll the text gets all messed up (the scrollbars are bugged too). how to fix this or how to make a standard RichTextBox transparent?
I have a form that displays data. What I would like to have is a button that when pressed will display some test extran textboxes in a dimmed/transparent type of fashion. I can get that using another form, but would like to do it without the second form.
[code] how to make the part that drops down semi-transparent or completely transparent resembling floating text. So that I can see the form underneath.
Is it possible to make ONLY form transparent and other things like, panels and pictureboxes on it are set to opacity 100%? That means, panels and pictureboxes are not transparent.
I set form.Opacity = 0.5, textbox1.Multiline = True, textbox1.Height = 60. when running the code, i key-in any text in Textbox, until textbox's Vertical scrollbar visible, when i move up the scrollbar, system hang and wait few minute then system become normal back.
if I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??
how can I make my Form background color transparent?just the form those object/text are not included.
I watched this in yout*** like a month ago, i keep on searching but i cannot find.if you want to be happy, find something you love to do and do it for free, then find someone to pay you for it.
I have problems with transparent form problem is that its too slow example if i click on button where it should just switch another panel control it takes 3-4 seconds because of redrawing [url] so at form load is called redraw() and if i click on a button and panel is switched i again call redraw() form load 6 second switching panels 3-4 seconds
When I make my form Opacity 0% everything disappears including controls that I know will happen im not dumb ok so I tried another method using Transparency Key I had success BUT my problem there is that when I have a picture box and an image IN the picture box around the image is the Form Background color so lets say I picked Maroon for Form1.BackColor, The edges of my image is Maroon
How to make A Form in vb.net Transparent without Making Its Contents Transparent..! Actually I mean I make a border less form which I want as Transparent and in that Form I added little animation picture. And I want this animation picture visible. But what is happening here is wen I am setting the Form opacity to 10% both Picture n form are getting Transparent. I only want form transparent and not the Picture.
How can I make a panel on my form not become transparent when the form is set to transparent? I have the form at 80% opacity, but I don't want the panel to be transparent.
I am trying to create a simple VB 2008 application with a resizable form that has a transparent background. Seems easy enough to do, but if I do nothing more than create a new Windows form project with one form, set the transparency key on the form to a colour, and then set the background to the same colour, and then run it, after about 3-5 resize operations, I cannot resize the form anymore, except from the top, if even then. No errors, just odd behaviour.
I have an app that uses transparency so that the background of the app is a custom shape.The problem I am having is the rounded corners are jagged. Not a nice clean rounded corner like you would see on an icon or widget. I have tried several different image types (i.e. PNG, GIF, etc). But it seems when I use the transparency Key the quality on the edges gets worse
I am having trouble finding a way to make the form transparent but the controls still visible. The only transparency I have been able to get to work on the form is
Me.Opacity = <value between 0 and 1>
but that affects all the controls on the form Is there a way to make the controls not inherit this property from the form? Is there another way to make the form transparent? I have buttons and a checkbox that I don't want to be affected by the transparency at all, and a picturebox that I do want to be able to control the level of transparency. Currently, I'm using a slider bar, and controlling the opacity of the form, but that makes everything on the form transparent. I'd actually like for the form itself to be completely invisible, and for my slider bar to control the opacity of the picturebox only.
when i add my form into the picturebox the background color is argb(152, 0, 136) and i tryied to use TransparencyKey and Still the background color is 152, 0, 136 code:
Dim frm As New Form frm.BackgroundImage = Image.FromFile(open.FileName) frm.BackColor = Color.FromArgb(152, 0, 136)
I have a VB.NET application that I wish to store on a shared server. It is a GUI application that also calls a few external .dll's. I'm running into an error message that says "That Assembly Does Not Allow Partially Trusted Callers". I've seen several posts that mention I should add the following line to my AssemblyInfo.vb file:
<Assembly: AllowPartiallyTrustedCallers()>
This still doesn't seem to solve the problem. Anyone know what to do? I'm hoping to compile and store the .exe on the server for other users to access.
I decided to get rid of some of the junk in my computer, so I selected all the .tmp files and deleted (nearly) all of them. I then emptied the recycle bin... Then I set to work on trying to get some code to work (in an excel 2007 macro enabled workbook).
I now have two problems: 1) excel will not let me record a macro and 2) when I run one sub routine, excel tries to run every sub routine associated with the workbook.
other than removing and re-loading Office 2007? I'll try logging off and then logging on again - if that works, I'll let you know.
if I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??