TungstenSteel's Q&A profile
Visual Studio Controls Toolbox not showing in Visual Studio 2005
Hi, Using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual C# 2005 77626-009-0000007-41642 Microsoft Visual C# 2005 Microsoft Visual Studio 2005 Tools for Applications 77626-009-0000007-41642 Microsoft Visual Studio 2005 Tools for Applications Microsoft Visual Web Developer 2005 77626-009-0000007-41642 Microsoft Visual Web Developer 2005 Toolbox does not display most of the controls This is even after "Rest Toolbox", "Reset all settings", and "Import selected env ...Show All
SQL Server Custom component seems to un-register itself?
I've run into this a second time now. I'm hoping for some resolution AND guidance for proper build, save, etc. protocols in BIDS. I've coded a custom component, included post-build procedures to add it to the GAC, selected it from the "Choose Items..." menu, and successfully added to a data flow. I've then been able to succesfully debug it. This was all Friday afternoon. I shut down my BIDS session(s) and called it a week. This morning when I open BIDS, I get the following error when I attempt to add it to a data flow task: TITLE: Microsoft Visual Studio ------------------------------ The component could not be added to the Data ...Show All
Visual Basic Reading physical serial port (RS232)
Hay everyone I have a device that connects with a computer using RS232 port and this device send data on this port. Now i have to read this data through VB.Net app Can somebody tell me how can i communicate with this device Thanks All detail how to use the serial Communications port. http://www.microsoft.com/downloads/details.aspx FamilyID=075318ca-e4f1-4846-912c-b4ed37a1578b&DisplayLang=en http://www.freevbcode.com/ShowCode.Asp ID=4666 http://www.hardandsoftware.net/ ...Show All
Visual Studio Tools for Office Insufficient Memory Exception
Hi, We are working on word customization using VSTO 2005. We binded a XML Schema. We allow user to insert List and List Item tags. When user insert a List Item Tag, we need to insert bullets or numbered lists before the List Item Tags. We are inserting programmatically by something like this, Word.XMLNode listNode; // listNode is the parent node to which child nodes we will be applying bullets object index=1; continuePreviousList=false; applyTo = Word. WdListApplyTo .wdListApplyToWholeList; listBehavior = Word. WdDefaultListBehavior .wdWord9ListBehavior; listTemplate = Application.ListGalleries[Word. WdListGall ...Show All
Windows Forms Filter DataGridView That Has Columns With Values From Other Sources
Hi, My name is tomer. I have a problem with filtering a datagridview. the grid is bound to a binding source. I have a text box that alows me to filter the DataSource accoording to the values in the text box. How do i filter the DataSource when i have a combo box column in the DataGridView Example: I have a combobox that show customer name ( value is customer id). CustomerID is 1, CustomerName is Tomer When i write in the filter text box "T" i want the datasource to bring me all the values that start with a "T" in them (like tomer). How do i do that thanks. ...Show All
.NET Development RPC/literal services?
I'm trying to use an RPC/literal web service using the express edition of Visual C# 2005. I can load the WSDL just fine, generate code that properly calls the web service, but the response object is always null. I know it's parsing the XML because if I change the service URL to one that responds with malformed XML, I get an exception. Examining the XML coming back, I cannot see anything wrong with it. Also, Apache Axis 1.3 is able to use the service with no problems at all, but the C# client just returns null with no errors. I tried to step into the service call in the debugger, but it doesn't let me step into the code, it just skips over th ...Show All
Visual C++ including dshow.h compiles not with /clr but with /clr:oldSyntax
Hello, can somebody tell why I get 103 errors with /clr and none with /clr:oldSyntax when I include the dshow header file. I would like to use the new syntax. Win32 console app generated by VC Express with line added to include dshow.h #include "stdafx.h" #include <dshow.h> int _tmain(int argc, _TCHAR* argv[]) { return 0; } Regards, stax You have nailed down the problem: the new C++/CLI syntax is (as its name indicates) just now being released with Visual Studio 2005. Thus, the code inside the SDK from VS 2003 is written using the old syntax and cannot be compiled without t ...Show All
.NET Development LDAP & DirectoryEntry
Hi all, I`m trying to access an LDAP server using the System.DirectoryServices.DirectoryEntry but i just cant get it to bind for some reason. Has anyone got any idea what I`m doing wrong Am I missing some reference or something Here is the code I`m using. Sub Main() Dim strServerDNS As String = "ldap.exco.com:389" Dim strSearchBaseDN As String = "ou=People,o=exco.com" Dim strLDAPPath As String = "LDAP://" & strServerDNS & "/" & strSearchBaseDN Dim objDirEntry As New System.DirectoryServices.DirectoryEntry(strLDAPPath) Dim searcher As New System.DirectoryServices.DirectorySearc ...Show All
Visual Basic Data menu not available in web service
Hi I have a web service project, and want to connect to a DB, and return the data from the web service The problem is that the data menu is not available, i know i need to create a data provider, but i cant... what am i doing wrong Regards Greg Phillips this is not really a web services question. our team doesn't own the designer, etc. in visual studio. i am going to move this thread over to the IDE forum. ...Show All
.NET Development List files on ftp server
Hello all, i have created an ftp client in C# using Wininet and i am able to download upload files from and to my ftp server, what i would like is to have the list of files and directories on the ftp server using wininet. any help would be great. With WinInet you'll have to PInvoke FtpFindFirstFile and InternetFindNextFile . Just FYI: there is an FtpWebRequest class in 2.0 that can make some operations easier, but doesn't actually provide as detailed an API as WinInet. ...Show All
.NET Development Accessing deleted row information
I have a strongly typed dataset 'A' with a Customer datatable and data. I create a new instance of the same dataset ('B') with same table structure and import selected rows into the 'B' Customer datatable from dataset 'A' Customer datatable. I pass dataset B to a method that deletes a row in dataset 'B' Customer datatable and now want to mark the row as deleted in dataset 'A' customer datatable. What is the best way to do that I thought I could loop through the Customer B rows, find rows with row state = deleted, find them in Customer A and delete them. However, this process throws an exception that the deleted row is inaccessibl ...Show All
Windows Forms Problems with validating event; is it a bug?
I have 3 forms: MainForm (MDIContainer), Form1 and Form2. MainForm has a menu with 2 options: the first opens the Form1, and the second opens the Form2, using code like this: private void menuItem1_Click(object sender, System.EventArgs e) { Form1 frm = new Form1(); frm.MdiParent = this; frm.Show(); } Form1 has only&n ...Show All
Visual C# C# Compiler heap error - help!
For the last week I have been having a bizarre problem in VS. If I double-click on a windows forms control it does not take me to the event code, but if I double-click a 2nd time it does. From then on, whenever I copy-and-paste, random text is deleted and the cursor is moved to just before the end of the "#endregion Windows Form Designer generated code". All intellisense stops working and ctrl+arrow moves to arbitrary places in words. After a few minues I get a c# compiler error mentioning a heap corruption. Has anyone ever seent his before One other feature, every time I paste some text, the block of code i ...Show All
SQL Server SQL Server 2000 and 2005 - Same Physical Server
Hello, We have a server running SQL Server 2000 Standard Edition on a Windows 2003 Standard Edition Server. Can we install SQL Server 2005 Standard Edition on the same box I'm assuming that so long as the instance names are different that it should not be a problem. Has anyone already done this Any problems Thanks a bunch. You can do that so long as they are on a different instance names. One word of caution - when installing SQL Server 2005 on a machine with SQL Server 2000 installed, you can use the default instance. But this will do an in-place upgrade on your SQL Server 2000 default instance. So be very, very careful on do ...Show All
.NET Development BeginReceive problem
im having a big problem on my server side with my Socket.BeginReceive call. here is the code: int bytes_read; try { client.BeginReceive(buffer, 0, buffer.Length, SocketFlags.None, new AsyncCallback(read_data),client); bytes_read = client.EndReceive(ar); if (bytes_read == 0) { client.BeginReceive(buffer, 0, buffer.Length, SocketFlags.None, new AsyncCallback(read_data),client); } else { string message = System.Text.Encoding.ASCII.GetString(buffer, 0, bytes_read); LineReceived( this , message); client.BeginReceive(buffer, 0, buffer.Length, SocketFlags.None, new AsyncCallback(rea ...Show All
