Click here to Skip to main content
15,891,905 members
Everything / Operating Systems / Windows 7

Windows 7

Win7

Great Reads

by Igor Ladnik
Wrapper to facilitate usage of TCP sockets
by Arthur V. Ratz
This tip is especially useful for users who own the licensed copy of Windows 7/8/8.1, and would like to upgrade to Windows 10 after July 29, 2015.
by Arthur V. Ratz
Use HTML/CSS/JavaScript/Ajax for creating a simple lightweight Windows Vista/7 sidebar desktop gadget
by J.Starkl
A windows-service which can handle different operations in separate threads and which can be controlled by a small GUI program

Latest Articles

by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D
by peterswinkels
A Visual Basic 6 program demonstrating how to access databases using Microsoft ADO and how to automate Outlook and Excel.
by Andreoli Carlo
In our company, we find ourselves in need of using the internal PC (buzzer) on Windows7 64bit. At the end, we figured out how to do it.
by Abhishek Sur
New Win7 features explained with simple demo applications

All Articles

Sort by Updated

Windows 7 

19 Oct 2010 by "Fish" (David B. Trout)
Simple parsing of VS_VERSIONINFO version information strings displayed in an XP-style file-properties "Version" tab
25 Jan 2010 by #realJSOP
Try googling your wireless router with this text"TP-LINK 841N" + "intermittent disconnect"It might be a firmware issue, or it might be that your router is inherently flawed.
8 Feb 2010 by #realJSOP
The message you're seeing is being generated by the Task Manager. It periodically polls every running application with a system message. If the application doesn't respond to the message within 5 seconds, Task Manager thinks it's froze up, and generates that message. If you haven't already, I...
8 Feb 2010 by #realJSOP
Oh, then WPF is your problem. :)If the list is only read in one time, I'd try not using databinding at all, and simply do listbox.Items.AddRange(myList.ToArray());Of course, I'm not familiar with your code, but it might be worth a try.
25 May 2010 by #realJSOP
The only thing I can think of is it's because you haven't overridden the ENTIRE style/template. Microsoft has all of the standard templates available as a download, or if you have Expression Blend, you can just create a copy of the template.
15 Aug 2010 by #realJSOP
Well, it's calling the ansi version of the function, and you're using a buffer of type TCHAR. Try changing it to a char type ans see if that works...
17 Oct 2010 by #realJSOP
Have you tried manually invalidating the listbox?
15 Nov 2010 by #realJSOP
Writing to the registry requires admin privileges. You probably have to install it from the admin account on the machine.
7 Dec 2010 by #realJSOP
What you could do is change the icon when the object is dragged over an app that's running in admin mode (and your app isn't).
8 Dec 2010 by #realJSOP
Wow - if there was ever a question that should answered "google is your friend", this is it.Writing a Windows service for Win7 is no different than writing any other windows service execpt for the increased user restrictions. So, write your service with that in mind.
26 Dec 2010 by #realJSOP
Try putting the code into a try/catch block and then running the app under the debugger.And oh yeah - use forward slashes instead of backslashes in the file name you're trying to browse to.
10 Jan 2011 by #realJSOP
First, you're not supposed to write files to the windows folder (or its subfolders).Second, if you insist on doing this, you're going to have to put the UAC on its lowest setting, and I don't know if you can do that programatically. I would hope not.Google is your friend.
19 Jan 2011 by #realJSOP
That error is "Access denied". http://msdn.microsoft.com/en-us/library/ms681381(v=vs.85).aspx[^]
20 Jan 2011 by #realJSOP
Are you trying to respond to an article?Go hear, and click the source code download link:A Serious Outlook Style Navigation Pane Control[^]
9 Feb 2011 by #realJSOP
You might find guidance in this codeproject article:A simple C# Wave editor, part 1: Background and analysis[^]You'll probably find other resources if you use google.
12 Feb 2011 by #realJSOP
I believe you need to use WMI to get that info. Google is your friend.
28 Feb 2011 by #realJSOP
Why are you asking here? Go to the Microsoft Connect web site and post your issue there.
23 Mar 2011 by #realJSOP
The Start button is tied to the task bar. You can move the task bar by dragging it to the desired edge of the screen, and the Start button goes with it.
13 Apr 2011 by #realJSOP
To disable the "jump" menu, you have to change the contents of that menu. I'm not sure how to do that in .Net, but it's certainly possible using interop services. Google is your friend.By the way, you can eliminate most of the close-app functionality by changing the properties of the main...
3 May 2011 by #realJSOP
You could try using a virtual path and call MapPath with itfs = new FileStream(MapPath("~/Documents/About Me.txt"), FileMode.Open, FileAccess.Read);
12 May 2011 by #realJSOP
Look behind the laptop. If it's plugged into the docking station, it'll be pretty obvious.Seriously though, you might be able to do it with WMI. No guarantees, and google is your friend.EDIT ===============Oh come on! Since when can't we add a little humor to our answers? I followed...
24 May 2011 by #realJSOP
You can't (and should't) unlock/login to your workstation programatically. That's an extreme violation of security, because if your program can do it, OTHER programs can do it.
13 Jun 2011 by #realJSOP
If you're expected to keep the indexes lined up with the other two arrays, you're in a world of hurt.The first thing I'd do is create an object to hold one element from each array (at the same index, of course). Next, I'd put thos objects into a generic list. Next, I'd use this tip/trick to...
21 Jun 2011 by #realJSOP
Run it under the debugger and see where it craps out.
17 Jul 2011 by #realJSOP
I found this when I googled this - "Catch CTRL_SHUTDOWN_EVENT in Win7"[^]
1 Dec 2011 by #realJSOP
You can't put files in the system32 folder (in Vista/Win7). That's a security violation. Try putting them into their own folder inside "program files (x86)".
16 Mar 2012 by #realJSOP
Yes, you can install it. No, you can't create a metro UI if it's installed in Win7.If it wasn't compatible, I suspect NONE of the features would work.Get VirtualBox, install the Win8 preview in it, and then install VS2011 on Win9. There's no reason to corrupt your *working* production...
27 Feb 2018 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Users Guide
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Architecture and design decisions
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - The CSV and Excel Importer Code
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Job Scheduling Code
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - How Packages Are Run
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Interesting Coding
13 Apr 2011 by 01.mandar
Package:- OpenCV 2.1- windows 7(64) - Visual Studio 2008- PlayStation Eye CameraI have used MORPHING_METHOD_ERODE_DILATE to track finger area which does not track accuratelyI have to scan a text in ROI rectangle which will be marked above...
15 Nov 2010 by 10Tec, Sergey Gorbenko
Tool for creating MS Visual Studio documentation files - XML Summaries, HxS/MSHC help solutions and manuals.
19 Jan 2011 by 1Samual30
shift + right-clickThis brings up the real system menu.What a relief to find that, eh? I was quite frustrated myself until I decided to go looking for answers, as I NEED that move command when the app is not in the current monitor. ;)
14 Jun 2014 by 2011999
I had my system two partions one C and D Drives C in Win xp3 and D in Win 7. i was installed vs2010 in D Drive. i one project taken in to internet. and Extracted that project. but not converted in to VS2010. show the Error Message. "Your D Drive is read only bout not converted this project" how...
2 Apr 2016 by 23741
Does everything else look ok on that dell machine except your app? If it's not only your application - you may want to see if you need to update your video drivers since you have moved to win 10?
29 Aug 2012 by 3rdTimesACharm
The situation:(1 and 2 are background info) 1) My customer upgraded from Windows 7 Home Premium to Pro (64bit) - this may or may not be part of the problem but I include it FYI.2) Various DLLs will not register - the error says they cannot be found - they are there, in SysWOW64....
10 Dec 2010 by 5883
Hi, i don't know how to describe this clearly.We have an windows application under win7, it has some "UAC" (user access control) functionality. After we install our whole SW package, reboot the pc.The 1st time to run this application, it givesThe Just-in-Time Error error dialog appears...
5 Dec 2009 by 7aw22
Apologies if this is already answered somewhere. I've download the new Classic shell and it has installed beautifully. However, I can't seem to get the Classic Explorer to work. It doesn't show in Accessories on the start menu which only has the Windows 7 Explorer which I don't want. Also, if...
1 Dec 2012 by 85223501
Dear Friends,I have to learn the Socket programming in a minimum time period possible while I am a beginner in the C/C++ programing.1- Which source is the best for learning this subject with windows 7 and Dev-C++?2- It seems i have to add some libraries and I do not know where I have to...
28 Nov 2012 by 85223501
Dear Friends,May you let me know how to retrieve ip address from url in socket programming?"I want to give the URL address and then find the IP address to be able to connect to it and get the body and header info of the webpage in a text file."Many Thanks in advanced for your quick...
30 Nov 2012 by 85223501
Dear FriendsHow to send request to the http address in socket C programing?Thanks in advanced.
30 Nov 2012 by 85223501
Dear friendsHow to get response from the http server and separate header and body in a text file as output in socket c programing?
1 Dec 2012 by 85223501
Reply1: It was not a good question, I found an online eBook in my mother tongue language and it helped a lot for me.Reply2: In Dev we need to add libraries in two places; one in project options-->Parameters and the other is Tools--> Compiler Options--> Directories. I got that the libraries...
22 Nov 2011 by :)9/11
if (yourmum = buttonState.pressed) setvibration(playerindex.me,1,69)else { fatness++; }if (fatCountingUp > 300kg); (setBiggestLoserShow = true);else { (setBiggestLoserShow = MEGAtrue); }if (codDisc = broken); (YouDumpGirlfriend);else { ...
9 Dec 2013 by @BangIndia
I have tried to register in dll windows 7.it througing followin error.The module "c:\windows\system32\**.dll" failed to load.make sure the binary is stored at the specified path or debug it to check the problems with th binary or depenedt .dll files.but its working properly...
30 Jan 2014 by @donis2014
How to configure IIS Express "applicationhost.config" for handler mappings
22 Nov 2012 by __TR__
Looking at the sample data you have provided you need not use the studentRegNumber column in your table. You can just concatenate an A to your student ID in your query itself and get the result.SELECT StdID, StdName, 'A' + CAST(StdID AS VARCHAR) AS StdRegNo FROM [YourTableName]You can...
25 Sep 2013 by _Damian S_
Open Control Panel and then go into Users from there... locate the user you want to add the password to and click "Set Password" or words to that effect...
2 Jun 2014 by _Plutonix
Accessing the Form's Controls in your UIDesigner
28 Mar 2012 by _Zorro_
Hello,Did you look for information on services for Windows? (Not sure about the subject in C++, I suppose if you have access to the framework you can do the same).I would look on this end (this is the first article I found, just to give you the idea[^])Services remain "on" even if...
7 Jun 2014 by A. Najafzadeh
Saving zip files in access database with encrypting bytes when file saved in access database and decrypting bytes when extracting files from database . . .
22 Oct 2012 by a1mimo
All you need to do is to change the server section in your connection string from the local computer to the server name or IP and remember to put an exception for the sql Server port in your firewall in the server and also always run the sql Server as administrator and from the sql configuration...
5 Jun 2011 by a99607
Hello,I've created a service and installed it on my win2007 platform. I checked the "Allow to interact with desktop" checkbox. But still' it seems that my service runs in background (the service suposed to run some other application, which is supposed to be seen, but I only see it in the...
27 Dec 2012 by Aarti Meswania
e.g.select Product_id,Product_name,IsNull(Product_Price,0) from tblHappy Coding!:)
9 Apr 2010 by Abdul Quader Mamun
ASP.NET provide features to develop appllication for mobile devices. System.Web.Mobile namespace is devoted specifically to mobile Web development.
16 Aug 2012 by Abdul Quader Mamun
Framework makes application more organized and efficient way to coding. It is helpful for newly assigned developer to understand code structure within a short time. It is essential for large application.
6 Sep 2012 by Abed AlSayed
Hi, I want to make a bordless form but with shadows, docking ability, win7 effects, (ex. photoshop custom style, zune custom style....) I've found this project but it contains many bugs (Metro UI (Zune like) Interface (form)[^]) like on minimizing and maximizing it automatically resized, and...
22 May 2011 by Abhijit Annaldas
Hello friends...Please tell me how to hide partition on external hard disk?I have partitioned my external hard disk into 2 and I want to hide and unhide one partition as and when required. I want to store important and personal data in hidden partition. The hidden partition should not appear...
6 May 2010 by Abhijit Jana
Describes all debugging features like Breakpoints, DataTips, Watch Windows, Multithreaded Debugging, Parallel Program Debugging and IntelliTrace Debugging
7 Dec 2009 by Abhinav S
Off the top of my hat, could this be a simple resolution issue?
16 Dec 2009 by Abhinav S
Searching for a Windows 7 guide on google will give you a lot of information.
5 Jul 2010 by Abhinav S
You might want to go through this post.
21 Oct 2010 by Abhinav S
Have a look at the flyout panel here[^].
17 Jan 2011 by Abhinav S
Have a look at this[^] interesting article. It might help.
21 Feb 2011 by Abhinav S
See http://www.intowindows.com/change-default-installation-directory-in-windows-7-vista/[^]. This shall give you a solution.However, some prgrams may need the default path and changing this may interfere in how they work.
28 Apr 2011 by Abhinav S
You need to download the third party assemblies to every PC that is going to run your webpage.For that, you need to host this assembly as well.
5 Aug 2011 by Abhinav S
Tryhttp://www.jpreece.com/wpf/webcam-image-capture/[^]http://easywebcam.codeplex.com/[^]
7 Sep 2011 by Abhinav S
Make sure these external dll's are available and registered on your client machine.
5 Oct 2011 by Abhinav S
Try using -f in your parameters.This will force a shutdown.Warning - this will close all unsaved programs and all data will be lost.
15 Dec 2011 by Abhinav S
Try newvalue[0][0] = Console.Read();You need to define the array elemnt that you want to define the new value to.
6 Aug 2012 by Abhinav S
You need to change the box's font style.http://www.java2s.com/Code/CSharp/GUI-Windows-Form/RichTextBoxFontbolditalic.htm[^] might help.how to change a textbox text to bold,italic in C# windows application[^] is for a normal textbox, but might give you an idea as well.
4 Dec 2012 by Abhinav S
Assuming you are using SQL Server as the database, here are some links that might help you.You can use the image column.TryStoring and Retrieving Images from SQL Server Using Strored Procedures and C#.net[^]Store or Save images in SQL...
9 Jan 2013 by Abhinav S
Use the Form_Load event.It will be much easier for you to start with a boolean false and then set it to true once the form_load event completes.The bool flag remains false until the form is loaded.
25 Feb 2014 by Abhinav S
Try the following solutions -WPF: XmlDataProvider Two-Way Data Binding[^]How to: Bind to XML Data Using an XMLDataProvider[^]http://joshsmithonwpf.wordpress.com/2007/06/04/binding-to-xml/[^]A video on this topic as well - http://www.youtube.com/watch?v=1pVQ-VTcM18[^].
19 May 2014 by Abhinav S
I suggest you contact customer support for the PC or the hard disk.If the hard drive is damaged, you might still be under warranty and it may be possible to change it.
17 Apr 2012 by abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
4 Apr 2017 by Abhineet Ayan Verma
Major calling conventions for Win32 and best suited functions
13 Aug 2013 by Abhishek Nandy
An app that contains heavy dosage of perceptual games
5 Nov 2012 by Abhishek Pant
you may use virtual machine like Vmware Workstation or virtualbox,and this is the best option to run windows 8.Also If you have the source code of that application(if metro application) you will also need a Visual Studio 2012 to debug and run.VMware worksstation(trial) [^]virtualbox[^]
3 Nov 2009 by Abhishek Sur
Using this article you will get the basic idea of how you could use NDepend to control/analyze your application. It allows to apply design rules and refactor code.
29 Mar 2021 by Abhishek Sur
New Win7 features explained with simple demo applications
1 Jan 2010 by Abhishek Sur
Did you try ShellObjectCollection of API CodePack in Windows 7. I think there is considerable amount of enhancement is made in Shell of Win7 and there is also a sample application of doing exactly this in the codepack. I think you should try the sample definitely. Check...
17 Jan 2010 by Abhishek Sur
Implement services that start/stop automatically to some events like Device attached, Network Availability, Firewall port modified, Domain join, Group Policy change etc
11 Jan 2010 by Abhishek Sur
You might also try this :http://blogs.technet.com/southasiamvp/archive/2010/01/05/mvp-authors-a-free-ebook-windows-7-tips-tricks.aspx[^]I have already read this and seems to be a good one. :thumbsup:
24 Sep 2010 by Abhishek Sur
Create a manifest file. Add the manifest to the application. Put the code below in your manifest :
2 Mar 2010 by Abi Bellamkonda
Did you find a solution for this? Should you be using Environment.GetFolderPath(Environment.SpecialFolder.System) instead of translation?I suspect Windows might have had English as thier primary language, and every other language values in resource files like structure. If you want to do a...
11 Aug 2012 by Abolfazl Hashemi 55
what is ping -R andshutdown -g and netstat -t in win 7 ??
10 Feb 2012 by AbuOmar07
How can I control desktop for a group of Laptops in v.net(hide all ICONs laptops )[DELETED]@live.com[edit]Email address deleted, Spurious tags removed, "Treat my content as plain text..." option disabled, subject changed. "I need to help pleas" does not tell us anything about your...
6 Feb 2012 by Aby321
I am Trying to set Short Name of A file opened by CreateFile Function with GENERIC_ALL access mode and FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE.To Set Short Name I used Function SetFileShortName but it gives Run time error 1314 (A required privilege is not held by the client.)...
4 Oct 2013 by Adam Wojnar
An easy implementation of the taskbar-independent "quick launch"
23 Nov 2013 by Adam Zgagacz
From behavior you described it looks like shapelib.dll is compiled for x64. If that's the case you will not be able to run it on 32 bit machine.
6 Feb 2014 by Adamanteus
Intercepting SEH exceptions in C++ program
11 Jun 2010 by Adeji
Hi folks,I'm writing a simple DNS application that query DNS server for different type of DNS type such as A, NS MX, SOA and so on. At the beginning, everything started well. Sent query for A type record of a domain and got the reply, same for NS and PTR. But when I got to the implementation...
14 Aug 2010 by Adeji
Hi folks,I am trying to implement GetUserName function in an MFC app but was given an error that "GetUserNameA' : function does not take 2 arguments".Below is the snippet. #define INFO_BUFFER_SIZE 32767 TCHAR infoBuf[INFO_BUFFER_SIZE]; DWORD bufCharCount =...
15 Aug 2010 by Adeji
Hi John, Have tried your suggestion, but still doesn't resolve the error. And Richard, have not redefined it anywhere else. Any other possible solution please.Thanks.