Eric W's Q&A profile
SQL Server SQL Server Destination [733] Error
I am getting the following error on a FuzzyLookup transformation. I have 1,000 rows in the source table and 331,580 rows in the reference table. Both tables are in the same SQL2005 db on my local machine. Any ideas [SQL Server Destination [733]] Error: An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "Th ...Show All
.NET Development Memory Leaks in VB.NET
How do you detect memory leaks (if there are any) in VB.NET windows application I have a medium complex VB.NET application, when it runs, the memory usage at the Windows Task Manager keeps increasing for the application even without any activity. Simply by switching to the application keeps the memory usage increase Any help is really appreciated. Hi Chris. I mentioned my thoughts on this when I was in Seattle, but I didn't actually meet the DX team. I've also written online articles on the subject. The book I have on MDX is apparently written by a member of the team, a ...Show All
Windows Forms Comples Databinding - ComboBox
I am having trouble getting databinding to work with a ComboBox. The problem is the translation doesn't take affect. The ValueMember (Foreign Key ID) shows up instead of the translated description (DisplayMember) when I bind to 'Text'. When I bind to 'SelectedValue', the proper entries are in the drop down list but nothing is in the text portion of the&nbs ...Show All
Visual Studio Team System Warehouse error question?
Has anyone seen this error before What could be causing this Description: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 3/14/2006 7:06:42 PM Machine: TESTTS02 Application Domain: /LM/W3SVC/3/Root/Warehouse-4-127868367788271279 Assembly: Microsoft.TeamFoundation.Warehouse, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Detailed Message: Microsoft.TeamFoundation.VersionControl.Adapter: An error occurred while processing changeset ...Show All
.NET Development ctype("0",system.int32) throws an exception
When I try to cast the string "0" to an integer I get an exception... When I try IsNumeric("0") it returns false. When I try to cast "10" or "01" to an integer it works with no problems. This happens on some of our computers, but not others. I've looked through the regionaly settings and all of them appear to be identical from working to non-working computers. Any ideas Thanks, Jason While I can't say why you are seeing that sort of breakage... when it comes to working around it, what about doing the more explicit: Convert.ToInt32("0") ...Show All
Visual Studio 2008 (Pre-release) Textbox input validation
Hi here i'm trying to enter some text into textbox but my problem is it accepts any data what i want is the input text should starts with alphabetics (a to z or A to Z) only. How can i do this Can anybody give me a simple code to do this Thanx - Nagu In the TextChanged event of your textbox, use a code that will find all the word in it and see if they start with what you want. Something like this : public void textbox1TextChanged(object sender, RoutedEventArgs e) { foreach(string word in textbox1.Text.Split(' ')) { // Use a regular expression to test word } } ...Show All
Visual Basic serial port - com
I toke from the VB6 the example about using the serial port with MSComm. I run this program in VB2005 after it was upgrade ofcourse by the VB2005 and try to send and receive strings in a loop(1-1000). But sometimes in this loop the string that I'm sending is stuck or something that I don't understand why I run this loop with the some strings a lot of times and everytime is a different string that stuck. if someone can tell me why In VB2005 there is something similar to MSComm that I can use Hi, Look I'm still a rookie in VB2005 but I'll try to help you... So I guess that ...Show All
Smart Device Development What is counterpart of coredl.dll of CE in XP embedded?
Hi everybody, What are the methods that is a counterpart of these methods in coredll.dll of Windows CE in Windows XP embedded Code: [DllImport("coredll.dll", EntryPoint="RasDial", SetLastError=true)] public static extern uint RasDial(int dialExtensions,string phoneBookPath,byte[] rasDialParam, int NotifierType,int notifier,ref int pRasConn); [DllImport("coredll.dll", EntryPoint="RasHangUp", SetLastError=true)] public static extern uint RasHangUp(int Session); [DllImport("coredll.dll", EntryPoint="RasSetEntryProperties", CharSet=CharSet.Unicode, SetLastError=true)] public static extern uint RasSetEntryProperties(str ...Show All
Visual Studio Express Editions unable to update data in a database
Hello! I am using VC#2005 Express and trying to work all off the video tutorials. When I started to work on Lesson09, I encountered a problem: I follow instructions from video lesson, but when I try to update data in a database, I receive an error: Update requires a valid UpdateCommand when passed DataRow collection with modified rows. I use default settings for tableaddapter and dataset, in a same way as in video, and here is the code private void button1_Click( object sender, EventArgs e) { bindingSource1.EndEdit(); int result = 0; result = customerTableAdapter1.Update(myCompanyData ...Show All
Visual Studio 2008 (Pre-release) CustomPeerResolver vs NAT
To my great regret, I do not have an opportunity to experiment with WCF on a computer running a "client" WCF p2p application behind a NAT and/or a proxy server, so I can only ask the following questions and hope that someone will kindly answer them... Can CustomPeerResolver enable a client app running from behind a corporate NAT router and a proxy server to successfully communicate with a p2p server (such as the one in the "Net Peer TCP Sample") If it can, is custom configuration on the NAT (and/or, for example, ACL on the proxy) required, or will it work without any changes as it is implemented in the "Peer ...Show All
Visual Studio View.NavigateBackward and View.NavigateForward not working in addin
I'm trying to execute the View.NavigateBackward and View.NavigateForward commands from my add-in. Here is where I call them: http://djss.dynalias.net/trac/SamTools/browser/trunk/SamTools/MouseActions.cs ( lines 74, 78 ) I have no problem with the Edit.ScrollPageDown and Edit.ScrollPageUp functions on lines 102 and 106, and I'm calling the navigate functions just the same way. The navigate functions DO seem to work correctly when C# code is in the editor. Expected action: behavior exactly like when Ctrl+- is pressed Action action: Unreliable jumping around in code in a C++ project, even to places I never was since the editor was o ...Show All
Visual Studio Express Editions What happend to vector file? All of the sudden syntax errors in vendor supplied header...
I have been trying out VC++2005 express and compiled some programs recently that included from the std library 'vector' header. At first everything compiled find yesterday, but then all of the sudden today any file that includes vector will not compile and I get 9 syntax errors from the vector header file. I copied the vector header file over from the VC++ 2003 toolkit installation and dropped it into the include directory for VC++ 2005 and everything is fine. Anyone encountered this When I checked on the file itself, it seems it is totally different from the vector headers in VC2003 and other STL implementations I have.& ...Show All
Visual Studio Team System TFS Licensing Scenario
Hi all, Suppose that I have a team with 10 users, which all of them used VS for Team Developers edition. To use RTM version of TFS, I need to purchase only: 1. One TFS Server CAL for single deployment. I assume that we no longer need to purchase 10 TFS User CAL because the VSTD already counted as one licensed User CAL Am I right Please clarify. ================= Some questions: 1. We are VS Integration Partner. Would we get special pricing to get the TFS software 2. The TFS can't be purchased from MS website, why is that Isn't it already released Check out http://www.microsoft.com/PRODUCTS/info/product.aspx view=22 ...Show All
.NET Development Editing XML File
i wanted to edit an existing xml file using VB codes i found an example here and followed it http://support.microsoft.com/default.aspx scid=kb;en-us;317665 the codes i've got currently is Dim docXML As XmlDocument = New XmlDocument() docXML.Load("CYFMembers.xml") Dim nodeList As XmlNodeList = docXML.SelectNodes("//Member") Dim i As Integer = cbo_members.SelectedIndex Dim nodRoot As XmlElement = docXML.DocumentElement nodRoot(i).ChildNodes("FirstName").InnerText = txt_fname.Text docXML.PreserveWhitespace = True Dim wrtr As New XmlTextWriter("CYFMembers.xml", Nothing) docX ...Show All
.NET Development search a string for a special character
Hi, I have a string and I want to find if that string has ETX charater (End of Text) in it. ETX is a special character with a DEc value of 3, HEX value of 3 and Oct value of 003. So basically, I jsut want to find a character within a string using that character's DEc, HEX or OCT value using VB.net Thanks Thought I'd answer your explicit question - how to find ETX character in a string in VB. 'Chr(3) is ETX Dim s1 As String = "Test" & Chr(3) 'IndexOf() searches for the specified character, 'returns its index (0 based) if found, or -1 if not found If s1.IndexOf(Chr(3)) <> -1 T ...Show All
