Am devloping an application with multiple forms, which reside on top of a main form. i.e the main application window. The 'child' forms do not need to be linked in any way as they do not pass information to the parent form, as all the parent form does is act as main window.Now I would like to know what is the correct way for the 'main window' form acting as a container for the other forms? So that all the smaller secondary forms stay focused on top of the main application form, that when the main window is minimized, so these forms should do also etc..
I have read other posts and they mention, leaving all the forms standard i.e. IsMdiContainer = False and then using form.showDialog() to call the secondary forms. This did not work for me as what happens is that as soon as I give focus to the main app form, the secondary form disappears underneath.I tired making the main app form IsMdiContainer = True and when it loads calling:
frmMemberForm.MdiParent = Me
Now this works, because I can click off the form and minimize the app etc and the frmMemberForm doesn't disappear. However if i close the MemberForm and reopen it, it looses this property and once again when it looses focus, it will disappear.
I know this may sound really difficult and annoying to complete but all i need is a form which has no borders at all,just some text floating topmost of all screen like a screensaver i tried adding a text but it still has a white background behind it and it looks like a sign instead of Floating Letters with no background at all also note that i dont want a form with a square border around it,because thats what it look like when i added form border style to none
Is there any way to embed a vb.net form to another vb.net form. What I am trying to do is to make Form-A semi-transparent and Form-B as the embedded main form. So that the final application has a semi transparent border around it . Also I don't want to use a MDI form.
Edit: How to make the border of a vb.net form semi-transparent without using MDI form.
I have a few pictureboxes that move and contain an image of a fish. When they overlap, I would like to be able to see one fish under the other fish.I have made the background (white) of the image transparent in photoshop and the background color of the form seems to show through the background of the fish image, but when 2 fish overlap, ones background covers up the other.
I have a rectangle that I dynamically draw in a Window. Said Window has a background with it's opacity set to 0.4. I'd like to make the area inside the rectangle completely transparent (see what's behind the window).
Here is the code of my Window : <Window x:Class="TakeAScreenzone" xmlns="[URL]" xmlns:x="[URL]" Title="PloofTAS" Height="355" Width="539" Topmost="True" [Code] .....
I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this. [URL] but it doesn't seem to work. I have it set up so the usercontrol can be drag-and-dropped. but I dont want transparent areas to be dragable.
First post here, so I have no clue if this is the right place to ask this or not, but it looked like it.
Anyways, what I'm trying to do as an exercise is make a roulette game. I decided it would be best to put my buttons ON the actual table itself, so that the player can click which one he wants to bet on, and it'll bring up an Input Box asking how much he wants to bet, and yeah.
So, I tossed a button on there, set the parent to the picturebox of the roulette table, set the back color to transparent, and got rid of the text. Lo and behold, it's transparent!
The "This is a test......" text is a label, that is the child of a Canvas. The Canvas is the child of the horizontal StackPanel that also has the blue Canvas with the team records on it as well as the team logo images and the team name labels. The black line is where the Canvas that holds the "This is a test....." label starts.I wan't the "This is a test....." text to roll from right to left, but the problem is that because all the controls on the StackPanel are transparent, the text doesn't "dissappear" underneath them, even when they leave the area of their parent control. How can I make them do that? ZIndex isn't the answer because my problem is not which control is on top, but instead the fact that the controls "above" it are transparent.
I would like to set the label background to none where I could see the shockwave behind the label, but I couldn't be able to do that. How can I set label background to none so I would easily to see the shockwave?
there is 1 problem that i keep trying to sort out but cant quite do it, this is in a form is there a way to make the background to it transparent? thus see all the pictureboxes, buttons, labels,etc. inside the form but not the form itself? the only things i can think of is opacity and visible however those just don't show anything in the form at all. if I try change the backcolor to transparent it ends up with an error as to what i can understand(correct me if i'm wrong) only controls and childs can have transparent backgrounds.
with a triangle formed object and the rest of the image(background) are transparent... how do i make the transparent area not click able?my code how it is now>
Private Sub PictureBox2_MouseDown1(ByVal sender As Object, ByVal e As MouseEventArgs) Handles PictureBox2.MouseDown 'code for picturebox not start an click event. only if the image will be clicked>>
how do you make images transparent in vb 2005? i have a bunch of images that i want to use, but they all have a white square background. How would I get rid of its white square background?
I need to convert the color as semi-transparent for the picturebox to see something behind the picturebox.... Here, I have a difficult situation. When I set the image color using with the code, none of them are works. So I got them rid it. ARG!!!! I need to find the fact semi-transparent for the picturebox.
have placed picturebox in front of shockwave control and I can see the picturebox black color. I would like to know how I could use picturebox as shockwave transparent??
How to make label transparent? I want to make the percent progress on top of the progress bar, I tried transparent but it didn't working.. It has white backgroundthe code is like this
Public Class Form1 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
There is no BackStyle property in Visual Basic 2005 ... But I read in MSDN that changing the BackColor of label control will make the background of label control Transparent ... So we'll be able to see through the label control ... I changed the BackColor property to Transparent but it didn't work for me ... BackColor changed to Transparent ... But still I ain't able to see the image behind the label control ... (PictureBox) ... Background color of label still remained the background color of Form i.e. Control color ...
I have a bunch of PNG images in my project's resources. I need to find out whether the pixel at any X,Y is transparent or not. Testing the alpha of the color returned by GetPixel doesn't work, and I can't test it against the transparency key because Bitmap objects only have a MakeTransparent method, for some strange reason. Is there a way to tell?
[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.
Question:Is it possible to make a userform transparent but have non-transparent controls?I notice changing the opacity of the userform will change the opacity of controls embedded on it.
how do i make i VB .net application/tool (any sort of) like a professional one, for eg. if my tool is doing some task when i click a button which takes say 1-2 mins. , then during that phase my app should not look like it's hung (plain white window) if you know what i mean . All i'm asking is the logic for keeping my front end viewable & refreshed (possibly wit ha progressbar) while something carried out in background which takes couple of mins.
I have took a little research, but I couldn't find the answer. I am looking for code that when I input the textbox something like in the first letter "a,b,c,d,e or whatever it goes", find the match of the listview items that come with the same text property of the textbox while hide the unmatched listview items.
However, I used this:
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged Dim i As Integer
Public Class HotelReservation Dim currRec As Integer Dim totalRec As Integer Dim dt As New DataTable Dim cmd As New OleDb.OleDbCommand("SELECT * from Reservation", conn) Dim da As New OleDb.OleDbDataAdapter(cmd) Dim ds As New DataSet
I created a com dll using Vb .net 2005. One of my classes inherits from System.Collections.CollectionBase. The methods of CollectionBase, such as Count and clear are not visible/usable to the program that references the dll. How do I make those methods/properties visible?
<ComClass(ReportCollection.ClassId, ReportCollection.InterfaceId, ReportCollection.EventsId)> _ Public Class ReportCollection