Aleniko29139's Q&A profile
SQL Server sql express installation error
Hi, I have tried to install sql express several times and each time it fails to start the sql service during the install process. I am copying part of the three log files below. File Name :C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0008_REHMANK-PC_Core.log Running: ActivateLoggingAction at: 2006/11/11 13:33:57 Complete: ActivateLoggingAction at: 2006/11/11 13:33:57, returned true Running: DetectPatchedBootstrapAction at: 2006/11/11 13:33:57 Complete: DetectPatchedBootstrapAction at: 2006/11/11 13:33:57, returned true Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions: Condition "EventCondition: __STP_LaunchPatchedBootstrap__2836" returned false. Running: Per ...Show All
Visual Studio 2008 (Pre-release) Data Binding involving UI specific transformations
If my database returns data which I fetch into an object - after which I need to apply certain formats before I bind each property of that object to corresponding fields on the UI, or for that matter change radio button/checkbox values, what is a good pattern for this - should I build a wrapper "UI" object around the data object which records all the transformed values and binds two-way with the UI and then reverse-apply the changes to the base data object to dispatch for Save) or is there a better pattern. Appreciate someone's advice on this. Hi, If you need to convert value while binding, you can use 2 properties definied on Binding : Convert which is of type IValueConverter Co ...Show All
SQL Server Dialogue security Vs Transport Security
Hi I'm designing a distributed application where I will have SQL Server 2005 distributed databases replicating data to my central hub which is again a SQL Server 2005 database using SQL Service Broker. Data will be sent from the central hub to the distributed sites and vice versa. I need to authenticate the communication and also secure the communication by encrypting the messages. Which security shall I use Where do I configure the type of security being used What is the difference between transport security Vs dialogue security - Full security model Thanks Pl. chk the post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=608211&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anoying shadows
Hi, i wanne use shadows as a very basic thing in my game for hundrets of objects, so i searched for a way to do this as a shader. I thought this would be the best way. So well, in the NVidia or AT I SDK are alot of samples but first of all they are not really simple and they have a lot of compability issues. I tested both on Geforce 7 and a mobility radeon 9700 but couldn't figure out a working solution for both worlds. Can someone help me with this Does someone know a good tutorial/url/whatever for real shadows as shaders I already searched a lot but XNA and HLSL stuff isn't that well known yet I think. CU Thunder2002 Yes i did, but is this shadow mapping stuff the best solution in qualit ...Show All
Audio and Video Development How does MFT deliver Video Extended info to EVR?
Currently we are developping video decoder MFTs. How can MFT notify video extended info ( color conversion matrix, etc.) to EVR What attributes of sample or mediatype will be used by video processing in EVR mixer Does default mixer use video transfer matrix for video processing It seems there are two ways for getting video extended information from media type. 1. IMFVideoMediaType::GetVideoFormat can get the video format that include color matrix info.( but can't set information ) 2. IMFAttribute::GetUINT32( MF_MT_YUV_MATRIX, &Values) can get MFVideoTransferMatrix enumeration. According SDK's documents this attribute is for IMFMediaType. However, there is no way to attach extend info to IMFSample ( but ...Show All
Visual Basic unique constraints
how can i set empid,logdate and loantype=1 as unique let say empid logdate loanid 1000 1/1/01 1 1000 1/1/01 &nb ...Show All
Visual Studio 2008 (Pre-release) How to override "hardcoded" content of button with style setter
Hello, I have XAML, for example <Page.Resources> <Style x:Key="ButtonStyle"> <Setter Property="Control.Background" Value="BlueViolet" /> <Setter Property="Control.Foreground" Value="White" /> <Setter Property="Control.FontSize" Value="20" /> <Setter Property="Control.Width" Value="50" /> <Setter Property="Control.Height" Value="30" /> </Style> </Page.Resources> <Button x:Name="GoButtonWithStyle" Content="Go" Style="{StaticResource ButtonStyle}"> </Button> I would like to have Content attribute defined in style. Is t ...Show All
Visual Basic How to receive the best support for your question
Asking a good technical question is a skill and an art and it’s a valuable skill to acquire. Your question and the information you supply will hopefully help you receive a rapid response and what is often unseen is that it can help others. There are things you can do that will maximize the help you will receive and maximize the value to others. Often, when you have to ask a question, you’re frustrated and things aren’t working as you think they should work. We’ve all been there. So it’s time to take a deep breath, step back and formulate a description of your problem that people will understand. One of the most important things you can do is to formulate a clear descriptive title of ...Show All
Visual Basic Keyboard sendkeys
Hello, In a windows Form I have two buttons : One to navigate on the Web The other one to send to the active page ( in my example : "google"), a string (in my example : "test".) I do not see on the Google welcome page the "test" indication arriving !. What is wrong Thanks for your help ! Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click mybrowser.Navigate( "www.google.fr" ) End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click My .Computer.Keyboard.SendKeys( "test" , Tru ...Show All
Visual Studio Team System Whether to start using Database Professional now or wait until production release?
Ok, I used Database Professional at TechEd and can't wait to start using it at work. However, I'm concerned about using a CTP version since it's not even beta yet. Here's my situtation... We drastically need version control of our database because it is shear chaos right now. I have no choice but to implement a solution next week. I'm planning on scripting out the entire SQL 2000 database into scripts and put in Team Foundation Server. Then, I was going to purchase Sww SQL Deploy that can automatically run all scripts in a directory to automate our deployment to dev and qa databases. I've used a similiar method for Oracle and know others that have taken this basic approach as well. The major disadvantage to this approach is that I'm goi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. My managed directx is horribly slow.. help!
Hi there. I have been writing games for years now and most recently in Blitz3D which uses dx7. I am now converting to managed dx with c# as that is the language I use at work and with managed dx now coming into it's own I though it was as good a time as any. Anyway, I wrote a small program with a camera following a ufo mesh around a ground plane with other ufos present in the scene. In blitz3D I can have over a hundred in the scene with no slowdown at all but in dx 9 if I move the ufo around, as soon as more than 4 or 5 appear I get about 2fps!! I've tried what I know (its using hardware and not reference or software except for vertex processing) but its such a simple program I don't know what else to do. Any Ideas I'm happy to p ...Show All
Visual Studio Express Editions Insert Text into an existing text file
Hello, I am new to C# and have a project that I am trying to get started and am looking for any help I can get. I have a video encoder that outputs log files in text format and I need to add command lines to the log file and save a new log file (same name) with a "t" at the end to keep the 2 text files separated. I am currently doing the manual copy/paste and would like to automate (each log file has 100 insertion points daily, alot of copy/paste). Excerpt from the log file (the log file is saved in text format) "1","11/07/2006","14:58:30",1,"006542","00:01:00:00","00:59:59:29","Tape02","ASATest" "1","11/07/2006","14:59: ...Show All
.NET Development Lightweight Activation method like Windows XP
Windows XP activation checks following things in computer and is activated The following 10 hardware characteristics are used to determine the hardware hash: Display adapter SCSI adapter IDE adapter Network adapter media access control address RAM amount range (for example, 0-64MB or 64-128MB) Processor type Processor serial number Hard disk device Hard disk volume serial number CD-ROM/CD-RW/DVD-ROM drive i want to use similar technique like this but a lightweight version. Idea is that once a user logs in my program(custom authentication), it will detect all or some of these and associate login with that computer. That way, that user will only be allowed to login from t ...Show All
Smart Device Development Breakpoints do not get hit...
Hello, a colleague has big troubles debugging compact framework 2.0 applications from his VS2005 environment (to be more specific: he has hijacked my PC because the troubles do not occur there ). The problem is that every CF2.0 application he runs will not break when run on a device, but the same application runs and hits the breakpoints on the device emulator. It doesn't matter if it is a big multi-project solution or just a simple little HelloWorld project, the debugger just isn't interested in breakpoints anymore. We searched over this forum, but none of the solutions work for him. Some of the things we found and tried are: Deleting de bin/obj folders. Showing the Debug toolbar. ...Show All
.NET Development How to parse a Percent value?
I would like to parse a Percent value like "12.34%" with consideration to the globalization settings. The Percent values are generated with: double d = 0.4567; Console .WriteLine(d.ToString( "P" )); I thought I am able to do it on the same way like Currency values but NumberStyles doesn't contain a Percent member. d = Double .Parse( "12€" , NumberStyles .Currency); Is there a easy way or do I have to program a parser for myself You might consider using a regular expression. System.Text.RegularExpressions namespace will provide a common regular expression parsing interface. For example, you can replace as follows: replace "([\D]*)(([\-][\s] ) [0-9] ...Show All
