I Mrus's Q&A profile
Visual Studio Team System get Latest
Every time when i want to get Latest version of a project, why give me a message says All FIles are up to date. No files were updated because the requested file versions were previously downloaded. To force an update, use the "Get Specific Version" command with the "Force get" option checked. What does it mean What should I do to be able to ust get latest directly Thank you Hi Rita, I have followed your advice to add the user. But the prompt is still showing. Source control explorer All Files are up to date. No Files were updated because the requested file versions were previously downloaded. To force an update, use the "Get Specific Version" command with the "Force get..." ...Show All
SQL Server need help to built a client-server Inventory Software
Hi everyone, I am a novice programmer. I want to develop a Inventory software using C# 2005, which will run on a LAN environment. There will be three machine which will store and retrive data from a common database. Which version of SQL server is appropiate for this Is it possible to provide the networking facilily using MS Access I don't know how to configure SQL Server for this. Please help me. Thank You. If you want the basic functionality for just storing and retrieving data you can use the SQL Server Express version. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server xquery not working in sql server 2005?
i ran the following query from my sql server 2005 standard installation: USE AdventureWorks ; GO SELECT T2 . Loc . query ( '.' ) FROM Production . ProductModel CROSS APPLY Instructions . nodes ( '/root/Location' ) as T2 ( Loc ) and i got the following error message: Msg 2260, Level 16, State 1, Line 3 XQuery [Production.ProductModel.Instructions.nodes()]: There is no element named 'root' all of the rows in the "Instuctions" column contain only xml which has a "root" node. can someone please tell me why this query isn't working thanks. "ManuInstructionsSchemaCollection" XML Schema includes namespace definition. As result you must use with namespace in you queries. S ...Show All
SQL Server This Schema prefix drives me crazy...
Hi, I have created a new user in my database called "acm", I also created a new schema called "acm" as well, the "acm" user is its owner, and the default schema for "acm" user is the "acm" schema. I also created a login called "acm" (surprise surprise) and set its default database to "mydb" database. In "mydb" database I have a table "mytable" that is owned by "acm". In my connection string I am using "acm" as the user, but when I do: "select * from mytable" I get error ("bla bla object bla bla"), when I use "acm" as a prefix for the table name it works fine... What do I miss My connection ...Show All
SQL Server Inject SQL statement result in XML file.
Hi I have the following situation while working with MSDE 2000 database. I send the following XML string to the procedure '<root> <customer> <custid>77777</custid> <custname>Ehab</custname> <city>AnyWhere</city> <country>Egypt</country> <Currency CurrencyID="1"/> </customer> </root>' BUT I have a small problem. ** I want to replace the value <Currency CurrencyID="1"/> with a SELECT statement result like this one : SELECT CurrencyID FROM Currencies WHERE CurrencySymbol ='' . .'' for XML raw Any help or suggestions thanks Hi Jinghao Liu - MS SQL Server thank you for ...Show All
SQL Server Report Paramert problem
I am trying to put a parameter on my report to select a field from my query but keep getting this error. What am I doing wrong [rsInvalidReportParameterDependency] The report parameter ‘Program’ has a DefaultValue or a ValidValue that depends on the report parameter “Program”. Forward dependencies are not valid. Build complete -- 1 errors, 0 warnings mr4100. Parameters are evaluated and executed before your data is return from the dataset, so I would suggest on your parameter "default values" - do a returnset of all avaliable problems. Also, you should be able to pass this parameter value into your stored procedure to filter only for the "programs" selected. Hint, go to data tab, select "..." ...Show All
SQL Server Connection string for SqlCeConnection
Which format is assumed for connection string for SqlCeConnection In help topics there are only examples like this: ... Data Source = 'SalesData.sdf'; ... But this example is intended for SQL Server 2005 Mobile database located on desktop computer... I need to custom data load from desktop to device and vice versa, so I did this: string SqlMobileConnString = "Persist Security Info = False; Data Source = Mobile Device\CF Card\mBase.sdf ; File Mode = 'shared read';" ; SqlCeConnection SqlMobileConn; SqlMobileConn = new SqlCeConnection (SqlMobileConnString); SqlMobileConn.Open(); // Exception!!! Invalid path... I tried to set path like this: " Data Source = My Computer\Mobile Device\..." and old variant with slash: " Data Sou ...Show All
SQL Server Is SQL Server Express what I need????
Hello, Someone I know told me that they thought SQL Server Express was what I am looking for. Before I get in over my head I need to know from people who use it if this is really for me. I have build my own web site using very basic HTML and CSS. Nothing fancy I am very new to this. What I want to do is have a customer able to enter their email address, once they have hit submit, I want the email address to go to a database (which I believe this software is going to help me set up ) and a document sent to them. I was thinking of a PDF attachment to an email since I have not figured out yet how to send an email that looks like a web page. I now have a customer inquiry form on my site that is sent to a perl script in my cgi bin ...Show All
Visual Studio EnsureConnectionPoints on PortShape doesn't work
How can i force the connection points of a portshape (in the middle of its sides) The classic way with EnsureConnectionPoints and HasConnectionPoints doesn't work. Thanks for your answers, My problem was on the port not on its parent's nodeshape. You can reproduce this whith the 'example.Components' sample by changing the AssociationLink's routing style value from Rectilinear to Straight. (I saw this later) Now i change my model and i use another graphic representation without port. Thanks again. ...Show All
Visual Studio Team System Solution Explorer / Schema View / Design Time Database - Where is the 'Truth'?
We are running into repeated cases where the code contained in the Solution Explorer of DBPro is not the same as that contained in Schema View and not the same as that contained in the Design time database. This makes me wonder, where is the 'Truth' contained Microsoft has boasted that the 'Truth' is in the Project. However, what part of the Project Earlier today I used the Schema Compare feature to compare our project against a development database. About an hour ago I had developers tell me objects were not updated to the development database, they were missed. I then opened the Schema View and saw a warning that a resynch was required. I did so, then did another compare against the development database. A few more objects showed u ...Show All
Visual C# Hadnling MessageBox
In my application when user click close button it display a messagebox askig it should save de changes or not.Three option is der yes no cancel.I have written de code in Closing event.First two cases is ok.But when i press cancel it still goes to dispose and close the form.But i want when user press cancel it should do nothing .Please tell how to handle dat.And where to write dat code. Waiting for ur suggestion ...Show All
Visual Studio 2008 (Pre-release) Why is everything so slow ?
The following code may not be a real-world application but it shows our main problems with WPF: slow rendering with many controls. I didn't find any hint to make those things faster. In this sample I've tried to use a bitmap effect. With this effect set, the application gets absolutely unusable - but even without bitmap effects the performance is poor (just try resizing the window - I used a fixed canvas size here to force redrawing). XAML: <Application x:Class="WindowsApplication2.App" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " StartupUri="Window1.xaml" > ...Show All
Software Development for Windows Vista WorkflowChanges WorkflowValidationFailedException workflow error 278 (0x116) Property <property name> is not set.
I'm experiencing a problem when I try to modify workflows from host. I call AddNewActivity() twice and i get at second call : Validation errors --------------------------- error 278: Activity 'code0' validation failed: Property 'ExecuteCode' is not set. WorkflowRuntime runtime = new WorkflowRuntime (); Guid InstanceId; runtime.AddService( new ManualWorkflowSchedulerService ( )); ///------------------------------------------------------------------------------------------------------ private void button2_Click( object sender, EventArgs e) { WorkflowInstance wi =runtime.CreateWorkflow( typeof (RemoveActivity. Workflow1 )); ...Show All
Windows Forms windows form application weight issue
Hi, I'm new to windows forms so please excuse me if thhis post seems stupid ... I have to write a windows app in c# and one of the requirment is that it has to be light (in term of Mb). The app it self should not be a problem but I'm worried about the .NET framework: the size of the redistribuable framework is about 22 Mb ! My question is: is there a smaller version is there a way to compile my app directly in machine language instead of pre-compiled CLR thanks Don't worry about the framework, it contains a lot of assemblies, an average Windows Forms app uses just a few of them. A typical, doesn't-do-alot Windows Forms app uses about 14 MB of memory when it starts up, 4 MB w ...Show All
Windows Forms TreeView in User Control does not display initialized data
Hi - I've been working on this most of the morning... I've created a Windows Form User Control that has a TreeView control. This user control is dropped onto a tab control in my main form. I initialze a TreeView node in the main form constructor as follows ... MyUserControl myControl = new MyUserControl(); In the user control constructor, I create a node as follows... MyUserControl() { treeView1.Nodes.Clear(); treeView1.BeginUpdate(); treeView1.Nodes.Add(new TreeNode("Hello, node")); treeView1.EndUpdate(); } The node that I create - "Hello, node" - does not display in the treeView of my user control on my main form. I did two "sanity" checks... First, I can populate the user control ...Show All
