CPTK's Q&A profile
SQL Server Upgrading to SQL Express Edition SP1 with Advanced Services
Hello All, Does anybody have the experience of migrating from SQL 2005 Express to the new adition with Advanced Services Do I install the upgrade on top of the previos edition or have to go thru uninstall. Thanks. Serge Install Advanced right on top of Express RTM. As long as you select the same Instance Name, it will upgrade the existing installation and install any additional components tha ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't find GetShaderInputSemantics equivalent in Managed October/December update
EDIT: I forgot to mention this is all Managed DX. The subject really says it all. I've looked and I've looked and I just can't find any equivalent of GetShaderInputSemantics, originally found in ShaderLoader. Sadly most of the examples are for the older CLR, and the documentation, well, it says August. I'm one step from creating external DLL that will get this done for me in CPP using unmanaged data, I would appreciate some help. ...Show All
Windows Forms Get the local account domain name
How can I get the windows domain name for the locally logged in user Try one of these .... m_Name = Environment.UserName m_Workstation = Environment.UserDomainName ...Show All
Visual Studio 2008 (Pre-release) "late binding" communication and more questions
I have several more basic questions concerning indigo: 1. Does the WCF provide a way to communicate to a slick way to communicate to a web service which is discovered during runtime. As an example: somebody provides a WSDL and an operation he wants to call from this service as well as a XML message he sends to the service and a XSL that he wants to apply to the response message. Currently I do something like that with a manual HttpWebRequest. ...Show All
.NET Development Problem with SqlDependency
I can not get any SqlDependency examples get to work. I'm using VS05 Beta 2 and SQL2005 April CTP (the versions from the beta experience kit). My Code: private void Form1_Load(object sender, EventArgs e) { // ... more code ... cmd = new SqlCommand("SELECT from, text FROM Chat", con); dep = new SqlDependency(cmd); dep.OnChange += this.dep_OnChange; // ... more code ... } void dep_OnChanged(object sender, SqlNoti ...Show All
SQL Server Joins with XQuery
Hello, I have a very simple data table: CREATE TABLE [ALMPayloads]([ID] [int] NOT NULL,[OutputPayload] [xml] NOT NULL) with the following content: ID = 1 OutputPayload: <ReportDocument> <ALMSimulationResult> <selectedModelAssets> <modelAsset ID="8bc798ae-cc15-4807-8805-61ecfc8f3c01" description="Global Bond" internationalCode=" &nbs ...Show All
Visual C++ How to find out the current window that is active due to your mouse click?????
Hello, I am writing a dialog based program that will take screenshots while the dialog is minimized. The trigger to take a screen shot is through WM_HOTKEY. I like to use the correct API to take the a window that is active due to user's mouse click while the dialog of the program is minimized. Now, I am using : CWnd * pWnd = CWnd::GetActiveWindow() ; while the window I like to take screenshot is active after mouse click. But when I debu ...Show All
SQL Server How to avoid textfield implicit keeptogether?
Hi, Is there any way to avoid textfield keeptogether I tried SP1 CTP but it doesn't fix the problem ;( I don't know if only we here in germany think that reports look awful and unreadable because of this problem, or if nobody else discovered it ;( Look at this: http://gniza.org/repsrv/beispiel.pdf Does anybody think it makes sense that the right text on page 2-3 is comepletely put on page 3 Every user thinks that there is no text on the ri ...Show All
Software Development for Windows Vista .Net Framework 1.1 on Vista 5270
I installed 5270 yesterday without problems. Today I attempted to install an application that I use often. The application's setup requires the .Net Framework 1.1 - it checks for the existance of the 1.1 framework and if it's not there it attempts to install it (using the redistributable dotnetfx.exe). Unfortunately, build 5270 does not include the 1.1 framework (it includes the 1.0 and the 2.0). So the 1.1 dotnetfx.exe is laun ...Show All
Windows Forms Painting over ComboBox and NumericUpDown
Hi - I have derived two classes, from ComboBox and NumericUpDown. When the data that is displayed in each of these classes is modified I want to paint little blue triangles in all the corners of the control. I have been able to accomplish this with another class I have derived from CheckBox, but the same code does nothing in the ComboBox and NumericUpDown derived classes. Below is the code where I am overriding OnPaint. Any help on wh ...Show All
.NET Development Windows Service application handled in Service manager.
Hi Buddies, Can any one please help me to understand how Windows Service application is handled in Service manager Please help. Regards, Vinu.P.K Oh... Ritchie :) what I mean is, how " Windows service manager " detects and executes a .net Windows services installed using Installer also, working background(where the service is running) etc.. I read that, the Se ...Show All
Visual C++ XML reader for native C++
Hi! I'm looking for a small C++ XML SAX reader, similar to XmlTextReader in .NET. The most important thing is that the library is small can be statically linked. Can anybody recommend me anything Thanks in advance! Just look at www.codeproject.com and search for MSXML. You find enough samples there! Also search in the MSDN for MSXML and sample, also there is enough stuff. ...Show All
Visual Studio Express Editions complete package?
Hi, I've just been looking at downloading the Vis Studio Express, so I can see if its worth me upgrating from version 6.0 Is there anywhere to download the complete package (i.e. Visual Studio 2005 Express) rather than downloading and installing each component seperatly I have looked all over the website and cant seem to find anywhere. Many Thanks You can order the 'try visual studio for 90 days ...Show All
Visual Studio Express Editions Registration Benefit Portal
After downloading and registering Visual Studio Express I received my email thanking me for registering but when I try to go to the Benefit Portal I receive an error message telling me the site is unavailable or I don't have access Message reads Error: The page you have requested is unavailable or you do not have access. We have found that it can take about 24 hours for access to be granted sometimes it takes longer. You should try aga ...Show All
SQL Server Updating a record from table with data from a column of another record from the same table
Hey guys, I have a table say as follows id, id2, field1, field2, date1, date2 I want to update the date1 field to the date2 field of the very next record with the same id2. In short I want to update a record id(x) by putting in the date2 field if id(y) in the date1 of id(x) where id2(x) = id2(y) and id(y) > id(x) (as id is a sequence). I have written a query as below: update t_remarks te set out_date = (select TOP 1 date_remark_entered fro ...Show All
