etncc's Q&A profile
.NET Development Help on dynamicly compiling and security
Hi, im trying to create a "scripting" tool for a game, me and some other dude is working on. We need to make sure that the scripts (that are normal C# files) will compile, and run under low-trust. We found out that a way to do this is to make an appdomain, and then give it low security, but that means that all objects have to be serierilize to be send over the wire. Is there away to set the permissions of a single assembly in the current appdomain http://msdn.microsoft.com/msdnmag/issues/05/11/HostingAddIns/default.aspx This is an excellent article on properly handling Add-Ins (which ...Show All
Visual Studio 2008 (Pre-release) How to pass parameters to Web Browser Application?
Hi, Is it possible to to pass parameters to web browser application Something like: http://localhost/Test.wba ClientId=12345 Thanks Yes it is possible. Within the web browser application, you can use System.Deployment.Application.ApplicationDeployment.CurrentDeployment.ActivationUri to get to the Uri and pull the request parameters from it. Regards, Ashish Shetty Program Manager, Windows Presentation Foundation http://nerddawg.blogspot.com ...Show All
Smart Device Development force to load compact framework on desktop?
I would really appreciate it if you could help me with the following question regarding the compact framework Is it possible to force a dll/exe compiled using CF to be loaded on desktop using CF for example I have a form to display the following information Environment.Version.ToString(); I compile it using CF ( by command line csc /nostdlib /noconifg ...etc ) I can deploy it onto a device and it shows 2.0.5238.0 If I just go to the compiler output folder on desktop and double click the output exe It shows 2.0.50727.42 which is the full 2.0 framework my goal is to run the exe on desktop but have it running under CF so the two way ...Show All
Visual Studio Team System Notification Event Filter Expressions in RC
Hi, Has the syntax for event notification filter expressions (i.e. those expressions stored in TfsIntegration.tbl_subscription.expression) changed in RC A filter expression that worked previously in Beta 3 Refresh no longer works in RC - and I can't see that any changes have occurred to the serialized event message. Many Thanks, /Howard The syntax hasn't changed. There was a security change though - the subscriber field in the database should be a SID instead of a domain\username. Subscriptions to WorkItemChangedEvents were deleted during the upgrade because the use of display names in workitems made the old subscriptions ...Show All
Windows Forms To show Sql Report on windows form
Hello Friends, I have use Sql Reporting services. I can open report in IE from the windows. But now i want to show the report on the windows form. Which contorl i should user for that Please Reply me aeap. Nilay Also, check out the new Visual Studio 2005 ReportViewer Controls- http://whidbey.msdn.microsoft.com/library/ url=/library/en-us/rs_vsrpts/html/0334cfba-2cb7-4d8b-8927-e08b888450cd.asp frame=true ...Show All
Visual Basic set RelativeX and RelativeY on Multi display systems
Im having trouble setting RelativeX and Y for my displays. i can resize the displays just fine but i also need to adjust the X,Y locations ne1 have any ideas im using VB2005 a screen located @ -800,-600 would have the x,y locations below... "Attach.RelativeX"=dword:fffffce0 "Attach.RelativeY"=dword:fffffda8 TIA I doubt that setting the registry key values will have an effect. Not until you reboot anyway. Just to help me get started on this: how do you now change the size of the secondary display ...Show All
Visual Studio What happened SourceSafe web service access in Beta 2?
A collegue of mine has just setup a SourceSafe 2005 database and configured it for internet web service access. I have Team Suite installed including SourceSafe 2005, but I am unable to find an option anywhere which would allow me to connect to it. I can connect over a local LAN or over the net via file sharing, but I can't find the web service protocol. I was informed this feature was in Beta 1. Anyone know what happened to it I thought Beta 2 was feature complete since the Go Live license is available.... Now i managed to get it to work. I had enabled the internet access while the proj ...Show All
Visual C++ MSVCR80.DLL Unable to locate component
Hi, I am trying to use Visual C++ 2005 to build the project which was create by Visual C++ 2003. When I run the code, an error message pops up. "MSVCR80.DLL - Unable to locate component" who knows how can I fix this problem Thanks a lot! Yang Yang. wrote: Hi, I am trying to use Visual C++ 2005 to build the project which was create by Visual C++ 2003. When I run the code, an error message pops up. "MSVCR80.DLL - Unable to locate component" who knows how can I fix this problem Thanks a lot! Yang Are you running that on a different machine Or on the same machine that has VC++ 2005 inst ...Show All
Visual C++ Unexplained stack\heap overflow
Hi everyone I'm having a little trouble with an MFC application, SDI, pretty simple stuff. However, the running of the app is absolutely crippled by stack\heap overflows. They appeared one day - I have no idea what has caused them - but most strangely there seems to be no real pattern to when they occur in the program execution. It's usually upon closing a dialog box which is used to alter strings in a CTypedPtrArray. A breakpoint is triggered, but in all sorts of different places. This one was in wincore.cpp, line 1812. Like I said, I cannot find the exact action that causes this to occur - sometimes it happens, sometimes it doesn't. ...Show All
Software Development for Windows Vista About new WWF beta 1.2
I just started playing with WWF 1.2, which I downloaded following a link provided on www.theserverside.net to msdn. After watching PDC 2005 Video "Developing Event Driven State Machine Workflows" by Pravin Indurkar using WWF Beta 1 and playing that version on MSDN virtual lab, I got an impression that WWF beta 1.2 State Machine Workflow designer behave dramatically different from that of WWF beta 1. For example, I cannot move state shape around freely and if I set TargetState of a SetState Shape to another state shape, I will not get a connecting line pointing to that state shape as WWF Beta 1 would. Is this an installation proble ...Show All
Visual Studio Visio and Visual Studio 2005 (Standard)
I have Visio 2003 (Professional) on my system and I would like to use it with Visual Studio 2005 for reverse engeneering without having the expense of upgrading my Visual Studio edition. Is this possible If not why not - seems to me one purchases Visio in good faith and then purchases VS2005 in good faith but they do not work together! If this is true it would be like being unable to embed an Excel spreadsheet in a Word document! Hoping someone hears... Thanks, Kurt Sorry, but the fact that you have class designer built in to Visual Studio 2005, while a nice feature is a cop out. I do really like th ...Show All
SQL Server Table control causes pdf Format skipping pages
Whenever I use a table control a in report in SQL Server Reporting Services. When I save that report to a PDF format, every other page is blank in a multipage report. Every other page is skipped. Has anyone else run into this problem Hi, I have also this same problem.If multirow table can fit into a single page,It skips a page and renders into the next page.This happens only when we export to PDF. any help would be greatly appreciated . Thanks. ...Show All
SQL Server SQL Authentication and SQL Express
(FYI - the Search box throws a scripting error when I type in it) I see in SQL Express Manager that I can connect using either Windows Authentication or SQL Authentication. Is the SQL Authentication for use with SQL Server 2000 and perhaps the full SQL Server 2005, but not for SQL Express My product uses SQL Authentication with SQL Server 2000; I am testing my product with SQL Express, but it fails on the authentication step: Event Type: Failure Audit Event Source: MSSQL$SQLEXPRESS Event Category: Logon Event ID: 18452 Date: 5/24/2005 Time: 3:13:26 PM User: N/A Computer: XSDEV02 Desc ...Show All
SQL Server Combining text data rows
I am working with a database derived from text documents. One of the tables (TEXT001) contains the text of the documents with each paragraph of each document assigned to its own row with a paragraph number in a SectionNo column. I want the entire text of each document in a single row with its own unique number (so that I can do a full text search with SQL Server 2005 that will search and return the entire document as a result). How do I combine the rows with the same DocumentID into a single row of text data This will put the entire text content of each document in its own row. TEXT001 table as it is Documen ...Show All
Visual Studio Team System No luck in installing TFS in a more or less single server installation. Different Error 32000's...
Hi, I've been trying to get VSTF Beta 2 running for last 3 days with no luck. Always ending with different Error 32000's example: Error 32000.The Commandline '"C:\Program Files\Microsoft Visual Studio Enterprise Server\widbloc.exe" -s hostname -d CurrituckDB' returned non-zero value: 1. I have a Lab domain, consisting of 2 DC's running smoothly (and have been for well over a year now). No errors whatever if I use Netdiag or DCDIAG. Now I have a virtual server where I'm trying to install a "single server installation" while using the present lab AD. The virtual installation consist of the following: W2003withSP1 (Slipstreamed) IIS6 with AS ...Show All
