|
My comments are neither product endorsement or criticism. My use of Matrox in this situation is not my choice, but driven by customer platform requirements, just as the use of XPPro is; some of my customers use other operating systems. For the purposes at hand, the Matrox and XPPro work just fine. The bug has a workaround. I was only trying the help others who might encounter it.
Brooks
|
|
|
|
|
And I think that is a nice thing to do.
I have to admit, though, that I also was wondering. Like Dave, I haven't touched Matrox in several years, mainly because they failed to "keep up" with the competition, when it comes to 3D-Performance. Nevertheless, Matrox-Cards, in my experience, give one of the clearest signals ever. They do the 2D-part perfectly.
Anyone here remember the ET4000? Thats another graphics card that was of extraordinary quality. I still have one in the 486DX66-PC I managed to salvage from my physician's practise (I am not sure whether "practise" is correct here - in German, it would be "Praxis".).
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Sebastian Schneider wrote: Anyone here remember the ET4000?
I remember that beast! I used to have one myself, but I can't remember on what board though. That thing blew away any other VGA chipset of the time. Too bad they couldn't hold onto that performance lead though. They could have been the 3rd company in the nVidia/ATI war today.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
PS:
To replicate - Visual Studio -
Select (turn ON) PowerDesk "Automatically save/restore windows positions". Launch VS (2003 or 2005), create an MFC application with the Wizard - all defaults, build, run, its OK. Select project in Solution Explorer. Note Property Page is BLANK. Left click project and select Properties, the Propety page appears, close Property page - CRASH VS.
To replicate - Windows Generic -
Select (turn ON) PowerDesk "Automatically save/restore windows positions". Open Administrative Tools >> Event Viewer. When Event Viewer is closed (Exit), an exception is thrown - "mmc.exe - Application Error" "The exception unknown software exception (0x.......) occured in the application at location 0x...."
Applies to :
DualHead2Go, Asus laptop, nVidia GeForce Go 6200, XPPro
Setup for dual monitoring (2 X 1024x768).- Screen Resolution 2048x768, Desktop Divider - W2, H1
Brooks
|
|
|
|
|
Hi All,
Im developing a Windows application in C# running on XP/512MB RAM/40GB HD. My application uses complex graphics and hence is pretty heavy! It has loads of images to be displayed and all of those are loaded from resource files. Initially i was skeptical whether i would face any problems in loading these images. But fortunately i did not face any problem in that regard.
But when i started building the application, because of its highly Graphical Interface, i started getting a WIN32 Exception which implies that the number of handles created by the application exceeds the limit.
After having a look at the Task Manager, here goes the statistics, My applications uses 250MB of memory, 240 handles created, 10,000 User Objects created, 7 Threads running, 62 GDI Objects created.
After the application creates 10,000 user objects, the exception is thrown by the framework.
Can anybody help me in throwin some light whether XP has any restrictions in creating unser objects. And if so, then what is the alternative to the problem? Meaning, how to restrict the creation of user Objects. Or if i double the RAM, will the number go up?? Or any other alternative!!
Thanks in Advance!
Rajesh
|
|
|
|
|
10,000 User objects?!?! What the (explitive deleted) are you doing to cause this? 3D modelling apps don't generate that kinds of load! A count this high is very unusual. WOW!
Your app is most assuredly leaking something somewhere. Or, you're preloading TONS of stuff you shouldn't have to. There is no way to increase this limit. I don't care how much RAM you shove in the machine, you're app definitely has problems.
You might want to step through your code with TaskManager or Performance Monitor open to see where this is comming from. You're probably not calling .Dispose() on an object that you repeatedly create, but never properly destroy when you're done with it.
-- modified at 13:00 Monday 18th September, 2006
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Each .NET Windows Forms control is a Windows window, which is a user object. Any application which uses a large number of controls is likely to suffer from problems. I suspect you're using a lot of PictureBoxes or similar.
The solution unfortunately is to manage the drawing surface of a control directly. That is, defining your own control that derives from Control, and overriding its OnPaint method to draw its surface, and any other methods needed to allow the user to interact with the control. You should normally perform all painting in the OnPaint method; from other methods you should update whatever data structures describe the current display and call Invalidate to tell Windows that the control needs repainting; Windows will then call OnPaint when the application is idle.
For better performance, you normally Invalidate only the rectangle (or region if a shaped region) that actually needs to be redrawn. In the OnPaint method, use the PaintEventArgs ClipRectangle member, or the Graphics object's IsVisible method, to work out what needs to be redrawn. Reducing the amount of drawing done will normally speed up the drawing and give a more responsive application.
|
|
|
|
|
When you right click on a program and click on properties, there is a section to create your own keyboard shortcut to the program. However I have never been able to get this to work. I have set internet explorer to CTRL+SHIFT+ALT+E - yet pressing that does nothing at all. How are these things supposed to work (if at all)?
|
|
|
|
|
Web Administrators:
I need your assistance. I do not know how to create a File DSN on a Windows 2003 Server installation. I have created the equivalent of a SQL Server database on the server utilizing the UDDI component on the server.
Could somebody who knows how to create a File DSN please provide me with step by step instructions as to what to do? Do I utilize the DNS component in Administrative Tools or do I do something with the IIS server component?
I would really appreciate some assistance with this issue.
New_Phoenix
|
|
|
|
|
Hi,
I want to know about java proxy server. is java proxy server is like a jana
proxy server.
Is java proxy server is better then jana proxy server.Can I use java proxy
server in window server 2003 enterprise ediion.
thanks.
nilesh
|
|
|
|
|
Remote Desktop requires that the machine being connected to have port 3389 open (http://www.microsoft.com/windowsxp/using/mobility/rdfaq.mspx), but what about the machine connecting to the remote server?
I'm trying to connect to a remote machine and I am suspecting that router on my side is blocking outgoing traffic - wonder if I need to open certain port on my side. But for starter, I can determine which port Remote Desktop client opens (and name of Remote Desktop client). I ran fport trying to identify "Remote Desktop Client" and corresponding open port but found nothing.
Norman Fung
|
|
|
|
|
This may be a shot in the dark, but have you tried opening up 3389 on your firewall/router? If running through a NAT, make sure that that port is being forwarded to the correct IP on the inside of the network.
If the server your connecting two supports two-way communication (most do...), it has to OK the connection request from your machine, then it makes a connection request back to your machine, usually on the same port number, which your machine has to OK.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
"usually on the same port number, which your machine has to OK."
Thanks, but thought client port and server port are usually different? I was thinking to identify remote desktop client outgoing port and open that on my router at home.
Norman Fung
|
|
|
|
|
norm wrote: but thought client port and server port are usually different
Whoops! My bad. That's what I get for doing this while I'm falling asleep.
When the client makes a connection to the server, it requests an available port number (1024 and above) from the O/S. This number is not predetermined!
At least on mine, and many others that I've used, you can turn off the outbound filtering. Any app can use any port to get to the outside world. Filtering occurs on the inbound connections and is allowed only on the port numbers that were used to initiate a request to the outside world.
Now, you can have filtering on the outbound connections, but you have a problem. Since any TCP client, like a web browser, uses any random port number above 1024 to try and connection to a server, you really can't block these outbound ports. Your web browser wouldn't be able to connect to a server on the web if you did.
Remote Desktop appears to use either a random port number in the client range OR 3389 to contact an RD Server. The server listens on 3389, by default. Soooo, you can start by allowing outbound traffic on any port above 1024 and inbound on 3389. Get it to work first, the go back and close outbound ports, in ranges, until RD doesn't work anymore.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Does anyone know, or know where i can find the registry entries for different web browsers(IE, Mozilla, Firefox, Netscape, Opera, etc.)? Also would these be the same for win9x as they would be for win2k/XP? I would like to not have to install all of them to find out. Thanks in advance.
|
|
|
|
|
Hi
I am developing a scripts in C# which can be used to test windows based applications. I use Win32 API's to perform click operations etc. To uniquely identify a control in a window rather than using absolute position of a control I have been using Control-ids and captions of the control. But I found scenarios where the control-id was dynamic and the control didn't have a caption. What I mean by caption is the text of the control. A control, say a button can have both name and text - Name: btnOk and Caption: OK. What I hoping to get is the Name "btnOk" that can uniquely identify it in a window because no two controld can have the same name, but it can have the same caption. I have searched through the Win32 API's and I have been able to find a suitable API that does the job. Any kind of help will be appreciated. Thanks a lot.
with Regards
Anoop Kumar
|
|
|
|
|
I have to drop an Open application for my own file type somewhere on the target machine where it will be accessible to other applications. I can't be certain of our normal application folder being present, so is there a Windows folder I can use? Something like Windows\System would be suitable, but I don't want to pollute a system folder. Isn't there one for uses like mine?
|
|
|
|
|
Brady Kelly wrote: I can't be certain of our normal application folder being present
So why not create it when you install you're app?
There is no folder, other than Program Files, that is useful for what you want. Although, technically, you're not supposed to be putting files directly in the Program Files folder. You're supposed to put it in its own folder under Program Files.
The other option that I've used at other companies is to create a "standard" folder for such apps and log files company wide.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
I need your suggestion, I have created an Windows service to mointer my mail id, it stores the content of the mail in the data base. I want to install my service in an remote system. I dnt know how to do it.
Plz suggest me how to install it in remotew machine........
Thanks in advance
Bye
Exelio
Know is Drop, Unknown is Ocean
|
|
|
|
|
You'll need physical access to that machine to install the service. You can't install it, or anything else for that matter, remotely.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
The debug viewer, from SysInternals, does just this; it remotely installs a service on a given machine, assuming that you have appropriate permissions.
Since 'administrative shares', the registry, and the SCM are all accessible remotely, it's not that difficult.
Steve S
Developer for hire
|
|
|
|
|
So long as you have the permissions to make the registry changes remotely, and know what they all are, and can copy all the files over, yes you can. Various software distribution packages, like SMS, Tivoli, and Altiris all do that very thing.
Beyond that, you'll have to use some other application to launch the installer in a non-interactive mode. I've seen PSEXEC used, a bit too liberally, and watched it trip various virus scanners, stopping the process cold. You can even do it with WMI. But in all cases, you cannot launch an interactive process remotely.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I don't disagree with you; particularly on the latter point(!), which is why remote desktop is handy. I was merely pointing out that you don't necessarily need physical access (i.e. keyboard/mouse/screen) to the machine, if you have network access - indeed, I've written an app that does all of those things to remote machines (although installing per-user desktop shortcuts isn't on that list!).
Steve S
Developer for hire
|
|
|
|
|
I'm not disagreeing either. I just don't feel up to explaining the whole process to him in a forum environment. Usually, someone who asks this question is not doing for the right reasons.
I too have written apps to do remote installs. And I've even had to do the per-user deployments of various icons! I know, it's stupid, especially when 250 people share most of the machines around here. But if you knew where I worked, it wouldn't make perfect sense to you, but you'd understand completely! And, you'd feel very sorry for me! "We just can't seem to buy the right tools for the job...but hey, I just work here, what do I know?" Sound familiar where you're at?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I have created custom log file and its key is added to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\CustomLog. But if I give a path value greater than say 100 characters for File key under CustomLog windows is not taking this path. Is there any restrictions on path length for File key in registry?
C++beginer
|
|
|
|
|