bfoster's Q&A profile
SQL Server Incorrect parent child aggregate values in SSAS browser
I've created an "Account" dimension using parent child relationships and added a unary operator to the dimension e.g. "+" and "-" to aggregate things like gross margin = sales - cost of sales. The dimension hierarchy shows correct operators and levels (it is a ragged dimension) in the dimension browser, however when I go to the cube browser and place the hirearchy in the rows some of the members which have child ...Show All
Visual Studio Team System Customing Team Build / MSBuild
It looks like when team build runs that folders are created on the machine where the build occurs under the "Binaries" directory whose names match the individual configurations that are built as part of that team build. From what I can gather, it looks like these folders are then copied from the "Binaries" directory on the build server to a folder that is created on the drop location. We would like to customize this beh ...Show All
Windows Forms edit xml configuration file
Hello, I have code that reads a XML configuration file into a DataSet/DataTable using the XmlDocument class. I then bind a Windows Forms Datagrid to the DataTable to display the property/value pairs. Works like a charm. However, no matter what I ...Show All
SQL Server INSERTs given me the BLUES
cstring = cstring + "VALUES('%" + txtWatchID.Text + "%','%" + txtcenter + "%'" & _ cstring = "INSERT INTO tblNEW (watch_id, service_center_num, repair_envelope, store_number" cstring = cstring + "date_purchase, transaction_num, cust_fname, cust_lname, product_code" cstring = cstring + "value_watch, failure_date, service_date, failure_code, repair_code" cstring = cstr ...Show All
Visual C# Key pressed
Hi, I know how to check if a single key has been pressed, as long as it is an ASCII character. But how can I check for, say, the Insert key, or a combination like Control-X Regards, Guido Thanks, Bonnie! Is there a way to distinguish between left and right Shift/Alt/Ctrl Regards, Guido ...Show All
Smart Device Development Target Machine Link Error
I have used the upgrade wizard to migrate my EVC 4 project to VS 2005. I have managed to get most of my projects to build but I have a couple that give me the following link error. mfc80u.lib(MFC80U.DLL) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM' The configuration was originally targeting ARMV4. The "Target Machine" Linker option is set to "MachineARM (/MACHINE:ARM)". And I cannot ...Show All
Visual C# String to byte array
hi.. i have some string data to send through serial COM port, therefore i need to convert string data into bytes for transfering... I tried Convert.ToByte( strdata ) even though its not working... HELP... You can use the a specific encoding and convert the string with that encoding. string myString = "the string to convert."; byte [] stringInBytes = System.Text.Encoding.UTF7.GetBytes( myString ); ...Show All
Visual Studio Team System Team Projects - Company Divisions
I am trying to figure out how to structure our TFS. Our company has 2 divisions. Each division has it's own application, development team, and release schedule. There is some comon code that both teams contribute to and reference in thier respective applications. We previously had one source code repository with the following (simplified) structure: ClassLibrary - Project Folder DivisionOneApp - Project Folder DivisionTwoApp - ...Show All
Windows Forms BUG in SDK Type.GetProperty is null between OS's Test
I'm tring to set the designMode property of the Webbrowser .Net 2.0 control the following code works great on Windows XP Pro, Windows 2000 Server, but I have 2 computers. Where the PropertyInfo object is null, I tried the following with the .... Webbrowser = new Webbrowser (); .... Webbrowser.documentcompleted = OnDocumentCompleteGetEditor; OnDocumentCompleteGetEditor (.... ) { Type Type; &n ...Show All
Software Development for Windows Vista Custom activity based on HandleExternalEventActivity
I would like to create a custom activity that responds to external events and then executes a sequence of activities. I initially created an activity derived from a sequence and added my HandleExternalEventActivity at the start of the sequence. However, because sequence does not implement IEventDriven I can't add it into an EventDrivenActivity sequence and therefore can't use the Listen shape to respond to my external event or something else. ...Show All
Software Development for Windows Vista msrpd.ocx will not load
Hi all, I am having serious issues just loading anything with the msrdp.ocx (remote desktop) component in it, I cannot load the component with regsvr32 msrdp.ocx I cannot install applications with the component in it. I have tried to install the VB6 Pro software to re-compile the software this fails too. As some developers will know this component does not load within the vb.net environment and has to be manually coded rather than drag- ...Show All
Windows Live Developer Forums Is it possible to do this?
I want to catch incoming/outgoing messages before they are added to the "Chat Window" in an MSN conversation. After I catch the message I want to add in a url for matched text, sort of like the wikipedia function in Trillian. (It matches words if they link up to a Wikipedia article and makes them link there). It would be ideal if I can add a custom right click menu too. I'd appreciate any help by anyone to send me down this path in ...Show All
Visual Studio Crystal Report Export Error from the Report Viewer
Hi, I am using Crystal Reports for .net. Here we are getting data from the database and passing the dataset to the crystal reports. We are designing the reports with XSD files, and getting the dataset from the database and assign to the crystal reprots ReportDocument.Datasource. I am able to see the output of the report. But when i click on Export button in the Crystal Report viewer tool bar, i am getting Logon failed error. the code i tried i ...Show All
Smart Device Development How to update MFC DLL's
Hi, We're trying to deploy our Windows Mobile 5.0 MFC application to Smartphone devices, T-Mobile MDA-Pro and Cingular I-Mate, running Window Mobile 5.0. The installation goes fine and on launch of the application, the infamous, "... not for PocketPC", message box appears!! We tracked down the problem to \Windows\CPROG.EXE which links to \Windows\MFC80U.DLL and \Windows\MSVCRT80.DLL (version 8.0.50215.9). Using VS 2005's Remote ...Show All
.NET Development How to access objects from another thread...
I modified this example to output to a textbox on a windows form. So instead of Console.WriteLine I used Textbox1.AppendText. Unfortuantely this won't work being that async sockets work in a seperate thread and I get an exception stating the control "textbox1" cannot be accessed from a thread other than the one it was created on. How do I take the data from the receiv ...Show All
