i have a tab control thing and i want to make it transparent. When i set each tab to that is just turns gray, even when i run it. Can someone help me. I dont want to have to apply the same image to each tab several times.
I want to enlarge an image, possibly up to 32 times or 64 times bigger than original dimensions (so that the user can see each pixel) if possible. The following is a simple function that I have to enlarge an image.
Private Function xEnlarge(ByVal Source As Image, ByVal Rate As Double, Optional ByVal Quality As Drawing2D.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic) As Image
I am already familliar with applying an image to a form background. My application has many in it, but I want to give the user the option of browsing for an image of their own to apply to a form. I don't intend to save the images as defaults or anything. Just the option to browse and apply to a form.
I'm looking to use a timer to change an image for a set number of times & then exit. Am trying the code below but although the TextBox check works the Image skips directly to the second from last & goes no further.
What I am trying to find is a way to get the current time and find which list item it fits into. What I think I need to do is to first of all get the current time and then go through the list splitting each item into 2 times and seeing if the current time fits. For example: Split the item 00:00 - 00:14 to 00:00 and 00:14 and then check if the current time is more than 00:00:00 but less than 00:14:59 and if so do certain task.how to go about taking each list item and splitting it into 2 separate times so I can check between them?
i am trying to make a coin toss program where you toss a coin a certain number of times then repeat it a certain number of times. the problem i have is "heads(counter2)" the word "heads" has a blue error line under it how do i sort the error out and also is all the code right
Public Class Form1 Dim tosses, repeat, heads As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
I code GUIs in .NET frequently, and most of them only have the value of being a GUI, e.g. they don't do anything otherwise impossible. So most of the development goes to making them friendly, intuitive and eye-candy.Then it comes to my mind it would be simply amazing to skin them through .msstyles files, since there are so many places to find those files, and also tools to make your own.And some of those msstyles are just stunning, probably not for your whole desktop, but for styling homemade apps it would be perfect.
i have one quetion maybe some of you know codejock skinframework witch allows you to apply a skin to your vb6 application and i thought about asking is there a way applying a xp/vista theme to an vb .net application i dont want to use xp style if you think like that i mean downloading a skin and applying it only to my application? is that possible in vb .net
I have a small VB.NET application built using VS 2008 and .NET 3.5.Very simply, there is a timer that kicks off every few seconds to download an XML stream from the web. I look at this stream and manipulate it.The problem I am facing is that the remote web server may not respond in a timely fashion to the following line of
[code]...
How can I implement asynchronous calls so that the my application can behave without locking up?
I have a 2d array and I want to do a calculation on each element in the array and then return the index which results in the smallest value.
I have tried iterating through each element in the 2d array and running the calculation. If the calculated result is smaller than the currently stored minimum I set that to the minimum.
This works but it runs so slowly it makes the solution a non starter. It performs each calculation quickly but because of the number of elements in the array the calculation for the whole array is stupidly long.
Is there a way to apply any changes made to an entire application and not just the open (active) form that you are in? I.E. I change the backcolor to a color from a color dialog. I want that chosen color to be applied to all the forms' backcolor in my project. Can this also then be applied to all the other controls' backcolor? The code that I posted works but all forms and controls have to have the changes applied to each one separately.
So i want to apply gradient to a square, a center to edges gradient. This is the code:
Public Class Form1 Private Sub PicSourcefrm(ByVal sender As System.Object, ByVal e As PaintEventArgs) Handles Me.Paint Dim Graph As Graphics
[Code].....
NOTE: Picsource is just a PictureBox named that way. If I put "BrushSquare.SurroundColors = Color.Red" in a comment. The program works but the edges are white, not red like I want them to be.
I just want to verify something. I believe it is likely that if I apply the using command to a SqlDataReader, that it will both close the data reader and dispose of it. For example:
Using sdr As SqlDataReader = cm.ExecuteReader() Dim someInt As Integer = sdr.GetInt32(0) 'other details and actions End Using
Will that close the sdr SqlDataReader after it exits the Using code block. (I believe it will, but just want to verify.)
iam working on windows application using vb.neti developed a patient information system it is working well but i have to improve the look and feel of my application using themeshow to apply themes for my forms like windows themes for each and every control
I have got some XML which is built by my application. This XML is dropped to an XML file, which I then wish to apply an XSL stylesheet to in order to convert it to a HTML page. However, every time, it just keeps coming out with the original XML rather than the transformed HTML
I'm working in VS 2008, on a windows application.I have many forms, and I'm in the process of redesigning the GUI.Is there anything that I can do to standard some of the placement of the controls. For example, I have a header for each page, at a certain size and location. Instead of going to each form, is there a way to do the settings once, and apply to many forms?
i'm developing a simple 3D Cad Application that renders some created objects. I'm able to apply a color-based material to the objects but not to cover their surface with a texture, such as a bitmap. These are the two main code blocks of my application:
This code, creates the objects and creates materials for them. (To draw the objects, i'm using the Mesh class' methods):
objects(0) = Mesh.Box(device, obj.SizeX, obj.SizeY, obj.SizeZ) materials(0) = New Material materials(0).Diffuse = obj.Material materials(0).Specular = Color.LightGray materials(0).SpecularSharpness = 15.0F
the Background of my form is a image and the text very big. when it is bigger it doesn't look good how do i apply Anti-aliasing on the text so that it will look good?