Remove Reflection of Windows on Dock?
Hey all, I'm wondering how I can remove the reflection of an open program on the dock. I have Firefox open, and now it's reflecting the bottom status bar into the dock and it is quite annoying.
I'm NOT asking how to make the 3D dock go to 2D, or lower the opacity of the dock. I just don't want it reflecting other windows.
The "reflection" means that application is running.
No, the little light means it's a running application.
All items in the dock have a reflection all the time.
Similar Messages
-
I have a ListView displaying a collection of icons. The user can then select different icons (checkboxes) to do things like Copy or Delete.
Problem is, when I try to delete the actual file from the disk, I get an error telling me the file is "in use" ("vshost.exe", the VS runtime during testing).
I thought maybe it was because it still appeared in the window and was still in the ImageList, but even after removing it from both locations, I still get the error. My code:
Dim intCnt As Integer = 0
Do
ImageList2.Images.RemoveAt(intIconsChecked(intCnt)) ' Remove from collection.
lsvCollection.Items.RemoveAt(intIconsChecked(intCnt)) ' Remove from ListView window.
FileIO.FileSystem.DeleteFile(strIconPath & "\Icon" & Format(intCnt + 1, "00") & ".rsc") ' "+1" b/c Icons start with "01".
FileIO.FileSystem.DeleteFile(strIconPath & "\Icon" & Format(intCnt + 1, "00") & ".png") ' "In use" Error here.
".rsc" deletes just fine, so I know I'm deleting the correct file. Why does VS still think the file is still "in use"?
ThxMugsy,
Consider this as food for thought, even if you don't use it.
If you set it up right then you can control how it works. A reference is a reference and any left behind will cause you grief down the road when you try to delete things.
As an example, a simple class follows. It does *not* implement IDispose, although it does have a private shared Dispose method in it:
Public Class MyImages
Private _bmp As Bitmap
Private _name As String
Private _sourceFilePath As String
Private Sub New(ByVal bmp As Bitmap, _
ByVal name As String, _
ByVal filePath As String)
_bmp = bmp
_sourceFilePath = filePath.Trim
_name = name.Trim
End Sub
Public ReadOnly Property Bmp As Bitmap
Get
Return _bmp
End Get
End Property
Public ReadOnly Property Name As String
Get
Return _name
End Get
End Property
Public ReadOnly Property SourceFilePath As String
Get
Return _sourceFilePath
End Get
End Property
Public Shared Sub AddNew(ByRef miList As List(Of MyImages), _
ByVal imageFilePath As String)
Try
If miList Is Nothing Then
Throw New ArgumentNullException("The collection of MyImages cannot be null.")
ElseIf String.IsNullOrEmpty(imageFilePath) OrElse imageFilePath.Trim = "" Then
Throw New ArgumentException("The file path of the image cannot be null or empty.")
ElseIf Not My.Computer.FileSystem.FileExists(imageFilePath) Then
Throw New IO.FileNotFoundException("The file path of the image could not be located.")
Else
' Should do validation here that the file
' is actually an image but I'll not do this
' here...
Dim thisBMP As Bitmap = New Bitmap(imageFilePath)
miList.Add(New MyImages(thisBMP, GetFileNameWithoutExtension(imageFilePath), imageFilePath))
End If
Catch ex As Exception
Throw
End Try
End Sub
Public Shared Sub AddNew(ByRef miList As List(Of MyImages), _
ByVal imageFilePath As String, _
ByVal imageName As String)
Try
If miList Is Nothing Then
Throw New ArgumentNullException("The collection of MyImages cannot be null.")
ElseIf String.IsNullOrEmpty(imageFilePath) OrElse imageFilePath.Trim = "" Then
Throw New ArgumentException("The file path of the image cannot be null or empty.")
ElseIf Not My.Computer.FileSystem.FileExists(imageFilePath) Then
Throw New IO.FileNotFoundException("The file path of the image could not be located.")
ElseIf String.IsNullOrEmpty(imageName) OrElse imageName.Trim = "" Then
Throw New ArgumentException("The name of this image cannot be null or empty.")
Else
' Should do validation here that the file
' is actually an image but I'll not do this
' here...
Dim thisBMP As Bitmap = New Bitmap(imageFilePath)
miList.Add(New MyImages(thisBMP, imageName, imageFilePath))
End If
Catch ex As Exception
Throw
End Try
End Sub
Public Shared Sub Remove(ByRef miList As List(Of MyImages), _
ByVal imageFilePath As String, _
Optional ByVal removeFilePathAlso As Boolean = False)
Try
If miList Is Nothing Then
Throw New ArgumentNullException("The collection of MyImages cannot be null.")
ElseIf String.IsNullOrEmpty(imageFilePath) OrElse imageFilePath.Trim = "" Then
Throw New ArgumentException("The file path of the image cannot be null or empty.")
ElseIf Not My.Computer.FileSystem.FileExists(imageFilePath) Then
Throw New IO.FileNotFoundException("The file path of the image could not be located.")
Else
Dim findInstance As System.Collections.Generic.IEnumerable(Of MyImages) = _
From mi As MyImages In miList _
Where mi.SourceFilePath = imageFilePath
If findInstance.Count <> 1 Then
Throw New ArgumentException("The instance of MyImages specified by the" & vbCrLf & _
"image file path is not in the collection.")
Else
Dispose(findInstance.First)
If removeFilePathAlso Then
My.Computer.FileSystem.DeleteFile(findInstance.First.SourceFilePath)
End If
miList.Remove(findInstance.First)
End If
End If
Catch ex As Exception
Throw
End Try
End Sub
Private Shared Sub Dispose(ByVal instance As MyImages)
If instance IsNot Nothing AndAlso instance._bmp IsNot Nothing Then
instance._bmp.Dispose()
instance._bmp = Nothing
End If
End Sub
End Class
When you look through that, look specifically at the "Remove" method and in particular, look at the order in which things are done. That's the critical part in this.
I tested it with a simple form:
Two buttons, a checkbox, and a picturebox. I also copied a small folder full of image files to my desktop since I'll be deleting a file from it. Following is the code for Form1:
Option Strict On
Option Explicit On
Option Infer Off
Imports System.IO.Path
Public Class Form1
Private miList As New List(Of MyImages)
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Dim desktop As String = _
My.Computer.FileSystem.SpecialDirectories.Desktop
Dim imgFolder As String = _
Combine(desktop, "Images")
PictureBox1.BorderStyle = BorderStyle.FixedSingle
For Each imgFilePath As String In My.Computer.FileSystem.GetFiles(imgFolder)
MyImages.AddNew(miList, imgFilePath)
Next
btn_RemoveFirstImage.Enabled = False
CheckBox_RemoveSourcePath.Enabled = False
End Sub
Private Sub btn_ShowFirstImage_Click(sender As System.Object, _
e As System.EventArgs) _
Handles btn_ShowFirstImage.Click
Try
If miList.Count >= 1 Then
With PictureBox1
.SizeMode = PictureBoxSizeMode.Zoom
.Image = miList(0).Bmp
End With
btn_RemoveFirstImage.Enabled = True
CheckBox_RemoveSourcePath.Enabled = True
End If
Catch ex As Exception
MessageBox.Show(String.Format("An exception was thrown:{0}{0}{1}", vbCrLf, ex.Message), _
"Exception", MessageBoxButtons.OK, MessageBoxIcon.Warning)
End Try
End Sub
Private Sub btn_RemoveFirstImage_Click(sender As System.Object, _
e As System.EventArgs) _
Handles btn_RemoveFirstImage.Click
Try
If miList.Count >= 1 Then
MyImages.Remove(miList, miList(0).SourceFilePath, CheckBox_RemoveSourcePath.Checked)
End If
PictureBox1.Image = Nothing
btn_RemoveFirstImage.Enabled = True
CheckBox_RemoveSourcePath.Enabled = True
Catch ex As Exception
MessageBox.Show(String.Format("An exception was thrown:{0}{0}{1}", vbCrLf, ex.Message), _
"Exception", MessageBoxButtons.OK, MessageBoxIcon.Warning)
End Try
End Sub
End Class
Running it is straightforward:
Now when I click to show the first one:
A different image is shown because that first one no longer exists - either in the collection or in the folder.
Closing/disposing all references is the key and the order matters.
Something to consider the next time around. :)
Still lost in code, just at a little higher level. -
How Can I Remove A Persistent Icon From Dock
I've got an app's icon in my dock with a question mark in it. I am unable to remove the icon from the dock(I should be able to push the icon out with my cursor and have it go "poof" but can't). I deleted the app from my hard drive but the errant icon persists. I would think that there would be a file in my system representing the icon but can't locate it. How can I permanently delete the icon ?
First, Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions.
Then move these files to the Desktop...
/Users/YourUserName/Library/Preferences/com.apple.finder.plist
/Users/YourUserName/Library/Preferences/com.apple.dock.plist
/Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
/Users/YourUserName/Library/Preferences/com.apple.desktop.plist
/Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
Reboot & test.
PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.
Setup your Dock icons again. -
Can I remove iPod for Windows 2006-03-23 and 2006-06-28?
I have the latest update of iTunes installed on my PC. I'm trying to remove uneeded programs from my c drive. Is it safe to remove iPod for Windows 2006-03-23 and iPod for Windows 2006-06-28? If I removed them will it adversely affect the restoring of the iPod to factory settings or cause other problems?
The iPod updater is now integrated with iTunes so that you no longer need the standalone updaters each of which only delivered a particular version of the software. You can safely delete them, you'll find a few of the later ones are still available for download should you feel you need one. If you need to restore your iPod this can be done through iTunes: Restoring iPod to Factory Settings with iTunes 7
-
Blackberry doesnt show as Removable Disk on Windows
Hi Everyone,
It's my first time to post. Just to give you a background, I recently acquired a BB 8900 (v4.6.1.310 (Platform 4.2.0.127)).
I just want to say that i really love this phone. I probably won't be buying any other phone outside BB. If ever I'm upgrading, I'll just get another BB!
Well, I am encountering a problem whenever I try connecting my BB to my PC at work. To give you guys a background I don't have the DESKTOP manager on my work PC, my friend says it's not necessary to access the MicroSD card especially when I just plan on using it like a flash disk.
But whenever I try connecting it what pops out are windows for me to install a two hard drives (Blackberry and RIM Device). I cancel them both but my BB doesn't show as a removable disk on windows.
I've been reading on the pages and I have the Media Card Support: ON, Mass Media Storage: ON and Auto Enable Mass Storage Mode When Connected: YES.
Can anyone help me out regarding this matter? I'd like to use my BB as my flashdisk also whenever I'm going out so I can just have one place to store my presentations and spreadsheets.
I have a colleague here that has the same phone yet he seems to be having no problems on his end, he can access his BB like a flash disk drive.
Anyone's help is greatly appreciated.
Regards,
realspenzSounds like Windows is behaving perfectly normally by auto detecting your Blackberry when you connect it to the PC,
and just like any other USB device that is connected for the first time, Windows has to instal the drivers for it.
This is not the same as installing the Blackberry Desktop software.
On connecting you say you cancel the Windows message about installing two hard drives -
Have you tried allowing this to run and let Windows instal them ?
If you do you will probably find that the computer will then recognise the Blackberry,
and the memory card in it, and will allow you to access it as you would like.
If you found my answer ( or anyone else's ) to be helpful, don't forget to click the Kudos button ! -
How to install windows server 2012 r2 without remove the current windows 8.1
how to install windows server 2012 r2 without remove the current windows 8.1
Use guide below to convert it to 'basic' disk, or install windows on another drive. The supported way is to delete all partitions and convert it to a basic disk.
https://technet.microsoft.com/en-us/library/cc755238.aspx
However, your windows 8.1 must be on another drive?, as windows cannot boot from a dynamic disk.
Best Regards,
Jesper Vindum, Denmark
Systems Administrator
Help the forum: Monitor(alert) your threads and vote helpful replies or mark them as answer, if it helps solving your problem. -
Removing the GENRE window pane in the Browser Window
Does anyone know how (if possible) to *remove the GENRE window* pane in the Browser Window in iTunes 8.x??? This was a check mark ON/OFF in iTunes 7.x Prefs but I can't find it in the 8 version = very annoying indeed since I don't select my music based on genre.
Any input on this is appreciatedQuit iTunes, launch Terminal, and enter this command:
defaults write com.apple.iTunes show-genre-when-browsing -bool FALSE
Relaunch iTunes, open the browser, and you'll notice the Genre column has gone. You can reverse this by quitting iTunes and repeating the above command, but with TRUE instead of FALSE.
There are also pre-complied utilities to do this; search MacUpdate or VersionTracker for something like "iTunes browser" and you should find them. -
How do i remove the finder window from my start up desktop window.
How do i remove the finder window from my start up desktop.
Are you saying that when you log in, there are finder windows open before you even do anything? If so, that's because last time you logged out you left them open. Next time close all your finder windows before you log out and you should be good.
-
Remove Icon Explorer Windows 8.1
Hi , i want remove
everything exceptFavourites link in explorer menu.
Image :
What registry keys
I have to change?
thanksHi,
Based on the description, we can follow the method described in the following two articles to remove Computer and Network from the navigation pane of File Explorer.
How to Remove “Computer” from Windows 7 Explorer Navigation Pane?
http://www.askvg.com/how-to-remove-computer-from-windows-7-explorers-navigation-pane/
How to Remove “Network” from Windows 7 Explorer Navigation Pane?
http://www.askvg.com/how-to-remove-network-from-windows-7-explorers-navigation-pane/
Please Note: Since the above two websites are not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
To deploy the registry changes to multiple clients, we can utilize GPP Registry extension to do this.
Registry Extension
http://technet.microsoft.com/en-us/library/cc771589.aspx
Best regards,
Frank Shen -
I have an icon named "Solution Menu" on the dock, it´s the menu for canon printer.
I want to remove this icon from the dock and i don't succeed.
Can you help me ?Hi,
I think you are right there is problem of permission but I am not familar with unix command.
Can you explain what I have to do exactly in Terminal.
I open Terminal and I have only launched the command :
defaults write com.apple.dock contents-immutable -bool false
but without any effect on the dock. I reboot the system and no effect.
I didn't understand your first sentence about kill/force quit the Docks, what is the sequence
under terminal.
Thanks -
How do I remove an icon from the dock of an iMac Maverick, 10.9.5? I've tried dragging different places: desktop, finder list etc. No luck.
Drag up towards the centre of the screen & hold for a second or so. The icon will have the 'smoke cloud' appear, let go & it will be removed.
There should also be a 'Remove from Dock' option in the popup menu. It is in the 'Options' section . ctrl+click will 'right click' if right clicking is disabled.
If this is not possible the Dock is locked (this may happen on a 'Managed Mac' normally setup by a company or school etc). See your tech support in this case. -
Why MS remove Exchange from Windows 2012 Essentials?
Why MS remove Exchange from Windows 2012 Essentials and support just with Office 365 and Exchange on-premise?
I don't think Microsoft has ever said exactly why. Some possible reasons, pick one (or more).
1. Because Exchange has become too resource intensive.
2. Because Microsoft wants to drive small business to O365.
3. Because Small and Medium business were already flocking to O365 and abandoning on premise Exchange.
4, Microsoft built out all those expensive data centers and needed someone to use them for something.
5. Hosting Exchange on the DC has always violated best practices, now that there are alternatives no need to continue.
6. All of the above.
Larry Struckmeyer[MVP] If your question is answered please mark the response as the answer so that others can benefit. -
I need help removing CS3 from Windows 7 so I can reinstall
I need help removing CS3 from Windows 7 so I can reinstall
Before trying to remove try re-installing CS3 right on top of the current install. Often re-installing Photoshop on top of itself fixes the install. If it does be sure to apply the cs3 updates.
Download Adobe CS4 and CS3 Free Trials Here (incl. After Effects) | ProDesignTools
your product key can be retrieved from here https://www.adobe.com/account/my-products-services.html
use these links for the updates.
Adobe - Photoshop : For Macintosh
Adobe - Photoshop : For Windows -
How do you remove apps/programmes from the dock on my Mac?
How do you remove apps/programmes from the dock on my Mac?
Everytime I download something like pages, key note and twitter it appears on the dock at the bottom of the screen, How do I remove things from this dock?
ThanksWelcome to Apple Support Communities
To remove an application from the Dock, simply drag it off of the Dock, or right-click the app in the Dock and choose Options > Remove from Dock. Note that opened apps will always show in the Dock -
Once I ugrade CS5 to CS6 can I remove CS5 thru Add Remove programs in Windows or just delete them?
never delete any installed program on a windows os, always uninstall.
you can uninstall cs5 before or after you install cs6. or, you don't need to uninstall, at all.
if you uninstall before installing cs6, you will be prompted for your cs5 serial number (in addition to your cs6 serial. if you leave cs5 installed, you won't need the cs5 serial number to install your cs6 upgrade.
Maybe you are looking for
-
Hello Community, i use the EXS24 as Drum-Sampler in Logic. I load some Drum Hits (.wav) into the exs24 and record my drums tracks. But sometimes I have the following problem: I load a .wav file into the exs24 but it sounds not like the original .wav
-
T-code: F-02 (Balancing field "Profit Center" in line item 001 not filled)
Dear Experts, I am getting following error while i am doing transfer by using t-code F-02. "Quote Balancing field "Profit Center" in line item 001 not filled Message no. GLT2201 Diagnosis The field Profit Center marked as balancing is not filled with
-
Dear Gurus, I'm undergoing to do the MM Catch up ,example from November 2008 till September 2009.Let say we do the PR/PO/GR/LIV for Nov 2008 and at the same time we key in the PR for the December 2008 till September 2009 without close/open MM period.
-
Solman_admin password changes results in errors during managed system setup
Hello all, I am trying to get Solman 4.0 EHP 1 to work, but get numberous problems. Currently I have 6 messages at SAP, but no solution yet. Situation: Solman 4.0 SAP_BASIS 701 0003 SAP_ABA 701 0003 ST-PI 2008_1_700 0000 PI_BA
-
Exported Library to External HD, error in attempt to link to files on HD
Hello, I recently began using lightroom and stored the files on the local drive of my macbook pro (current os) until I ran out of space. Exported the catalogue to an external HD, then deleted the files from the local drive. As I tried to import the .