Paul_wa's Q&A profile
SQL Server Member Properties
Hi How to create a member properties in AS 2005 Regards Interesting answere Edward. I refer to member properties in a general BI design way. If so you can say that member properties are attributes that do not form a natural hierarchy, like the color of a product. In this case the attribute hierarchies will qualify as member properties. You can use an attribute as a member property, in the way you describe it, only to sort another attribute and without showing it in the dimension. If I show an attribute as an informative box on another attribute or as an attribute hierarchy is really not that important. I can show color as an information box on the leaf members in the product dimension or I can combine the attribute hierar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Win2k?
I realize the requirements state that the XNA framework is only supported under XP, but I was wondering if anyone has tried it on 2k, yet ...Show All
Smart Device Development Cabwiz and Registry Settings: trying to add double-quotes to data
I have a situation where I need to set a default registry setting (type REG_SZ ) and have it include double-quotes and a percent sign - wceload.exe "%1" Here's how I have it setup; HKCR,cabfile\Shell\Open\Command,,0x00000000,wceload.exe "%%1" Everything builds ok, but cabwiz strips the double-quotes away and I do not know how to make them stay ( ) Is there a cabwiz command or escape sequence to allow this Christopher - you rock! Now, what I'd really like to know is how you knew this I can't find any documentation relating to cabwiz that described this. Thanks for the reply - James ...Show All
Visual Studio How to get reference to the TextBox control of FileUpload Control
Hi all, Does anybody know how to get a reference to the TextBox control of the ASP.NET FileUpload Control Thanks in advance. A better place to ask this is on the asp.net forum: http://forums.asp.net/ Good luck! Michael Blome Visual C# Documentation Team ...Show All
.NET Development When is required a system reboot for a .NET application?
Hello guys, Do you know of a checklist of what circustances may require to restart your system after installing a .NET Framework application This is my case: I have a .NET Framework application that is installed using an InstallShield basic MSI project, together with the application, a .NET windows service is also installed. Yesterday I had a customer claiming that he had found a bug in the application, and I realized that the problem was only reproduced when a previous version was replaced with a newer one (in other words, in the same Windows session the applications is uninstalled and again installed)... the service is supposed to launch an application that requires to display GUI, but even when the process is created and launch ...Show All
Visual Studio Express Editions allow drag drop on a bmp on form
I set an image on the form (no picturebox or panel) and can draw on it with mouse. I wanted to be able to drag and drop an arrow onto the bmp also. The source is on the form and this seems to be ok. but setting the bmp as the drop target is escaping me. I cant seem to allow it to be a drop target. So am trying to create a target (uxtarget) and assig that to the bmp. this isnt working either. have tried multiple ways and cants eem get it to work. here is the portion ealing with target. Should I just instead use a panel or picturebox. I thought just using the form would be easier. Didnt realise the trouble assigning a bmp aws a drop target. Public Class Form1 Private WithEvents uxSource As ...Show All
Visual Basic dispose
having created my user control (which contains a bunch of variables, subs, functions,and controls - buttons, textboxes, etc) and added them to a panel on my form i want to clear the panel.unfortunately it seems the memory never gets freed up as after a few loads and clears the program tosses an out of memory exception (on a laptop with 1.5 GB or ram). i cant seem to free up the resources properly... in the dispose method do i need to set everything to nothing (all the variables inside the usercontrol) and call the dispose method of any control that is inside the usercontrol is that all i need to do any debugging tips as to figuring out what isnt getting cleared so i can add it to the dispose method Thanks, Dan ...Show All
Visual Studio Team System Is Team System just for .NET developers?
We have both .NET developers, and developers using other platforms at our company. Will the Team System work for everyone, or is it primarily for .NET/Visual Studio developers I haven't been able to locate any specific IDE requirements or info on what development platforms are supported. Bob, Team System is made up of serveral parts. A lot of functionality has been added to Visual Studio 2005 in the various flavours of the Visual Studio Team System. However, the glue that holds the whole team development togther is Visual Studio Team Foundation Server (TFS). As stated, TFS offers services that are useful for collaborative development i.e. Version Control, Work Item Tracking (work items being bugs, requirem ...Show All
Windows Forms How dos tooltip works
Hi Noamlly i use msgbox to tell something about the field the user shall write somethning about in Can i use tolltip her Or something else Alvin not sure I follow. If I understand correctly, you wish to set tooltip text for a control, such as a textbox, to notify the user on what they need to type/helpful hints correct if so then try this: in the textbox mouseHover event, create a tooltip which will show the tooltip on the textbox. So once this event has been implemented then use the tooltip object to show the tooltip text: Dim theToolTip as new ToolTip() theToolTip.SetToolTip(Me.theTextBox, " your tooltip text here ") does this help ...Show All
Gadgets Elevating privileges for WMI calls in a sidebar
I'm trying to create a gadget that uses some WMI calls to retrieve "cooked" perf data from the WMI counters. Although the code used to work in RC1 w/o any problem, in RTM the same counter classes seem to need Admin privileges. Is there a way that a gadget can have admin privs for running Here is some code that requires elevated priviliges to run. I basically need to run this code witihn a gadget and can't do so unless it's elevated. Set objCimv2 = GetObject("winmgmts:root\cimv2") Set objRefresher = CreateObject("WbemScripting.SwbemRefresher") Set objNW = objRefresher.AddEnum(objCimv2, "Win32_PerfFormattedData_Tcpip_NetworkInterface").ObjectSet ' Init ...Show All
SQL Server Data Conversion Numeric to date
I have some data which I am trying to put into a DM where I can use it as part of a cube (my first!!) I have hit a small problem with dates, I get it from the ERP system as a numeric field, and I need to convert it to a date format. The intension is to use this converted data with Named Calculations to derive Year, month Day ect. However I cannot seem to be able to convert and store (in SQL) this column can anyone advise Thanks The source column is called AHDATE and a value is 60703 which I am told is YY/MM/DD and using a data conversion componant transforming to data type date[DT_DATE] I get 12/03/2066 00:00:00 Which is way out Thanks for any help Robbie ...Show All
Visual C++ MessageBoxW error
Hello, Im trying to do a basic Winsock example using VC++ 2005 Express. It keeps coming up with an error to do with "MessageBoxW" and cant convert parameter 2 ("const char [22] to LPCWSTR" What am i doing wrong... Here is the code: #include <stdafx.h> #include <windows.h> #include <winsock.h> #include <stdio.h> #define NETWORK_ERROR -1 #define NETWORK_OK 0 void ReportError(int, const char *); int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmd, int nShow) { WORD sockVersion; WSADATA wsaData; int nret; sockVersion = MAKEWORD(1, 1); // We'd like Winsock version 1.1 // We begin by initializing Winsock WSAStartup(sockVersion, &wsaData); // Next, create th ...Show All
Visual Studio UPDATING Visual Studio .NET OLE DB Provider for Visual FOxPro
How do I know what OLE DB Provider For Visual FOxPro version Visual Studio is using In the Connection Dialog I see the list of OLE DB Providers but I do not see version, I do not even know how to install one in there if one disappeared. How do I do that Also I have an Update for visual studio 2003 Says that it is VS 2002 Service Pack 1 but includes VS2003 as a product that is affected. Well it wont update the VS2003 because it says I have the wrong version for the update what is wrong Hi! You can get the latest FoxPro and Visual FoxPro OLE DB data provider from msdn.microsoft.com/vfoxpro/downloads/updates . It works for all versions of FoxPro tables. Mine installed to C:\Program File ...Show All
Visual Studio Express Editions PictureBox StretchImage problem
I am working on a small image editing application and in this code, the user selects an image then clicks on colors in the image to make those colors transparent. When the ZoomIn button is clicked, the picturebox is enlarged by 50 pixels in height and width, the picturebox is set to StretchImage. When the ZoomOut button is clicked, the picturebox and image go back to their original size. The picturebox is enlarged and the image stretched so the user is able to better see which colors they are clicking. Everything works fine except when the image is stretched and the user clicks on it, the application behaves as thought the image wasn't stretched at all, but is in it's original position in the picturebox. That means, for example, if the ...Show All
SQL Server MDX Expression help
I'm using Microsofts Business Scorecard Manager to create scorecards. The product allows you to define your actuals and targes as MDX expressions. I think that they have to be in the form of tuples since the GUI's label says "MDX Tuple Formula", but I'm not sure because there is virtually no documentation that is really explanitory. I have created a tuple expression that points to the data that I need (below). However, do to my lack of experience with MDX and its functions, I'm having to hardcode the lag. What I really want is the last non empty cell. I'm pretty sure there is some easy way to get to it but I can't figure it out. ([Measures].[Visit Item Count],[Visit Date].[Calendar].lastChild.Lag(3)) Thank you so much in advance. ...Show All
