I have less than good eyesight now as my age increases :) I have managed to make most text areas/dialogs etc suitable for my eyesight, but can't find any way to edit/alter the Toolbar Icons - I expected to fin (at least) a seting for 'large' icons, or a way to increase/decrease the sizes - but so far I haven't been successful.
I find the icons/toolbars to be poorly designed in that they are on a grey background which just serves to minimise their effect.
I have created a toolbar on my form and added icons (.ico or .png) such as New, Open, Save, etc. I can't seem to find out how to make my icons transparent so I don't have the white background displayed on the icons.
Iam creating a Inventory System on vb.net and I need some image for like new,search,delete copy cut edit etc can any Help me from I get all this Images, I try to search in google bt I did't get
i want to design a new program that should start with windows and its icon should appear at the toolbar the idea is when i click on the icon a rectangular forum should appear. my question is that: what is the best tool or control should i use? should i use the blank project of windows application or there is special project for that.
I have a Table with an integer ID number set to auto-increase. Does anyone know how to let SQL server fill the gap (where rows are deleted) when new rows are added? If can, how to get the scalar ID number assigned?
I am working with vb.net and want to increase the size of image when the cursor is over that image, but the image should come back to its original size when the cursor leaves that image area.I've used the following code to increase the size of image:[code]I've used the default size class but, it gives some different dimensions.by the code that brings the image into its original size that I've been declared into the picture box properties.
when the form loads, there is a table and i use code to set the row count to a variable from a previous page. this works fine. the problem i am having is that i cant get the row height sizes to be evenly spaced, there is 1 huge row then heaps of tiny ones
I currently have the following code but I would like to get away from going to a physical location. If I have the icon as a resource, how can I programatically add the icon? I don't want to use the form's designer to do this.
Sub Form1_Load() Dim ico As New System.Drawing.Icon("C:Resourcesicon.ico") Me.Icon = ico End Sub
My application icon looks ugly-like a paper and i would like to change it to something like globe icon or any suitable image.Am programming using visual studio 2005 and the program is written in vb.net.
I'm not sure exactly if the folder icon is in shell32.dll, but nonetheless if it is.Basically, whenever I come across a folder in a FileSystem list, I want to add the icon for a folder to the image list that I am using for the ListView. The problem is that I'm not sure how to reference a specific icon location in a icon collection in a dll.Is this possible with Icon.ExtractAssociatedIcon and shell32.dll?
I have written a VB .NET 2010 application which displays a "you have new mail" window/form with an OK button that closes the form.
Some users have received new PCs with dual-monitors and the OK button is no longer visible on the form - it's at the bottom but off-form.I guess that this is related to a different screen resolution and not the dual-monitor setup itself.how to make my forms auto-resize? I though this was automatic in VS 2010.
Is it possible to have radio buttion 1 control this code and have radio button 2 control the same code with different sizes? If this can be done it will get me buy until I learn a better way. It is a small envelope app, someday I will add a database to it too hold all my address. Right now I only use a couple different sizes.
Got an annoying issue it's Visual Basic 2010 I changed icon where the assembly name.I got a good icon it has lots of sizes, or I tried diff sizes like 64x64 128x128 nothing seems to work I only see the icon when i do View > Details so it's small icons in the folder, but if i have view large icons It doesn't work. I even used the same icon on VS 2008 and it worked.
Here's the code that I use to extract the icon size that I want:
Dim i As Icon = My.Resources.Spectrum Using i2 As New Icon(i, New Size(256, 256)) Me.PictureBox1.Image = i2.ToBitmap End Using
This works from 16x16 up to 128x128 but for 256x256 it extracts the 128x128 icon. I tried 0x0, because I seem to remember that that is how the large size is stored in the meta data, but that didn't work either.
I'm attempting to remake the Explorer to customize it some more. I know how to get Name, FileSize ect. Getting the Icon is hard though. [Code] The code i'm using to Insert the Icon into a image, i'm getting this error: Error1Value of type 'System. Drawing.Icon' cannot be converted to 'System.Drawing.Image'
i'm getting this really strange error, or I must be overlooking something obvious. I'm using the following piece of code:Dim hwnd As Integer = GetWindow(GetDesktopWindow, GW_ CHILD) Dim myicon.As System.Drawing.Icon =Icon.FromHandle(hwnd)PictureBox1.Image =myicon.ToBitmap
I have a slightly unusual application that is optimally designed by doing the following. We have an application that references a number of graphic sets for unique artwork utilization. The application is in HD and the graphic sets are a bit large about 20 megs per set. We have found that the optimal design for this particular application is to create a unique .Resources file per set, compile this .Resources file into a .Dll file using Assembly Linker (AL.exe) and reference the .Dll via the application and load the graphics upon demand or selection actually of this unique set within the application.
Question is this as I have been unable to find any data on this aspect.
Is there a limitation on the number and size of .Dlls that a VB .Net application can reference?
Specifically, we will likely have 20-25 unique graphic sets reesulting in 20-25 unique .Dll files of about 20 megs per .Dll. On our deployment boxes for the applications, we have 2 GIGs of RAM so no issue there.
Just curious if anyone knows if I am breathing down the neck of an inherit limitation within VB .Net 2010 by creating the above monster.
How do i center an image at all window sizes? My Window is borderless and maximized so its size obviously differentiates between resolutions. I'm having trouble centering an image directly in the middle of the screen and making it stay there regardless of the size of the window. Docking isn't working neither is anchoring and hoping there is an easier way around this?
I have a basic VB.net app that displays a picture box with some text. nothing special. looks fine on my computer. If I display it on someone else's computer with a larger font size (125%?) my picturebox and text looks off and stupid.
How do people account for this? Should I simply get the new font size and multiple all positions, lengths and widths of object by 1.25?
I'd obviously like my dialog to scale properly and look as expected in any display no matter what font size is selected.
I have a basic VB.net app that displays a picture box with some text. nothing special.ooks fine on my computer. If I display it on someone else's computer with a larger font size (125%?) my picturebox and text looks off and stupid.
Is there a way to make the actual tabs different sizes? I just want the tabs themselves different sizes not the whole thing. Seems like the itemsize property does this but it will only allow you to set one size. I want each tab to be a different size depending on its text.
I have a question about For function. I have in form 2 pictureboxes and i want that one which size is 300x300 will be resized to 100x100 and second which is 100x100 will be resized to 300x300 So im using this code for that:[code]But why sizes changing instantly after ~1.5 seconds? For function doesn't shows all action.
'First creating a temp table, temptabell, and copying data to it from table tabell Dim strSql2 As String = "SELECT * INTO [" & temptabell & "] FROM [" & tabell & "]" Dim dbCommand2 As New OleDbCommand(strSql2, cn)
[Code]....
This is working, this is how I did it in VB6, but I wonder, is there an easier way?
Would it be possible to change field sizes more directly?
I want to check to see if a imported image is larger (in pixel dimensions) than the PictureBox control size.Here's my vb.net Private Sub open_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles open.Click
I'd like to know if it's possible to have a Label/TextBlock that has two or more different font-sizes/styles/weights within the same label/block. Something like this: This is an example of a string.
ave a folder containg loads of images of different sizes and need to loop through all the files and get there size infmation so i can list them all in a treeview.
For Each f In Directory.GetFiles(imageLocation) Dim i As Image = Nothing Try