ddawsonb's Q&A profile
Visual Studio Team System So what happens when Orcas comes out?
Will the people buying TFS and TS right now need to pay for an upgrade I would bet on it. Microsoft is shelling out the bucks to build it, so I would assume they would want to have a return on that investment. ...Show All
.NET Development Full Trust vs Partial trust in the GAC
Why does a .net dll in the GAC still concidered a partial trust application. I put it in the gac using the gacutil and gave it -addfulltrust - recieved no errors and it runs fine on my computer but I try using it from another client computer and I get partial trust errors. Why is this Is it in the GAC on the machine on which you are trying to run it If so, you're actually running a local copy, and it should receive a full trust grant. If not, you're simply executing an assembly over the network, and it will receive a partial permission grant regardless of whether that assembly happens to be in ...Show All
Windows Forms VS 2005 - Filtering date with BindingSource in Access
Hi, I'm using VS 2005 Team version (no beta) with Access 2000 SP3. I have a BindingSource object related to a DataTable. I can dynamically filter with all columns, but not with date columns. What can I do In my case, the date and time were saved in the database, but I want to compare only the date and not the time. Whe I use the console in Access it works: SELECT Audits.auID, Audits.DateTo FROM Audits WHERE FORMAT(DateFrom,'dd.mm.yyyy') = #04/27/2005# But in C#, it doesn't !!! Example: // set the DataTable for the BindingSource object mBindingSource.DataSource = mDataTable; myFilter = "Format(DateFrom, \& ...Show All
Visual Studio 2008 (Pre-release) Advanced Indigo Service Question on Dec Vista
I have an advanced scenario that is producing an exception that I suspect is a simple configuration setting but I don't know what it is. I have an Indigo service (actually one of a whole bunch) that has been working with IIS6/Windows XP and Nov CTP. Our dev team moved to the Dec CTP and we have verified that there are zero changes in our code or config andit works on XP/IIS 6.0. Meanwhile bonehead Sam has overwritten his "work" system with Dec Vista and IIS 7. Everything like VS2005 and WinFX is working but I am getting this exception from Indigo on running: System.ServiceModel.ProtocolException {"The content type text/html; c ...Show All
Visual C# Error executing child request
am making a webpage and am using datagrid to get data from the database the grid is in it's own frame (iframe) i made a hyperlink colum and used it to redirect using othere aspx file (red.aspx) when i want to redirect i make a link for red.aspx tar="where i want to go" the problem is that neither Server.Transfer("www.google.com", false ); nor Response.Redirect(temp); works i tried: //EnableViewStateMac= false; //Server.Transfer("www.google.com",false); //Response.Redirect(temp); //Response.RedirectLocation=temp; //Response.Redirect("rad.aspx tar="+temp); //Server.Execute(temp); and no one works or i get that the page ...Show All
Windows Forms How to resize Windows Forms controls on Internet Explorer page?
At the moment we are replacing Java applet with a Windows Forms control. The control is displayed ok.. until we resize its frame by mouse. Java applet was resizing automatically with its frame. Now I need the same behaivour from my Windows Forms control. How can I do it Thank you. ...Show All
SQL Server Calculate Median Value
I am converting a report created using Crystal Reports 10 to Reporting Services. The report contains a list of items with dollar values. The original report displays both the Average and Median value. I can easily ( using avg(Field1.Value!) ) determine the average but cannot find a function to determine the median. How can I add the Median to the report Thanks in advance, Greg Thanks very much for that, I managed to get it working. However I was actually trying to get it to work for a graph - any idea where I would place the “ =Count(Code.addToMedianArray(Fields!Total ...Show All
Visual J# Passed value in ASP Pages
Hi, I would like to know how to retrieve a passed value in J#. I have a new page and I want to access it's passed value. New Retrieved Page Example URL: http://test/default.aspx pageStatus=0 I have an int variable (int pageStatus;) in my default.aspx page and I want to assign this variable the value found in http://test/default.aspx pageStatus=0 What method do I use Thanks in advance, Allan The solution to your problem is quite simple once you know where to look. All variables passed in on the URL (also called the query string) can be retrieved from the QueryString property on the Request object. This is ...Show All
Visual Basic How to use Textbox to serch a database & dislaying in datagrid
Hi everyone, my roblem is that, I want to use the textbox to type using it textchange event when one type it search the database for the matching data as it found each data it display then in a datagrid and the pointer point to the record. any help our surgestion will do thanks all You may want to think about what your trying to do - putting it in a text changed event causes the filter to be carried out every time the textbox changes -ie. every keystroke but this is doing a dynamic filter and this may be what you want. However it is doing a lot of processing say if you have a long filter string. You may want to put a ...Show All
.NET Development StructLayout Sequential not working for class
Try running this example: -------------------------------------------------------------------------------- [StructLayout(LayoutKind.Sequential)] class Test { public bool var1; public int var2; } class Program { static unsafe void Main(string[] args) { Test t = new Test(); fixed (bool* p1 = &t.var1) { fixed (int* p2 = &t.var2) { Console.WriteLine("var1 addr = " + (int)p1); Console.WriteLine("var2 addr = " + (int)p2); } } } } ----------------------------------- ...Show All
Visual Studio Alerts an IO.FileNotFound Exceptoin
I need some help.I have a Question. I am a CSharp Developer.and I wrote a Data Base Program. My program encounters with a bug. when I run program in other client that microsoft visual.net dosen't install .the program run proportionaly but when I want to print a output data by crystalreport then i encounter an Error Message that Alerts an IO.FileNotFound Exceptoin ,and says the Assembly file not found. for solving this bug I did these works: 1)copy all files of Debug folder of my project to client computer. 2)I make a Setup Package for my program by Advance Installer. I did these works ,but this hasn't effect. please help me,or say to me how ...Show All
Visual Basic How to use a Process to run CMD and a DOS utility to send Commands
Hello, I need some help. I want to write a program that will do the following: 1. Start a process that will run CMD.exe 2. Once in CMD window run the DOS utility (i.e., "C:\utility.exe Command) where Command is the command to send to a device. 3. There are about 5 or 6 commands that I need to send to configure a device using this utility. This utility exits with the "quit" command and returns to CMD window. Can this be done using one process or do I need to use two process and how do I go about this TIA for your help. Hi, you could try writing a .bat file and st ...Show All
Software Development for Windows Vista Why does ListenActivity always have two EventDrivenActivity
Hey guys, I just started using WWF Beta 2 so I'm running into all those beginner things ;-) When I add a ListenActivity to a workflow by default it has two EventDrivenActivity. I can add more EDAs but I can't remove one of the two. I don't see a reason why I can't ahve a LA with only one EDA. Is that a bug or a feature Thanks, Christoph Christoph Wienands wrote: OK, I'll check it out. Do you know whether there are there any differences in regards to idling, persisting state, unloading of workflow, etc. between ListenActivity and HandleExternalEvent Thanks, Christoph Christoph ...Show All
SQL Server T-SQL Catch-all error handling?
Hi, Is there some equivalent in T-SQL to the notion of having a global try...catch. Basically, I have a stored procedure which evaluates a stack and then inserts the calculated value into another table. However if there are invalid values on the stack such that a calculation cannot be achieved, I just want it to insert null. (In this version). To do this I need to design some logic into the stack evaluating sp that simply catches e.g. invalid data conversions and the like and simply returns a <null>. Thanks in advance for any help with this. Please take a look at the links below: http://www.so ...Show All
SQL Server Moving Database Diagram 2005
Hi everyone,in sql server 2005, can anyone please tell me how to move a database diagram between 2 databases on the same server . Both database have the same data structure. I found this article on MS http://support.microsoft.com/default.aspx scid=kb;en-us;320125 ... which works for SQL 2000 but in SQL 2005 the SQL line 'select * from dtproperties' is not recognised. Thanks for any help I'm still confused. As far as I can tell dtproperties table no longer exists in SQL 2005. http://www.codeproject.com/dotnet/ScriptDiagram2005.asp looks interesting. It is a tool to import and export SQL 2005 dat ...Show All
