BridgetElise's Q&A profile
Visual Studio Adding code lines to a VS 2005 source code file
I need to add some code lines to an existing source code file (.cs or .vb) in VS 2005. I'm writing a VSPackage that has to do this. Which is the better way to do this - I add code lines directly in the source file as text - I get the code dom graph and I add the code lines adding instruction statement to it and then serializing it again. - other... Any hints Thanks Hi Alex, I found it! If You want to add code lines to an existing project file, You need to use FileCodeModel or CodeModel. This is the alternative to finding and replacing text and/or using CodeDom. Thanks, ...Show All
Visual C# Embedding an application written in C# in PowerPoint?
Currently, I am trying to embed a C# application running in a Windows Form into a PowerPoint presentation. Optimally, the state of the application will persist across Normal View and Slide Show View. I’m rather new to .NET, so this may be a rather pedestrian issue, but if someone could point me in the right direction I would appreciate it. Thanks, Cy This thread is a duplicate of http://forums.microsoft.com/msdn/ShowPost.aspx PostID=115511 , please post your answers there. ...Show All
Visual Studio Team System Event log errors RTM Workgroup edition
I have just installed the workgroup edition on a fresh installation of Windows Server 2003 R2. I'm getting the following errors in the application event log on boot: 1) MS SQL Server - Failure Audit - Event ID 18456 "Login failed for user 'domain\tfsservice'. User: TFSSERVICE Followed by 2) Windows SharePoint Services 2.0 - Error - Event ID 1000 #50070: Unable to connect to the database STS_Config_TFS on THUNDER. Check the database connection information and make sure that the database server is running. Any ideas Regards Phil Lee How are you running the database Is it ru ...Show All
SQL Server Problem: SSIS, ODBC and Progress Database
Hi, The project I’m working needs to import data from a Progress Database. I had configured my ODBC ( MERANT 3.60 32-BIT Progress SQL92 v9.1D ) driver and everything seems to be ok. But when I tried to create a DataRearder Source pointing to my ODBC Data Source, and open the next tab I received this error message: “Error at Data Flow Task [DataReader Soucer [135]]: Cannot acquire a managed connection from the run-time connection manager” Anyone can help I got it to work! Although my connection has no password and I placed 1 space in t ...Show All
.NET Development Help declaring Configuration converters
All these msdn2 examples show standard and custom config converters. They show how to decorate props with them in code. When they show how to declare the converters directly in the config file section, all the examples show an undefined, not commented and ASFAIK undocumented ConfigurationConverters . This seems to be a collection of some sort. Where is it defined What items are in it Why is it declared in a comma delimited manner where the assembly type goes in the section declaration Where is that syntax defined < xml version="1.0" encoding="utf-8" > <configuration> <configSections> <secti ...Show All
Visual Studio Express Editions setup hangs at 100% CPU
Downloaded the img VWD Express edition and burnt on a CD. It has no problem installing onto a Windows 2000 Pro Computer. But using the same CD, when I tried to install on a Windows XP Pro labtop, it hangs at 100% CPU right after double clicking setup.exe. No popup window was displayed. It has hanging problem when installing .NET Framework 2.0 at regsvcs.exe. The laptop had VS2003, .NET Framework 1.1 installed and working fine before but was removed. I noticed similar problems were posted on the Internet. I tried most suggestions with no luck. Your help is much appreciated !!! The dd_vsinstall80.txt shows: [11/11/05,17:03: ...Show All
.NET Development hexadecimal strings don't work! #f1f1f1 #f1f1f1
hexadecimal strings don't work! #f1f1f1 #f1f1f1 ...Show All
Visual Basic Selecting 3D objects using the mouse click to select with VB.NET and DirectX
Using VB.NET and Direct X to develop a Windows aplication can anyone explain how to identify a 3D object by allowing the user to position the mouse over the object and then clicking the mouse. In this case there may be several 3D objects at different x, y, z locations, but I only want to select one. I'm not sure but you may get a better more complete responses on the directx forums. http://forums.microsoft.com/msdn/default.aspx forumgroupid=20&siteid=1 As its probably something that will involve the directx api rather than any specific in VB ...Show All
Visual Studio 2008 (Pre-release) reference to a object-class with datacontract??? .urgent.
Hi, in my service I referenced to an object class "Tag". Now I'm using a client with channelfactory and want to use objects from the "Tag" class. How can I do this without letting the client referencing to the original "Tag"-class at the service-side Your copy of Tags.Tag is a different class than the original Tags.Tag class (even if they are named the same) and hence the collections are incompatible. That's what's causing that error message. Nevertheless, since WCF is built with the service orientation tenets in mind and one of them is "share schema, not class", y ...Show All
Visual Studio SubQuery
I am using Crystal Report9.0 Dot net bundled version. I want to write sub query. I could not use command object. Because for command object we cud not set the daabase at run time. So any otherway for me. ...Show All
Smart Device Development Pocket PC application suddenly terminates
Hi, In the multithreaded programs that I have coded that run in the background, i always encounter issues when the app suddenly terminates. Reading other posts from forums over the web, most of these cases are due to memory problems, eg. Low Memory, Parts of memory not being freed. regardless of memory problems or unhandled exceptions, are there other ways in which the pocket pc would decide to terminate my apps For example when my app is idle for a very long time thanks and regards, VS2005 has both managed and native code debuggers so it still wasn't clear which of them you are using. I am guessing however that you are using the m ...Show All
Visual Basic Setup Wizard
I purchased Visual Basic Standard 2003 and I see that there is no setup wizard.. Isn't there supposed to be one ...Show All
Windows Forms MDI & TransparencyKey
Hey NG I am programming with an MDI-Form. I have written a class Library for my personal PopUp Menue. This works fine with "normal" Windows aplications. In the load Event of the PopUp Menue I set the forms TransparencyKey to the ControlsBackcolor, so that I have a "tranpsparent" Form. - This dosen't work with MDI. Bacause After calling PopUpMenue.IsMDIContainer = True the PopUpMenues's Backcolor is Color.Control. Can anybody help me - Hope you know what I mean THX Since this is a question about a Windows Forms feature, I've moved this question to the Windows Forms forum, where someone will hopefully be able ...Show All
Visual C++ Unexplained stack\heap overflow
Hi everyone I'm having a little trouble with an MFC application, SDI, pretty simple stuff. However, the running of the app is absolutely crippled by stack\heap overflows. They appeared one day - I have no idea what has caused them - but most strangely there seems to be no real pattern to when they occur in the program execution. It's usually upon closing a dialog box which is used to alter strings in a CTypedPtrArray. A breakpoint is triggered, but in all sorts of different places. This one was in wincore.cpp, line 1812. Like I said, I cannot find the exact action that causes this to occur - sometimes it happens, sometimes it doesn't. ...Show All
Windows Forms Prompt for reboot with installation project
Hi, I have built an installation project in VS2003 (VB) and set environment variables and other things that require a reboot for the changes to take effect. The question is: How do I get my installation project to prompt for a reboot after the installation has completed Any ideas Thanks, Matt In the world of ClickOnce non-impactful deployments reboot after installing a ClickOnce App is a BIG NO NO. A clickonce app should never need a reboot however if I can give you a very silly idea (for fun).. here is what it could be Based on a user reg-key or some thing for the app Detect regkey is not there when the applic ...Show All
