Miguel de Melo's Q&A profile
Visual C++ Beta 2 error, Project : error PRJ0003 : Error spawning 'cmd.exe'.
Hi, I've just installed the new visual c++ beta 2, and I get this weird error when compiling a project. ------ Build started: Project: FindWeights, Configuration: Debug Win32 ------ Embedding manifest... Project : error PRJ0003 : Error spawning 'cmd.exe'. Build log was saved at " file://c:\My\Active\FindWeights\Debug\BuildLog.htm " FindWeights - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Any idea what I can do to fix this Thanks Hai I got same error with cmd.exe when i said manifest=no and debugged then no error ========== Build: 0 succeeded, ...Show All
SQL Server FlatFile connection and security
My DTS package, deployed and run from the file system, works just fine for me, but fails when someone else runs it. The only explicit error from the dtexec command is: Error: 2005-06-24 12:35:03.33 Code: 0xC0016016 Source: Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available. End Error This error just started when we tried to point to a file on a network server instead o ...Show All
Visual Studio Team System Source control "get" troubles
I'm having a few problems with the Team Foundation Source Control. 1. When someone else has checked in various new files and I do a "get", very often I will still end up without a copy of some of the newly added files. Some will be copied correctly, but others will be missing. The missing files are shown greyed out in Source Control Explorer. If I try to get these particular files through Source Control Explorer, it shows a message saying all files are up to date. 2. In an attempt to get these missing files, I now try to do a "get" on the folder containing them. However, instead of copying the missing files, it n ...Show All
.NET Development Wish list for DataSets
Hi, Here's my wish list for DataSets: Allow typed dataset to inherit from my own intermediate classes (Inherits XYZDataSet not Inherits DataSet and XYXDataRow, XYXDataTable etc.) Allow auto regeneration of a datasets (or maybe even multiple datasets) e.g. to auto add new columns that have since been added to the database table or to fix datatype of columns with latest datatypes from database table. Add event/overridable sub for Validate row Add event/overridable sub to Default values for new rows Something Better than RowError text (Prefer collection of validation errors to text field or something that is an object that ...Show All
Software Development for Windows Vista Is there any in-built support for distributed workflows/systems?
Recently I had to develop an application that controlled a few other applications. To get this done using workflows I had to write a lot of code using .NET remoting to get the events/methods working the way I wanted. I want to know if WWF has any specific features that assist managing a distributed setup. I wanted to know which approach would be best in a case where 1. There are multiple slave hosts each running different workflows. There is a master host that needs to control and interact with them. Is there some nice way of doing this 2. If I have multiple workflows running on a single host and each of these workflows control a ...Show All
Visual Basic How can i handle . as , ? I have numbers with . but my regional settings are set to ,
hello, on my data, numbers got "." as a separation instead of "," however my regional settings (FR) are set to "," that means i have to change back to (US) so i don't get any error like : InvalidCastException Conversion from string "126.155731" to type 'Decimal' is not valid. thank you ! If ww IsNot DBNull.Value Then Dim ConvertedValue = CType (ww, Decimal ) ReturnedValue = Math.Round(ConvertedValue, 0) row.Item( "BPM" ) = ReturnedValue End If Try looking into the System.Globalization namespace. Classes such as CultureInfo and NumberFormatInfo sho ...Show All
SQL Server SSMS scripting Stored Procedures to separate files
I have noticed that in (SQL Server Management Studio) SSMS the ability to individually script stored procedures appears to have been removed (it was there in Enterprise Manager (SQL Server 2000) and I found a comment in another thread which appears to confirm this: Steven Twitchell wrote: >We've had several requests from various sources for functionality to script objects to their own files rather than one large file. I have been scripting stored procedures to individual files and then using sourcesafe to compare databases to ensure syncronisation with a client. I can do this on one file but it does not give the same granularity ...Show All
Windows Forms Hot Key function for whole program
Hi all Are there any good examples for a hot key class. I would like to implement hot key functionallity for the whole application I am creating standard text when user presses ALT or CTRL + F-key. Any links / urls you know of Lars E Hi There are 2 ways that i've discovered, the easy way and the hard way! The easy way is using the Win32 API ... [DllImport("kernel32.dll")]public static extern IntPtr GlobalAddAtom(string lpString); // ATOM [DllImport("kernel32.dll")]public static extern IntPtr GlobalDeleteAtom(IntPtr nAtom); // ATOM [DllImport("user32.dll")]public static exter ...Show All
Visual Studio Express Editions RSS Screensaver Starter Kit
This thread is the place to ask questions and provide feedback for the RSS Screensaver Starter Kit. BigJoe wrote: How does the RSS Screensaver Starter Kit generate the *.scr file I cannot find any settings or custom steps for this file. Other than the instructions below on how to compile and install the application, I do not or have not seen adaquate instructions on how to build the exe as a .scr file. Installing the Screen Saver on Your Computer The following steps describe how to install the screen saver application on your computer. To install the screen sa ...Show All
SQL Server Error: SQL Server does not exist or access denied. (Error code 17).
Hello everyone. I am trying to install Project Server, and i'm having issues with sharepoint, and connecting to SQL: dataserver is running sbs2003 sql2003 and analsys services. server2 is running server2003 is to be the application server for project. ProjectDb is the database that i have setup in sql. username is the account that can control everything as administrer. in Sharepoint is asks for the database server: <<dataserver>> SQL Server database name: <<ProjectDb>> I'm using windoes authentication and then i click ok, and get the error message. I've also see the error message can n ...Show All
Visual Basic Help!!! Send Email with Authentication
Hi. I need help!!! I'm trying to send a email with smpt basic authentication (username and password) with Visual Basic 2005... but...!i can't! Can anyone please help me I need to use ICredentialsByHost Thanks a lot and sorry if my english is not very good! Maybe this will help someone. I had the same problem with Kerio mail server and this fixed it. It was the UseDefaultCredentials property that fixed it for me. mySMTP.UseDefaultCredentials = False mySMTP.Credentials = New Net.NetworkCredential( "username" , "password" ) ...Show All
SQL Server Value "+00000000000000" considered as NULL values in the last column
Hello I use a Flat File Connection Manager for a file with 18 columns. My column delimiter is the "~" caracter and my row delimiter is "{CR}{LF}" The source files contains about 2300 lines. None of them contain NULL values. My last row is a numeric(16,2). Even if it is not the appropriate type for the value I want extract, it works with all my columns. My problem is with the last column. I have read the SQL Server 2005 interpretation of the row delimiter as actually the last row column delimiter. But, here, my values are OK and put in the destination table if it is not 0 : "+0000000001352" ...Show All
.NET Development Internals of remote object creation
Hi all, When you have a code segment like the following: ChannelServices.RegisterChannel(new TcpClientChannel()); RemotingConfiguration.RegisterWellKnownClientType(typeof(TransactionMaintenance), "tcp://localhost:1235/TransactionMaintenance"); this.transactionMaintenance = new TransactionMaintenance(); I wasn't able to find a link between the type registration and the object instantiation. If you inspect the IL for this code the object instantiation is done with a newobj opcode just as would have been done for a local object. How does the CLR know that it should instantiate a remote class instead of a local one Thanks in advance. Alfred Gar ...Show All
Windows Forms Move published application to another IIS server
I have published my application to a Web(IIS) Server, and ClickOnce is working fine for client side deployments but I would like to distribute this published application to a couple of other Web Server. Is it possible to do it without publishing the application again to these Web servers. ...Show All
SQL Server Help with Web Sync sql 2005 to sql express
Hello, OK I finally got the subscriber connected to the IIS server for replication. I am now getting errors when trying to apply the snap shot. Below is the error Did I setup the publication incorrectly by selecting replication with another sql 2005 Am I supposed to select something different when trying to replicate between slq 2005 and sql express Source: Merge Replication Provider Number: -2147201001 Message: The schema script 'activities_2.sch' could not be propagated to the subscriber. 2005-08-24 20:52:35.920 Percent Complete: 0 2005-08-24 20:52:35.920 Category:NULL Source: Microsoft SQL Native Client Num ...Show All
