dparvin's Q&A profile
Windows Forms Executing an external file from C#
Hello everyone again! Thanks for the help on the last problem I was running into! This time around, I am trying to execute a file from my code based on its filetype. What I have done is: 1) Given a path, I have loaded the information into ...Show All
Visual C++ AES Implementation C++ --please help
Hi All, I need to encrypt images using the Rijndael 128 Bit encryption method. For that I have to make two dll files, one does the encryption and one does the decryption.I have taken the example code is given in the following URL http://www.codeproject.com/cpp/aes.asp. I separated it into two projects, one for encryption and other for dcryption. But it doesn't seem to work. here are the code snippets: Encryption Code ...Show All
SQL Server Parameterized Query Using Wildcards in VS2005
Hey everyone, I have a smart device project in Visual Studio 2005 that has a SQL Mobile data source. I am trying to create a parameterized query that utilizes 'LIKE' and wildcards. My query is below: SELECT LocationID, StreetNum, StreetName, rowguid FROM tblLocations WHERE (StreetNum = @StreetNum) AND (StreetName LIKE '%' + @StreetName + '%') However, when I test this on my PDA, I get the following error: SQL Execution Error. Exec ...Show All
Visual Basic Help with xml comments
Hello everyone. I need help with exporting XML comments in my VB.NET 2005 applications. I try to use NDoc but its not supported in VS.NET 2005, so i need to know how can i export to a file my XML Comments. Thanks If your using a version of VB.net which has the IDE feature enabled - such as VSTS, then in the my project -> compile tab there is an option generate XML documentation File. and in you bin fol ...Show All
SQL Server WebService SQL Server 2005 SSIS DTS call issue.
Hi all, I have a very strange problem which involves web services and SQL Server 2005 SSIS DTS and I wouldn't know which thread catagory to post to. So I've decided to post in the Web Services category. This problem involves web services credentials and calling of a DTS package through a WebMethod. =========================================================== Server Setup: =========================================================== :- ...Show All
Smart Device Development WM5 deployment error
Hi. Just recieved this morning the first WM5 device that exists in the UK I believe. I love it! (trying to make the wifi work is tough...but anyway) I have VS.NET 2005 I have also installed the WM5 smartphone SDK. Problem I am having is this: When I create a New smart device project for WM5, I get a huge form on the screen, rather than the expected small compact form. Is this correct The form looks like the Pocket PC project. Other issue I have ...Show All
Visual C# How do I change the default language in Visual Studio 2005?
How do I change default language in Visual Studio 2005 When Visual Studio starts it display information about C++, but I would like to change this to C# I did it and it worked good...but when i'm selecting the settings, there's some with a Warning icon with the message "Some categories may contain settings that could compromise the environment or your computer and data" when i ...Show All
.NET Development Very slow debugging
I have the 2.0 framework on one computer and haven't tested it anywhere else, but I'm experiencing very slow debugging. I have a Windows Form app with about 60 classes/forms. Sometimes after making a few character change in code it takes 30 seconds before I can continue in the editor. Opening a form with a lot of controls on it can take almost a minute. The hard-drive runs almost continuously during these "wait" times. The computer is ...Show All
SQL Server Having a drilldown report "go back" to original report
Hi, I have a main/summary report which returns a list of records. Each record on this main report contains a link to a detailed report for more information on that particular record. That all works just fine. But on my detailed report, I want to provide a button to allow the user to easily "go back" to the original report. I noticed that at the top of my detailed report is a toolbar, with icons to print, search, etc., so this s ...Show All
Software Development for Windows Vista Using infocard without installing certificates on the client?
According to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=311594&SiteID=1 it should be possible to use InfoCard without installing the service certificate on the client, but if I change the wsFederation InfoCard sample by removing the identity tag from the client endpoint configuration I get the error "The incoming policy could not be validated." (Without this change, the sample works correctly). I want to do this becau ...Show All
Visual Studio How to create a custom keyboard mapping .vsk file using Beta 2? (Jim?)
Followed Jim's earlier suggestion where he answered a similar question of mine and outlined the new procedure: http://blogs.msdn.com/jim_glass/archive/2005/02/18/376113.aspx His post was for Beta 1 and it appears .vssettings format has changed a bit. Fare enough. I pick default mapping scheme, change few keyboard assignments and export it into a .vssettings file. I change <ShortcutsScheme> tag's value to "Test". I then ...Show All
Visual Basic Dynamic file manipulation
I have a problem I need to try to solve. Here is the sequence of events I need to accomplish. 1. Pull in listing of every file name in a selected directory 2. They are .zip files so I need to then iterate through each file filtered by the first two letters in the filename, unzip it and retrieve the text file that is in the archive. 3. I have to then open the file and import the data into an SQL table then close the file, the zip file ...Show All
Visual Basic How to show a filename without showing filepath
I want to display a filename without displaying the path that it is on. Example: Instead of: C:\Program Files\somefile.txt Show: somefile.txt System.IO.Path has a few handy methods for retriving bits of paths. Dim filePath As String = "C:\Program Files\somefile.txt" Console.WriteLine(IO.Path.GetFileName(filePath)) ...Show All
Visual Studio Team System ValidationRule - Getting Response Status Line
When implementing the validation rule: public override void Validate( object sender, ValidationEventArgs e) I can get to the WebTestResponse by e.Response. But now, how do I get the Status line, or even just the response code(e.g. 404) Status Code/Description returns just a "OK". How do I get the number Getting the headers does not work either. Trying to get the entire response does not work eit ...Show All
SQL Server Report Viewer Issue in Visual Studio 2005 Beta 2. for Microsoft Reporting Services
Hi I am trying to display Microsoft Reporting Service Reports from windows application. I have application window with Report viewer control. I have assigned valid path and URI from Server report properties in report viewer control. When I try to display the reports Error is " "The attempt to connect to the report server failed. Check your connection information and that the report server is compaitble version. The request failed w ...Show All
