Sam Vella's Q&A profile
Visual C# C# codes.
Dear All, I am developing a windows application using c# codes. What I first want to do is to enable that my application do a authorization where the pc is a valid one to run my software or not. Secondy how can I protect my exe files from being decompile. Thirdly how to give it a license and for it to run based on a license. Thanks. Dear Rizwan, Is there anyway other than using obfuscation tool. to protect my codes. I cant search for the article Use Xml Digital Signatures for application Licensing. I really appreciate if you can guide me further cause I need to protect my certain part of my codes. Thanks. ...Show All
Software Development for Windows Vista StrokeDashArray problem in Vista
Hi , I have a query. Is IE7 on Vista & XML Paper Specification Viewer Beta 2 viewer are of same version If yes , i have an issue "StrokeDashArray" attribute of Path Element is not working in IE7 on Vista. Is it a limitation of IE7 on Vista or there is something specifically needs to be given. I have attached "Test.xps" file , it is openable in XML viewer Beta 2 but not openable in IE7 on Vista. Can any one please help me out in knowing is there any thing that i have missed out. Thank you for your reply at the earliest. Thanks & Regards, Santhosh. ...Show All
Visual C# Representing playing cards
Ok I am new to programming obviously from this question. I am looking to make a blackjack card counting program, for reasons to help learn the syntax. Now my question is how will I go about representing playing cards How should I define each card How should I build the the playing card deck: an array, hashtable, enum Yeah I know I gotta sit down and write this one out, but the problem is I don't know how I should represent each card. My problem is I can't think of a way to represent a card with its proper suit. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MipMaps
Hi all Somebody knows where I can find some mipmapping tutorials I'm trying this: texture = content.Load< Texture2D >( "tx" ); Where tx is an asset loaded with de "Texture (mipmapped)" processor. When it loads has 9 levels. Then, in the draw call I do: effect.Texture = texture; Where effect is and object of BasicEffect class The texture is From wikipedia The result is the entire texture drawing. I think that hardware must select the level to draw. Can anyone help me There are not any specific mipmap tutorials becuase as previolsy stated you do not do anything to use them. Mipmaps are prescaled versions of your textures that are chosen by the ha ...Show All
SQL Server Architectural Design Question ?
We currently have a number of SSAS 2000 physical cubes and a single KPI virtual cube that our finance department reports from. A colleague is prototyping a new approach in SSAS 2005 and I’m looking for some feedback. Please see http://www.dailyware.com/SSAS2005Design.jpg for a high level overview. The lines in red illustrate custom .Net applications that push aggregated data from cubes to some other reporting source (SQL tables, XML ) that our finance department will report from. Thought that come to my mind include: many points of failure, significant custom development required, none-mainstream, high maintenance cost…. Thanks, Gary Hi Gary, Edward already provided ...Show All
Visual Studio 2008 (Pre-release) vNext August CTP and Linq May CTP problem on VS 2005 Team Edition
Hi When install vNext and Linq at home on VS 2005 Developer Edition there is no problem. But when I intalled it at work on VS 2005 Team Edition the error list is full. It can not recognize something like this from c in db.Categories where c.CategoryID == categoryId select c).ToSequence().First(); it give errors like this ' ; exprected' 'invalid expression term 'in' ' and etc. but when I run the app it works fine!!! there is no intellisense in the query and even not recognize the Model Obejct assembly when I type using NorthwindModel although that there is a reference in the project. Like I said when I run the app it works but how to fix this The problem is not in my project because when I opened the sample app from the CTP it gave m ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectSound Error Codes
Hi, Do you have any reference on DirectSound error codes I'm having random but repeating errors of 88780096 on Windows Vista (since Beta 2 until now). MS Japan has some text, but not helpful. Thanks! ...Show All
Audio and Video Development Are there MS streaming protocol APIs from MF?
Does MF expose MS streaming protocol APIs I don’t want to parse or decode any of the streamed ASF data. I want to operate on the received ASF data directly without decoding and decrypting (in case of protected content). ~ UK See the other reply I just posted... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=796495&SiteID=1&mode=1 ...Show All
Visual C++ lnk1181 and lnk4076....what am i doing wrong?
hello everyone, im very new to the c++ language and have been working on visual c++ 2005 for the past few weeks. i transferred a whole bunch of code from visual 6 to vc++ 2005 and as expected got a whole lot of warnings and errors. for the past few days i have been stuck due to the following two messages: LINK : warning LNK4076: invalid incremental status file 'exe/ECG_Monitor_Patient.ilk'; linking nonincrementally LINK : fatal error LNK1181: cannot open input file '..\lib\bt_comserver.lib' for the first message, i went into the linker settings and changed the ENABLE INCREMENTAL LINKING field to NO and then I got the LNK4075 warning. I have no clue as to how to deal with the second message. I AM A NEWBIE. PLEASE HELP. ...Show All
.NET Development passing string to my stored procedure
i have the following function in my vb.net application and im passing 2 variables as strings Function SLP_RPT_GetDistricts1( ByVal p_tsDate_ch As Date , ByVal P_bc_ch As String ) As IDataReader where tsDate_ch = 1/1/2007 & P-bc_ch= 21 and my stored procedure is CREATE PROCEDURE SLP_RPT_GetDistricts1 @p_Date CHAR(25), @p_BC_ch CHAR(2) AS BEGIN SELECT DISTINCT District_ch from SL_RPT_Geography where (start_sd >= @p_date) and (bc_ch = @p_bc_ch) and (isnull(end_sd,getdate() )< getdate()+1) order by district_ch END GO but it's not working and i keep getting that tsDate is not a parameter of the procedure.... but when i insert the actual values in my procedure it works and ...Show All
Internet Explorer Development How you test code for different version of IE?
I would like to test my code for IE5.5, IE6 and IE7, since I can't install different version separately, what I only can think of is to use virtual pc. How you guys testing your code for different version of IE Thanks See http://tredosoft.com/Multiple_IE ...Show All
Visual Studio Problem: VSTemplate only uses first wizard extension
I'm trying to create a custom item template for web services based on the Web Application Projects template. I wrote my own wizard extension class to replace custom parameters. The problem I have is that the <WizardExtension> element can only be added to the vstemplate file once. It can have multiple <Assembly> and <FullClassName> child elements though, and I tried adding tags for my custom wizard extension, like so: <WizardExtension> <Assembly>Microsoft.VisualStudio.Web.Application, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Assembly> <Assembly>Templates.Custom.WizardExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d4c05f50bb9e80b6</Assembly> <Fu ...Show All
Visual C++ Migrating from VC++6 Pro to VS2005 Standard
Hi, I just got VS2005 Standard (+ SP1) and I'm migrating from VC++6 Pro. I'm purely only interested in C++, Directx and MFC development. Does anyone know if Microsoft has any migration guide that I could read to help me along the way 4 simple questions: 1) What happened to Class Wizard window VS2005 and how do I go around this in VS2005 2) In VC++6 I had resources tab in my project window. In VS2005 Solution window I don't see resources tab, how can I add it to the solution view Or how do I access the resources tab 3) If VC++6 sometimes I needed to rebuilt by *.clw file as some classes are deleted added to the project, I simply deleted the file and then regenerated it in VC++ IDE. Can this be done VS2005 Or is it even necessary.... 4) I ...Show All
Visual Studio Team System Error TSD158 when Building from MSBuild
My build server does not have SQL Server 2005 installed on it, just client tools. I execute the following at the command line: msbuild /p:TargetDatabase=MyDatabase;ConnectionString="Data Source=SQLSERVERMACHINENAME;Integrated Security=True;Pooling=False" I get the following response: Build started 12/19/2006 3:44:00 PM. __________________________________________________ Project "C:\MyDatabase\MyDatabase.dbproj" (default targets): Target SqlBuild: Building deployment script for MyDatabase: EnableFullTextSearch, BlockIncrementalDeploymentIfDataLoss MSBUILD : Build error TSD158: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be cause ...Show All
Visual Studio 2008 (Pre-release) XBAP system requirements
Hi, I'm evaluating to start new applications developments using XBAP. Anyway I don't find client system requirements for XBAP applications. Can Anyone help me TIA Marco Ok, so the minimal client system requirements are the same of .Net Framework 3.0 right I was wondering if there was an Activex for IE 6 capable to host client side XBAP applications so that they could execute starting from Win98. TIA Marco ...Show All
