|
did u mean this???i tried this but iam not able to view the progress in the bar while i run the project,i get a progress bar with only twwo incrementedpositions,how to view the progress in the bar???
void first::OnNMCustomdrawProgress1(NMHDR *pNMHDR, LRESULT *pResult)
{
LPNMCUSTOMDRAW pNMCD = reinterpret_cast<LPNMCUSTOMDRAW>(pNMHDR);
*pResult = 0;
progressbar.SetRange(0,1000);
progressbar.SetPos(0);
if (progressbar.GetPos()!=1000)
{
progressbar.StepIt();
}
else
{
progressbar.SetPos(100);
}
}
RAJA
|
|
|
|
|
Project RAJA wrote: why is the progress not show while i run it???
To find out, you'll need to ask in the correct forum.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
Using Regedit, add a key named HKEY_CLASSES_ROOT\*\shell. Under that key, add another key with the name you want displayed in the context menu (e.g., pack with CPACK). Under that key, add another key named command. Change the (Default) value of that key to whatever command is necessary to run your application (e.g., c:\some_folder\cpack.exe "%1").
You should end up with something similar to:
[HKEY_CLASSES_ROOT\*\shell\pack with CPACK\command]
@="notepad.exe %1"
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
i am accessing another system through RDP.
when i connect to VPN ,RDP is disconnected.
Is there any way to run both VPN and RDP simultaneously?
|
|
|
|
|
This is likely to be a routing issue. Many VPNs will change the default gateway of the system to be the other end of the VPN tunnel, meaning that all packets that you don't have a specific route for go over the VPN. If there's no route out of that site to the system you're connecting to, or they have an outbound firewall that prevents RDP, or the site you're using RDP with restricts the addresses which can use RDP to access their servers, the packets will never reach their intended target.
You also have to remember that routing decisions are taken entirely on the basis of where the packet's going: while IP does have source routing capabilities (i.e. the creator of the packet dictates the route it takes), this feature is very rarely used and most routers will ignore it due to the risk of spoofing. Therefore it could be that RDP packets from your computer are reaching their server, but there's no way back from the server to your computer.
About all you can do is note what your default gateway is before creating the VPN connection (use route print and record the gateway value against the 0.0.0.0 route), turn on the VPN, then add a new route (with route add ) to the target server's IP address, and the previous default gateway. Packets for the target server should then take the same path as they would without the VPN enabled.
This assumes that the VPN is implemented as a separate network adapter. If it's implemented as a filter driver on your real network adapter, it may not be possible to circumvent it.
You could also have problems if the server you're trying to use RDP with is on your local subnet. This technique may still work, depending on your router.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
After you're connected to the VPN do you have ping reply from the machine you're trying to connect with RDP?
|
|
|
|
|
I have found this to happen when the VPN connection is set to use the default gateway on the remote network - ie. you internet access is adjusted to connect through the internet at the remote network, not your own.
To prevent your gateway from changing, go into the properties of the VPN connection, on the networking tab, goto the TCP/IP properties and into the advanced settings to deselect 'Use default gateway on remote network'. This option is selected by default as well, so it has to be switched off by the user.
------------------------
Luke Lovegrove
------------------------
|
|
|
|
|
Hi Friends,
I have a system which has installed windows server 2003 OS. In my system, IIS6.0 is installed also. I could not run my asp.net applications through the visual studio 2005. Because, "Default Website" (in IIS6.0) is display always stopped. I could not trying to start the default website. I was trying to start the default website when it has returned the error "The process cannot access the file because it is being used by another process". I did to restart the IIS admin service by more time.
How can i start the default website in IIS6.0?
Thanks in advance
Rameshkumar Thirumalaisamy
|
|
|
|
|
|
I have no need for Exchange on my home server and I'm wondering what is the safest way to remove it. My experience with SBS is almost entirely bad, and it's always been incredibly unstable, so I'm leery of uninstalling Exchange. I can't afford the several months it takes to rebuild a currupted server. I think there are two options - remove it through the Windows Add/Remove Programs panel, or use Services to change all Exchange services to manual start. Perhaps there's a third alternative I haven't thought of...
Has anyone tried this? Which is safest?
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Unless you know why your server is unstable, I would go by the second alternative.
Which version of SBS is it?
|
|
|
|
|
It's SBS 2003 Premium, and it's not currently unstable - just really slow. The previous versions I used all self-destructed from making even minor changes, especially those changes directed step-by-step by Microsoft. I just don't trust it.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
How much memory do you have on the server? You really need four GB on a Premium.
If you have 4 GB already, you might need some memory tuning[^]
Just remember that the SBS is also a Domain Controller so leave some memory for the AD
|
|
|
|
|
Jörgen Andersson wrote: four GB on a Premium.
If you have 4 GB already, you might need some memory tuning[^]
Holy Crap! When I built this thing I upgraded way beyond the norm - 1 GB - never imagining any version of Windows would want more. Maybe I should uninstall everything and go back to DOS.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
The exchange server have a tendency to consume all available memory up to a little less then 2GB during the nightly onlinedefrag and cleanup. This memory will only be released on demand with a lot of disk swapping as a result .
2 GB can therefore be considered a to be a practical minimum on the standard server. A Premium wants more
If you don't need the exchange server you can safely just set all exchange services on manual start. The only things you affect that way is the wizards that you anyway only run while installing the server.
|
|
|
|
|
|
Hmmm. Thanks for the link, and I may give it a try, but it's still scary. Microsoft always forgets some little detail, like "Following our instructions will probably destroy your PC, but you'll be offline so long rebuilding it that we'll never have to worry about hearing from you again." Still, I really can't think of anything that could be dependent on the Exchange system, since I've never implemented it fully. SBS is weird, though. They've bastardized the standard Win2003 so that certain assumptions are strictly enforced, and one or more of those invariably jumps up and bites me if I try to do anything outside of the defaults set by MS.
Thanks again!
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Hi All,
is there a way to zip a directory in windows through command prompt. Please help urgent.
thanks in advance.
- rajnish
|
|
|
|
|
Not without a third party program.
Try rar, the commandlineversion is for free.
|
|
|
|
|
|
While this doesn't specifically operate from the command line, I found this procedure to compress a file or folder in the Windows Help system.
***
To compress a file or folder on an NTFS drive
Open My Computer.
Double-click a drive or folder.
Right-click the file or folder you want to compress, and then click Properties.
On the General tab, click Advanced.
Select the Compress contents to save disk space check box, and then click OK.
In the Properties dialog box, click OK.
In Confirm Attribute Changes, select the option you want.
Notes
To open My Computer, click Start, and then click My Computer.
You can only use NTFS compression for files and folders on drives formatted as NTFS. If the Advanced button does not appear, the file or folder you selected is not on an NTFS drive.
If you move or copy a file into a compressed folder, it is compressed automatically. If you move a file from a different NTFS drive into a compressed folder, it is also compressed. However, if you move a file from the same NTFS drive into a compressed folder, the file retains its original state, either compressed or uncompressed.
Files and folders that are compressed using NTFS compression cannot be encrypted.
You can choose to display NTFS-compressed files in a different color.
***
If I was doing this, I'd compress a large folder with the Task Manager open, and see what program suddenly appears in the list of running tasks, then I'd locate that program and try typing path\programname /? at a command prompt to see what command line parameters it has, if any. Most functions are implemented as stand alone programs somewhere in the Windows system, but they're often undocumented. Once you know the name of the program, you might also find additional information on using it by searching the web, or TechNet.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Try the command compact /?
|
|
|
|
|
Dear all,
I wana get the HP Pavilion DV 6663, but the operating system is Vista buissness. while my quest is to get it with XP Pro. SP2, wat i will do is to get rid of the vista and install the XP.
My question is: Is the DV 6663 support the XP Pro., concerning drivers?
Best regards.
|
|
|
|
|
Yes[^] for HP Pavilion dv6663ca Notebook PC.
|
|
|
|