YWang's Q&A profile
SQL Server 'LIKE' function in SSAS ?
how can i filter rules in a dmx query NODE_CAPTION LIKE '%something%' doesn't seem to be recogenized by ssas.. help plzz No, the LIKE operator is not supported in SSDM 2005. A possible workaround is to use a UDF (user defined function) to perform the filtering. See http://www.sqlserverdatamining.com/DMCommunity/Newsgroup/3100.aspx for more details. thanks ...Show All
Visual C++ ATL Server Transmitfile not working
Hi Following code is not working can any body help me out how to use transmitfile to transmit the file to the web browser Thanks in advance. HTTP_CODE ValidateAndExchange() { m_HttpResponse.ClearContent(); m_HttpResponse.ClearHeaders(); m_HttpResponse.SetContentType("application/octet-stream"); m_HttpResponse.AppendHeader("Content-Disposition","attachment; filename=manojfile.txt"); return HTTP_SUCCESS; ...Show All
Visual Studio Express Editions Help me, please
Hello, my name is Vinnie and i'm new at this forum and I know quite a bit VB2005 and I'm 14 y/o. I'm running a gameserver wich needs a daily restart. And I'm too lazy to restart this server all by myself every single day. That's why I have builded a program called: PowerTimerc. Here's a picture of my program while debugging: http://img80.imageshack.us/img80/1852/pt7fa.png It has the current time: "huidige tijd", the s ...Show All
Windows Forms Object does not match target type.
Im working with the newly released full version of visual studio 2005 and my program compiles but I have a bunch of warnings with the message Object doest not match target type Here is the line of code that gets the error. CType ( Me .rightRaftingContainer, System.ComponentModel.ISupportInitialize).EndInit() The code is in the auto generated section, also the program that has this error was developed with 2.0 betta 1 and I ...Show All
Visual Studio Express Editions Uses of VC++
What does it mean on the download/install page where it says: "You can use Visual C++ Express to build powerful .NET Framework applications immediately after installation. In order to use Visual C++ Express to build Win32 applications, you'll need to take just a few more steps." And is there a button to compile and run your C source code without messing around in a cmd window You can check stdafx.h, if it include stdio.h & ...Show All
Visual C++ "definition of dllimport function not allowed" error
I am rebuilding my code (which was initially built using VC6 with no errors) using .NET2005. after fixing the code to get rid of the errors, I am still left with this one. I have simplified my code (see below) to reproduce the error: error C2491: 'Array<T>::isIn' : definition of dllimport function not allowed I looked up the MSDN help files but it didn't help much. can someone tell me what I need to do to fix this thanks, Julian. templa ...Show All
Windows Forms Could not find InstallState
I add a custom action to the Commit node of Setup project. The custom action is a .dll. But when I execute the install project, it result in an error message at the end of installation: Could not find files 'C:\WinProg\CutomAction.InstallState' Where c:\WinProg is the target folder. How can I do Thank, I am a hand about setup project. Could you give me an example David Guyer MS wr ...Show All
Visual C# HELP:exe is not showing version#
I m writing this in the command prompt to compile my solution csc /target:winexe /out:SomeTest.exe *.cs The SomeTest.exe is created but it shows version number as 0.0.0.0 even though the version numbers has been specified in the AssemblyInfo.cs file when i build the solution within the IDE then it(exe) shows the version number coorectly. You must add path for resources: csc /target:wine ...Show All
Visual Studio Team System Code Analysis C/C++ Issues with ASSERT macro
We have a ton of code that relies on the ASSERT style macro of the form: #define ASSERT (f)\ if ( ! (f)) \ DoAssert( __THIS_FILE_NAME__,__LINE__); \ else \ NULL_FUNC_CALL The DoAssert method terminates the application. Unfortunatetly the static code analysis tool with 2005 Team Developer assumes the code continues from then on generates a lot of extra noise results. Functions like: void MyFunc(void *pData) { ASSERT(pData); ...Show All
Windows Forms adding an object to a datarow cell?
Is there any way to add an object to a datarow cell or can a cell only have text I have a datagrid and when I click on a certain cell, I'm trying to take that cell information and display more information based off of the& ...Show All
Visual Studio Express Editions c# 2005 Aug CTP SDK doc etc...
Hi, I installed the Visual C# 2005 Express August CTP, but it does not include the standanrd .NET SDK debugger (to debug apps in other languages) and the .NET SDK documentation is also missing !!! (very important as far as I'm concerned ;-) Since I uninstalled .NET SDK Beta 2 I don't have any documentation anymore ... I think I remember separately downloading a SDK for a prev beta version of C# Express ( ) Is it possible to get the .NET SDK co ...Show All
Visual Studio Team System Request Failed: Unable to connect to remote server
I've seen several people post this error, but none of the suggested solutions have resolved my issue. This seems very simple to me, so I'm sure I am missing something very basic. I am very new to using Visual Studio for testing, so please bare with me. I have a local ASP.NET 2.0 application that strictly uses Windows security. I have recorded a very basic web test that navigates to one page within my application and that is all. When I run th ...Show All
Windows Forms How to autosize
When I have a "main" widnow frame, I place a flowlayout on it, and a tab control. How do I resize all I tried the event size change to change the layout width/height to no avail. tia, .V ...Show All
SQL Server Help on calculated member
I don't know how to do this. I have one table "services" with a field "clasification" and a another table "serviceschange" with a field "clasificationchange". The two tables are related with foreign key. The serviceschange table has a field idservices (a fk to the services table). I want to show in the fact table the name and the clasification of a service (the name is in the services table) but for ...Show All
Visual Studio Tools for Office vbScript with .NET
With Visual Studio 2005 and Framework 2.0 you discontinued the Microsoft.Vsa namespace. How do I execute vbScript in your latest framework without having to return back to your COM MSScriptControl (C:\WINDOWS\System32\msscript.ocx) I had been using the with Visual Studio 6.0 and then upgraded to VS 2005. I am using msscript.ocx in C++ and what used to work under 6.0 now does not. Calling Run on the control for a ...Show All
