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

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

DMan1

Member List

steve yee
Frank Foerster
Psinha371
Ihavethesamequestion
Carlos Mendonça
Mudassar Hassan
Mark Kornfein
Cliff Stanford
sewe
Taras Naumtsev
Dave Yuhas
Amit Bhagwat
Eric Jarvi
Alan Rueckgauer
elenaar-ms
blanc
benneh
Keith Powers
Enrique0210
Norbert Mika
Only Title

DMan1's Q&A profile

  • SQL Server provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

    Hi All,    I am new to dotnet. I tried connecting to the database MS SQL Server 2000. I gave the code like, the one below, in form load event, SqlDataReader dr = null ; SqlConnection myConnection = new SqlConnection("Data Source=IP;Initial Catalog=name;User Id=uid;Password=pwd;"); myConnection.Open(); myConnection.Close(); But I could not connect. The error message highlights the line myConnection.Open() and displays the error An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default setti ...Show All

  • SQL Server Obtaining destination e-mail address

    I have been asked if we can give NS the destination e-mail address via our Application's Event Table.  I have suggested that this defeats the purpose of using NS and that we should instead call the Subcription Classes from our system to create and manage subscriptitons.  That way we can take advantage of the more advanced Distribution features in NS.  Is this the right way to think about NS or is passing the e-mail a common practice Thanks ...Ray Ray, I understand that there's a lot ot learn before you can be productive with NS. Many things we're doing in the next release are aimed at reducing this burden. That said, N ...Show All

  • Visual Studio 2008 (Pre-release) How do I set the source of an image programmatically?

    Hi, I'm just starting to work with WPF and I'm trying to set an image that I've declared in my xaml. <TabPanel> <TabControl Width="400" Height="500"> <TabItem Width="90" Height="20" Header="MapView"> <Grid HorizontalAlignment="Center" VerticalAlignment="Center"> <Image Name="Map" Width="350" Height="400"> </Image> </Grid> </TabItem> </TabControl> </TabPanel> How can I set the Image "Map" In the previous VS they were using a picturebox, but I'm ...Show All

  • Visual Studio 2008 (Pre-release) Back to the 2-tier?

    It seems to me that Dlinq with this nice new feature of Entity = Class is good for a Client/Server scenario only. How would it worlk in a SOA at all I admit this code looks very efficient, but only in a C/S scenario. How would delayed execution work if you're not in C/S scenario, but need to call a webservice for retrieving your data, and also a webservice for updating your data ...Show All

  • Microsoft ISV Community Center Forums MS Zen sublime

    This is on the 'contact Us page for e-learning support" support "Technical support are unable to answer questions regarding technical information regarding software." This is just about on a par with the ultimate legend:- "keybord not present, press F1 to continue" We'll, um, share this with the e-learning team... Brenda (ISV Buddy Team) ...Show All

  • SQL Server CREATE SCHEMA in db A from a stored procedure in db B

    Hi All I have a SP that i create tables and other objects on another database. Creating table work well. declare @s nvarchar ( 2000 ) set @s = 'use db01' set @s = @s + 'CREATE TABLE ABC (recid int) exec ( @s ) ------------------------------------------------------------------------ But if i try to create a schema it gives error : 'CREATE SCHEMA' must be the first statement in a query batch. declare @s nvarchar ( 2000 ) set @s = 'use db01' set @s = @s + 'CREATE SCHEMA AAA exec ( @s ) How can i solve it Thanks. You can ...Show All

  • Visual C++ VC++ 7.1: templates and linker performance

    Hi all, I haven't found any documentation on this, so please point me in the right direction. My problem is that the time consumed by the linker for my project (a medium-sized dll with approx. 100 kLOC) is inappropriately long:  about 15 to 20 minutes on a machine with 1GB, about 10 minutes on a machine with 2GB, peak virtual size about 1.5 GB so memory seems to be the main limitting factor (i.e. the linker is constantly swapping on the 1GB box). I suspect that the problem is related to the use of templates.  Specifically I guess that the linker tries to delete multiple instantiations of the same templates.  Could this be ...Show All

  • Microsoft ISV Community Center Forums Copy Outlook email into Excel

    I receive an email every day whose contents I have to put into Excel. I'd like to write a macro in Excel that will copy the contents of the email and paste it into Excel. The contents are always structured the same - two columns and 13 rows, and the subject is always the same. I can get the Excel part, but I'm struggling with the Outlook part. thanks! per the support engineer: Please clarify the requirements: Version of MS Excel and Outlook used (or if we use MS Office 2003 is that OK with you ) If we guide you to create a Win Application using .Net C#/VB.NET 2003/2005 or VB 6.0 instead of VB ...Show All

  • Smart Device Development How to convert Pocket PC forms VS2003 to VS2005?

    I have many forms created using VS2003, pocket PC and Smartphone. In the VS2005 there is a new file together the main form file called <form name>.Designer.cs. How can I generate this file for my forms Or I need to re-design all forms   (The import wizard only converted the project). One of the errors I have: Forms\PPC\frmEstTime.resx : error MSB3103: Invalid Resx file. ResX input is not valid. Cannot find valid "resheader" tags for the ResX reader and writer type names. The best way to resolve the issue is to Replace following lines of codes in rexs: <resheader name="version"> <va ...Show All

  • Visual Studio Express Editions Registering Visual Basic 2005 Express

    I am trying to register Visual Basic 2005 Express. I use Lotus Notes for E-Mail. Every time i click register I get the following error: The notes.ini file can not be found on the search path. the file is in C:/Windows which is in my search path. Do i have to be using Outlook to register VB 2005 Express Do you use the Help->Register product... menu from inside VB Express You might need to use Internet Explorer to register. The FAQ describes how to set IE as default browser, paragraph 8. EDIT: The link to the FAQ http://msdn.microsoft.com/vstudio/express/registe ...Show All

  • Visual Studio Team System Outlook Add-In Sample Code?

    What is the status of the Outlook Add-in sample code for synchronizing TFS Work Item tasks and Outlook tasks Is the sample code in the Oct drop of the VS 2005 SDK Thanks Scott Hmm.  Wherever that info came from, it's not accurate.  The Outlook Starter Kit definitely does not include that functionality, although you could figure out how to do it by looking at the way the OSK interacts with the work item object model. ...Show All

  • SQL Server Losing umlauts in SQL Templates

    Hi there, does anybody know why I'm losing all umlauts whenever I drag a custom template to a script Double-clicking works fine, but I definitely want to avoid a unproductive workaround like double click > mark all >copy > paste in other script. We work a lot with shared templates and we cannot avoid using umlauts in the scripts. Any expericences or suggestions Thanks in advance Thomas Sounds like your local windows regional settings might not be right for you. Try changing the input language to German and see if that helps. ...Show All

  • Software Development for Windows Vista exception of type 'System.Workflow.Activities.EventDeliveryFailedException' occurred in System.Workflow.Activities.dll

    My console app threw an exception as follow "exception of type 'System.Workflow.Activities.EventDeliveryFailedException' occurred in System.Workflow.Activities.dll.Additional information: Event "BugCreated" on interface type "StateMachineApp.IBugService" for instance id "5b21d3a2-1e4b-43ff-a53f-18c4a02f424a" cannot be delivered." IBugService is an interface used to exchange data between my app and the StateMachine. Here are my code: [ExternalDataExchange] public interface IBugService { event EventHandler<BugEventArgs> BugCreated; event EventHandler<BugEventArgs> BugResolved ...Show All

  • Visual Studio Team System Team Build and Test Config Deployment Item Issue

    When we add a deployment folder to a test config the items will deploy without any issue locally. However, when we use the same test run config in a team build the build fails to deploy the items correctly and the build fails to run the tests. To reproduce this create a solution with a test project and a DB project. Add some files to the Create Scripts folder in the DB project. Add a unit test to the test project that passes. Under Solution Items right click on the test run config and choose properties. Add the Create Scripts folder from the DB project to the deployment items (Note: add the folder not the individual items). Run t ...Show All

  • Visual C# Visual C# Look and Feel nice in XP, ordinary in 2000, why?

    Hi, I downloaded and am running Visual C# Express on my Windows 2000 machine. At first, I was slightly taken aback by the clumsy, clunky look of some of the dialogs in the IDE itself. That is, some of the buttons were strangely large and the size of some dialogs just didn't come anywhere near the professional, smart look of say, Office 2000. For example the "Edit Rows and Columns..." dialog if you right-click on a TableLayout panel. I'm not being picky here, I'll send a screenshot when I get home - it looks quite unproportioned and particularly ugly ;-) I have 1152x864 resolution. I was guessing that it was something to do with the ...Show All

©2008 Software Development Network