|
In windows XP/.NET some icons have dynamic shadows that change with the desktop behind it. Yet my softwares icons are all still flat. Is there some code or a way of making icons to cover this?
.NET or not .NET? MFC is the question......
|
|
|
|
|
XP supports 32-bpp icons, which is 24 bits for colors and an 8-bit alpha channel that controls the transparency.
--Mike--
My really out-of-date homepage
He who laughs last, didn't get the punchline and is just laughing so he won't look silly.
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
so what should i design them in. does VC++ 6 support alpha channels? Or should i use something like Fireworks?
.NET or not .NET? MFC is the question......
|
|
|
|
|
VC won't cut it, it only supports 256 color images. I have zero skill in graphics, so someone else will have to recommend a good graphics program for making 32-bit icons.
--Mike--
My really out-of-date homepage
He who laughs last, didn't get the punchline and is just laughing so he won't look silly.
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
GDI.DMBITBLT
GDI.DMCOLORINFO
GDI.DMENUMDFONTS
GDI.DMENUMOBJ
GDI.DMOUTPUT
GDI.DMPIXEL
GDI.DMREALIZEOBJECT
GDI.DMSCANLR
GDI.DMSTRBLT
GDI.ENGINEDELETEFONT
GDI.ENGINEENUMERATEFONT
GDI.ENGINEEXTTEXTOUT
GDI.ENGINEGETCHARWIDTH
GDI.ENGINEGETGLYPHBMP
GDI.ENGINEREALIZEFONT
GDI.ENGINESETFONTCONTEXT
|
|
|
|
|
Windows XP has extremly annoying AutoPlay feature. For my application I need to turn it off completely for all drives. I already made next actions:
1) Set "Take no action" for all drives and all content types (Drive Properties - AutoPlay)
2) Handle QueryCancelAutoPlay registered Windows message and reply "No, thanks" for all content types, as described in http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/autoplay.asp
3) Set DWORD value AutoPlay to 0 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom
4) Set DWORD value AutoPlay to 0 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk
However, there is still one case when Windows XP opens Explorer for DVD disk. In some place in my program I format DVD RAM disk using format command-line utility (I run it using CreateProcess). After disk is formatted XP opens Explorer window for it. May be there are some other things to do with this (except using Windows 2000, NT etc.)?
|
|
|
|
|
I heard this a while ago: Is there a 10-connection limit (inbound) on Windows NT(Workstation)/2K Professional? To elaborate, can more than 10 computers with different IP-addresses connect to a Windows Computer (using TCP) -- like a web server? The "Server" application is not a MS product. Also, if this can be done, does it violate the Licence?
|
|
|
|
|
I don't know about the 10 connection limit. It seems pretty a little weird.
DM wrote:
Also, if this can be done, does it violate the Licence?
Unless it violates your ISP contract (i.e. it says not servers) it shouldn't violate anything.
- Matt Newman
- Matt Newman
-Sonork ID: 100.11179:BestSnowman
|
|
|
|
|
|
The article is not clear about which network level the limit has been applied to. It doesn't say that the limit is on TCP/IP. Maybe its only on products like IIS?
Anybody actually verified this experimentally?
|
|
|
|
|
The article states a 10-user connection limit. Multiple connection from one user (on a single machine) count as one connection. Two users from one machine (i.e. a service running under the system account and a user) connecting count as two connections.
IIS connections usually connect under a special anonymous account IUSR_<machine name>. So all anonymous web connections count as ONE connection. If you set up a secure website (login required) there will be a 10-user simultaneous connection limit.
This sounds like a limit on the number of users, not a limit on the number of TCP/IP connections.
Check out the section named "More Information". It specifically talks about having two windows sockets (socket=1/2 of a TCP/IP connection) count as one connection.
-Sean
----
"Vigilance With Pride"
|
|
|
|
|
There is a ten-connection limit on the Workstation/Professional editions, but it doesn't apply to IIS connections. It is intended, I believe, to limit RAS users on small networks. As an interesting sidenote, I attended a training meeting in Phoenix with Microsoft when they were handing out copies of Win2K Beta3, and found myself chatting at lunch with one of the engineers. He mentioned in passing that the Workstation and Server products were essentially the same animal, but optimized in the Registry for different roles. That leads me to believe that a sufficiently clever person (myself not included) might be able to open up this restriction to accomodate his/her needs. It's worth a look...
|
|
|
|
|
Advanced TCP Logger v3.52
This program is a simple proxy server(port-mapper). It is an ideal tool for monitoring any network software or for researching network protocols. Log files with all traffic that has passed through this program are organized in a nice manner and can be saved in a separate folder.
Info: http://www.ntndis.com/utilities/atcp2log.htm
Download: http://www.ntndis.com/downloads/atcp2log.zip
Main features:
+ Written in pure Windows API
+ Display of all transmitted data
+ Total transferred bytes counter
+ Command line options
+ Packet Viewer
What is the purpose of this program?
When can this program be used?
When can you needed it?
- If you want a simple proxy server (e.g. port mapper, port redirector).
- It you want to count traffic.
- If you want to save all the traffic packets in files, which you might want to analyze later.
- If you want to study a format of network packages(protocols) used in any unknown programs.
- If you are the developer of the network equipment or software and you have to solve problems from area "Embedded-Ethernet", "microWEB". I.e. generally IP-access to devices based on microcontrollers.
- If you want to see "live" activity of the network protocols (e.g.: pop3, smtp, http, icq, irc).
- You want to disassemble activity of scripts of any web-site and introduce automation into operations.
Thanks, NT&NDIS Software Group. http://www.ntndis.com
|
|
|
|
|
So why don't you write a nice CP article about how it's done, how to use it and post some code instead of spamming here?
|
|
|
|
|
When try to test the connection to Windows CE device in the Platform Manager of embedded Vc environment, it gives the following error message:
Unable to connect to the device. Please make sure you have installed the underlying transport (e.g., ActiveSync) and have a device connected.
This problem may even occur when Microsoft ActiveSync already has a connection established to the Windows CE device at the same time.
How to solve this.
|
|
|
|
|
Hi
Have you tried to upgrade to ActiveSync 3.5?
I had similar issues with 3.1.
Cheers
Mike
|
|
|
|
|
I have something interesting going on...
Operating System: Windows 2000 (SP2)
Whenever I use Start>Run (or Windows + R) to run an app (usually "regedit", but it does the same with notepad or any application) it correctly launches the application but also displays the error message "Cannot find the file 'regedit' (or one of its components). Make sure the path and filename are correct and that all required libraries are available." After I press "OK" on this messagebox the "Run" dialog re-appears. The application IS running and IS useable.
I've searched high and low on the internet (including Microsoft's site) to no avail. Apparently I'm the only person on the planet that this happens to. It is consistent (happens every time). If I use "Run" with a URL it works OK, it only does this with applications.
This isn't a "show stopper" but it certainly is annoying. Any ideas??
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
really just ideas:
what when you run dos-box? (cmd or command; i have no w2000 here)
no strange default path?
all ok when you run from dos-box?
makes any delay?
what is your %path%?
the same with "c:\bootlog.txt"? (sorry, you already said no)
the same with "start command"?
t!
|
|
|
|
|
real name wrote:
what when you run dos-box? (cmd or command; i have no w2000 here)
From "Command Prompt" it runs OK.
real name wrote:
no strange default path?
My current PATH variable is: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
real name wrote:
makes any delay?
No delay
real name wrote:
the same with "start command"?
Same error about "command" and Dos box opens
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
yeah: and the same with "c:\path\exename.exe"?
t!
|
|
|
|
|
real name wrote:
the same with "c:\path\exename.exe"?
Same error.
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
Could be a virus, or the remains of a virus that incompletely removed. Some Windows viruses associate themselves with .EXE files. Look in HKCR\.exe and HKCR\exefile and see if there's anything suspicious-looking there.
--Mike--
http://home.inreach.com/mdunn/
"Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
Nothing "suspicious-looking"...
...but then again, I have no idea what I'm looking at in this area of the registry.
One thing that strikes me as odd, is that I can't find any hint of this issue anywhere on the internet. It's kinda tricky to search for, but I haven't found a thing. I had also considered the possiblity of virii, but I would have thought somebody else would have noticed/reported it. Oh well, maybe it's a really, REALLY bad virus writer and I was his/her first victim and the virus died.
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
Anything suspicious would be under HKCR\exefile\shell, especially shell\open\command. The default value of the command key should be "%1" %* . If there's an .exe name there, instead of %1, then it's likely a virus.
--Mike--
My really out-of-date homepage
"Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
Michael Dunn wrote:
Anything suspicious would be under HKCR\exefile\shell, especially shell\open\command. The default value of the command key should be "%1" %*. If there's an .exe name there, instead of %1, then it's likely a virus.
Nope, everything seems to look like it should. Any idea what executable is run when I use Start/Run? Nothing new gets added to the Applications or Processes in Task Manager. Is it part of explorer.exe??
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|