Ralph Depping's Q&A profile
Visual Studio 2008 (Pre-release) Just Signing or Encrypting the message.
Hi Community, Did anyone try just signing the message Or Just encrypting the message Or Did any one try using two seperate keys for signing and encrypting e.g. I can have a seperate key for signing such as "CN=SignKey" and seperate key for encryption such as "CN=EncryptKey". Is it possible in WCF with minimum coding efforts If you have tried can you share your thought Can some one help me pointing to the right direction Thanks in advance. - Pankaj. Avanade Inc. Well, in other words, if you define a message contract on the service side with the right attributes (None, Sign, or SignAndEncrypt), the autogenerated proxy classes will also contain the same attributes. What do you mean with mu ...Show All
Software Development for Windows Vista Things that need to be in Windows Vista
Well it 2007 and we are in the middle of a new windows launch and from the beta testing I have done, I have some Questions about making advanced user task more accessible. Why is there no add folder button on the tool bar in any folder. Why cant you change different file fonts and colors in a folder for diffrent files. Why dose window Media Center Not Play VOB Files. Windows Media Center should be more flexible for the heavy user. Why doesn’t the XBOX 360 Work better with Windows 95% of Windows Users are downloading something or another why aren’t we on the band wagon with a bit-torrent built into window I would love to help in the Vista SP2 Project. I have lots of ideas for Vista SP2 ...Show All
Visual Studio Express Editions send video to two diff display
hey, i am working on a project to send video to two different displays.. i have hooked up a Video card which supports 3 monitors at a time. Now i wanted to know whether is it possible to output a particular video to any of the threee monitors using VB. Thanks you will have to look at displaying your video using : Public Class Screen Inherits System . Object Member of: System . Windows . Forms Summary: Represents a display device or multiple display devices on a single system. ...Show All
SQL Server full uninstall of MSSQL 2005 Ent SP1
Hi, I am facing a serious problem with the unproper uninstall. I have installed MSSQL 2005 Enterprise and created an Active Directory at the server. I have removed the AD and wanted to uninstall SQL 2005. I was not able to uninstall it fully. I have reinstalled it several times, just to tryying to remove the registry entries. Is there a solution / tool or a document describing, how I can fully manually remove MS SQL 2005 from a server I have already installed SP1. Dejan Hi Hemantgiri, thank you for your reply. Is the uninstall the same for the SQL 2005 64-bit Dev Edition Thanks! Dejan ...Show All
SQL Server OUTPUT on table with a Trigger
First some background info. SQL Express Visual Studio 2005 VB.Net Data.SQLClient Namespace Well I was using the OUTPUT option in my program and it was great, i was returning my PrimaryKey from the newly inserted row. (I am using paramaters in my program and running a sqlCommand.ExecuteScalar) --Example Insert "Insert into tblInfo (fldInfo,fldDate) OUTPUT inserted.fldInfoID values (@fldInfo, @fldDate)" Then I found a problem...:( I added trigger to the tblInfo, that after a Insert,Update, Delete it would perform a audit on the table saving the old info that was overritten, type of action taken (insert, update or delete), and who did it. Well my OUTPUT didn't like that says, it can't do a OUTPUT on a table with a trigger. --Err ...Show All
Software Development for Windows Vista Readonly WorkflowView
Hello, I am hosting the workflow designer and when I execute the workflow I want to make the designer read only. Then, when the workflow starts I set the DragDrop property to false and when the workflow completes (WorkflowCompleted) I set the DargDrop to true. But when I set to true I get the following exception: ""DragDrop registration did not succeed." How can I make the designer read-only when I run the workflow Thanks, Pierre Please do the following, 1) include the following using System.Net; using System.Threading; 2) add the [STAThread] Attribute just before ur main function and also remember to inlcude using System.Net; in ur main program, [STAThread] static void Main() 3) The steps are as follow ...Show All
.NET Development I can't get the values from database
In asp.net apllication I face some problem ,That is i am getting some datas from sqlserver database.sometimes I can't get the datas from database.if I recycle the IISApplication pool of domain where I host my application.after that I can get the datas form database.what is the problem there ...... Code for Database connection In Global.asax: Application( "ConnectionPath" ) = "Data Source=gfh.;Initial Catalog=;User ID=hcllive;Password=dsfy;Max Pool Size=100;Min Pool Size=1;Pooling=false;Connect Timeout=120;" if I set the pooling=true in above coding ,again I am getting the same problem. Why is poolin ...Show All
Visual Studio Express Editions Totlay Stuck on Text File Search
I am trying to search a text file for a name. Once I find the name I want to read all of the lines following the searched name and then when the reader finds a line that is blank stop reading. I can get the file read by I am unable to get a search out of this. sample of the file to read name1 1998 0.277 2000 0.282 2004 0.301 2001 0.234 2002 0.272 2003 0.288 1997 0.327 name2 1999 0.200 2001 0.193 2002 0.167 2003 0.282 2004 0.277 name3 2000 0.327 2001 0.256 1995 0.282 1996 0.271 1997 0.275 1998 0.277 1999 0.307 2002 0.286 2003 0.273 2004 0.304 CODE that I have started: ''''' FIND THE Correct Value from field2 to search text box Dim theReader As New StreamReader(filename.txt) While theReader.EndOfS ...Show All
Visual Basic Saving Decimal Values from Text Boxes
I would like to 'save' a decimal value, entered by the user in a text box, to a field in the binary file. So I thought that's easy, just enter an statement like the following: Prod.W_Condition = CDec (Condition.Text.ToString) And that should do the trick. But apparently nothing is straight forward in Visual Basic. When entering a value such as 1234.56 in the text box, I have the value 123456 (without the decimal notation) being saved in W_Condition structure element. I tried a variety of type convertion such as declaring W_Condition as double and then using Cdbl as convertion function or using Parse.Decimal instead of CDec, but the program just seems to ignore the decimal point in the textbox (e.g Condition.Text) and I end u ...Show All
Visual Basic How to see the actual compiler output?
In writing a VS2005 program, the IDE put contains MSIL pseudo code. When the program is started, the JIT compiler creates the actual X86 code to be executed in pieces. If you are interested in looking at the actual product of the JIT compiler say for optimization puposes is there a way to look at this code With the Vs2005 Disassember I just wanted to clear up misstatements made by nobugz. There is no disassebly option in the debug menu. Insertion of a breakpoint in an assembly built in release mode, will generate a display in the callstack window. Selection of the top item on the displayed callstack, and subsquent right clicking will show a context menu and the fifth item down is Disassembly. ...Show All
Software Development for Windows Vista Expense Reporting Instructions & ConsoleTracking Reference
I have been trying to get the July version of the Expense Reporting Example working and I keep receiving an error stating: System.ServiceModel.EndpointNotFoundException was unhandled Message="Could not connect to http://localhost:8081/WFSamples/ExpenseService. TCP error code 10061: No connection could be made because the target machine actively refused it. " I have run the database scripts that were included in the June release and I have the June CTP of the .NET Framework 3.0 installed with the R2 extensions for Visual Studio 2005 installed. I have already updated the database connection string in the application and I have modified the startup properties of the solution to start the three applications (expense, host, and manager), but I ...Show All
Windows Forms deploy activex via msi instead of cab
I have a old ActiveX that we deploy via a .cab file from our website. However, one of our customers needs a MSI so they can do a remote deploy to their workstations. The current .cab file has a .inf file which stores the classid and information about the files to be deployed. I can add those files to my current vs2003 deployment project, but how do I assign those files the classID specified in the .inf file please advise -Smit. If you add the OCX to the setup&deployment project, then in the properties you can just set the property to vsdrfCOM and it will collect the registration entries into the MSI file to add them during the install. Does the inf file name any dependent Dlls that need to be installed A .dep file Choose the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange bug rendering shadow map on Xbox 360
I'm writing a 3D game in XNA at the moment, and had got shadows working on the PC version, when I tried running the same code on the Xbox 360 I found that my shadows we're working properly, I've been pulling my hair out for the past two days trying to figure out exactly what's been going wrong. I've finally found what the problem is, I'm using an R32F render target for the shadow, a format that the xbox claims is working, however the depth values I'm getting back are completely wrong on the Xbox version, they all seem to be almost zero (but not actually zero), if I try to set the depth manually to a fixed value, I always get back a number less than 0.0000576f unless I set the color to 1.0f when I get back 1.0f. If I use a default color sur ...Show All
.NET Development Strange Memory Leak...
When I run my application, its memory usage continues to increase... sometimes at regular intervals, and whenever I move the mouse, or when I resize or move the form about the screen. I've cut down the size of my app and this is still occuring... can anyone see a problem in the way I'm doing this Not really sure how to approach memory leak problems. Still quite new to C#. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing; using System.Text; using System.Timers; using System.Windows.Forms; using Phidgets; using Phidgets.Events; namespace ServiceTestApp { public partial class F ...Show All
Visual Studio need help on FileCodeModel
hi,guys: my boss just assigned me a job, which involved VS add-in development. that's what i'm not familiar with, so i need some help. in a VS add-in project: 1.does FileCodeModel.CodeElements contains comments 2.could i load a source file(not open in IDE) and analyise it with FileCodeModel if so, how to do it 3.could i build the solution with specified configuration, like "Debug" thanks. Felix Ji Unfortunately, the ProjectITem.FileCodeModel returns null for web project items. In order to get the code model for a web project item, it have to be "loaded". This doesn't open it in an editor, it just makes VS load them and build a code model for them. BTW, this is VS ...Show All
