databaas's Q&A profile
Visual Studio Possible to extract VSS database based on a label ?
Hi is it possbile to extract a database based on a label I have this issue/requirement of having the need to extract sourcecode from all over the database that adheres to a certain label, and recreate the entire database structure as found in the database into on my machine. The algorithm i had was to iterate through the entire VSS recurvisely, recreating the entire directory structure and extracting the files based on the labels and then creating them on my local machine. I read though the Microsoft.VisualStudio.SourceSafe.Interop documentation and could not find a suitable way to handle such a requirement i have currently. ...Show All
.NET Development Open a password protected mdb file
I have a small C# 2005 application that works with MS-Access database file, through OleDB connection, and it works OK. When I tried to secure the database with a password, and added “Password=” to the Connection String, the Open command produces the Exception: “Cannot start your application. The workgroup information file is missing or opened exclusively by another user”. Does anybody Know what should I do Yippee!! I just neede this too - delighted to find the right answer so quickly! Cheers, JackStri. ...Show All
Visual Studio Express Editions .Exe Packager
Hi guys, I know that to give anyone a copy of one of your programs, to make it work, you have to have the 1.1143 redistributable framework from microsoft. I was wondering if there was any way or if there are any utilities that package the files, and make regular .exe files that will work on anyone's computer reguardless of whether or not they have the framework on their computer Is there anything like this on the horizon Any input is greatly appreciated! -Robert No - this question is asked frequently and the answer is always the same - applications developed in .NET languages required the .NET Framework to be run. There is no way a ...Show All
SQL Server How to save the SSIS package results to a log file or text file using dtexec command
I'm using the import wizard to create a new table from a flat file source. The table gets created but no data gets copied. What's wrong Here's the report: Operation stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Error) Messages * Error 0xc00470fe: Data Flow Task: The product level is insufficient for component "Source - inSsrc_txt" (1). ...Show All
Visual Studio applying smart indentation rules
Hi, I have been facing a problem regarding the implementation of smart indentation rules in my custom language service. i am not able to find out which interface should i implement and where should i write my rules. Please help me with the process. Thanks in advance.. Jimmy, Have you tried implementing the IVsLanguageLineIndent interface (in textmgr2.idl if you are using native code or Microsoft.VisualStudio.TextManager.Interop.8.0.dll if you are using managed) Take a look at that interface and see if it answers your questions and then let me know if you are still having some problems. Thanks, Dylan ...Show All
SQL Server Can I install sql 2005 march ctp in a machine with sql 2000?
What will happen to my databases Will I be able to uninstall sql 2005 without problems Once a database has been touched by a 2005 server it can not be used on a 200 server, so I think the answer to your question is no. -Euan ...Show All
SQL Server Blank Error Messagebox Displayed at startup
When I start SQL Server Management Studio an error message box with no text is displayed with the Exclamation ICON. Everything seems to be working after clicking OK though. Anyone else experienced this. Also... Why is it that I can't repair the installation from Add and Uninstall Do I have to uninstall it to repair it The SQL 2005 is the Developer Addition with a new install... Does repairing .NET Framework 2.0 fix this problem You can do that by going to Control Panel > Add or Remove Programs and clicking on the Change/Remove button for Microsoft .NET Framework 2.0. When the setup dialog appears ...Show All
SQL Server How to sort that does not include duplicates in display?
Hi everybody, I like to asked anyone who is very good at sql to help me display this data in a table format that duplicate headings, subheadings or other columns won't appear twice or more. Can anyone help me I need to sort them and load them in a Datatable. Loop thorugh all records and display them in a label control created at run time. Thanks in advance. Sample Data: Topics Table TopicId TopicLevel Topic ParentId 1 1 First ...Show All
Windows Forms Timer Question
Hi, In tmrGetTasks_Tick() event code checks - m_AsyncTasksResult.IsCompleted == true - CType(m_AsyncTasksResult.AsyncState, IAsyncResult).IsCompleted What is the significance of send check Why similar check is not done in tmrGetProjectHistory_Tick() Thanks, ...Show All
Smart Device Development RSA Encryption
Has anyone used RSA Encryption/Decryption for cf Thanks, Paula Yes. I'm trying to get it to work using the openCFNet objects and I'm having problems. I've never had any luck getting answers on their forum, so that's why I asked if anyone here had done it. I can encrypt data without any problems, but when I try to decrypt it I get a 'bad data' error. For proof of concept purposes, both keys are hardcoded in the project. Here is my code. I don't know how to format it nicely for the forum, sorry... Thanks! public string EncryptDataString( string strInput) { string xmlString; ...Show All
Visual Studio Team System CustomDictionary.xml
Is there anyway to avoid having CustomDictionary.xml uninstalled when FxCop is uninstalled before installing a new version It would be nice to be able to keep the work I put into collecting various words/acronyms not found in the Office dictionary. Thanks We've discussed this in the past. Right now, we're re-examining the spelling services and I will put this point on the list for consideration. In the meantime, you might want to place the customdictionary.xml in your user settings directory. FxCop will pick it up, and it won't be blasted on an uninstall. After installing a new version, you can copy over the file and hope we hav ...Show All
Visual Studio Express Editions Simple TAPI Dial Help
Anyone have sample code to dial a phone number via TAPI using .net My research indicates that COM interop may be the only way, and that not easily. Ed Hi, I'm having the same trouble. I've found some code on using TAPI in the code project website: http://www.codeproject.com/useritems/CShart_TAPI_3x.asp But I need some help in making a call trough my modem an playing a WAV file. Thanks. ...Show All
Windows Forms WndProc not Respond to Windows Shutdown
I have a application using a override of WndProc to control appz minimization and closing down I know the code is right because i tested it separated in another winform application and it worked but on my application it will stop the machine from shuting down. the application closes, but the log off/restart and shutdown will stop and not proceed unless you try again Is there a way to trace what could be bloking it i tried a try catch block but no exceptions come. i can here a windows noise similar to warning windows, but nothing pops. something is blocking the shuting down the code is this and it does work if i use it in a new wi ...Show All
SQL Server How to read the names of package variables in custom task
Hi there, I found a lot posts about package variables. But nothing about how getting access to the names of the package variables programatically. Why - Well I want to create a list of variable names from which the user can choose one of in a UI of a custom task. That's all... :) I thought of using the variable dispenser in the Initialize method of the task and then storing the variable names into a property which can be read by the UI through the taskhost. But it seems that you have to know all your variables by name if you want to use then in a task. Any idea Fridtjof In your IDtsTaskUI. Initialize m ...Show All
Windows Forms ClickOnce, assembly validation failed.
Ok, I have a very strange problem. I have a class library and I create a windows forms application that uses it. I Publish it as a ClickOnce online only setup. When I try to run it it fails the validation and I get: ERROR DETAILS Following errors were detected during this operation. * [01/06/06 9:47:45 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation) - Reference in the manifest does not match the identity of the downloaded assembly MyLibrary.dll. - Source: System.Deployment However, if I open the manifest file, I can see: <dependency> <dependentAssembly dependencyType="ins ...Show All
