how can i determine if 1 control is or will overlap another control if i move it?
textbox1- left = 168, top = 111, width = 10, height = 36
picturebox1 - left = 160, top = 108, width = 18, height = 18
i'm working with high precision and little room for error.
i've just written a disk searching program, and discovered while doing so that i have 2 locked folders on my Hdd. if i open the parent directory in my computer, then dblclick either of these folders, i get a msgbox that pops up telling me that my Hdd isn't formatted and asking if i want to...
i've got a text file that lists 596 cities (example)
it lists city name, current UTC offset, then (again) city name, state (if applicable), and country.
how can i match these cities up to the appropriate timezone?
how can i use a hatchbrush for ms paint style brush drawing?
the best way of drawing (ms paint style) with a solidbrush seems to be the graphics.drawcurve method, but this doesn't work with a hatchbrush.:confused:
i'm trying to change some colors in a bitmap.
this is the code i'm using
Dim att As System.Drawing.Imaging.ImageAttributes = New System.Drawing.Imaging.ImageAttributes
Dim map As System.Drawing.Imaging.ColorMap = New System.Drawing.Imaging.ColorMap
map.OldColor = Color.FromArgb(0, 0, 0)...
how do i get the My Computer icon using SHGetFileInfo?
i've tried this
SHGetFileInfo("", FILE_ATTRIBUTE_NORMAL, shinfo, Marshal.SizeOf(shinfo), SHGFI_ICON + SHGFI_SMALLICON + SHGFI_DISPLAYNAME)
but it doesn't work.
i'm not sure what the filename for My Computer should be?