newDev's Q&A profile
Software Development for Windows Vista WWF Beta 2 and RTM Schedule / Availability
This thread is for updates on the Beta 2 (and RTM) schedules ...so that this informaiton is easier to find. Michael Herman Parallelspace Corporation The RTM version of Windows Workflow Foudation is now available for download with .NET Framework 3.0 from here . ...Show All
Visual Studio Express Editions Copying root directories (e.g. USB device)
G'day, I am trying (in vain) to copy a USB device to a network share location. Relevant section of code is below: 'USB Copy Process... Dim strSourcePath As String = "F:\" Dim strDestinationPath As String = strUNCPath & "\" My .Computer.FileSystem.CopyDirectory(strSourcePath, strDestinationPath, False ) I keep getting an error because of the source directory being a root directory as below: IOException was unhandled. "Could not complete operation since directory is a root directory: 'F:\'." Is there another way to do this, I am a very new beginner and haven't as yet been able to find a ...Show All
Visual C++ .
. Rob: in the .NET world there is not a 1-1 mapping between assemblies and namespaces: in fact there is a many-many mapping. An assembly can contain many namespaces and a namespace can be spread over many assemblies. A good model here is the Base Class Library that ships with the CLR. You have mscorlib.dll - this is assembly that contains all the common types: System::Object, System::String, etc. Every other .NET assembly refers to this assembly and references the definitions of one or more these types. The BCL also comes with other assemblies like System.Data.dll (which contains classes specifically for hand ...Show All
Windows Forms How to change the keys in the config file
Hi, We are using the ClickOnce technology in Visual Studio 2005 to deploy the C# Windows applications. Here we are getting the problem in the clint site when we need to change the configuration settings. The files in the server deploy with the extention .deploy, when we open the app.exe.cong.deploy file with the notepad and change the keys and save, it is loosing some of the keys. When we try to connect to server and install the application we are getting the error. The error is file app.exe.config, has a different computed hash than specified in manifest. Please suggest me how to change the config.deploy file Regards S ...Show All
SQL Server Securing the MS SQL Server 2005 database on client side
Hello! I developed database driven .NET application and I need to deploy it. I faced a problem, which is "how to protect my database against direct access". I use MS SQL Server 2005 Express Edition as a DBMS and appropriate database. I want to make possible to manipulate with data in my database only through my client application. 1. How do I define SA password and instance name in silent mode of MS SQL 2005 EE installation with Mixed type of Authentication 1.1. Can I change SA password after the installation 2. If my database be attached to my new instance... Is it possible to copy my database, attach it to another in ...Show All
Windows Forms Databindings on a UserControl
Hello, Hoping someone can assist me with this. I have an custom windows user control which is composed of several TextBoxes and a few Buttons. I have several properties on this usercontrol such a background colour and style which sets the respective property for each of the .Net controls which make up the Windows UserControl. I am now trying to set up the&n ...Show All
Visual Studio Team System Sharing issue in VSTS Source control
Hello guys, I'm trying to migrate our VSS database to VSTS Source Control and I don't really understend how can I make "sharing" happen at VSTS For example we have next VSS source tree: $root |-DummyProject |-Includes |-ProjectA |-ProjectB Both of them have shared files from <Include>. My question is: What is an alternative for us in VSTS in terms of do not re-organize our current code Thanks a lot guys. Unfortunately it is not project issue. What I actualy need is to get common code from two different folders of TFS SCC. For example: I have the next structure: $ root -- ...Show All
Smart Device Development Trying to connect to SQL Server from
I'm trying to connect to SQL server from my pocket pc on my home network. I generated the connection string and bound controls from VS 2005 so the connection string being used was generated at design time. The program fails when trying to initially fill the tables The same connection string works on a windows application. Is there a difference in the connection string or Hi, It's kind of difficult to answer without knowing more. What is the exception that is thrown and what is the message inside it Also, are you sure the server is accessible from the PocketPC Does the device have network connec ...Show All
Visual C# Conversion from VS2003 to VS2005
Hey guys, I have just received the VS2005 Beta 2 disk collection. Since I didn't have Server 2003, I just installed the .NET IDE and also the Server 2005 Developer. I am trying to migrate several small solutions from my vs2003 enviornment. The VS2005 application recognizes this and starts the conversion wizard. In its' statement it ask that I make sure that the correct 'Source Control plug in' is active What is the name of this source control plug-in and where would I check to verify it's existance Thanks in advance . . .Tom J. This has to do with your old projects being under source control, I would think. I ...Show All
Visual Studio Team System File is Exclusilvely Checked out by another user -----HELP
Hi, How do I find out who is this user. All the users I know have nothing in their Pending Checking windows. It looks like the entire project has been checked out by this "Someone" thanks There are a couple way to do this; first inside of VS: View the Source Control Explorer (View | Other Windows | Version Control Explorer); then you should be able to browse to the location in the repository you are interested in. This should list the user with a pending change of lock. If there are multiple pending changes then you could do the propery of that item. Or, you can use the command line: 1. In ...Show All
SQL Server Can't connect to Report Server via Management Studio
Hi, I have a local installation of SQL Server 2005 (Developer Edition) on XP Professional SP2, with Reporting Services, Integration Services, and Analysis Server installed. I can connect to Integration Services and Analysis Server via the SQL Server Management Studio, but not to the Report Server. I can access and use the Report Server installation via http://localhost/Reports and http://localhost/ReportServer , and everything checks out on the Reporting Services Configuration tool, so the server appears to be working fine. I've uninstalled/re-formatted/reinstalled the services (with all default options, and services running a ...Show All
Visual C++ Addition Operator Overloading Problem
Hi folks, I'm writing a Windows Forms app in Managed C++ for MS Visual C++ 2003. I wanted to overload the Addition operator for the System::String class so that I could Concat Strings with '+'. However, when I added the following code: static String* op_Addition(String* strStringA, String* strStringB) { String* strResult; strResult = String::Concat(strStringA, strStringB); return strResult; } ....... Form1(void) { InitializeComponent(); String* strString1 = "This is "; String* strString2 = "a test."; Debug::WriteLine(strString1 + strString2); } The compiler outputs, "c:\Documents and Set ...Show All
SQL Server Creating a double entry book keeping system
Can anyone please tell me how to create a basic double entry book keeping system database using SQL Server or Access. I need to know what tables amd fields I need to create, and what relationships need to be defined. I just need to know the db structure here. Also how should I go about designing the forms ( I use visual Basic 2005 Express and SQL Server 2005 Express, and Access 2002 ), the front end user interface for creating journal entries, how should I display the ledgers, and how do I calculate the totals for the ledgers, because we also need to take into consideration the opening and closing balances as well. I tried a lot using Acc ...Show All
.NET Development System.IO.Ports.SerialPort performance problem
Hi, I am using new .Net class SerialPort for read/write data from COM port. I am experiencing performance problem. I wrote the test program. All what it does, is read data from COM port and write it to file on local disk. I am using OnDataReceived event to read ready data. The data in COM arrive with spped of 100MSec, 60 byte each interval. My CPU usage on 40% !!! What's going on I have tried not to register for data receive event and it almost the same hight CPU usage after I am opening the port. Any ideas why the CPU usage is so hight. Here is the code. using System; using System.Collections.Generic; using System.Text; ...Show All
Visual C++ DirList ActiveX usage problem on localized VS .NET
Hi, As I know, VS uses DirList ActiveX component for showing some properies (see VC++ Linker's "Additional Directories" for example). In our integration we used the same approach. We crteated a dialog with DirList ActiveX on it. Here is the fragment from rc-file (part of DIALOGEX section ): CONTROL "",IDC_SLE_PATHLIST, "{442502BA-D873-4a37-9F19-3E38C42A3DDB}",NOT WS_VISIBLE | WS_TABSTOP,6,68,190,59 Guid belongs to DirList ActiveX. All works fine on English OS and VS .NET (we used VS .NET 2003). The problem occured on localized versions of VS (we checked German, Japanese and Chinese versions). Th ...Show All
