Al Lee MSFT's Q&A profile
Visual Studio 2008 (Pre-release) C# 3.0 uninstall
Hello everybody, I installed LinQ on my computer a played with it a little bit. Then I uninstalled it using the Add/Remove software. But after uninstalling it I still get the messagebox in VS2005 beta2 informing me about C# 3.0 being an "unsupported version and that many features may not work as expected" whenever I open some project. Since VS started crashing more often after installing LinQ I think I need to get rid of c# 3.0 to get it back to work as before. Anybody can help me completely remove c# 3.0 from my machine Thanks a lot. Tami Hi. I just tried removing the c# 3.0 from my IDE. It said that everyth ...Show All
Visual Studio Team System Spaces in passwords
Just had 3 attempts at installing the Beta 3 Refresh, and each time the sharepoint install wasn't configured at all. I then tried the December CTP, and it produced an error message when I put in the TFSService password that spaces weren't allowed. Once I had changed the password the install went through fine. I didn't get this error on the Beta 3 so presume this was the cause. Didn't see anything else on this site (except about blank passwords) so thought I'd post this in case others are having the same problem! Geoff TFS allows you flexibility with passwords, but there are issues with products we communica ...Show All
Smart Device Development getting error "value does not fall within the expected range" on pocket PC 2003 emu
Hey all, Im stumped at this seemingly easy task. I need to ask a user for a file name. thats it. But im getting the above error. here is the code: (Where UserInput is a basic form with 2 buttons and a text box) UserInput ui = new UserInput(); ui.Parent = this; if (ui.ShowDialog() == DialogResult.OK) <-- ERROR HERE { fileName = ui.FileName; FileStream fs = new FileStream(filePath + "\\" + fileName, FileMode.Create); XmlTextWriter xtw = new XmlTextWriter(fs, System.Text.Encoding.Unicode); xtw.Wr ...Show All
Smart Device Development Further details on WebException? How can I get them?
If a web service I'm using throws a web exception, how can I get the details on what caused it IE: Authentication failure etc. Thanks! try creating a "config" file for the application - place it in the same directory where is the application and name it "your_application_name.exe.config" fill it with this content: < xml version="1.0" encoding="UTF-8" > <configuration> <system.diagnostics> <trace autoflush="true" /> <sources> <source name="System.Net" maxdatasize="1024"> <listeners> ...Show All
Windows Forms control.Dispose()
Hi, I've got a question about disposing controls. If i understood correctly, you don't need to explicity dispose controls in a basic windows forms application. Disposing the main form will traverse it's control hierarchy and dispose all child controls that are contained in that main form (is this assumption correct ) But what if i have references to controls that might&nb ...Show All
SQL Server Width of parameter drop down box
Hi, May I know is there a way to control the size of the parameter drop down box In my current box, the width increase according to the option with label of the longest length, in which causes my report's width to increase out of my control. Thanks in advance! I noticed that this works for the selction dropdown, i.e. export format, but I can't seem to get to work for the parameter selections. Any suggestions Thanks, David ...Show All
SQL Server Creating Custom code with DBNull and Report Parameters
How can I force report parameter to accept a null value. I tried using the check box for null values to no avail. I am creating a custom code to get around this problem. I used the simple IIf statement below: =IIF (Parameters!MarketID.Value = "None", IsDBNull.Value, Parameters!MarketID.Value) ...I was getting an error message like this: The value expression for the report parameter ‘MarketID’ contains an error: [BC30455] Argument not specified for parameter 'value' of 'Public Shared Function IsDBNull(value As Object) As Boolean'. How can I frame the IIf statement Thx in advance ...Show All
Visual Studio Team System Error Creating New Project
I have configured everyting correctly but when i try to create a new project i get this error every time: Error System.Web.Services.Protocols.SoapException: An unexpected error occurred in Report Processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.NotSupportedException: Specified method is not supported. --- End of inner exception stack trace --- at Microsoft.ReportingServices.WebServer.ReportingService.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings) ...Show All
Visual Studio Can you detect all installed packages?
Is there a way to programatically detect which packages are installed on the current machine while executing a recipe/action You can ask for the IRecipeManagerService service and get a list of installed packages from it, as well as enable/disable packages, etc. ...Show All
Windows Forms Should I use DataGrid or develop my own control?
Greetings! 1) Can you advice me any article/tutorial about DataGrid usage to read Some powerful tutorial :) 2) I want to develop something similar to daily timesheet in Outlook calendar. (where in the panel at the left there is a column with time with step in 1 hour, and to its right there are one-column rows colored in orange; don't know how to describe it beter:)). Can I use DataGrid Or it's not so powerful for this and I should develop my own control Thanks, truetype Is it possible, after including reference to Access, to work down the Access object structure it's data grid (Sheet View) and ins ...Show All
SQL Server Dynamic ad-hoc reports
Is there a way to pass parameters into the Report Builder so that the available fields of an entity can vary depending on a parameter value (for instance, a group or user id) We have a situation where each group of users can have a variable set of custom properties to report on and we'd like to let them access these custom properties through the Report Builder. Any suggestions on how to go about it Thanks. This is done thru model item security. You can define access permissions to model items (entities, attributes, etc) based on user identity. You then create a report that includes an entity and al ...Show All
Software Development for Windows Vista DiectShow .net on DirectDraw surface
I reviewed 2 main DirectShow managed libraries( DirectShow.net from thecodeproject + DirectShowLib from sourceforge.net ) but had no luck to write the managed clone of old DirectSDK sample (Summer 2003 DirectSDK release ) DDrawXCL - a sample that plays video on DirectDraw surface, can anyone help me with it note: I dont need to use VMR fileter to pass to d3d object(surface,texture), if possible use it(vmr9 filter) to pass to DirectDraw surface its acceptable too! have anyone this done ps. managed AudioVideoPlayback wrapper have no ability to do that, just attach to any winforms control/form, thats not good for me, I have mu ...Show All
SQL Server Encryption and recovery on standby machine
Hi there, to follow on my question in the other forum, I have a database with triple des encrypted columns Master key created, certificate and symmetric key using certificate. Values inserted into table (encrypted) Can select etc, all works fine. Back up and restore database on another server, decrypting the data results in NULLs being returned. Backed up and restore the master key, cerficate, etc but either it completes successfully or SQL states that the old and the new keys are the same and wont be changed. Master key opens (using password), cert opens (is viewable in sys.openkeys) but then closes automatically after trying to ...Show All
Software Development for Windows Vista CreateWorkflow failing validation
I am trying to start a workflow using a xoml file. I am getting Workflow failed validation in CreateWorkflow with a very simple workflow containing start, delay 1 sec and stop. Is there a trick in getting this to work Thanks. // create and start an instance of the workflow runtime WorkflowRuntime runtime = new WorkflowRuntime (); runtime.StartRuntime(); // get an XML reader to the XAML-based workflow definition System.Xml. XmlReader xaml = System.Xml. XmlTextReader .Create(txtWorkflowFile.Text); // create a running instance of our workflow WorkflowInstance instance; try { instance = runtime.Creat ...Show All
Windows Forms another vb to c# translation question
the first one is about number, especially unsighned number when dealing with window api drawing. for example the following c# code: mousePos.x = (short)((uint)m.LParam & 0x0000FFFFU); how the heck can it be translated to vb: mousePos.x= cshort(m.LPAram.toInt32 & &HFFFF) will this give the same result and most importantly can we just "replace" unsigned integer with integers ...Show All
