WinFX_Girl's Q&A profile
SQL Server Fuzzy Lookup componant eating all available virtual memory
Hey, I have a large set of data that I need to match against another large set of data. The reference table has 9.8mill rows and my input has 14.6mill rows. I started with a new project. I added my connection, then a task to clear the result table, then my data flow, then my OLE source, then my Fuzzy Lookup task, then my SQL Server Destination. I set the connection of my OLE source and set the query to pull the data. Then I set the connection of my Fuzzy Lookup task, set the reference table and told it to create a new index (the problem also occurs if I use a generated index) and then set up the matching ...Show All
Visual Studio 2008 (Pre-release) SvcUtil Problem
I have class that is defined as Data Contract . After SvcUtil Generate proxy all memeber define as ExtensionDataObject. The Code before use in svcutil [ DataContract ] [ KnownType ( typeof ( IntArray ))] public class CUserServerInfo { public string m_ServerName; public IntArray m_ArrayChannelPermission; public IntArray m_ArrayOperationPermission; } [ DataContract ] public class IntArray { public int [] m_IntArray; } And the code after use in SvcUtil [System.Runtime.Serialization.DataContractAttribute()] public partial class CUserServerInfo : object, ...Show All
Visual Studio Team System Adding Default web part fails
Using: TFS RC on W23K SP1 with VS2005 on a Single Server Deployment, Sharepoint Services SP1 I've created a MSF for Agile Software Development and I'm trying to add a Web Part from the sites gallery. However this fails each time, irrespective of the webpart I select (e.g. Events, Contacts etc) The error I get tells me that 'An unexpected error has occurred'. I've Googled as much as I could and found one post about upgrading the web.config using stsadm - however I'm still no further to an answer. Anyone got any ideas TIA Scrat I'm having a similar problem that sounds exactly the sam ...Show All
.NET Development Using transactions with TableAdapters
I have several table adapters, each with an InsertCommand (among others). I call BeginTransaction before I start calling Update for each adapter. Update results in the InsertCommand being used but I get an exception because the command has no transaction. The commands are private members of the VisualStudio-generated adapter classes so I cannot access them to set their Transaction members. Is there a "proper" way to do this (In case it matters it's an OleDb/Access database). I'm also looking for this topic. I think you have to use TransactionScope from System.Transactions. But, beware that if yo ...Show All
SQL Server Can't connect to SQL Server 2005
Hello, I have a problem with connecting to SQL Server 2005. I have a small network at home with a WLAN router connected to Internet. My notebook computer and desktop computer are connected to router. My SQL Server 2005 is installed on notebook computer and Microsoft Server Management Studio is installed on desktop computer. I wanted to add login so I could connect to it from desktop pc and a problem came up. When I tryed to add account (from desktop pc) to local group on notebook pc I couldn't do that becouse there wasn't offered desktop pc as a location. Also, when I try to make connection string in visual studio, i can se ...Show All
.NET Development .NET 2.0: Setting WebServiceBindingAttribute.Location leads to a NullReferenceException
Hello, I currently try the contract-first approach when making Web Services on the .NET 2.0. Trying to set the WebServiceBindingAttribute.Location to point on my hand-made wsdl file leads to a NullReferenceException. Does anybody have an idea about what's wrong here Here is the stacktrace: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object . Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: ...Show All
Visual C# How can I call a static function for a generic class?
I have a class SwatchPanel which takes Swatch as a parameter type. How can I call a static function within the Swatch class For example the code below fails on TSwatch.Exists. How can I get the call to work Suggestions would be very welcome. Thanks, Steve public class SwatchPanel <TSwatch> : System.Windows.Forms. Panel where TSwatch : Swatch { protected virtual bool SetOkButtonState() { if ( TSwatch.Exists (ColorDescription)) do something } } ...Show All
.NET Development Data Source???????
Hello Experts, I am new to this techology. I am developing an application-in which i am uisng vb.net as the front end and ms-access at the back end. My database name is: db1.mdb and table name is: student When i tried to connect with the ms-access database in one-oledbdatadapter- wizard - it asks to enter value for "Data Source"- i don't know what it wants. i gave my db name then the table-but it replied -something like "invalid path/file name" Plz help me what can i do Thank You The connection string in your OleDbConnection should look something like - ...Show All
.NET Development Convert Data to Binary
Hi All, How to convert from any data, such as string, interger ar Ascii to banary Any help would be appreciated. Hank You can do the converToBinary thing with: Convert.ToString(someint, 2) If you have some bits set in a value and you need to read/set/unset the bits then just use logic. You could use the bitarray class I suppose... Dim someint As Integer = 509385034 Dim someintBinaryRepresentation As String = Convert.ToString(someint, 2) Debug.WriteLine(someintBinaryRepresentation) ' which is : ' 00011110 01011100 10011001 01001010 say we wat to change these bits: ...Show All
Visual Studio Tools for Office Getting Memory Erros with Add-In
I am deploying the Add-in in windows XP. As soon as Outlook tries to load the the adding I get memory errors. Then Outlook disables the add-in. The same addin I have installed in Windows 2003 both stand alone and in terminal services mode. I don't know if any one has found these problems with XP. Thanks, Shrini It's a bit difficult to give you an answer based on the information you provided. Please be more specific on what you try to do in your addin. It looks like W3K is accepting things XP is crashing on in an early stage. -= Maarten =- ...Show All
Visual Studio Where are merge modules for VS2005 beta 2?
Anyone can help me to find a link to merge modules for VS2005 beta 2 downloading Only the 64-bit Merge Modules are included with Visual Studio 2005 Beta 2 install. 32-bit Merge Modules will be available to download from our site after the product release. As indicated, you can use the CRRedist.MSI to deploy your applications. Keith - Business Objects ...Show All
Visual C++ Cannot create project WTL7.5 wizard in VC++ 2005 express
I downloaded a copy of the latest WTL from sourceforge, and followed the readme.html, trying to create a project wizard for WTL. But the wizard just wouldn't show up. Is it a a bug of VC Express or is it just not supported Thanks. With VC Express 2005, there may be a way to leverage or use the ATL code that comes with the Platform SDK. ATL is included for the Platform SDK for 64 bit development, but I'm pretty sure it will work fine with 32 bit development as well. So the trick would be to use the WTL source code + the 64 bit ATL source code from the Platform SDK (which is writt ...Show All
Windows Forms Change BindingNavigator.Validate behaviour
What's the best way to change the behaviour of the BindingNavigator.Validate method I have a simple SQL table with an identity primary key and two text fields. All fields cannot be null and I want to trap these errors using an ErrorProvider to indicate any errors. I created the default details view of the form created by dropping the dataset onto the form. I created two Validating events for the two text controls to set an error if the Text property is empty. When I click the AddNew button an empty form is created, with no error markers. If I leave the cursor in the 'primary key' field which is automatically populated then ...Show All
Smart Device Development Battery status for PocketPC
Thanks for your previous reply... I am now tryin to use GetSystemPowerStatusEx in a C# form application for PocketPC and while importing the dll and declaring the extern function it throws me an error. Please help. CODE: form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; [DllImport( "coredll.dll" )] *** dis and next line flash an error extern bool GetSystemPowerStatusEx( out SYSTEM_POWER_STATUS_EX pStatus, bool fUpdate); namespace battapp { public ...Show All
Visual FoxPro data from one table1 that isn't in table2
Yallo, I know there is an easy fix, but I have spent to much time on it and can't figure it out. I have two tables that share some id numbers. I want to pull all the data from one table where the id isn't in the other table. Table1 id name 1 steve 2 clarith 3 dorthy 4 pudbo Table 2 id name 8 clem 2 clarith 6 fursmorth 4 pudbo two tables: they share records with ID 2 and 4. I need to pull all the data from table1 where the id doesn't exist in table2 Final Table id name 1 steve 3 dorthy so far i've done this: Select b.id; from boardlist b, database a; where b. ...Show All
