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 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 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?
How can we apply attributes to class fucntion using AOP in C#?I am slightly not clear in what context AOP should be used? As we can use AOP for logging purpose, security(Authentication), please suggest some other scenarios where we can take benefit of AOP.Is AOP can be use to share data among different running threads in application process?
I'm playing with a simple string replacement editor for editing VB.Net functions outside of VB. Is there a way to apply VB.Net code formatting to a string?
For example. The txtboxCodeEntry looks like this:
If strVar="dummy" then 1 else 0 Endif
I would like it to "autoformat" to:
If strVar = "dummy" Then 1 Else 0 End If
The formatting would match whatever formatting VB.Net does when you're editing code in the Visual Studio IDE.
I just change the country from "US" TO "French(Canada)" through control panel, then run the code.But the display name is still as "English(United States)", if I shut down the app then restart it. The name becomes "French(Canada)" then.Why?
If (System.Threading.Thread.CurrentThread.CurrentCulture.DisplayName) = "French (Canada)" Then ' do something