SBDeveloper's Q&A profile
Visual Studio Tools for Office Issue with Office Interop
Hi, I'm using Installshield setup to install my product.It registers few Office Interop Assemblies using Regasm. This assemblies are from .NET framewrok 1.1 Now, I have .NET Framework 2.0 installed on my machine. When I start the installation, the Regasm registration crashes. Is there any compatibility issue Kindly help. Thanks and Regards, Ajit Hi You should use the PIA's to install the Office PIA's only this is a requirement from the EULA in Microsoft's product, You dont comment on the version of Office you are running but there is a URL for the Office XP and 2003 PIA's below. ...Show All
SQL Server SSIS error listing
Is there a list of all the SSIS Error codes and what they mean Ex. -1071607778 is an error code output when a lookup task fails to find a match. I haven't been able to find any information on the different error codes. Is there a description file or enumeration file that exists somewhere I think it's still hex, the L at the end is usually included in literals to denote the size of the integer - i.e. L = long, whatever that may be for the platform, 32bits in this case I'd imagine. -S ...Show All
Smart Device Development deploy "non-exe" files
Hello! First, I'm sorry if this questions is already posted elsewhere. Second, here is my problem: I have a Smartphone 2003 project developed in VS.NET 2005. I have an xml file I would like to deploy toghether with the .exe on emulator (I tried to deploy on device but it's also not working). This link: http://blogs.msdn.com/sivarv/archive/2005/09/16/468529.aspx is not helping me. Right now, for developing purposes, I copy the xml file on device then, inside the code, I use a hard-coded path to this file (not very elegant). Thank you for your answer, Augustin Calin Ensure that the file is included in your project, select ...Show All
Windows Forms Can't post pics when in MSN groups
I recently downloaded Explorer 7 and now when I try to open the picture icon to copy, paste and insert while in an MSN group it will not open up large enough for me to access it. There is no way for me to drag it open. Any ideas Hi, This forum deals with only Winforms programming related issues. Thank you, Bhanu. ...Show All
Windows Forms DataBinding to ComboBox, setting to -1 index
I am making a database interface with VS 2003. I use a bunch of comboboxes so that the user can select from a list of items stored in the database. For example, a user chooses a Tester for a particular test, the list of Testers is in a seperate table. I am generating the combobox list with databinding, but I want to have it default to -1 index, just like a combobox does when you manually add items. I have tried setting the index to -1 manually in code after my databinding, but there are some strange results. The comboboxes will display the item in 0 index after setting the index to -1. I check the Selected ...Show All
Windows Forms TabControl / TabPages and control events when edit via PropertyGrid
Hi, I'm writing an app that has a limited designer mechanism... I ran into a small problem. When you add TabPages to a TabControl via the property grid, the ControlAdded / ControlRemoved events fire many times. This is a problem for me because I have an event-based Undo / Redo system, and I'm recording extra events. I understand why the events are firing extra times: so that the TabControl can repaint while the TabPages are being edited. Here's how it works: When you add a TabPage, ControlAdded gets fired. Then, when you click OK, each TabPage is removed, causing ControlRemoved to be fired ...Show All
Visual Studio VS 2005/VSS 2005 - Error while checking (HTTP)
I read thru this forum and finally had the Internet access setup. The server is not in the same LAN as the client computer. I created a new project and VS 2005 beta 2 and tried to add the solution to my test VSS database. However, I always get the following error no matter how I tried: --------------------------- Visual SourceSafe Internet --------------------------- There was a failure uploading the URL http://www.abc.com/SourceSafe/VssUpload_db1/680bb406-5457-4430-974f-e35885d19821/{2E2C9C61-D8DA-41E3-B440-00FA1DF0081D}. Do you want to retry the operation --------------------------- Yes No ------------------------- ...Show All
SQL Server Multi-user issues with SSRS2000
Hi, At our company we are looking at implementing SQL Server 2000 Reporting Services into our internet application. Having followed your book, and produced a dozen reports, I have found a problem with calling reports in a multi-user environment. Some of the reports that our customers want can run to over 100 pages which, whilst a large number, is a requirement. I have found that when two people call one of these large reports at the same time; one of the users gets the error "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection". Once the worker process begins to ...Show All
Software Development for Windows Vista IIS in vista build 5231
I'm having trouble installing IIS in vista build 5231. Per www.open-node.net/archive/2005/10/17/1164.aspx I tried the following: start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServerFeature;IIS-FTPServerFeature /p:c:\packages\Ultimate\Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~x86~~6.0.5231.2 However, I did not get any return message. pkgmgr / shows the command line options, so the utility exists. However, the /l option does not produce a log file. Any ideas I had the same results at first as well. This command worked for me: start /w pkgmgr /iu:IIS-WebServerRo ...Show All
Visual Basic Passing value of DataPicker control ?
While trying to get up to speed with Visual Basic 2005 Express and SQL Server 2005 Express I ran into the following problem and hope someone can explain to me what I can do to correct the problem. I created the following SQL query in a Table Adapater (i.e. "WagesEarnedTableAdapter") with the name "ComputeHoursWorked". After creating it I tested it by typing in the values "1" for @EmployeeID and "1/21/2006" for @WeekEndingDate. Everything worked fine and the correct value was returned. SELECT SUM(HoursWorked) AS HoursWorked FROM Projects WHERE (EmployeeID = @EmployeeID) AND (WeekEndi ...Show All
Visual Studio Random behaviour with ITaskItem[]
I have a target that I pass an ItemGroup to. I then call a task that takes this ItemGroup as a parameter and a ITaskItem as another parameter. Sometimes, if I pass an ITaskItem[] to the ITaskItem parameter, MSBuild is clever enough to realise that I want the task called once for each item in the ItemGroup. Most of the time, however, I get this error: Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem" Anyone any ideas why this behaviour would be so random Okay, it appears to be related to transforms and the Outputs parameter. If I specify ...Show All
Visual Studio 2008 (Pre-release) WCF vs Pipelines and Filters
I need to develop a system which uses ideas similar to Martin Fowlers' Pipelines and Filters pattern in his Enterprise Integration book, where a filter enriches messages from other sources. Is this pattern still feasible with WCF Does a pipeline represent a WCF channel I'm not sure how the main building blocks of WCF map to that pattern Where to the Endpoints fit Where do Bindings fit Channels, etc. How would I implement multiple pipelines to create a process with filters in between I could see how it all fits together with remoting, just gap doesn't seem to be as well defined with WCF, it's like it's already 2/3s done, I just don't ...Show All
.NET Development SafeWaitHandle property
Warning 4 'System.Threading.WaitHandle.Handle' is obsolete: 'Use the SafeWaitHandle property instead.' It seems safewaithandle is used on .Net framework 2.0, however, I do not know how to change to safewaithandle. What is the name of the method Or which parts should I change Source Code: if (checkSends) wo.hEvent = writeEvent.Handle ; What should I do to writeEvent.Handle Thanks! However, the error message will be shown if I try what you said: Error 1 Cannot implicitly convert type 'Microsoft.Win32.SafeHandles.SafeWaitHandle' to 'System.IntPtr' What's the meaning ...Show All
Visual Basic MDI application
Hi I want my MDI application to have it's menu in tree view form at the left of my main form. When i pick a menu option in the tree viewon the left, I want it's child form to open on the right. My problem is that when i maximize my child form, it fills the entire parent form, instead of the portion of parent form that is to the right of my tree view menu. I have tried using a split container, but I cannot set the child's MDI Parent property to splitcontainer1.panel2, it says system.windows.forms.splitterpanel cannot be converted to system.windows.forms.form I've seen programs with a tree view menu on the left, and multi docum ...Show All
Visual C# When is a VS Express due that runs on the released .NET 2.0?
Title says it all. We now have .NET 2.0, on which VSE beta 2 will not run, so we need an update asap. Regards, Guido I believe November 7th is the official public release of all the new .NET tools and SQL Server 2005. But of course, MSDN Subscribers got the final releases available for download a couple days ago. ...Show All
