Hir&#233&#59;n's Q&A profile
.NET Development security
how to provide security for the assemblies. pls give me the example with explanation. Can you please specify what kind of security you are asking for. .net defined lots of security model. U can use Code Access Secuirty. U can use windows security blah blah. ...Show All
Windows Live Developer Forums why adcenter is not available internationally ?
why microsoft adcenter is not internationally available like Google Adsense. At least adcenter will get more publishers like adsense and advertisers too.. do microsoft have plans to limit it only to US or to international availability This is not really an adCenter API question... Anyway adCenter is currently available in the US, UK, France and Singapore and we definitely plan to expand it to many more locations over time. Shai ...Show All
Visual Studio 2008 (Pre-release) How to bind Properties.Settings to textboxes via XAML
Can anyone tell me how to bind directly to the Application Settings via XAML create namespace mapping xmlns:l = " clr-namespace:WindowsApplication1 " Add a resource < ObjectDataProvider x:Key = " odpsettings " ObjectType = " {x:Type l:Properties.Settings} " ></ ObjectDataProvider > Bind the textblock(Setting1 is the property) < TextBlock Name = " textps " Text = " {Binding Source={StaticResource odpsettings}, Path=Default.Setting1} " ></ TextBlock > ...Show All
Visual C++ Chinese resource file problem
I am attempting to add Chinese (Taiwan) resources to an MFC application in Visual Studio 2005 (.NET Framework 2.0). I have installed East Asian language support on my development box running Windows XP SP2. In the project configuration I have the Character Set set to "Use Unicode Character Set". To add the Chinese (Taiwan) resources I went to the Resources View of the Solution Explorer and created a Chinese (Taiwan) menu resource using Insert Copy... from the right-click popup menu. I then went into the new resource and typed in the Chinese characters (using the language toolbar) I want for each string in the menu and everything looks fine. When I build my application and run it, the Chinese characters appear as " ...Show All
Software Development for Windows Vista Workflow runtime ownership exception
Hi, I sometimes get the workflow runtime ownership exception. Following is the development scenario. 1 State Machine workflow 2. Run from asp.net host (using manualworkflow scheduler) 3. Default persistence service with ownership duration 90 seconds, loading interval 120 seconds I have even tried to clear the ownerid of the owning runtime, but it still gives an error. Stack trace from log file gives the following information System.Workflow.Runtime Error: 0 : Workflow Runtime: WorkflowExecutor: Persistence attempt at instance '67e987c0-c338-4a1d-bf05-9ae74312ba3a' termination threw an exception. Aborting the instance. The termination event would be raised. The instance would execute from the last persisted point whenev ...Show All
Connected Services Framework Should Active Directory be a Domain Controller or in a different domain ?
MCSF uses Active Directory to store user details. 1. But does it need to be in a different domain or a domain controller 2. Can I just install AD and point MCSF to store users there Regards, Sachin I think you are talking about ADAM. That doesn't work with CSF. Active Directory Application Mode Active Directory Application Mode (ADAM) is a directory service designed to meet the needs of organizations that cannot rely solely on Active Directory to provide directory services for directory-enabled applications. While Active Directory offers many benefits for managing network infrastructure, organizations often need a more flexible directory service to support directory-enabled applications. ADAM is a Lightweight ...Show All
Windows Live Developer Forums Auto select all
Is it possible to have, when signed in, all contacts selected Jeroen Hauser wrote: Is it possible to have, when signed in, all contacts selected Hi Jeroen, "Possible" of course, but "likely", no. The only scenarios that would benefit from selecting all contacts are to export the entire address book to another contacts manager, or to send spam to everyone in the address book. That's not what the contacts control is intended for. Our goal is to make it easy for end users to use of their contacts with third party web sites in everyday scenarios, such as shopping, sharing, and socializing. None of those scenarios require *all* the contacts in the user's address book. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting started example needed
How do I draw a 2d box on the screen Or even better a 2d circle. I guess I should use DrawPrimitives but a little example would be nice.. After that I would like to draw some text, do I need to create a bitmapped font for that and draw using sprites / Erik Thanks for the link, Greg. I wrote a little class for rendering lines (2d,3d), the BoundingBox and BoundingSphere from the XNA framework : http://markus.rubicon-net.de/code/ VectorRenderer.cs, it just needs a reference to the GraphicsDevice and the view-projection matrix of your scene. ...Show All
Visual Studio 2008 (Pre-release) How do I work with the .NET 3.0 July CTP in Visual Studio 2005
I just downloaded the .NET 3.0 July CTP, and I'm not sure how I work with the framework in Visual Studio 2005. Can anyone tell me how I "acticvate" (or whatever it's called) the framework VS tells me it works with the version 2.0 framework in the About... dialog. Thanks for your help... Best regards, Mikael Hi, There is no "Orcas" for July CTP, only the runtime for native applciations. You should unisntall the july CTP and install the June CTP. (Runtime and Orcas). The IDE is exactly the same, .NET 3.0 is .NET 2.0 with a couple of extra libraries (like WPF, WCF, WWF, etc). Once you have installed Orcas you will be able to create projects on the "Windows (WinFx)" templates folder. Check ...Show All
Game Technologies: DirectX, XNA, XACT, etc. An introduction and some questions.
Hello, my nick is Rewasvat, like you already probably saw, and i begun to program writing mods for an game, but now i'm beggining to develop an game, and that's why i'm here. I'm using Visual C# 2005 Express and XNA Game Studio Express 1.0 to do it. I already have experience with C# from before, by making some small apps and such. The game i'm making is a simple 2D game based on an board strategy game we have here on our country (i do not know if it exists on other countrys). I plan on, in the future, write a more complex 3D game with nice graphics, story and such, with possibly my own engine. And now to the questions: - I wasn't able to find out how to calculate FPS and Frame Time values, could someone tell me how to do that & ...Show All
Visual Studio Express Editions Uninstalling VC++ Express
I have the final (not beta) version of VC++ Express on my pc, but since i'm running out of disk space and i never use it, i decided to uninstall it. The uninstaller bar got about 25% of the way across before the setup crashed and closed. Now when i open the uninstaller again, the 38 files are copied correctly, but the 'loading installation components' bar gets halfway before this message appears: The Windows installer package: C:\Program Files\Microsoft Visual Studio 8\Microsoft Visual C++ 2005 Express Edition - enu\vs_setup.msi could not be opened. Retry/Cancel. I tried to run the installer again, but it just gives an 'Installation failed' message. What can i do Well it seems to have logged a few events a ...Show All
SQL Server SSIS Expression result limit of 4000 bytes
I have a package with an input column that is varchar(8000). I want to strip the first byte off of this column and put it in one result column and the remainder of the field I want to go to a second column. If the input column is an empty string, I want to return NULL. Pulling the first byte off works fine, no issues, however putting the remainder of the input column into an output column is giving me a little trouble. If I use this expression: LEN(FLD1) == 0 NULL(DT_WSTR,1) : SUBSTRING(FLD1, 2, LEN(FLD1) - 1)) I get an error that says my expression evaluates to a string of greater than 4000 bytes. If I do this instead: LEN(FLD1) == 0 NULL(DT_WSTR,1) : RTRIM(SUBSTRING(FLD1, 2, 7999)) The expression passes muster but ...Show All
Internet Explorer Development Want to replicate Flash player...
Hi, I would like to start development on a simple interface for opening a window in Internet Explorer which can be manipulated by a data script. This, in all respects, is what 'Flash' does. But, can some one please explain a starting point for a programmer unfamiliar with the Windows O/s to start learning how to future proof a simple replica program of flash For example, I want to open a Live window in IE6-IE7 to start drawing pixels. Also, I understand that Java also opens a window for animation and program output. Exactly where is the code examples that would help me open a window in IE and draw a pixel to this window Also, would this be an add-on, extension, or applet for IE I hope I have not asked too much and p ...Show All
Visual C++ Why breakpoints have been disabled ?
Normally I know how to set breakpoints and use breakpoints.I got a VC++ sample code from disk.When I set breakpoints and debug it,it show the following messages:One or more breakpoints cannot be set and have been disabled and the application will stop at the beginning of the program.Please tell me how to solve this problem . Thank you very much for your answer! Thanks - I finally managed to work it out - it was because the pdb file was not being created. After a lot of trial and error, I finally found the switch in the project settings that controlled this (Project -> Settings -> GenerateDebugInfo). Saurav ...Show All
Visual Basic How to insert images into datbases via Vb
Can anyone tell me How can we insert image into databse using a vb application from SQL server databse.Although i can insert anydata types into datbses via my vb application.Plz help me look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=710414&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=756267&SiteID=1 ...Show All
