CostasZ's Q&A profile
Visual Studio Help Integration - Sandcastle
I need to integrate the help (.HxS) files generated using Sandcastle into Visual Studio, somewhat similar to what NDoc and H2Reg combination do. How can I go about achieving this Thanks in advance. Thanks Anand for the reply. We are planning to use H2Reg for help integration. I was trying to use H2Reg with the HxS files generated using Sandcastle but it does not seem to work... Does the current August 2006 CTP of Sandcastle support help integration using H2Reg ...Show All
Visual Studio 2008 (Pre-release) Where are the Windows Forms controls equivalents?
Hi, I was wondering if we are going to see equivalents of the Windows Forms Controls and Windows Forms capabilities in WPF. Although WPF seems impressive, it lags the Windows Forms power and its also counteractive. Lastly I am looking for some really good training material on .NET 3.0 without any success. Are there any other sources besides msdn and the net 3.0 web site ...Show All
Visual J# We're are in a world of hurt with J#
Hi; We are suddenly getting a number of problems on various systems here with the J# compiler. The result is we cannot release new versions and some developers can't do anything. Could someone please tell us how to get answers to this. If we have to pay MS for support, that's fine - just tell us who/where to contact. But we need to get this fixed ASAP. error VJS1581: Internal Compiler Error vjc error vjc throwing an exception J# redist won't install Doesn't build 1 .xml file or library.xml not created when called from MSBuild thanks - dave My suggestion is to install VS.net on a virtual machine (MS had distributed one such with IE7 and VS.net2005 to MVPs in the past) and give that file to all ...Show All
SQL Server how to create stored procedure in SQL Express that will be executed on timer?
I need to check the databes on the server side every 3 days and delete old data. I am using SQL Express. The stored procedure part is going to be the easy part, but you will need to know what rows you want to delete. Is there a date field or an id field that can be used.... Once done you would just create the proc.... For example if you have a date field you could configure the system to do a check on say getdate()-1 and delete the records. The main problem is that the express system does not have a job scheduling system, you will have to write your own batch file using the sqlcmd command line tools create a command that would execute your Stored Proc... then configure the windows scheduler system to run the job. ...Show All
SQL Server pda *.sdf database
Everyone keeps telling me to ask this question in a differeent forum hope this time I have the right one.....!!!!!!! I've created a small database to bind to my datagrid...*.sdf.. When I edit it all it gives me option's is to change column headings, I need to add 30 rows and don't know how!!!!!!!!!!! The datagrid will be initialized in my form load sub. It will contain some static data (the user will not change anything just select)the user selectred a number from within the data grid that is then used later for a computation. Ideally I would like to not bind any database to this but initialize the entire grid within the form load procedure!!!!!!!!!!!! MSFlexGrid was much easier in this respect.......... No matter what i do it ...Show All
Visual C++ How to check if a string is digits or just alphanumeric?
Dear folk During my programming, I came across a specific check procedure to a string. sometimes this string contains alphanumeric and othertimes it contains numbers. My question is how to check the contents of that string whether they are digits or alphanumeric A simple code is shown below: Here's one way to do it using the count_if standard algorithm: #include <string> #include <algorithm> using namespace std; int main() { string foo = "123"; if(count_if(foo.begin(), foo.end(), isdigit) == foo.size()) { // is all digits } else if(count_if(foo.begin(), foo.end(), isalnum) == foo.size()) { // is all alpha numerical } else { // ... } } ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Smooth movement
I did a "game" where a ball bounce around the screen. It's running at 60 fps but it isn't a smooth movement. It's an issue from XNA Framework Beta I am working with SpriteBatch class... Are you using a mult monitor setup I found the same thing. Switching to full screen v-synch didn't help. I was however, running my nvidia 5300 with two monitors. After disabling the 2nd monitor it's now smooth. Maybe my results are unique, but I'd hazzard a guess that XNA beta doesn't play well with multi monitors. ...Show All
Visual Studio Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!
I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All
SQL Server New Login - SQL Server 2005
I need to create a new login that can only see 2 Views. I have tried everything, but when I connect to the server with MS Access or MS Excel, and sign in using that Login, I can still a bunch of views. I only want this Login to be able to run either view and not see anything else. This is what I have done so far: 1) Created Login zzz (w/ SQL Ser Auth) 2) Set the default database to database abc (Nothing is selected in Server Roles) 3) Set User Mapping to database abc, user = zzz 4) Database roll membership is public. (It won't let me change it) 5) Added user zzz to the two Views (Granted Select only) Now when I connect to the server from Excel Select new database query, add new dat ...Show All
SQL Server case statement using cast
Hi guys, The value in the field ACCOUNTS.ACCOUNTKEY is something like: '3130005' I need to read the characters from position 4 to 6. If the value of that Substring is equal to the VALUE Zero then write "Zero". In the code below, the first "case" is working nice, but the second (red one) is getting ERROR. Please Help. "SELECT ACCOUNTS.ACCOUNTKEY," _ & " Case When SUBSTRING(ACCOUNTS.ACCOUNTKEY, 4, 3)= '000' then 'Zero'" _ & " Case When CAST(SUBSTRING(ACCOUNTS.ACCOUNTKEY, 4, 3) as int) =0 then 'Zero'" _ & " Else 'Unknown'" _ & " End " _ & "AS 'Finding Zero' " Thanks in advance, Aldo. Just an FYI, this is a transac ...Show All
SQL Server SQL 2005 TDSSNIClient initialization failed with error 0x32, status code 0x1c (Clustered environment)
I've seen other posts on this topic, but not with error 0x32. I was attempting to change a CLUSTERED instance of SQL 2005 from dynamic port to static port and in the process have somehow messed it up to the point it will no longer start. Version is 9.00.2047.00 The ERRORLOG has the following 2007-01-31 15:02:05.77 spid9s Starting up database 'model'. 2007-01-31 15:02:05.77 Server Error: 17182, Severity: 16, State: 1. 2007-01-31 15:02:05.77 Server TDSSNIClient initialization failed with error 0x32, status code 0x1c. 2007-01-31 15:02:05.77 Server Error: 17182, Severity: 16, State: 1. 2007-01-31 15:02:05.77 Server TDSSNIClient initialization failed with error 0x32, status code 0x1. 2007-01-31 15:02:05.77 Server Error: 17 ...Show All
Windows Forms ClickOnce Certificate Expiration Page Updated
http://support.microsoft.com/ kbid=925521 hadn't noticed they updated the page. ...Show All
SQL Server Export Sql data to text file
Hi all, I am new to ssis. I try to create a package completely by vb.net to export a table in sql server to text file. i got the following error while i run the package, An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Provider for ODBC Drivers" Hresult: 0x80004005 Description: "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". The AcquireConnection method call to the connection manager "OLEDBSrc" failed with error code 0xC0202009. component "OLE DB Source" (1) failed validation and returned error code 0xC020801C. One or more component failed validation. There were errors during task val ...Show All
Visual Studio VS2005 and Visual SourceSafe Nightmare
It seems that we cannot do anything in Visual Studio 2005 without surreptitiously going out to SourceSafe and churning for 3-5 minutes. Granted we have (unavoidably) made the mistake of placing the SourceSafe database on a network file share -- it does not explain these covert and constant SourceControl accesses. For example, loading the project does something like "verifying source control". Why do we need to verify anything and why does it take so long I can launch SourceSafe myself and verify faster than the IDE can. Refreshing the solution (recursively) appears to be doing just that -- RECURSIVELY refreshing the solution -- meaning the refresh of the SLN file causes a refresh of the child projects, and the ...Show All
Visual Basic Vista and the VS2005 Configuration Manager?
I know this is going to sound crazy but....... I just installed RTM VS2005 Team Suite on a new RTM installation of Vista and in installed one security update from Ms. However, there is no sign of build configuration selection on my Build menu. It's just not there. And yes, I have checked the box in tools options - show all choices. What is going on I thought this may have been about not having moved the Visual Source Safe Database yet. So I moved the database to the new system and installed VSS and connected the database. I then looked under options and moved the configuration manager to the build menu, but it's greyed out. I have no way to change the mode of this project into debug mode to set break point. ...Show All
