AxeldraX's Q&A profile
SQL Server Lookup Transform
Hi! I am a newbie, grateful for some help. I have a Source Ole DB w sql-command selecting the customer.salary and customer.occupation, which I want to match with demo_id in Ole DB destination. salary, occupation also in dim_demographic. But in Lookup editor I find no column demo_id... how do I do this by the way.. is there any logic/rule/order when changing data types (just shows error now) Purchase Source both salesperson_id are DT_18 Purchase Destination salesperson_id Input DT_18 Purchase Destination salesperson_id external DT_14 ...Dim_salesperson salesperson_id is DT-14 ...Show All
Windows Live Developer Forums How to customize the pushpin popup window
Im a newb on this stuff I'm trying to convert a VEMaps program from version 2 to the latest. The problem I'm having is trying to manipulate the overall look of the popup window that comes up when you roll your mouse over a pin. In version 2 the developer used the innerHTML parameter of the AddPushpin method to add custom javascript code that would popup a custom window.. is there an easy way to do that in the latest version.. Version 2 AddPushpin method: AddPushpin(id,lat,lon,width,height,className,innerHtml,zIndex) Any help would be great Thanks Kirk Kirk, You should be able to do the same functionality as V2 control. The constructor for creating a pushpin is: var x = new VEPushpin( id , location , i ...Show All
SQL Server Error in backup MSDE 2000 database in SQL Server 2005 Management Studio Express
Trying to backup a MSDE 2000 database in SQL Server 2005 Management Studio Express and get the following error: Property BackupDirectory is not available for Settings 'Microsoft.SqlServer.Management.Smo.Settings'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. I can detach MSDE 2000 database from MSDE 2000 instance and attach it to Express instanace in SQL Server 2005 Management Studio Express. Thanks for any help, Peter .. and dont delete all entries in the backup list - that will delete the registry entry too. If you do, just add the registry again and it works fine. ...Show All
Visual Studio 2008 (Pre-release) Error:The maximum message size quota for incoming messages has been exceeded for the remote channel
I am using WCF to develop a distributed system which can acquire real-time datas locally while analyzing datas remotly.But I transferred 80K datas to remote machine(Analysis Server),error "The maximum message size quota for incoming messages has been exceeded for the remote channel" will happen. How to solve this problem Should I create a serialized class to transfer data Thx a lot! Moved to the WCF forum. There is a MaxReceivedMessageSize property on the server side binding that you need to increase accordingly (I'm linking to the BasicHttpBinding, but the same property exists on practically all bindings). ...Show All
.NET Development ignore/remove Namespace URI
I have a xml file with NameSpace on the root node let say xmlns="http://www.mysite.com/" i.e. < xml version="1.0" > <customers xmlns="http://www.mysite.com/"> <customer job > .... I am loading this into xmldocument whaty I want's is to ignore or remove NameSpaceURI from the Xmldocument It is making some problem in the parsing of the docuement What Can I do I am working on .netframework 1.1 static void test3() { XmlDocument d = new XmlDocument (); d.Load( "XmlFile2.xml" ); XmlNamespaceManager xnsm = new XmlNamespaceManager (d.NameTable); xnsm.AddNamespace( "c" , "http://www.mysite.com/" ); string description = d.Selec ...Show All
SQL Server Better MDX Query in 2005?
I've worked on several analysis services and reporting services solutions but this has me stumped. I have an X,Y scatter chart in RS that needs to hit a cube. So I need an MDX query that returns something like this: DiseaseAbrev Pathway Feasibility ADD 2.7 1.9 XS 4.0 1.0 YYY 1.4 2.0 The goal is to have two columns, Pathway and Feasibility, that contain a weighted measure that is calculated by summing a set of other measures times a weighting factor. The Disease Score Type dimension has a parent-child hierarchy set up so that Pathway and Feasibility are two members who roll up the weighted leaf members. When applied to the Score measure (see query below) this gives me what I want. SELECT ...Show All
Visual C# Serialization and get the rowcount
Hello again comunity... that's my question.. hope someone can help..: Problem: I have an serializable struct, so i'm save it on a binary file, i apend each struct to the others (i'm not saving an array, i'm just saving the structs over an over again..). Im currently use another file to mantain the row count that i have, so... Question How do i get the rowcount directly from the binary archive .. i've tried the old ISO c++ trick, you know.. dividing the file length / sizeof(The struct)... but.. firs of all.. sizeof does not work for managed code.. i mean.. with managed structs.. and.. Marshal.SizeOf(object objetc) returns a value that does not work.. i mean.. the division does not return the correct row count.. Marshal.SizeOf re ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Assemblies Not Referenced
After installing XNA Game Studio Express 1.0, I get the following error in my Beta 2 project: Error 1 The type 'Microsoft.Xna.Framework.Graphics.SpriteBlendMode' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff'. But it is referenced, and I'm pretty sure it's the right version too. I even tried to copy the code and content files into a new project, but it still gave the error. If anyone can help me I would appreciate it. Thanks. Did you remove the references to the original XNA assemblies and then add the new ones edit - waayyyy tooooo slooowwwww ...Show All
Smart Device Development Windows Form app TO Smartdevice app
I want to build Smartdevice app that all look like with my windows form app, but I found problem while coding: 1. I want to Draw a text on my smart app, is it true that smart app doesnt have TextRenderer like Windows app below is my Windows app code: Dim flags As TextFormatFlags = TextFormatFlags.Bottom Or _ TextFormatFlags.EndEllipsis Dim size As Size = TextRenderer.MeasureText(strLayer, New Font( "Arial" , 12.0F)) TextRenderer.DrawText(e.Graphics, "My String", _ Me .Font, New Rectangle( New Point(10.10), size), SystemColors.ControlText, flags) 2. Why Combobox on Smart app doesnt have dropdown methods because I want to retrieve a fresh data from SQL when a combobox ondropdown, ...Show All
Visual C# In C#, how should I use a VB ocx that is dependent on a win32 dll ?
Hi, I am trying to use a VB ocx control in C#. Internally the ocx control makes use of a C++ dll. I have done the following 1. Registered the ocx 2. Included the component in VS .Net IDE tool bar. But when I try to drag and drop the control I am getting an error "Failed to import the ActiveX control. Please ensure it is registered properly." I am using .Net Visual Studio 2005 Looks like there is some problem in creating the wrapper for the ocx. After drag and drop, under Project->References the wrapper is not available. It simply shows the wrapper's name with a warning icon ( i.e.., the icon used to indicate that the reference is not available or not built). When ActiveX is dependent on another dll should we do something di ...Show All
Visual Studio 2008 (Pre-release) RadioButtonList in System.Windows.Controls Namespace
According to the MSDN Library there is a RadioButtonList control in the System.Web.UI.WebControls Namespace but not in System.Windows.Controls Namespace. Can I use RadioButtonList in a XAML Window application Is the MSDN documentation incomplete Why is there a difference regarding this control You don't need a RadioButtonList to group RadioButton elements in WPF. Instead you can use any panel container to group the RadioButton elements. For example (taken directly from the reference on msdn for RadioButton found here: http://msdn2.microsoft.com/en-us/library/system.windows.controls.radiobutton.aspx ): <StackPanel> <RadioButton Name="rb1" Checked="WriteText2">Yes</Ra ...Show All
.NET Development Not the same Primary Key in DataTable and in SQL Table
The database: I have three tables in a Microsoft SQL Server 2005. Those tables are given and can not be changed. The main table of those three is called spbTable and has a primary key (int) called spbId. Further settings of this primary key are: (Is Identity) = Yes Identity seed = 1 Identity increment = 1 The other two tables are dependent on the spbTable with the foreign key spbId. The code: I am coding a web application using C# (ASP.NET 2.0 and ADO.NET 2.0). I was generating three DataTable using the Designer of VisualStudio 2005. So I have three TableAdapter, one for each DataTable and each DataTable has its own sql commands. The code I wrote looks like the following: ...Show All
.NET Development Expose DataSet for web service client
Hi: I have a web service with a typed dataset defined. I also got a windows form as a web client to consume the web service. In the win form project I successfully added a web reference to the web service but was not able to reference the typed dataset defined in that web service. I took a look at the Issuevision sample and confirmed that the client was able to reference the typed dataset referenced in the web service. So I'm missing something here hope that someone can give me a hint. Both solutions were developed in the VS 2005. Much appreciated. Hi Rod: Yes, I got the referenced Dataset once have a return method returned to it. As it is my first time writing web service this certainly is one o ...Show All
Windows Forms Can I hide the listView.Items.SubItem ?
Hi, there ************************************************ listView1.Items.Add(ID) listView1.Items[i].SubItems.Add(Name); listView1.Items[i].SubItems.Add(TEL); listView1.Items[i].SubItems.Add(AGE); ************************************************ Can I hide the listView1.Items[i].SubItems[3] Thanks... Here's a Q&D workaround in VB.NET code: Dim item As ListViewItem = ListView1.Items(i).SubItems.Add() item.Tag = AGE '--- Hide it: item.Text = "" '--- Show it: item.Text = CStr(item.Tag) ...Show All
Visual Studio 2008 (Pre-release) Wrap text around the image.
Hi, I've a problem with this simple thing. Pls help me. I use 2 control Image and Textblock. And I want to display Image left and the text display around the image. At the right and bottom site of the image. Image source is binding. But textblock didn't use binding. I want to apoligize my bad english and if my question is silly. Thanks anyway.. pauk yeah the text would be at the bottom right side of the image... the initial question was to have text at the bottom right side.... if you want it at the top right try using figures or floaters. ...Show All
