klmsdn's Q&A profile
Visual C++ Keyboard Input behavior
Hello I don't seem to be able to receive more than one message WM_KEYDOWN from the keyboard without to have to click on another window then click back on my window and press a key. I've tried to override WindowProc() but no messages seem to be sent there so no way to filter the event that way. I'd like to be able to use the keyboard as well as the mouse without having to click all over my application for each key stroke. What Message or override should i use instead What are you doing in your WM_KEYDOWN Handler WM_KEY... messages are only sent to the window with the focus. If you perform an operation on WM_KEYDOWN that ch ...Show All
Windows Forms getting printer names
Hi, How can I get all of printer names connected either directly to PC or through some network. Is it possible to get the names of all printers connected to a PC through some network if its not, then please send me how to get the names of locally(directly) connected printers Thanks, Download my user sample here: http://www.gotdotnet.com/Community/UserSamples/De ...Show All
.NET Development How do I set up remoting with VS 2005?
Could someone point me to a tutorial or descussion on setting up Remoting with VS 2005 I was able to set it up with VS 2003, but now there seem to be some changes with how Web sites are created/published in 2005. Can anyone explain these differences Thanks, Nate Update: I've set up an "Empty Web Site" in an IIS Virtual folder with a Web.config file, a Global.asax that configures at startup using Web.config, and a VB class in the App_Code folder which is the class to be hosted. When I build this web project, the Bin folder or DLL is NOT created. Does anyone know how I can get this DLL, con ...Show All
Visual Studio Team System Need Help - VS2005 FxCop from A to Z
hi I need to config my system so that it will enforce the develpoing procedure agreed upon. I have to declare almost all of the rules from scratch. 1) In the xml file, what's the meaning of Category 2) Can the Code Analysis be enforced on a total solution or only per project If yes, how 3) I need a guidance, or a reference to one on how to define & implement the rules. 10X, guy Some helpful links addressing your concerns: http://forums.microsoft.com/msdn/showpost.aspx postid=63517&siteid=1 http://forums.microsoft.com/MSDN/Sho ...Show All
SQL Server columns_updated() -- working backwards
Hello all...another new guy question here... I'm working with an UPDATE trigger and the COLUMNS_UPDATED() function. I *believe* I understand the basics of this ... on a table w/ 8 columns or less. I understand the issue of using a substring to check a table w/ 9 or more columns. OK, here's the scenario: myTable has 8 columns. If I map this out it looks like: Value 1 2 4 8 16 32   ...Show All
Visual Basic How to create entry point on dll?
Hi I have a dll from Visual Vasic 6.0 and have following entry point c:\dumpbin /exports s.dll . . ordial hint RVA name 1 0 00002C46 DllCanUnloadNow 2 1 00002C1A DllGetClassObject 3 2 00002C30 DllRegisterServer 4 3 00002C04 DllUnregisterServer Summary 1000 .data 1000 .reloc &nb ...Show All
.NET Development How to display WinForms faster?
Hello, Does anyone know of any tips to insure that a Windows Forms program loads as fast as possible It seems that .NET WinForms just do not load as fast as Forms programmed in unmanaged code. Thanks, Mister T Yes, I recommend creating a Native Image as well. Read this: http://visualbasic.about.com/od/usingvbnet/a/FWTools2.htm Regards, Vikram ...Show All
SQL Server Sql Reporting Services Question
Hi, I use sql reporting services in a C# windows form application. I made 3 reports which i use in the application. I tried to use each report several times during the application, i.e. - I filled in the report with parameters and DB data at first during the running of the application, and created a mhtml file from the report. when I tried to use the same report in the same running time of the application , but with different data and different parameters, I saw that the report I get is the first report I made, with the old data and old parameters although the data in the DB has changed and the parameters I gave the report have cha ...Show All
Visual Studio Express Editions Too many downloading for upgrading system in order to run vs express applications.
Straight to the point, my country does not have very solid internet connection, its getting better but still not good enough. There are too many downloads needed to upgrade a system like win98/win2k/winXP sp1 to a level which able to run applications that developed in vs express edition. I hope I can include those 'installers', all into a cd so no internet access is needed at all. Is it posible to do it Even better if the user can just upgrade all with a single click of button, do not need to 'Yes', 'Yes', 'Accept', 'Confirm', 'Yes', 'Yes'... Do not expect they are computer literal. This is a good ...Show All
Visual C++ Multiple Resource Files
Hello. I have been "told" that my app may need to operate in multiple languages. As far as I can tell this will need me to create another resource file, with all the same dialogs, menu's etc just with different languages. So "File" is something else in spanish. I realise that this is a labourous task etc. I was wondering where it is in Visual studio that you can specify to use a different .rc file As I understand it is a .res file thats actually used in the build (i assume its a compiled rc file). I know where this can be changed in visual studio but is there somewhere that i can say instead of using "some path\m ...Show All
SQL Server Access is denied when trying to view reportServer with enable anonymous access selected
Hello, I kind of have a problem that I could not find an answer for on the net. I have a windows server 2003 with sp1, 2000 sql reporting services installed on my app box. The report db is on a db server which is a windows server 2003 with sp1 and sql server 2000. My problem is as follows. I want to be able to view reports over the internet. I have on my app server which has multiple internal IP's(that host different sites) a SSL site that is accessable from the internet. eg..https://blah.abc.com that goes to that web site configured in my IIS 6. When i install Reporting Services it by default installs itself to the default web ...Show All
Visual Studio How to create a multiple entries point per AddIns project?
Hi everyone, I just finished my first Addins project in VS2005 and it works very well. Now I want to add another function to my existing Addins project ( I do not want to create a second addins project). I just want my Addins project works like the way "Outlining" project in VS2005 ( right click in code editor). Regards, Jdang See if this is what you are asking (not sure): HOWTO: Add a popup command bar to the context menu of a code window of Visual Studio .NET http://www.mztools.com/articles/2004/MZ003.htm -- Best regards, Carlos J. Quintero MZ-Tools: Productivity ad ...Show All
Windows Forms Combining ClickOnce and MSI Installer
Hi, I have been surprised by the gap there is between ClickOnce and MSI. And I need to solve this. The scenario is this: Install a windows form application on a client (registry values, files, folder creation) and use ClickOnce to just update the application. Any GOOD documents about it Thanks!!! Hi... thanks for the response. What I mean is that the msi will create registry values, and folders, and by using ClickOnce the application itself will be automatically updated. By the way... I have solve it and It woooooorks!! Just needed to create a bootstrapper manifest and wrap the msi as a prerequiste!! ...Show All
Windows Forms Getting a component's owner form?
If given a Component (*not* a Control) hosted on a Windows Form, is there a way to determine that Component's host form Is this even possible Tony: Thank you very much. I was stuck on this one for almost a week. I have one question though. I don't know if you've ever used this code, but would it make more sens ...Show All
SQL Server Visual C# Express as a Client over TCP to SQL Server Express
Hi. I hate to be a noob, but I'm having great difficulty trying to set up a datasource in my client app. The only choices I see in the 'connect to database' dialogs are file-based, not connection-based. Should I not see an option for SQL Native Client How can I configure SQL Client on a Client Machine (no server) How can I configure the ports and addresses used by .NET SQL CLIENT FOR SQL SERVER Why can I connect to the database via TCP when using the management studio but not when using the visual IDE C# Thanx. VS Express edition only supports filed based databases. Only higher editions like "Professio ...Show All
