wencey's Q&A profile
.NET Development Securing Web Services
Hi.. I am looking to secure my web services, and trying to analyse the best possible ways, that can do it quickly and with the least hastle. I've went through WSE 2.0 beta 3, but that will require some major changes in my architecture, specially i have some client aplications made in VC++ 6.0, so i believe any encryption etc using WSE may put C++ guys in trrouble. I think if i simply host my Webservice under SSL, will that resolve all the security issues. all C++ clients would be require to do is to replace http with https i believe. Secondly how secure it (SSL) will be as compare to security mechanisms in WSE 2.0. Thanks... Hi, You can use this ... http://www.gotdotnet.com/codegal ...Show All
Visual Studio Team System MSBuild Project type vs TFS Project type
I'm working on some code where I need to edit the TFSBuild.proj file, what is the best way to do this Right now I'm XmlSerializing the Microsoft.TeamFoundation.Build.Common.Project and manually doing some XmlDocument reading after the serialization (it's unable to successfully serialize all the information). Then I discovered the Microsoft.Build.BuildEngine.Project which seems to have better methods for Load and Save of project files. After some testing, I've been unable to edit specific properties in file using the MSBuild Project. Here is the code I'm using: Engine engine = new Engine ( Environment .CurrentDirectory); Project project = new Project (engine); project.Load( @"C:\Source\MyProject\TeamBuil ...Show All
Visual Studio Team System CTP5 - Schema Import Problem #2
I am testing CTP5 against a database with approximately 50 tables. About 5 of these tables have a schema prefaced in their name. For example, I have table names like: ClientBilling.TransactionMaster ClientBilling.TransactionDetail None of these 5 tables were imported into my project when I did an Import Schema. The 45 or so tables that do not have a schema prefaced in their name (they are dbo) imported successfully. Is this a known limitation with CTP5 or is there something else I need to do Amos. Hi Amos Is there something unique in those tables that were not imported. We are able to handle schemas so I am wondering if this is a different issue with the tables themselves mair ...Show All
Software Development for Windows Vista Outlook 2003 or 2007 RPC/Http using Vista
I use 1and1.com and a hosted exchagne account. My old machine (XP/Outlook 2003) could connect to the Exchange server using RPC/HTTP and a hotfix from MS. Now that I have upgraded to Vista, I am not able to get to the Exchange server. is there a simlar hotfix that will allow the HTTP tunnel or is there some config in Vista that will let me achieve this using Outlook 2003 Bonus, I have a copy of Outlook 2007 which I would like to upgrade to as well, but 1and1 does not yet support this, at least not in tech support. In thinking this through, this is actually a windows issus vs. outlook (I think) so if i can get vista working, then theoretically Outlook 2007 shoudl work as well. Thansk t.a. What address did they tell you to ...Show All
Visual C++ Check if index exists on table( MySql and vc++)
Hi, In my application I need to write c++ code to check if an index already exists on a specific column of a table in Mysql database. If it doesn't exist I need to create a new one. I intend to add this code in the Oninit dialog method in my application. Could someone please guide me on how to write it I dont know of any pre existing function that would do that.... Hello Re: Check if index exists on table( MySql and vc++) Such questions are outside the scope of this forum - for the scope of the VC Language forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1 For such questions on database/SQL programming please use an appropria ...Show All
SQL Server Different Result Same Sql Queries
I wrote 2 sql queries in two different ways. The only difference in both queries are One using '=' and other one using 'in'. All the other data is same.In my sense '=' and 'in' same Both queries should give same result. But one query giving different result and other query giving different result. Is this 2 queries different SELECT sum(SALES_ITEM.NET_PRICE) FROM PRODUCT_GROUP_LINK, PRODUCT, SALES_ITEM WHERE (PRODUCT_GROUP_LINK.PRODUCT_CODE=PRODUCT.PRODUCT_CODE) AND (PRODUCT_GROUP_LINK.PRODUCT_CODE=SALES_ITEM.ORIG_PRODUCT) AND PRODUCT.STYLE_CODE='MC001 ' AND (SALES_ITEM.PRICE_LIST='1FAC ' OR SALES_ITEM.PRICE_LIST='1FAW ' ) AND CLASS_CODE='TYPE ' group by STYLE_CODE SELECT sum(sales_item.net_price) from PRODUCT ...Show All
Visual Studio VS 2005 SP1 Beta doesn`t want to install
I`m not commenting the decision to use windows installer patching system right now (long story short: 1GB of memory wasn`t enough), but after an hour or so the installer doing who knows what atm just died with a very informative message: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. The number was different the first time I think, when I ran out of free space. And as I click OK it just keeps poping again and again. Oh, wait... it`s stopped after 40- or 50-something clicks. Now, after some time, we have this: Error 1935.An error occurred during the installation of assembly 'CppCodeProvider,Version="8.0.0.0",PublicKeyToken="b03f5f7f11 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Flash Movie in fullscreen Direct3D game
n VS2005, i need to embed a SWF flash movie in a fullscreen Direct3D 9.0 based game. I have successfully added my swf(which was painful) and played the movie without problem. But, when I tried to switch the display from SWF flash move to Direct3D device. It failed! The followings illustrate the general flow of my problem: 1. load and display the SWF 2. user press space to start game (SWF get focused and read space bar), set SWF invisible by AxShockWaveFlash1.visible = false 3. start game, render Direct3D 4. game ended, stop rendering Direct3D 5. show the SWF movie again, set SWF visible by AxShockWaveFlash1.visible = true, focus SWF Problem raised from Step 4 to Step 5. This problem do not exist when I am not using the ful ...Show All
SQL Server Setting width of parameter text box?
Is there a way to set the width of the parameter text boxes in the Report Server UI As luck would have it, I need it to be just a few characters wider. Thank you, Dick Campbell Mike, I too am looking to edit the display of the report parameter window itself. I noticed that on a post back some of the fonts become too large and I would like to configure the format in which the date shows up when I select a date parameter. Is there any way i can achieve these things ...Show All
Visual C++ breakpoints and watches in un/managed c++/cli mixed code
I'm adding managed c++ (c++/cli) code to a mostly unmanaged project and I'm finding that I cannot put any breakpoints in the managed portions and that watches don't return any useful information. Is this a feature, or is there a workround TIA Nope, has no effect. It doesn't seem to matter whether I set the debugger type to mixed, managed only, native only or auto; it only and always breaks in native code. The project has no clr support, while the managed cpp module has /clr set. By the same token I only get intellisense in native code, it's like the olden days of coding with a separate text editor and compiling at the command line, but not in a good way. ...Show All
Visual Studio Express Editions Application has encountered a problem and needs to close
Hello, I'm trying to get familiar with Visual Studio 2005 Express Edition and create simple applications. Everything is OK, if I run them on the same machine where VS2005 is. When I try to run them on different computers I encounter following problem: - if application is compiled in "debug" mode, message appears: "application is not well configured, try to reinstall program" - if application is compiled in "release" mode - "myapp.exe has encountered a problem and need to close" I'm using Platform SDK and want to create simple form application, using following tutorials: http://www.codeproject.com/managedcpp/hellocli_part2.asp and http://www.codeproject.com/managedcpp/hellocli_part1.asp . Even if I do "pure .NET" applic ...Show All
.NET Development Virtual Path Problem?
Pretty much what I'm trying to accomplish is a data backup utility. First I have a treeview on the left, pretty much like Folder Explorer, that lists the drives and so forth. You then can dive down into different directories from there. The files and directories are then put into a listview on the right, after you select one of the nodes. This is where the problems start occuring. I'm including a piece of code here, just as an example to give you a visual understanding of what I'm about to ask. First make your basic windows form app. Add System.IO namespace Add a button Add listview control In your button1_Click event add the following DirectoryInfo tempDir = new DirectoryInfo ( "C:\\WINDOWS\\Downloaded Pr ...Show All
Windows Forms Update an application
I've created my msi with Visual Studio and installed the program on my computer. The version of my program is 3.2.0. Now i've developped some new functionality and my version program is 3.2.1. I made a new msi for this version but i want to now how to do an update if the old version is installed on the computer. Because if I click on my new msi He told me i've to uninstall before the 3.2.0. My question is how can i detect if the the program is already installed and which version is it to do an update or not Hope you can help me. Thanks for your further response. Anton I only use ORCA to customize my msi and Setup&Deployment project of VS 2003 ...Show All
Software Development for Windows Vista Test Case 2 and OpenFileDialog control
Last step of the Test Case 2 is : 10. Attempt to open the file created in step 3 above a. The file can not be opened and the logged on user must be prompted indicating so. My application uses the OpenFileDialog control of the .NET Framework. When browsing to c:\users\logouser1 using the logouser2 account, the UAC consent dialog box is displayed. If I give credentials of an admin user, I am able to open the file in my application. But when trying to modify the file and saving it, my application displays a messagebox saying "access to the path ... is denied". I think this behavior should be OK, but the test case states my application should not be able to open the file in read only mode. And in the "Verification" ...Show All
SQL Server AS2K5. Linked Measure Group. Why schould I include all measures?
If I Link a measure group I can don't include all measures. The Visual Studo notify no error either during editing or during deploiment. But during processing I get fully unqulified error message such as following Errors in the OLAP storage engine: The metadata for the statically linked measure group, with the name of 'Verkauf', cannot be verified against the source object. What a behaviour Is this by design Hi Edward. The feedback site is a mess. There is not filtering by category (SSAS). I schoul use full text search. ...Show All
