sakiv's Q&A profile
Visual Studio Express Editions Starting Visual C++ Express for the first time
g'day: I just installed VC++ Express. I am not a C programmer, but I am somewaht familiar with VB.Net. The msdn site ...visualc/usingpsdk/default.aspx has instructions for adding paths and modifying the corewin_express.vsprops file, which I followed (except that my Platform SDK is in D:, not C: - I assume you need the $ sign heading the Paths). Step 5 is to generate and build a Win32 app to test those paths. I get build failures due to an err ...Show All
Visual Studio Uncheck file replace - ANNOYING
I had files checked out for sometime. During this time my computer name has changed. When I go to check my files back in I get a notification about the name being different than the name to who the folder is checked out to. (keep in mind I have worked on these files for a while) So being cautious I decide that if the names between my machine and the record of the machine on ss do not match, I should probably uncheck out t ...Show All
Windows Forms The v2 DatePicker doesn't support null databinding (bug?)
The following code (which is a simple test windows form - visual studio team 2005 system beta 3 refresh) demonstrates what I believe is a bug in the DatePicker control. When a datepicker is bound to a binding source set to an object, properties of type DateTime that are null are not updated when the user (at runtime) changes the date. This is a real pain; and, frankly, makes the date picker useless to bind to database-derived datatables w ...Show All
Windows Forms Cannot assign ImageList in Beta 2
It appears that the Imagelist property is no longer available on the toolstrip. Yet, Image Key and Image Index are still available programmatically. Is there any way to assign Imagelist or has it been removed permanently from toolstrip If the latter is the case, what is the recommended way to assign images, ie. via local resource or use project resource file and is it possible to reference them directly via an index ...Show All
Visual C++ C++ Templates
Hi Can anyone tell me if the following piece of code is valid and if so how is such technique useful template <class T> class TestTemplate : public T { // //Some code // }; How is it possible to invoke or override any base class members in such a situation where we dont even know what the base class is Thanks in advance. Regards Venkat Correct. All depends on the design of this software architect ...Show All
.NET Development SendKeys and DirectX
I've been trying to send keystrokes to a directx application, however normal sendkeys does not work. Assuming this is because DirectX is its own virtual domain, or the keyboard is exclusive to the application, is there anyway to send key strokes using direct input or similar I've just started playing around with adding voice recognition to games I play. I was able to send keystrokes to a d ...Show All
SQL Server Farms
I'm new to the architect world and I'm trying to solve a performance problem with a SQL Server cluster. But, in talking to some folks they were recommending that I write a design based on a SQL Server "farm". However, when I ask them for more information about what a "farm" is, they start to shuffle their feat! So, what is a farm Is it better than a cluster Where can I find information on creating a SQL Server farm Many th ...Show All
Visual C# How to assign folder access right programmatically?
How to assign folder access right(read/write) for a specific user programmatically Thanks. OIf you are using .NET 2.0 then there is a slew of new classes FileSystemAccessRule Look on the left and you will see a bunch of related classes. Whether you're using .NET 1.0 or 2.0 this will probably be quite helpful to you as he has methods for both. ...Show All
Windows Forms OLE, Drag and drop
Hello board - I am trying to hook drag and drop for a seperate process than my own. Specifically, I have a proprietary application that 'hooks' the taskbar notification area "system tray", so that when text is dragged there the application can process it. I am dying to know how this can be done. If you call RegisterDragDrop and specify a window handle out of process, OLE yells at you... If anyone can help, you are a true Guru and it w ...Show All
Windows Forms How to split the column Heading of Datagrid in Two rows
In vb.net The column Heading of one of columns of the Datagrid is Normal Rate of Change As I have 9 columns to this grid I had set the width for this column 110 Then heading is truncating I want to wrap this heading as Normal Rate Of change I have&n ...Show All
SQL Server SqlServerSamples - SampleKey.snk
Hi I've just installed SqlServerSamples.msi. I am using Express versionss of SQL Server and C#. When running the Mars solution (C#) I get the following error: "Error 1 Cryptographic failure while signing assembly 'C:\Program Files\Microsoft SQL Server\90\Samples\Engine\Data Access\ADO\MARS\CS\MARS\obj\Release\MARS.exe' -- 'Error reading key file 'c:\Program Files\Microsoft SQL Server\90\Samples\SampleKey.snk' -- The system can ...Show All
.NET Development How to "de-hash" a WSE UserNameToken password?
I've just started using WSE for web services security (using v3.0) and have a successful prototype that does custom dbms authentication with an override of UsernameTokenManager.AuthenticateToken(). I'm sending the password with PasswordOption.S endHashed, which is important for this question. Now I have added a caching mechanism using the UsernameTokenManager.TokenCache property. All is well and good except for one thing: When I get a token ...Show All
Visual C# what is #if used for?
hi all, going through some company templates i discovered this statement, i figure it logs something if debug is set, but how does the #if work, and is this just evaluating if its compiled in debug or release or is there some other switch thanks #if DEBUG Engine.SqlQuery.StartLog(); #endif If I remember correctly, the '#if DEBUG' states that all inbetween code, will be run and executed when in debug mode (F5) This however doe ...Show All
Visual C++ File Comparison Question - What is wrong in my code
All, I've to compare two text files & output the results to a text file. Two input text files have file names in it, one input file was generated last week from a database & other was generated this week. The comparison utility that I want should return what's same, what's changed & what's deleted. Sample: First Input File(old): @DB/AAF33012/001 @DB/AAF33023/007 @DB/1L110145/008 @DB/11516573/001 @DB/11516836/002 @DB/15 ...Show All
Visual C# Voice Chat in C#
Welcome to Network Programming World! All Networks & TCP/IP, VOIP Programming & Video Conferences Solutions You Will Find: - C# Network Examples - C# Voice Over IP VOIP Examples - C# Video Conference Examples and More New C# Network Examples Everyday ! http://www.fadidotnet.org/online_book/Network_Programming_online.htm All This Just in www.fadidotnet.org thanks allot for your ...Show All
