Software Development Network Logo
  • VS Team System
  • Windows Live
  • VS Express Editions
  • Windows Vista
  • Game Technologies
  • SQL Server
  • Visual Basic
  • Visual C#
  • Smart Device
  • Visual FoxPro
  • Windows Forms
  • Architecture
  • Visual J#
  • .NET Development
  • Visual Studio

Software Development Network >> access2reality's Q&A profile

access2reality

Member List

MyNameisMud
Steve B
jabdip
Scott Li - MSFT
jocamill
Ron Walker
Howard
ShadowOfTheBeast
fazee4u
Prakash Paghdal
CasuaLXX
Ethan_W
andymaris
Youri Pikulin
Amir Steta
Csharp.NetUser
Ormed
DanielG
dean183
avnerz
Only Title

access2reality's Q&A profile

  • Visual Studio Problem with AppDomain in an VS2005 add-in.

    I'm developing a VS2005 plugin that would allow user to right-click on a project and choose "Synchronize with toolbox" to put all controls containing in that project to a toolbox. In order to do it, the plugin compiles the project, loads compiled assembly, iterates through all types in it and puts controls into a toolbox. It works fine, but at the end of this excersise the assembly gets loaded into VS2005 process space, which prevents the studio from building that project after that. The obvious solution to that problem is to create an AppDomain, do all the dirty work there and unload it. Here comes the problem - I get InvalidCastException w ...Show All

  • Microsoft ISV Community Center Forums Execute String as code VBA

    Hi all, I am working on an Excel project with huge amount of VBA classes and modules. My question is how can I execute a line like: Dim tmp as Variant Call ExecuteLine("Set tmp = New " + ClassName) ' Where ClassName is a string of a certain class name Since the number of classes are large and there are new classes being inserted constantly, it would be very nice to have this two lines of code rather than many lines of Switch-Case. I searched from web, there is one approach of using VBA6.dll function "EbExecuteLine". However I'd like to avoid using it since: 1. I failed calling the library; 2. I believe I cannot ...Show All

  • Visual Studio Custom task and TLDA

    I have a target involving a custom task that looks as follows: < Target Name = " MakeWrappers " Inputs = " @(WrapperProjects) " Outputs = " @(WrapperProjects->'%(rootdir)%(directory)dotNET\%(filename)\%(filename).cpp' " DependsOnTargets = " ConvertElso;ConvertProjectModules;ConvertWrappers " > <!-- Generate .sln:s for the devices --> < XmlParsePy InputFiles = " @(WrapperProjects) " DotNet = " true " > < Output TaskParameter = " CreatedSolutions " ItemName = " WrapperSolutions " /> </ XmlParsePy > ...Show All

  • Visual Studio Stupid ~sakblahblahblah.csproj Files

    Why again does VS need these files   If it weren't for the fact that these files have a .csproj extension, I could CD into a project dir and execute this: C:\MyCSharpProj> msbuild but noooo, because there are multiple .csproj files (thank you very little ~sak...csproj), I have to specify the filename.  Doh!  That kind of bites.  Suggestion for Orcas, please rename the ~sak files so they don't have a recognized project file extension. Thanks.  That would explain it because we are stuck on a version control product that hasn't been updated in about 6 years ("He's dead, Jim" ...Show All

  • Visual Studio Tools for Office Place VSTO project output in the GAC

    I have created a VSTO solution based on a excel sheet. Everything works great, I used the SetSecurity class from msdn to set security settings on installation, which is wonderful! Only problems is that the excel sheet and the assembly have to be in the same folder. Is it possible to place the excel sheet inside the GAC so that the assembly does not have to be in the same folder as the excel sheet you shouldn't have to put the assembly in the same folder as the assembly. There should be a VSTO sample that shows how to update the manifest to do this. ...Show All

  • Visual Studio Team System Report Server Windows Service login failed

    Hello all, I am trying to install TFS application tier and it keeps failing because of "cannot connect to report server database" I have dual server setup and TFS database installed fine on sql server. I tried couple of times with different accounts and it still keeps failing and saying that it cannot connect to report server database. During the installation setup I get the following error message: Error 29105. Team Foundation Report Server Configuration: The Report Server databases were not created. Common reasons for this are that the current user does not have permission to create the databases on the Tea, Foundation ...Show All

  • SQL Server Report Services Question

    Hi all, I wanted to be able to log on to Report Services from another computer (remotely), how can I go about doing that setup from either fresh installation or after installation Or can anyone guide me to on where am I suppose to post this question in Any help from anyone is appreciated. Thanks in advance. Daren Daren, I'm going to move your thread to the Reporting Services forum. They should be able to help you there. -Jeffrey ...Show All

  • Windows Forms DoDragDrop on TreeView Problem

    Please Help.  I'd like the user of my tree view to be able to do two things: 1.  Drag and drop 2.  Select a node by clicking it.  Using the following code...     Private Sub frmTestTree_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         TreeView1.Nodes.Add("Node One")         TreeView1. ...Show All

  • .NET Development Messaging between two apps on same pc

    I am new to the c# world so bear with me. I need to setup a c# service on a windows server 2000 pc.  On the same pc I need a seperate c# executable for a GUI that will communicate with the service.  The GUI will be launched by an unrelated app, but it will communicate only with the service. What should I use for the messaging/communications mechanism between the service and the gui I have looked around and I always seem to end up looking at .net remoting.  I don't know if this is best because it seems to be geared toward client/server communications across a lan or wan with multiple clients.  Although... I bel ...Show All

  • Visual Studio Team System Different test results by using of Performance Tools

    I crated a very simple project (WinForms). The project has only one form and one button. When you press the button two simple functions are invoked: f1 and f2.   Then I created a performance instrumentation session, which lunches the executable through the project. The result seems to be ok. For example the tab functions show following list: -          WindowsApplication1.Form1..ctor() -          WindowsApplication1.Dispose (bool) -          WindowsApplication1.f1 () -     &nbs ...Show All

  • Visual Basic How can I prevent any type of pasting onto a txtbox.

    How can I prevent any type of pasting onto a txtbox. Thanks   William Are you looking to prevent ANY type of data entry in this textbox or just clipboard functions (Cut, Paste, etc.) If the former, than the above code will work fine...  If not, then the above code won't... ...Show All

  • Visual Studio Team System How I can show the line number where the error takes place

    How I can show the line number where the error takes place. Now I have this code: (but only it serves me in methods) public override Microsoft.Cci.Node Visit(Node node) { if (node.SourceContext.Document != null ) { this .SourceNode = node; return node; } else { return base .Visit(node); } } public void ControlarError(Problem problema, Node node) { try { Visit(node); } catch { this .SourceNode = null ; } if (SourceNode != null && SourceNode.SourceContext.Document != null ) { Document source = this .SourceNode.SourceContext.D ...Show All

  • Visual C# How to cast Null object.

    Hi all, I am wondering if I can do casting for null object. Lets see the following code: int i; object o; o = null ; i = ( int )o; I am getting error that "Object reference not set to an instance of an object." Is this possible by any other way Thank you Hello, Null casting is invalid in .NET Because null objects doesn't has a memory area. No start point. No length. It is impossible. Happy coding... ...Show All

  • SQL Server XML Datatype Usage & Performance

    I'm interested in hearing any feedback on the following idea for utilizing the XML datatype in SQL 2005. I am building a customer profiling engine for use by multiple clients. The database is shared. Clients do not have their own seperate databases or schema's. The purpose of the system is to store, record, and transmit customer profile information. Such information would likely include attributes such as: name, email, phone, various demographic attributes. The system has to accomodate different profile attribute requirements across different clients. For example, a valid profile for one client may be nothing more than a unique id and an add ...Show All

  • .NET Development AccessViolationException when client is terminated

    Hi, We have just migrated our client/server application to .Net 2.0. After that we constant get an unhandled AccessViolationException in the server program when the client program is terminated! The only stack trace I can get is: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored)    at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt ...Show All

©2008 Software Development Network