empty folder update Results

Page 1 of 3.
Results 1...20 of 52

Sponsored Links:

I have recently updated my GE Force GT 220 drivers to 310.90 from 306.23. Now, the Nvidia Corporation Folder (3D Vision Folder) is empty. This is the first instance of having an empty folder upon any update from Nvidia. Can I delete this "empty" folder, or should I leave it for further updates?
My second question would entail the 'black' screen. Upon boot-up, the screen remains black for 10-15 seconds before the desktop appears. Numerous people have encountered this issue. Can anyone elaborate on this particular issue?
Thank you. Any, and all replies are welcome.

* Every time I create a 'topic', there is never anyone whom can answer anything. I'm not the only one. I see many started threads with hundreds of views, but no responses.

I don't remember when this started, but whenever I boot my laptop it asks for my permission to run update.exe just after the start-up. When i click on Yes to allow it, it shows the following error message:

"Run-time error 339: Component 'MSWINSCK.OCX' or one of its dependencies not correctly registerd: a file is missing or invalid."
But when I click on No, nothing happens.
It happens so every time I boot my laptop,

Below is the information about my laptop:
Dell Studio XPS 1640
Windows 7 operating system
Mcafee Antivirus software
I am a newbie to these technical terms. Please help me to get rid of this Update.exe.

Is it a malware? or, a normal application to update windows? How can I be sure if it is a malware or not? and if yes, how can I remove it?

Assuming that to be a malware, I tried to run a number of protection softwares like Microsoft Malicious Software Removal Tool, A-squared anti-malware, Solo technology anti-malware, Mcafee Virus Scan etc. but in vain.

Also, I think I should write it too here. When I allow the Update.exe to run initially after start-up, I can see the process running in Task Manager. When I try to see the file location of this process, it shows the location as "C:Windowssystemupdate.exe" (Not C:WindowsSystem32 though I have both folders viz system and System32 in Windows folder),but C:Windowssystem is an empty folder in my laptop.

So, I do not know where to find this application so as to delete it.

Please help me.

Before I came to post here, I considered every possible alternative to "it just dissapeared". I'm by no means a novice user, and also by no means a complete expert. I've been in user support for over 12+ years so I can safely assume I know what I'm talking about...and I hope you can too.

Here's the situation..let's cut right to the chase.

The contents of my wife's user foler (Katy) just dissapeared overnight.

I just performed a clean install of Windows 7 (Version 6.1 Build 7600) on Friday. By Saturday, I had completed all updates and began to restore data from my backup drive. The data restored was pretty much pictures and documents from our My documents folder. All restores were completed and both our profiles checked out just fine. I finished this around 3:30pm Saturday.

I pretty much stayed away from the computer the rest of Sat night and all day Sunday with the exception of some light maintenance. I had no errors or anything to make me think something was wrong. I didn't perform any disk defrags, or cleanups...nor did I delete any data whatsoever.

This morning i go into setup my backups and boom, my wife's user folder is empty. There's no "my pictures", "my documents", "my videos"....nothing. Only folders in there are Contacts, Desktop and a hidden App Data folder. I went ahead and logged into her profile and it's still not there. I click on the links for document and music on her start menu and they take me to public documents and public music.

I log back in as Admin and check the structure of the Katy folder again. Now, it's showing the "my docs", "my music"...blah blah...but all empty.

Anyone seen this? Ideas???

What I've tried...

Restore previous version - Nogo. last restore point is @ 3:53pm on Saturday. All contents of her user folder of the available restores are blank
Used various undelete utilities - Nogo. they find nothing deleted that would of been in her folder
Checked Windows logs - Checked the time frame that things would of "dissapreared" no programs ran, no errors.


Ive got some odd compability issues with my MPIO-MG200 mp3 player (used to work fine on window xp).
Basically windows7 seems to find it and install some drivers to it straight away without any problems- shows up under the devices and with firmware V1.00.11.
But when I open it, it shows that it has 623MB free out of 1,91Gb and even though it shows that 2/3 of it is supposed to be full of something I cant see any of the files, theres just a couple empty folders (music, playlists, etc) there and if I add some songs, pictures or make some new folders there, they dont show up in the mp3 player.
Cant seem to find much firmware updates either, esp for windows7.


I have been asked to look at PC desktop computer belonging to a colleague. Basically he said he has lost a lot of icons from the desktop and some of his short cuts to certain programmes. I have checked and the programmes are still installed so that’s not a problem in recreating some of the short cuts.

When I checked the PC with “Windows Explorer” it rather looks as if some files have been deleted from the original set-up. When I click on “Users” it opens only one folder called “Public”.

I suspect he has deleted the following folders:-

Folder with his name

See a copy of this below.

He does not have a backup, I have checked restore points, the most recent is “Windows updates" and the installation of Service Pack One. I see little point in trying any of the restore points. The rubbish bin is empty. How can I reinstall these missing folders etc. I suspect other important folders may have also be deleted.

I do have the original Windows 7 installation disc (Home Premium edition). Would this do the repairs? Would I have to uninstall Service Pack One first?

I don’t really want to re-format the drive and start again.

Fortunately he does have an external drive with all his important files and photographs etc backed up.

Windows Live seems to operating ok.

Any advice will be greatly appreciated.

I have half a dozen or more programs in the Start Menu whose icons are either greyed out and their folders are "empty".

I tried reinstalling them, going to programs and right-clicking "Repair", running Unhide.exe and a program to rebuild the Windows Icon Cache, nothing has helped.

I have full permission (I'm the only person who ever uses this computer) afaik and can't figure out how to re-associate programs with their file types (like 7-Zip, .zip isn't one of the file types given as an option).

I was able to stick an icon for one of them in the Taskbar (Skype) and can access it from there, but I can't even get the others to start (Revo, iTunes, Secunia, 7-Zip, 1Password and a couple others).

One of the programs has been doing this for months (1Password, I used to just reinstall over it) so I'm loathe to do a System Restore (would have to do dozens of Windows and other programs updates) (but will if I have to).

On 64-bit Home Premium W7, hp laptop.

Windows 7 Forums recommends Auslogics BoostSpeed to repair Windows errors. Get it now.
May 1st, 2012: 25% off. Use coupon code: WINDOWS7FORUMS

Optimize every aspect of Windows 7 with the System Advisor or manually.Repair corrupt registry entries and defragment the registry.Disable and enable services based on how you are using your computer.Adjust and edit hundreds of settings to fix your computer in a few easy clicks.Includes File Recovery (undelete) free of charge.

Other Auslogics software:

Auslogics Antivirus
Auslogics File Recovery
Auslogics Disk Defrag Pro

Auslogics BoostSpeed 5 is quite possibly the best overall system maintenance tool of the year. Having received 5 stars from CNET, they also receive a 10/10 full endorsement from Windows7Forums.com. BoostSpeed isn't just about making your computer fast: It's about making preventative maintenance manageable through one application. While the market calls for a typical system scan to attract buyers, that scan is entirely legitimate, and does correct serious registry problems in a way that far exceeds industry expectations. CCleaner, for example, can hardly hold a candle to this utility.

Looking closer at the System Advisor, we can determine whether or not the Internet connection can be automatically optimized. This is done with BoostSpeed through a manual or automatic setting in the Auslogics Internet Optimizer. Auslogics Registry Defrag will let you know that you can reduce registry access time and increase overall system performance by running this tool. This is a very delicate task that most freeware applications will not take on. Defragmenting the registry involves significant risk if there is a failure and that is why Auslogics BoostSpeed 5 comes with a Rescue Center, which can literally allow you to backup the changes that have been made within the program. The program will even automatically create these restore points before adjusting your system for perfect fine tuning.

If the Disk and Registry Maintenance options weren't enough, Auslogics BoostSpeed 5 comes with in-depth ways to determine and modify your System Status and Privacy. If that weren't enough, the System Tweaks area allows you to optimize your Windows services around how you use your computer. This can be so useful in a work environment, as most system services continue running unabated, even when they will never be used!

Control over startup items and installed software has never been easier. Needless duplicate files found on a system can be deleted and disks can be explored to discover what is eating up all of that storage space. The System tweaks area is where Auslogics BoostSpeed really shines. It contains management options for the User Interface, Start Menu, Taskbar, Windows Explorer, System Security, Startup and Shutdown, System, Internet Explorer, Microsoft Office, and numerous additional Software Tweaks.

"Hi, I’m Jessica Dolcourt from CNET Download and this is a first look at Auslogics BoostSpeed. This is a top rated program that attempts to defrag, tweak, and otherwise optimize the computer where its most likely to get bogged down. Looking at the clean launch interface, you might never guess that there are 18 tools bundled into one app. The main pane is dominated by shortcuts for testing the health of the system. One Button Checkup will scan for issues and attempt to fix them. For instance, Disk Cleaner’s job is to find and remove junk files. With most scans you run, you’ll have the opportunity to take a closer look at the files, and to back them up before you change anything. Since the goal of the program is to optimize performance, BoostSpeed often frames problems in terms of how much space you would free if you deleted the loose files. On the left, the system tools are organized by activity: Computer, Cleanup, Optimization, Privacy, Settings, and so on. When you click the task category, you’ll see the available tools and a brief description of what they do. Clicking the tools launches it in a separate window, so that you can return to this main interface at any time. Most tools are easy to work their way around, and most changes can be undone in Auslogics Rescue Center, which you can get to from individual tool interfaces or from the settings on the BoostSpeed panel interface. In the Rescue Center, you’ll see a list of the changes you’ve made. You’ll be able to see full details for each entry and view archive backups as well. Which system files BoostSpeed will back up, and which it will leave alone, are things you can specify in the program settings, under the tab that says Rescue Center. We’re fans of Auslogics BoostSpeed for its comprehensive system maintenance and nicely packaged interface. Some of the app’s component parts are offered as stand-alone freeware products, such as the Disk Defrag…" - Courtesy CNET Review of Auslogics BoostSpeed

Under User Interface:
Disable AeroMake menu bars and window frames opaque instead of translucentDo not animate windows when minimizing and maximizingSlow the window animations when holding Shift keyDisable 3D Window SwitchingAdd context menu to activate Flip 3DTurn off Aero PeekTurn off Aero SnapTurn off Aero Shake
Under Visual Effects:
Hide window contents while draggingDo not drop shadows under icons on the desktopDo not use translucent selection rectangleShow Windows version in the desktop bottom right cornerSelect how you want the arrows displayed on shortcuts
Under Animation:
Do not allow window animationDo not use smooth scrolling for list boxesDo not animate drop-down listsSelect tooltip animation types
Do not use menu fading animation effectsHide shadows under menusHide underlined letters for keybaord navigation until ALT is pressedMenu animation effects optionsDelay before displaying submenus (in milliseconds!)Full font smoothing optionsExtended ClearType and Standard font smoothing options
Start Menu:
Hide "Log Off" from the Start MenuHide the "Run itemHide "Set Program Access And Defaults" ("Default Programs" in Vista)Hide the "Help and Support" itemHide the "All Programs" menuHide "Administrative Tools"Hide the list of frequently used programsHide the list of pinned programsHide the "See more results" link
Under Folder options determine whether to hide individual items, show them as a link, or show them as a menu easily

Do not highlight recently installed programsDo not show partially installed programs in grayDo not sort the "All Programs" menu by nameDisable the context menu and drag itemsDisable the "Start" button tooltipExpand menu when you hover the mouse pointer over an itemEnable small icons in the Start menu
Show notification areaDo not display tooltips in the notification areaDo not hide unused icons in the notification areaDo not display the network activity icon in the notification areaDo not display the sound settings icon in the notification areaDo not display the battery icon in the notifications areaAuto-hide taskbarDo not slide taskbar buttonsAllow moving or rearranging taskbar itemsGroup similar buttons: Do not group, Group when full, Always group and hide tagsButtons: Configure advanced settings for taskbar application buttons
Show hidden filesShow file extensionsuse Windows classic foldersDisplay checkboxes to help select multiple filesAlways show the menu bar in Windows ExplorerDisable file and folder pop-up descriptionsDisplay folder size in the folder tooltip
Disable thumbnail cache creationDo not display thumbnails in network foldersThumbnail quality - 0-100%Thumbnail size in pixelsShow address bar folder path autocompleteShow address bar folder path autosuggestShow address bar maximized as a drop-down listInclude variable "PATH" into search pathDisable automatic replacement of a blackslash to a forward slash
Context Menu:
Show "Open Command Prompt"Show "Send To"Show "Copy to Folder..."Show "Move to Folder..."Show "Run as administrator"Show "Take ownership"Show "Search..."
Restore open Explorer windows when you restartDisable CD burning functions in Windows ExplorerRun Desktop and Explorer tasks as seperate processesRun each Explorer window as a seperate processAutomatically restart the shell if a shell error occursDisable the option to search the Internet when you open a file with unknown extension
Explorer items:
Display encrypted and compressed files and folders in a different colorDrive letter is displayed after disk labelDrive letter is displayed before disk labelDrive letter is displayed before disk label for network driveDrive letter is not displayed!

Disable autorun for:
Removable drives (Floppy, flash-drive, etc)Non-removable drives (hard disk, etc)Optical disk drives (CD, DVD, etc)Temporary memory disk (RAM-disk)Network drivesUnknown drive types
Command Prompt:
Enable advanced modeEnable delayed expansion of environmental variablesEnable quick editingFile names autocomplete hotkeyFolder names autocomplete hotkey
System Security:
Disable User Acount ControlSet all UAC options including advanced options only found in registry
Privacy Policy:
Wipe page file on computer shutdownClear the "Recent documents" list on logoffDo not create the "Recent Documents" listDo not store your logon password on the diskDisable hidden sharesDisable user trackingEnable encrypt/decrypt options in ExplorerDisable Faster User Switching
For anonymous users:
Access is allowed with the default settingsTransfer of accounts and SAM names is prohibitedAccess is denied if permits are not specified
Windows Defender:
Disable Windows DefenderDisable heuristic scanningDisable archive scansDisable removable media scansDisable e-mail scansDisable real-time protectionDisable real-time protection promptsDisable downloads checkupDisable executable files checkupDisable definition updates through alternate download locationsCheck for new signatures before scheduled scansDo not log unknown detectionsDo not log known good detections
Startup and Shutdown:
Disable Windows startup soundDisable parsing AUTOEXEC.BATDisplay information about previous logons during user logonDisable Ctrl-Alt-Del before logonRun logon scripts simultaneouslyOptimize system files placement on the diskSpecify time to wait before running Check Disk (chkdsK) in seconds
Event Logging:
Do not log any eventsLog standard events onlyLog all startup and shutdown events
Legal Notice:
Write any legal notice you want during startup of Microsoft Windows
Automatic login:
Use autologin and set credentials, including username, password, and domain

OEM Info:

Configure Windows OEM attributes, such as the manufacturer's logo and support information that appears in the System Properties window.

This includes:
ManufacturerModelSupport URLWorking HoursPhone120x120 pixel logo
Application Start:
Disable "Program Compatibility Assistant"Disable "Program Compatibility Wizard"Disable running 16-bit applicationsRun 16-bit programs as a separate processAdd checkbox "Run in seperate memory space" for 16-bit applications
Error Handling:
Disable sound when errors occurAutomatic restart in case of a critical errorSend error reportsShow error notification in windowDon't save reports on your computerDon't send additional information in a reportDon't write error information into system log
If an error occurs:
Ask user consent to send a reportAutomatically include only basic information in the reportAutomatically include all but personal data in the reportAutomatically include all data in the report
Internet Explorer:

Disable visual-styled controls in Internet Explorer pagesDisable page transitionsDisable Clear Type fontsDisable smooth scrollingDisable autoamtic updatesAlways show menusDo not show extended error messagesDo not show the welcome text for new opened tabsDo not show warning messages when closing tabsDo not send bug reports via the InternetAlways ask before downloading filesPlace the menu above the address bar
Let Internet Explorer decide how pop-ups should openAlways open pop-ups in a new windowAlways open pop-ups in a new tab
Specify how Internet Explorer displays a web page when it's launched from another program:
Opens in a new windowOpens in a new tab in the current windowOpens in the current tab or window
Speed up web browsing in IE by using more concurrent Internet connectionsIncludes anywhere from 1-20 connections (Default is 4)
Default file download directoryHome PageCaption string that is displayed after the page title
Microsoft Office:
Do not track document editing timeBlock updates from the Office Update SiteDisable Customer Experience Improvement programDisable error reportingDisable logging Microsoft Office activityDisable Office DiagnosticsDisable clipboard dialog boxPrevent Office Help from resizing the application window
Microsoft Word:
Do not check spelling as you typeDo not check grammar as you typeDo not use background printingDo not auto-save background printingDo not auto-save documents in the backgroundDo not use translucent selectionDo not check if MS Word is the default HTML editor
Microsoft Excel:
Show Formula bar in Full ViewCache spreadsheetsCache PivotTable reportsUndo steps: Set from 0 to 100
Software tweaks (The ones we can see so far)

Disable file transferDisable loading language filesDisable publishing Skype status on the WebDisable Skype Public APIDisable checking for updatesDisable listening for TCP connectionsDisable UDP communications
Windows Media Player
Disable auto-updatesDisable automatic codec downloadsDisable Windows Media Digital Rights Management (DRM)Disable video smoothingDisable CD and DVD Media information retrievalDisable music file media information retrievalDisable media file sharingDisable script handling in media filesHide the "Privacy" tab in the settingsHide the "Security" tab in the settingsHide the "Network" tab in the settings
Adobe Reader:
Disable splash screenDisplay PDF in the browser windowDisable Purchase Acrobat item in the menu
Disable link prefetchingDo not reduce memory when minimizedDo not download favorite icons (favicons)Disable blinking elementsForce frames to be reesizableUse old style for opening tabsShow all images / Block all images / Load images from the requird site only and block images from othersClose Tab Button full range of optionsHow long Firefox waits for the web page data before it displays the page (From 0 to 1 sec)
System Information includes everything:
OverviewGeneralHardwareCPUMotherbaordMemory ModulesVideoStorageIO DevicesInput DevicesModemsNetwork AdaptersResourcesProblem DevicesOperating SystemProgramsNetworkApplication ErrorsDevice ManagerMemory UsagePerformance
Tasks show Applications, processes, services, and locked files. You can unlock locked files, change the status of services, end processes, and modify application data.

Auslogics Disk Explorer will show what folders are taking up the most space and allow you to delete empty folders on your system.

File Recovery allows you to undelete files.

Speed Up Internet includes:
Automatic tuningAuto HeuristicsDefault TTLGlobal Max TCP WindowMax MTUTCP Window SizeMax Connections Per 1_0 ServerMax Simultaneous HTTP ConnectionsFirefox Max ConnectionsFirefix Max Connections Per Server
1323 OptsACK FrequencyARP Cache LifeARP Cache Min Reference LifeARP Cache SizeAuto HeuristicsAuto TuningCongestion ControlDefault TTLDel ACK TicksDisable Task OffloadECN CapabilityEnable PMTU BH DetectEnable PMTU DiscoveryFin Wait DelayGlobal Max TCP Window SizeInitial RTTIPv6 over IPv4Keep Alive InternalKeep Alive TimeMax Connect RetriesMax Data RetransmissionsMax Dup ACKsMax MTUNum ConnectionsReceive-side ScalingSACK EnabledTCP Window SizeSYN Attack ProtectTimed Wait DelayUse RFC1122 Urgent Pointer
Default Receive WindowDefault Send WindowLarge Buffer SizeMedium Buffer SizeNon Blocking Send Special bufferingSmall Buffer SizeTransmit Worker
Request Buffer SizeUse Raw ReadUse Raw WriteUse Write Raw Data
Dns Cache:
Adapter Timeout TimeHash Table Bucket SizeHash Table SizeMax Entry TTL LimitMax SOA Entry TTL LimitNegative SOA TimeNegative TimeNet Failure Time
Internet Explorer:
DNS Cache EnabledDNS Cache TimeoutKeepAlive TimeoutMax Connections Per 1_0 ServerMax Connections Per ServerReceive TimeoutServer Info TimeoutSocket Receive Buffer LengthSocket Send Buffer LengthTCP Autotuning
Disable IPv6DNS Cache EntriesDNS Cache ExpirationHTTP Connect TimeoutKeepAlive TimeoutMax ConnectionsMax Connections Per ServerMax Persistent Connections Per ServerMax Persistent Connections Per ProxyPipeliningPipelining Max RequestsPrefetch NextProxy PipeliningUse KeepAliveUsing Proxy KeepAlive
(Auto-optimization is based on Over 1Mbps / 1Mbps or lower (default that Windows assumes) / or 128kbps or lower)

The built-in System Advisor determines (THESE ARE JUST SOME):
Can the Internet connection be optimized?Is the registry fragmented?Can Windows shutdown be sped up?Can incorrect drivers be updated? (It updates them in Auslogics Device Manager)
Quick Tasks allow you to:
Erase browser historyErase Windows historyCleanupt emporary filesOptimize memory
Privacy allows you to shred files and wippe entire disks.

Let's check that one again:
Disk MaintenanceFree Up SpaceRemove DuplicatesExplore diskDisk cleanupDisk defragmentDisk repairSoftware ControlSystem TweaksService OptimizationDisaster RecoveryFile RecoveryRescue CenterRegistry MaintenanceRegistry RepairRegistry DefragmentSystem StatusSystem InformationSystem TasksSystem ServicesLocked FilesComputer PrivacyErase Computer HistoryShred FilesWipe disksSpeed Up InternetInternet OptimizationMemory Optimization
It is quite probable that Auslogics BoostSpeed is the best program on the market for system repair and optimization EVER. Even if you don't know how to use the options listed above, that is why this program is great. It really DOES it for you. It really does repair your registry, with money behind it that went into big time research and development.

Their previous freeware products have been used regularly by IT professionals, but this product includes absolutely everything. There is nothing missing in this program, and updates are absolutely frequent. It is the one application I would recommend to every member of Windows7Forums.com without hesitation. Even if you do not know what these settings mean, this program will optimize and repair your system without any doubt. Today, there are so many programs that "claim" to do this and do that. When we saw Auslogics offering a commercial solution I had to start offering it on my website after I saw what it could do. I had to make a video about it. I had to find a way to provide a discount to members.

I have recommended it to my mother, my grandparents, and I will bring it up to a client I am currently working with tomorrow who is asking for Windows XP. This is the program that you need to automatically manage your system and keep it up-to-date, speedy, and performing in top condition.

Windows 7 Forums Rating: 10/10 Stars

Don't take my word for it. CNET gave them 5/5 stars too!

Watch our YouTube video for an exclusive discount offer.

I am having a problem with the Network Connections
control panel applet not showing ANY of the interfaces
registered by windows after installing SP2 on multiple
computers. The problem shows up immediately with the
initial security center page not being able to load the

Event viewer shows a System event ID 7022 "The COM+ Event
system service hung on startup", and "The Network
Connection Service hung on startup". Both services
display a status of "Starting".

Issuing a "NETSH DIAG SHOW ADAPTER" command produces the
message: "WARNING: Could not obtain host information from
machine: [MACHINE NAME]. Some commands may not be
available. Access is denied. Network Adapters (WMI
error)". Other NETSH commands give similar error

Device manager shows no problems. I've tried deleting
the NIC in device manager and rebooting. Nothing

I get the same results in Safe mode for all of the above.

Installing a different network interface card produces
the same results as above.

The network connection works fine and IPCONFIG /ALL shows
the network adapter. I can release and renew a DHCP ip
address lease. However, this problem leaves me with no
way to manage the network interface, protocols, firewall,

This problem has appeared for seven out of seven (Dell
Optiplex) machines that we have updated to SP2. Each of
the machines had been built with a syspreped WinXPSP1
Ghost image that we have been using successfully for
several years. The current image has winxpsp1, officexp,
sav8, acrobat reader 6 (i.e. no unusual software) and a
simple security template that gives users access to a few
folders. I've tried loading the "Setup Security"
template to undo these changes. So far, nothing has
worked, and I have been unable to find any other
reference to this issue.

Any thoughts or ideas?

I wanted to make sure everyone noted that I found a bug in my previously posted code

So, I'm reposting this from the above thread and adding an additional note.

If you passed into the function a filename of the empty string, the function returned true (due to the Dir command interpreting the "" as nothing which means get the next file (apparently) -- in this case the first file in the current folder). Not good. The FolderExists function had the same problem.

Here are the functions updated. Also, you might be interested in the API call SHFileExists to accomplish the testing of file existence. I don't recall reading any mention of that method.

Public Function fFolderExists(strFullName As Variant) As Boolean
If Len(strFullName) 0 Then
fFolderExists = Len(Dir(strFullName, vbDirectory))
End If
End Function

Public Function fFileExists(strFullName As String) As Boolean
If Len(strFullName) 0 Then
fFileExists = Len(Dir(strFullName, vbNormal))
End If
End Function

Thanks to Al for inspiring me to take a closer look!

I have been running Outlook 97 where I had created many contacts and jornal entries. I updated to Outlook Express for E-mail and clicked yes when asked if I wanted to import my address book info into O/E (at least I think it was only address book stuff). Anyway I have found that I no longer have any contacts in Outlook 97 and have lost everything that was in Outlook 97. Any ideas? I have tried importing an archive file but it seems to contain nothing, only empty folders.

(Edited by iaincraze on 07-Mar-03 17:43. Additional information come to light.)I've 2 PCs (PC2 & PC3) running XP Home, peer-to-peer networked to a PC (PC1) with XP Pro, through which they share an internet connection. All PCs store their documents in mapped drive M: which points to 'My Documents' on PC1. When PC1 or PC2 install a Windows Update, an empty, randomly named, folder is created in M: - this seems to have started happening recently and for no apparent reason that I can think of. These folders are presumably just a normal part of the update process which would usually be created in the Temporary directory. It's not the end of the world if I have to remove them manually each time but if somebody knows how to get XP to revert to clearing up after itself I'd be very grateful.
Latest There's obviously more to this problem than I first thought. Windows Update is in fact failing to install after downloading, so I'll need to sort that out first!!!!

This surely is one spooky or I'm starting to have senior moments.

In January I installed IE7 on my WinXP system. I do not use IE as a web browser. At the time I had a look at the new features etc., did some minor tweaks for security, and noticed that the upgrade changed also some minor things; the TIF and the Cookies folder became hidden.

Sine my latest install of WinXP SP2 6 months ago I have not moved the TIF folder, it is there in the Document and Settings branch.

Yesterday I installed the Fx update. Today I thought it was time for some house cleaning, in this case defragmentation. But first, let's clean out cache files etc. for the most common. Control Panel - Internet Options - Browsing history/Delete... - Remove everything, click, click, click. I've done this many times before and it works OK, a quick look in the TIF folder via this dialog box, Settings, View files shows empty TIF folder, OK. I then also emptied the WMP cache, Fx cache and the Adobe Reader cache.

Before I was to start the defragmentation, I for some reason headed over to Document and SettingsUser nameLocal settings, now I find the TIF folder visible! What? (I am not normally running with showing the super hidden, i.e. protected OS files etc., didn't this time also).

I head over to the Control Panel, IE settings, Webb history settings. Now it shows for TIF: "E:TempTemporary Internet Files". What!

Since OS setup I have my temp folder at E:Temp, so that is nothing odd, but why did the TIF move?

I head back to Win Explorer, and the Temp folder; no TIF folder is shown. Sigh. Ah, of course it might be (super) hidden, removes the check mark in settings to show such files & folders, and there it is, TIF folder is in my Temp folder. A check reveals that it is created some 10-15 minutes before I found that the old/original TIF was visible, i.e. probably when I used IE settings to empty TIF folder.

I have one time before seen the TIF folder loose its "magic", i.e. special folder status, columns etc. That was during another XP installation and the use of Spybot S&D TIF cleaning. post 530,525 This is something different, actually even untill this moment I have not clicked on the "Move folder..." button in IE settings, not even for looking.

TIF folder, original place:
Not hidden anymore, settings point to another though.
Special columns, i.e. Internet address etc. is still there.

New TIF folder:
Super hidden
No special headings, i.e. no "magic", shows sub folder "Content.IE5" etc.

Now as I'm writing I find, what the heck, it's not only the TIF; Cookies, History and TIF folders are all created in my Temp folder. These others aren't so quick&easy to move with a button, so no mistake. Sigh.


Document and SettingsUser nameLocal settings is back to normal, i.e TIF & History are hidden. Hmm, in Swedish Windows History folder is called "Tidigare" (not a direct translation of History), but among the new folders I mentioned in my Temp, there was a "History" folder. Hmm, could be that "History" is hard coded and is the OS name and is only translated if needed.

The new folders are still in the Temp folder, and hidden, after the reboot.

Finally a check at IE settings via CP. Now it shows the correct path and place (Document and Settings,,,). You know what, before the reboot when I looked at the TIF settings in IE settings dialog, it showed 50 MB disk space allocated. I have never changed that since install, and it used to be 640 MB. Now after the reboot, it's back to 640 MB. I hate I didn't take a screenshot.

Ah well, a lost hour, time for some coffee, and back to business with that house cleaning.

I find that my laptop will not let me right-click and create a new folder on my desktop. I get the message:
"Unable to create the folder 'new folder'
File system error (340)

Also, I am unable to empty the recycle bin. No error messages at all, asks me if I want to delete these 19 files (I click yes) and then nothing happens.

No idea what may have changed, but I did have a message a few times that Windows wasn't shut down properly, but the system checks/rollbacks don't find anything.

This is a laptop that was formerly a Vista machine. Windows 7 clean-installed (since it wouldn't update) and there is very little on it. 64-bit; 6gb ram;500gb HD.

Any suggestions?

My company is introducing a standard template of folders and sub-folders which we will use for each new contract we undertake. These will be used to store all the files (documents, spreadsheets, photos etc) relating to that contract.

However, in trying to devise a template which covers all eventualities, we will inevitably have some small, simple contracts where lots of the folders in the template will remain empty, because there will never be any files for that particular folder, on that particular contract.

We typically access these contract folders through Windows Explorer.

Is there any way, on entering the template in Explorer, for the particular folders which have been populated (as opposed to those which are empty) to be highlighted in some way (so people don't waste time looking for files in folders which are empty)? I realise that having Explorer sort folders by date would put the most recently updated folders at the top of the list, but that isn't the perfect solution because people won't always have their Explorer view sorted in this way, and I was really looking for a solution where the populated folders were somehow highlighted in an eye-catching way, without having to perform extra steps or sorts.

Thanks in anticipation.


Came across this guide & FAQ which may be of some help to those running servers.


What's Too Small?
But What About Upgrading?

What To Move?

Exchange Databases
SQL Databases
Other Data Files
Log Files
Webs and Other IIS Services
Shadow Copy Data
Shared Folders
Virtual Machines
WSUS Updates
DLLCache & ServicePackFiles
Move Certificate Server Data

What Else To Do?

Remove Old NTBackup Catalogs
Remove Old NTUnininstall Folders
Memory Dumps
Bad Applications
Check User Profiles
Check Temp Folders
Change Print Spool Folder
Move/Empty the Software Distribution Directory Posted Image
Move the WinSXS Directory Posted Image
Move Active Directory

I'm Still In Need of More Space!
When You Really Do Need To Resize
Creative Alternatives
Full Guide @ Managing Your Server's Boot Drive (a.k.a. Managing Your Server's C: Drive)


My computer is now useless.

I had windows XP, and recently decided to upgrade to 7, skipping Vista. I have all my important files backed up, and I intend to reformat the hard drive and start fresh. I put in the Windows 7 disk, clicked through the various "customize" and "advanced" tabs on the screen where I select a drive to install to, selected the drive I wanted, and hit "format", and verified that I really meant to do that. Nothing appeared to be happening, so I got up and made some lunch, and when I came back nothing still appeared to be happening. I assumed that it might format the drive during the next step. I am still not clear whether this is the case or not.

I selected the drive and proceeded with the installation. It said it was copying the files from the disk, then expanding the files, but it remained at 0% files expanded for several minutes before informing me that the files were missing, and the installation could not continue. It took me back to the first screen, and I tried all the prior steps again, twice, both with and without selecting format and had identical results. I decided to restart and try again, which I did by closing the installation window and verifying the restart, only to have more identical results.

Frustrated, I decided to simply upgrade the XP installation to 7 and then manually delete the chaff from the HDD when the process was finished. I restarted again, this time selecting upgrade from the menu, where it informed me that I had to open this option while running my previous version of Windows. I restarted yet again, this time not booting from the DVD, and saw "BOOTMGR is missing, Press Ctrl+Alt+Del to restart".

Getting pretty sick of restarting repeatedly and getting nowhere (it keeps going downhill from here), I nonetheless tried again, to be greeted with the same message. I finally resorted to firing up my trusty Compaq laptop slab from 2001 (where I am writing this right now) and Googling the error, and came up with two possible fixes to try.

Rebooting to the DVD, I selected "repair your computer" instead of install, but the list of existing operating systems was empty. I hit "use recovery tools (yadda yada)" anyway, opened the terminal, and tried startup repair, which said it could not fix my problem. Then, I opened the terminal and tried bootrec.exe /fixboot (successful), bootrec.exe /fixmbr (successful), and bootrec.exe /rebuildbcd (0 windows installations identified). Restarted, got same error. Thinking that the empty existing operating systems list and the rebuildbcd message meant that something was wrong with my XP install now, I dug out my dusty old XP disk and tried to use it to repair or reformat the drive in a desperate bid to regain some usefulness from my machine.

It BSoD'd before geting to any options, and continues to do so if I restart and try again.

So, to recap:
Can't finish windows 7 installation, it can't find the files it just copied.
Can't open previous XP installation, it can't find the bootmgr.
Can't upgrade XP to 7, it requires me to be in XP first.
Can't fix the bootmgr, it doesn't think the XP install is there.
Can't install fresh XP, it BSoDs.
Can't do anything with my computer anymore, see above.

How do I proceed?

EDIT: Ah, forgot the hardware. Knew I was going to ramble on for pages and forget something crucial.

Processor: Intel Core2 Quad, 8 GB RAM, GeForce GT120, 1.5 TB HDD.

EDIT2: Might as well post updates as I slog through this. Have decided that, rather than the entire XP install being faulty, it may just be the THEM SOFTWARE THINGS WOT MAKE HARDWARE THINGS GO GOOD for the chipset, which, on checking nvidia's site, seem to have separate versions for 2000/xp and vista/7. These include the SATA controllers, which could mean that the 7 disk is inconsistently reading the contents of the entire drive, not just the XP files. My theory is this would explain most of my problems: 7 won't install because it can't read the files it just wrote, and its boot manager can't be fixed to deal with the XP install because it can't read the hard disk it's on.

Current problem: the chipset FILES FOR TELLING COMPUTER BITS HOW TO WORK HARD from nvida are packaged in an installer .exe, which obviously doesn't register on the 7 disk as being THIS WORD ALSO MEANS PEOPLE WHO STEER CARS AROUND. I can't install the MORE OF THEM ONES AND ZEROES on the computer that needs them because it isn't working, and I can't install the THIS IS A GOLF WORD TOO on this working laptop (to port over afterwards) because it doesn't need them. Why is it packaged like this? Do I really have to find another, already-functional computer with the same motherboard? I'm assuming this was Gateway's way of making sure you couldn't do anything with their computers. I'm going to keep mucking through Google in the hopes that I will somehow find the I AM NOT GOOD AT GOLFS files intact and free of their obstinate and unnecessary .exe wrapper, but this seems unlikely. I may have to just replace the motherboard.

EDIT3: apparently a common and relevant word has been filtered out on this forum, in what I must assume is a concerted effort to stifle clarity. Previous edit has been altered accordingly, now you can all rest easy.

EDIT4: I found partial success upon trying to install the VROOM VROOMS on my laptop, then renaming the folder it unpacked the files into before it got to the part in the installation where it told me they wouldn't work with my computer and deleted the files. Unfortunately the resulting folder is quite large. I've trial-and-errored most of the files that would seem most likely to be the correct ones but haven't found anything yet. Not sure how to proceed if this proves fruitless.

Hello All.
Please read completely. I m sorry for writing complete story but problem can not be solved without telling complete story.

I know there may be experts here. I need help from all of you.

I bought my Laptop few days ago. It was equipped with windows 7 ULTIMATE x64 with 6gb ram, 500 gb HDD.
The problem appeared all of a sudden when after few days, while doing work, i opened my User Folder and noticed that all data has been removed form it, including My Documents, Music, Pics, Downloads or what ever all includes in User Folder. And when i opened start menu, all program entries from start menu are also vanished out. But programs are still there in my Program Files folder in C drive.
Note: I have Kaspersky Antivirus 2012 with Updated Virus Definitions. So i don't think there is a chance of Malware activity with Updated Anti Virus.
Anyhow i managed to recover some of my Data with data recovery software. I i was unable to figure out what actually happened. I searched so far on Internet for it. Came to close the solution when some other person was with same situation and he also had done whatever i had done.
Now What I had Done?
I was starting my preinstallled Outlook Express 2010. (A program of Microsoft Office 2010 Suite). I did not responded and got doing setup for first use , i closed it from task manager and again tried to start it, Same condition. And i also tried to connect Bluetooth data transfer to some other laptop also. but it was failed. I restarted system and what happened is above problem i defined. User Folder empty and start menu empty. Programs unusable because all the setting was in User Folder but they still in Program Files Folder.

Huhhhhhhhhhhh, i reinstalled windows and restored my files that were recovered.
Just after few days, same problem happens, but this time, Everything is ok, but Start Menu was empty. I tried to restore but every restore point is not working as it is not completely restored , so i have to undo. remain at same situation.
This time, i m wandering that i had not installed even Microsoft Outlook Express. But i think problem may arise with driver Update from "Driver Max" software or CCLEANER Software i use, but i checked c cleaner thoroughly , but there is no option selected to clean start menu out. Another problem that i think may caused by me , that when scanning registry in c cleaner, it suggested invalid entries removal from registry that i removed all by c cleaner without backing it up.

I think c claner was suggesting "start menu entries clean form registry that lost conneciton with programs". This mean something happened before c cleaner that broke connection between shortcuts and original programs.

I m unable to figure out what is happening and what will happen if it keep doing same again and again after reinstalling windows also. There must be solution that where the hell problem occurs. What cleans start menu and User Folder. Is it Bluetooth problem.
Note again: I have again full scanned my computer to check if it is virus but no virus is found in any of my devices and PC.

Please EXPERTS , please please please help me. I m in trouble.
Thank you all in anticipation.

The HP Printer Display Hack is a simple background application that periodically checks the current price of a selected stock and sends it to the display of HP (and compatible) laser printers.

This app is based on an old hack from back to at least 1997 that uses the HP Job control language to change the text on the LCD status display. Some background on this hack can be found here: http://www.irongeek.com/i.php?page=s...rinterhacking. There are various versions of the hack code out there, and typically they all work the same way: you specify the address of the printer and the message to send, open a TCP connection to the printer over port 9100, and then send a command to update the display.
This app is a variation of that hack. It’s a tray application that periodically checks the stock price for a company and then sends a formatted message of the stock symbol and price to a specified printer.
To get the current stock price, we retrieve the data from Yahoo! through finance.yahoo.com. The data comes back in CSV format. To save a step in parsing the CSV columns, we use YQL, the Yahoo! Query Language. Yahoo! created YQL to provide a SQL-like API for querying data from various online web services. YQL! can return XML or JSON data, and we’ll take the XML and use LINQ to parse the data.

How to Use the App

The first time you run the app, the main form will appear and you'll be able to enter in the stock symbol and the IP address of your printer. Click the “Get Printer” button to view a dialog listing the available printers connected on port 9100.
There are two checkboxes. The first one is labeled “Start with Windows”. When this setting is saved, the following code is executed to tell Windows whether to start the app when user logs in:


private void StartWithWindows(bool start) { using (RegistryKey hkcu = Registry.CurrentUser) { using (RegistryKey runKey = hkcu.OpenSubKey(@"SoftwareMicrosoftWindowsCurrentVersionRun", true)) { if (runKey == null) return; if (start) runKey.SetValue(wpfapp.Properties.Resources.Code4FunStockPrinter, Assembly.GetEntryAssembly().Location); else { if (runKey.GetValue(wpfapp.Properties.Resources.Code4FunStockPrinter) != null) runKey.DeleteValue(wpfapp.Properties.Resources.Code4FunStockPrinter); } } } }

Private Sub StartWithWindows(ByVal start As Boolean) Using hkcu As RegistryKey = Registry.CurrentUser Using runKey As RegistryKey = hkcu.OpenSubKey("SoftwareMicrosoftWindowsCurrentVersionRun", True) If runKey Is Nothing Then Return End If If start Then runKey.SetValue(My.Resources.Code4FunStockPrinter, System.Reflection.Assembly.GetEntryAssembly().Location) Else If runKey.GetValue(My.Resources.Code4FunStockPrinter) IsNot Nothing Then runKey.DeleteValue(My.Resources.Code4FunStockPrinter) End If End If End Using End UsingEnd SubThe enabled checkbox is used so that you can pause the sending of the stock price to the printer without having to exit the app. When you press the “Start” button, you are prompted to save any changed settings and the app hides the main form, leaving just the system tray icon. While the app is running, it will check the stock price every 5 minutes. If the price has changed, it tells the printer to display the stock symbol and price on the display.
A DispatcherTimer object is used to determine when to check the stock price. It’s created when the main form is created and will only execute the update code when the settings have been defined and enabled.
If an unexpected error occurs, the DispatcherUnhandledException event handler will log the error to a file and alert the user:


void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) { // stop the timer _mainWindow.StopPrinterHacking(); // display the error _mainWindow.LogText("Sending the stock prince to the printer was halted due to this error:" + e.Exception.ToString()); // display the form ShowMainForm(); // Log the error to a file and notify the user Exception theException = e.Exception; string theErrorPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "PrinterDisplayHackError.txt"; using (System.IO.TextWriter theTextWriter = new System.IO.StreamWriter(theErrorPath, true)) { DateTime theNow = DateTime.Now; theTextWriter.WriteLine(String.Format("The error time: {0} {1}", theNow.ToShortDateString(), theNow.ToShortTimeString())); while (theException != null) { theTextWriter.WriteLine("Exception: " + theException.ToString()); theException = theException.InnerException; } } MessageBox.Show("An unexpected error occurred. A stack trace can be found at:n" + theErrorPath); e.Handled = true; }

Private Sub App_DispatcherUnhandledException(ByVal sender As Object, ByVal e As System.Windows.Threading.DispatcherUnhandledExceptionEventArgs) ' stop the timer _mainWindow.StopPrinterHacking() ' display the error _mainWindow.LogText("Sending the stock prince to the printer was halted due to this error:" & e.Exception.ToString()) ' display the form ShowMainForm() ' Log the error to a file and notify the user Dim theException As Exception = e.Exception Dim theErrorPath As String = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) & "PrinterDisplayHackError.txt" Using theTextWriter As System.IO.TextWriter = New System.IO.StreamWriter(theErrorPath, True) Dim theNow As Date = Date.Now theTextWriter.WriteLine(String.Format("The error time: {0} {1}", theNow.ToShortDateString(), theNow.ToShortTimeString())) Do While theException IsNot Nothing theTextWriter.WriteLine("Exception: " & theException.ToString()) theException = theException.InnerException Loop End Using MessageBox.Show("An unexpected error occurred. A stack trace can be found at:" & vbLf & theErrorPath) e.Handled = TrueEnd Sub
The User Interface

The application currently looks like this:

Pressing the “Get Printer” button opens a dialog that looks like this:

The UI was designed with WPF and uses the basic edit controls as well as a theme from the WPF Themes project on CodePlex. On the main form, the stock symbol, printer IP address, and the check boxes using data bindings to bind each control to a custom setting are defined in the PrinterHackSettings class.
The settings are defined in a class descended from ApplicationSettingsBase. The .NET runtime will read and write the settings based on the rules defined here.
The big RichTextBog in the center of the form is used to display the last 10 stock price updates. The app keeps a queue of the stock price updates, and when the queue is updated it’s sent to the RichTextBox with the following code:


public void UpdateLog(RichTextBox rtb) { int i = 0; TextRange textRange = new TextRange(rtb.Document.ContentStart, rtb.Document.ContentEnd); textRange.Text = string.Empty; foreach (var lg in logs) { i++; TextRange tr = new TextRange(rtb.Document.ContentEnd, rtb.Document.ContentEnd) { Text = String.Format("{0} : ", lg.LogTime.ToString("hh:mm:ss")) }; tr.ApplyPropertyValue(TextElement.ForegroundProperty, Brushes.DarkRed); tr = new TextRange(rtb.Document.ContentEnd, rtb.Document.ContentEnd) { Text = lg.LogMessage + Environment.NewLine }; tr.ApplyPropertyValue(TextElement.ForegroundProperty, Brushes.Black); } if (i > 10) logs.Dequeue(); rtb.ScrollToEnd(); }

Public Sub UpdateLog(ByVal rtb As RichTextBox) Dim i As Integer = 0 For Each lg As LogEntry In logs i += 1 Dim tr As New TextRange(rtb.Document.ContentEnd, rtb.Document.ContentEnd) With {.Text = String.Format("{0} : ", lg.LogTime.ToString("hh:mm:ss"))} tr.ApplyPropertyValue(TextElement.ForegroundProperty, Brushes.Red) tr = New TextRange(rtb.Document.ContentEnd, rtb.Document.ContentEnd) With {.Text = lg.LogMessage & Environment.NewLine} tr.ApplyPropertyValue(TextElement.ForegroundProperty, Brushes.White) Next lg If i > 10 Then logs.Dequeue() End If rtb.ScrollToEnd()End Sub

Displaying a notification trace icon

WPF does not provide any functionality for running an app with just an icon in the notification area of the taskbar. We need to tap into some WinForms functionality. Add a reference to the System.Windows.Form namespace to the project. In the App.xaml file, add an event handler to the Startup event. Visual Studio will wire up an Application.Startup event in the code behind file. We can use that event to add a WinForms.NotifyIcon and wireup a context menu to it:


private void Application_Startup(object sender, StartupEventArgs e) { _notifyIcon = new WinForms.NotifyIcon(); _notifyIcon.DoubleClick += notifyIcon_DoubleClick; _notifyIcon.Icon = wpfapp.Properties.Resources.Icon; _notifyIcon.Visible = true; WinForms.MenuItem[] items = new[] { new WinForms.MenuItem("&Settings", Settings_Click) { DefaultItem = true } , new WinForms.MenuItem("-"), new WinForms.MenuItem("&Exit", Exit_Click) }; _notifyIcon.ContextMenu = new WinForms.ContextMenu(items); _mainWindow = new MainWindow(); if (!_mainWindow.SettingsAreValid()) _mainWindow.Show(); else _mainWindow.StartPrinterHacking(); }

Private Sub Application_Startup(ByVal sender As Object, ByVal e As StartupEventArgs) _notifyIcon = New System.Windows.Forms.NotifyIcon() AddHandler _notifyIcon.DoubleClick, AddressOf notifyIcon_DoubleClick _notifyIcon.Icon = My.Resources.Icon _notifyIcon.Visible = True Dim items() As System.Windows.Forms.MenuItem = {New System.Windows.Forms.MenuItem("&Settings", AddressOf Settings_Click) With {.DefaultItem = True}, New System.Windows.Forms.MenuItem("-"), New System.Windows.Forms.MenuItem("&Exit", AddressOf Exit_Click)} _notifyIcon.ContextMenu = New System.Windows.Forms.ContextMenu(items) _mainWindow = New MainWindow() If Not _mainWindow.SettingsAreValid() Then _mainWindow.Show() Else _mainWindow.StartPrinterHacking() End IfEnd Sub
Getting the Stock Information

From the Yahoo Financial site, you get can download a CSV file for any specified stock. Here's a web site that documents the format needed to get the right fields: http://www.gummy-stuff.org/Yahoo-data.htm. We want to return the stock symbol and the last traded price. That works out to be “s” and “l1”, respectively.
If you open the following URL with a browser, a file named quotes.csv will be returned:
You should get a file like this:

The first field is the stock symbol and the second is the last recorded price. You could just read that data and parse out the fields, but we can get the data in more readable format.
Yahoo! has a tool called the YQL Console that will you let you interactively query against Yahoo! and other web service providers. While it's overkill to use on a two column CSV file, it can be used to tie together data from multiple services.
To use our MSFT stock query with YQL, we format the query like this:

select * from csv where url='http://download.finance.yahoo.com/d/quotes.csv?s=MSFT&f=sl1' and columns='symbol,price'You can see this query loaded into the YQL Console here.

When you click the “TEST” button, the YQL query is executed and the results displayed in the lower panel. By default, the results are in XML, but you can also get the data back in JSON format.
Our result set has been transformed into the following XML:

This XML document can be easily parsed in the application code. The URL listed below “THE REST QUERY” on the YQL page is the YQL query encoded so that it can be sent as a GET request. For this YQL query, we use the following URL:
This is the URL that our application uses to get the stock price. Notice the MSFT in bold face—we replace that hard coded stock symbol with a format item and just use String.Format() to generate the URL at run time.
To get the stock price from our code, we can wrap this with the following method:


public string GetPriceFromYahoo(string tickerSymbol) { string price = string.Empty; string url = string.Format("http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20csv%20where%20url%3D'http%3A%2F%2Fdownload.finance.yahoo.com%2Fd%2Fquotes.csv%3Fs%3D{0}%26f%3Dsl1'%20and%20columns%3D'symbol%2Cprice'", tickerSymbol); try { Uri uri = new Uri(url); HttpWebRequest req = (HttpWebRequest)WebRequest.Create(uri); HttpWebResponse resp = (HttpWebResponse)req.GetResponse(); XDocument doc = XDocument.Load(resp.GetResponseStream()); resp.Close(); var ticker = from query in doc.Descendants("query") from results in query.Descendants("results") from row in query.Descendants("row") select new { price = row.Element("price").Value }; price = ticker.First().price; } catch (Exception ex) { price = "Exception retrieving symbol: " + ex.Message; } return price; }

Public Function GetPriceFromYahoo(ByVal tickerSymbol As String) As String Dim price As String Dim url As String = String.Format("http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20csv%20where%20url%3D'http%3A%2F%2Fdownload.finance.yahoo.com%2Fd%2Fquotes.csv%3Fs%3D{0}%26f%3Dsl1'%20and%20columns%3D'symbol%2Cprice'", tickerSymbol) Try Dim uri As New Uri(url) Dim req As HttpWebRequest = CType(WebRequest.Create(uri), HttpWebRequest) Dim resp As HttpWebResponse = CType(req.GetResponse(), HttpWebResponse) Dim doc As XDocument = XDocument.Load(resp.GetResponseStream()) resp.Close() Dim ticker = From query In doc.Descendants("query") , results In query.Descendants("results") , row In query.Descendants("row") _ Let xElement = row.Element("price") _ Where xElement IsNot Nothing _ Select New With {Key .price = xElement.Value} price = ticker.First().price Catch ex As Exception price = "Exception retrieving symbol: " & ex.Message End Try Return priceEnd Function
While this code makes the readying of a two column CSV file more complicated than it needs to be, it makes it easier to adapt this code to read the results for multiple stock symbols and/or additional fields.
Getting the List of Printers

We are targeting a specific type of printer: those that use the HP PJL command set. Since we talk to these printers over port 9100, we only need to list the printers that listen on that port. We can use Windows Management Instrumentation (WMI) to list the printer TCP/IP addresses that are using port 9100. The WMI class Win32_TCPIPPrinterPort can be used for that purpose, and we’ll use the following WMI query:
Select Name, HostAddress from Win32_TCPIPPrinterPort where PortNumber = 9100
This returns the list of port names and addresses on your computer that are being used over port 9100. Take that list and store it in a dictionary for a quick lookup:


static public Dictionary GetPrinterPorts(){ var ports = new Dictionary(); ObjectQuery oquery = new ObjectQuery("Select Name, HostAddress from Win32_TCPIPPrinterPort where PortNumber = 9100"); ManagementObjectSearcher mosearcher = new ManagementObjectSearcher(oquery); using (var searcher = new ManagementObjectSearcher(oquery)) { var objectCollection = searcher.Get(); foreach (ManagementObject managementObjectCollection in objectCollection) { var portAddress = IPAddress.Parse(managementObjectCollection.GetPropertyValue("HostAddress").ToString()); ports.Add(managementObjectCollection.GetPropertyValue("Name").ToString(), portAddress); } } return ports; }

Public Shared Function GetPrinterPorts() As Dictionary(Of String, IPAddress) Dim ports = New Dictionary(Of String, IPAddress)() Dim oquery As New ObjectQuery("Select Name, HostAddress from Win32_TCPIPPrinterPort where PortNumber = 9100") Dim mosearcher As New ManagementObjectSearcher(oquery) Using searcher = New ManagementObjectSearcher(oquery) Dim objectCollection = searcher.Get() For Each managementObjectCollection As ManagementObject In objectCollection Dim portAddress = IPAddress.Parse(managementObjectCollection.GetPropertyValue("HostAddress").ToString()) ports.Add(managementObjectCollection.GetPropertyValue("Name").ToString(), portAddress) Next managementObjectCollection End Using Return portsEnd Function
Next, we get the list of printers that this computer knows about. We could do that through WMI, but I decided to stay closer to the .NET Framework and use the LocalPrintServer class. The GetPrintQueues method returns a collection of print queues of the type PrintQueueCollection. We can then iterate through the PrintQueueCollection and look for all printers that have a port name that matches the names returned by the WMI query. That gives code that looks like this:


public class LocalPrinter { public string Name { get; set; } public string PortName { get; set; } public IPAddress Address { get; set; } } static public List GetPrinters() { Dictionary ports = GetPrinterPorts(); EnumeratedPrintQueueTypes[] enumerationFlags = { EnumeratedPrintQueueTypes.Local }; LocalPrintServer printServer = new LocalPrintServer(); PrintQueueCollection printQueuesOnLocalServer = printServer.GetPrintQueues(enumerationFlags); return (from printer in printQueuesOnLocalServer where ports.ContainsKey(printer.QueuePort.Name) select new LocalPrinter() { Name = printer.Name, PortName = printer.QueuePort.Name, Address = ports[printer.QueuePort.Name] }).ToList(); }

Public Class LocalPrinter Public Property Name() As String Public Property PortName() As String Public Property Address() As IPAddressEnd ClassPublic Shared Function GetPrinters() As List(Of LocalPrinter) Dim ports As Dictionary(Of String, IPAddress) = GetPrinterPorts() Dim enumerationFlags() As EnumeratedPrintQueueTypes = { EnumeratedPrintQueueTypes.Local } Dim printServer As New LocalPrintServer() Dim printQueuesOnLocalServer As PrintQueueCollection = printServer.GetPrintQueues(enumerationFlags) Return ( _ From printer In printQueuesOnLocalServer _ Where ports.ContainsKey(printer.QueuePort.Name) _ Select New LocalPrinter() With {.Name = printer.Name, .PortName = printer.QueuePort.Name, .Address = ports(printer.QueuePort.Name)}).ToList()End Function

Sending the Stock Price to the Printer

The way to send a message to a HP display is via a PJL command. PJL stands for Printer Job Language. Not all PJL commands are recognized by every HP printer, but if you have an HP laser printer with a display, the command should work. This should work for any printer that is compatible with HP’s PJL command set. For the common PJL commands, HP has an online document here.
We will be using the “Ready message display” PJL command. All PJL commands will start and end with a sequence of bytes called the “Universal Exit Language” or UEL. This sequence tells the printer that it’s about to receive a PJL command. The UEL is defined as
The format of the packet sent to the printer is be "UEL PJL command UEL". The Ready message display format is
To send the command that has the printer display “Hello World”, you would send the following sequence:
%-12345X@PJL RDYMSG DISPLAY=”Hello World”[]%-12345X[]
We wrap this up in a class called SendToPrinter and the good stuff gets executed in the Send method, as listed below:


public class SendToPrinter { public string host { get; set; } public int Send(string message) { IPAddress addr = null; IPEndPoint endPoint = null; try { addr = Dns.GetHostAddresses(host)[0]; endPoint = new IPEndPoint(addr, 9100); } catch (Exception e) { return 1; } Socket sock = null; String head = "u001B%-12345X@PJL RDYMSG DISPLAY = ""; String tail = ""rnu001B%-12345Xrn"; ASCIIEncoding encoding = new ASCIIEncoding(); try { sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP); sock.Connect(endPoint); sock.Send(encoding.GetBytes(head)); sock.Send(encoding.GetBytes(message)); sock.Send(encoding.GetBytes(tail)); sock.Close(); } catch (Exception e) { return 1; } int bytes = (head + message + tail).Length; return 0; } }

Public Function Send(ByVal message As String) As Integer Dim endPoint As IPEndPoint = Nothing Try Dim addr As IPAddress = Dns.GetHostAddresses(Host)(0) endPoint = New IPEndPoint(addr, 9100) Catch Return 1 End Try Dim startPJLSequence As String = ChrW(&H1B).ToString() & "%-12345X@PJL RDYMSG DISPLAY = """ Dim endPJLSequence As String = """" & vbCrLf & ChrW(&H1B).ToString() & "%-12345X" & vbCrLf Dim encoding As New ASCIIEncoding() Try Dim sock As New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP) sock.Connect(endPoint) sock.Send(encoding.GetBytes(startPJLSequence)) sock.Send(encoding.GetBytes(message)) sock.Send(encoding.GetBytes(endPJLSequence)) sock.Close() Catch Return 1 End Try Return 0End Function
The Installer

The installer for this app was written with WiX, Windows Installer XML. WiX is an open source project created by Rob Mensching that lets you build Windows Installer .msi and .msm files from XML source code. I used the release candidate of WiX 3.6, but any recent version should work. Of course, you don’t need an installer if you build the app yourself.
Setting InstalScope to “perUser” designates this package as being a per-user install. Adding the property “WixAppFolder” and set to “WixPerUserFolder” tells WiX to install this app under %LOCALAPPDATA% instead of under %ProgramFiles%. This eliminates the need for the installer to request elevated rights and the UAC prompt:

Because we are not touching any system settings, I eliminated the creation of a system restore point at the start of the installation process. This greatly speeds up the installation of the app, and is handled by adding a property named MSIFASTINSTALL with the value of “1”:

I modified the UI sequence to skip over the end user license agreement. There is nothing to license here and no one reads EULAs anyways. To do this, I needed to download the WiX source code and extract a file named WixUI_Mondo.wxs. I added it to the installer project and renamed it to WixUI_MondoNoLicense.wxs. I also added a checkbox to the exit dialog to allow the user to launch the app after it been installed:

When you build the installer, it generates two ICE91 warning messages. An ICE91 warning occurs when you install a file or shortcut into a per-user only folder. Since we have explicitly set the InstallScope to “perUser”, we can safely ignore these two warnings. If you hate warning messages, you can use the tool settings for the installer project to suppress ICE91 validation checks:


I have had various versions of this app running in my office for over a year. It’s been set to show our current stock price on the main printer in the development department. It’s fun to watch people walk near the printer just to check out the current stock price.
If you want to try this out, the download link for the source code and installer is at the top of the article!
About The Author

I am a senior R&D engineer for Tyler Technologies, working on our next generation of school bus routing software. I also am the leader of the Tech Valley .NET Users Group (TVUG). You can follow me at @anotherlab and check out my blog at anotherlab.rajapet.net. I would list my G+ address, but I don’t use it. I started out with a VIC-20 and been slowly moving up the CPU food chain ever since.
I would like to thank Brian Peek on the Coding4Fun team for his encouragement and suggestions and for letting me steal large chunks of the UI code from his TweeVo project .


Hi forum,

I hope you're having a good day. Please help me with this situation of mine.

Summary: The system requires chkdsk for the 2 mechanical hard drives in RAID-1. The disk check has returned lots of "Replacing invalid security id with default security id for file" ... Why is this happening and should I be concerned?

Details: My hard drive setup is 1 SSD (Corsair P128) and 2 RAID-1 mechanical drives. Previously, in my BIOS, the SATA mode was RAID. Then my Windows 7 x64 Pro on the SSD got corrupted. I tried fixing it but I wasn't successful so I decided on a re-installation.
I updated the SSD's firmware which wiped the SSD cleaned. In order to do this, I had to set my BIOS SATA mode to IDE. Then I installed Windows 7 x64 Professional to it. Then I changed my SATA mode to AHCI (this is recommended by Corsair). I booted normally into Windows several times. My RAIDed data seemed to be there, intact.
Then, following an advice on the Corsair forum, I relocated the user variables and system variables to my RAIDed disks. These settings can be accessed using: Control Panel >> System Security >> System >> Advanced System Settings (on the left panel) >> Advanced tab >> Environmental Variables... Specifically, I changed the user variables TEMP and TMP from their default values to D:Temp (D being the letter assigned to the RAIDed configuration). I also changed the system variables TEMP and TMP from their default values to D:Temp. The Corsair guide also recommended relocation of the page file but I didn't do that step. The guide can be found here:
Windows 7 Tips & Tweaks - The Corsair Support Forums
After this change, I restarted my system several times while installing drivers. Everything seemed normal. Then I installed Intel RAID Manager. The installation required me to restart so I did. After the first restart, I logged into Windows and I was asked to restart again. During this 2nd restart, the system asked for chkdsk for the RAIDed disks and I authorized it. I didn't look at this disk checking and went I returned the system already booted into Windows. I logged in, and tried to access a folder on D (again D is the letter for my RAID 1). I was told I need to give a permanent authorization in order to access the folder. I did that and was able to get in the folder. I didn't try to access any subfolder or any file. In fact, I just restarted the system. After this 3rd restart, the system asked me for another chkdsk on the RAIDed disks. This time I watched the process and it's been returning "Replacing Invalid Security Id with Default Security Id for file" n, n+1, n+2, ... It's been doing this for more than an hour now.

Why is the situation happening? Is there something wrong with my physical hard drives or my Windows? If so, what should I do?

Thanks a lot.

UPDATE: After a while (~2 hours), the chkdsk finished. I was able to log in to my account. But I had to give permission to gain access to folders in drive D. After the permissions, the subfolders and files seemed present and accessible. I was able to listen to some mp3s and watched some picture slide show. Nonetheless, everytime I right clicked the drive D and chose Properties, I get the following message:

The Recycle Bin on drive D: is corrupted. Do you want to empty the Recycle Bin for this drive?

I'm afraid to restart my machine again. Something not normal is going on. I'm backing up my data to another drive. As in, I'm manually Ctrl C , Ctrl V my data to a USB drive. I dont' know if it's too late, as Windows has probably corrupted all of my files on this drive.I don't know what my next move after backing up should be. Please help!

I am running a small home network that includes the following devices.
1. win7 (build 7000), dual booting vista
2. Win XP
3. Win vista Laptop
4. Xbox 360

See the network map below.

As you can see all the devices are being recognized automatically and i am able to access all those devices from the win7 Pc.

The installation of windows 7 beta took about 20 minutes, the system i am using has the following specs.
Quad Core Q9450 2.66Ghz, 4GB RAM OCZ,
Asus P5K Pro motherboard, Nvidia GTX260,
2 x 500GB Seagate HDs, 2 x Samsung DVD burners, PSU 650Watt Antec.
This is my own build and is about 6 months old. I have not had any crashes with vista for the past 6 months and i have had no crashes with Win7 so far i've been using it for 4 days.

Dual booting with windows vista. I had no issues during the installation and everything updated like it should, i have no missing drivers on my setup.

I can also access the windows XP partition from my win7 partition.

There are some things that i want to mention though. Windows media player, i either do not know how to import music or it is broken, File- Manage libraries- select a folder and click add, this should import all the music in that folder correct? If this is not how it is done, please advise.

Second issues, I am able to view the folders on the win7 Pc thru the xbox 360. I am able to open them but they are empty, xbox does not find any .avi files. I hope i'm not the only one with this issue, i hope this is being addressed.

All in all, this is a good OS i like it a lot, its very slik, very light. I sound like a fan boy but im not, just saying good job for a job well done.

Page 1 of 3.
Results 1...20 of 52