waheyluggage's Q&A profile
Windows Search Technologies WDS 3.0 Beta 2 & Outlook 2007 Can't Index
I have never been able to get the indexing to work in Outlook 2007 that is connecting to my Exchange server. I started with the WDS 3.0Beta Preview before Beta 2 was released and had no luck. Now that WDS Beta 2 is out I removed the previous version and installed Beta 2. Tried to force the index to run by rebuilding it and still couldn't get search to work for any exchange mail. Waited a couple of day's thinking it may just need time, still no luck. It has indexed the mailbox that is setup for my personal mail (POP3) which is a .PST file. When I go to the indexing options and click on Outlook and then click modify I get the following pop up. --------------------------- Microsoft Outlook Offline Folders --------------------------- Th ...Show All
Visual Studio Team System How do you import entire schema?
Every time I try import Schema to a project and compare it back to the source database there are always statements that are missed by the import. I then try to run an update and get a whole host of user or group not found errors. Are there settings that need to be changed when importing schema I have already tried having the source schema settings override the target settings and have also tried default settings. Hi Which objects are missing Within the project, we treat rules, defaults, permissions, role membership signatures, storage, custom errors, encryption keys, linked servers and logins are pre or post deployment objects. Therefore they do not always appear in the Schema compare when do ...Show All
Smart Device Development Invalid Cast Exception ... making me CraZZZy
OrderDB.cs -------------------- public ArrayList GetOrderRowsByOrderID(int orderid) { conn = new SqlCeConnection(connstring); cmd = conn.CreateCommand(); cmd.CommandType = System.Data.CommandType.Text; cmd.CommandText = "select p.productid, p.productname,p.price, orow.quantity, orow.discount from orderrow as orow join product as p on p.productid = orow.productid where orow.orderid = @orderid"; cmd.Parameters.Add("@orderid", SqlDbType.Int, 4); cmd.Parameters["@orderid"].Value = orderid; ArrayList OrderRows = new ArrayList(); try { conn.Open(); SqlCeDataReader rdr = cmd.ExecuteReader(); while (rdr.Read()) { ...Show All
Software Development for Windows Vista How to use SharedConnectionWorkflowTransactionService?
The translation what i found in SDK is that SharedConnectionWorkflowTransactionService connect to the same DB using multiple services, for example:SqlWorkflowPersistenceService and SqlTrackingService use the same DB,and it can share data connection and transaction between two services. But in forum someone says that it also be used when host and DB in the same machine. Now, the thing I meet is that SqlWorkflowPersistenceService and SqlTrackingService use different DB, DB and host do not in a same machine,need i use SharedConnectionWorkflowTransactionService If needed,how to initialize using connectionString I was just thinking of the SqlTrackingService section of the docs that details the different sett ...Show All
Visual Basic Problem with Design view
I am writing an application which manipulates many fields of data. Today, I implemented a new datatable which contains over 50 fields of info. I dragged this onto the Design view as "Details." The controls were placed one above the other with the last ones well off the screen area. I have spent a few hours moving, aligning, re-sizing etc. to get them properly laid out. However, I am unable to expand my Form in the design view to be able to grab the last few fields at the bottom and drag them up into the space I have created for them. The handle lets me expand the form to a certain point then stops, before I can see the last few controls! I know that these other controls are there as when I run the application (obviously ...Show All
Visual Studio Team System How to UT my customized rule by VS2005?
Hi,David: Is there any way to check customized rule by unit test of VS.Net2005 i just want to know how to set the Memeber to Check(...) eg: Member objMember = null; //Initialize to an appropriate value ProblemCollection expected = null; ProblemCollection actual; actual = accessor.Check(objMember); Assert.IsTrue(true, " this is work "); Assert.AreEqual(expected, actual, "Good!!"); how can i do it thx,CaoxiCao Roy Osherove has posted an interesting approach to testing to FxCop rules: http://blogs.msdn.com/fxcop/archive/2007/02/25/framework-for-intergrated-fxcop-rule-testing.aspx . Regards David ...Show All
Smart Device Development NotSupportedException was unhandled
hello, I got this exception on the first line of this code in the designer: // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(3, 3); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(222, 94); Basically i just added a picturebox to contain a jpg image. this form is common to all the applications and they work fine with the others. but the app im working on throw me back the error message. Im using VS2005 CF .net 2.0 so do the other app (which are written by me too). So i don't get it. why the others are fine but this later doesn't work. Any suggestion ...Show All
Windows Forms Tab Control
Dear friend I had tab control in which 6 tap page,in each tab page number of control which is bind to the dataset. When i retreive data from database, merge logic is used to get data to the dataset which is binding to all the control in the tab control. The value get update properly to the dataset, and values comes proper to the first tab page control, But the value in the 2 and 3 tab pages not getting updated. It only get updated when i active that tab control page. Problem is when i retreive data and click on save button.In save Procedure i had written code for validation in which i m checking text value it show me Blank/empty. To save the value i have to click on all the tab page control and then click on save button. ...Show All
Visual Basic How to assign existing Controls to Different Parents
I have two panel controls let's say x and y. I want to use y over x but without y being a child of x. Is there any way to acomplish these. Thanks. If I understand you, your problem is Y becomes inside X. Ok, create a form, add panel X. Now add panel Y. As you know, as soon as you move it over, it goes inside. You can break them apart with cut and paste, select Y. Cut. Click on Form. Paste. To move them over each other, you can just change the location prop, you could use code todo this. Or, the code way. this .x = new System.Windows.Forms. Panel (); this .y = new System.Windows.Forms. Panel (); this .x.SuspendLayout(); this .SuspendLayout(); // // x // this .x.BorderStyle = System.Windows ...Show All
Visual Studio how to choose ado.net as data source to the dataGridView
Hi, I use a dataGridView and i want to choose the project data which is from ADO.Net, however, i only find some choices about database,Web Service and Object, how can i choose the data from ado.net in my project Thanks ...Show All
Visual C# probem with generics
Hi, I've written the the code below: static public void Test<T>(T arg) { write(arg); } static public void write( char c) { Console .WriteLine( "char" ); } static public void write( int c) { Console .WriteLine( "int" ); } It should be possible to write like this: Test('c'); or Test(10) and the appropiate write methods should be called. When I try to compile it I get two errors: Error 1 The best overloaded method match for 'tester.Program.write(char)' has some invalid arguments. Error 2 Argument '1': cannot convert from 'T' to 'char'. Is there another way to make the templated method call the appropiate methods. It seems to me that writing some ...Show All
Visual Studio Express Editions Help required reading database
Hi, I'm new to VB and am having trouble reading data from the database on my first project. Can someone please tell me where I'm going wrong. As far as I can see, my code to access the database is exactly as for the Microsoft How can I pages. I'm using Visual Basic 2005 Express Edition, with a database I created using SQL Server 2005. Code as follows: Dim da As New SqlDataAdapter() Dim cn As New SqlConnection Dim ds As New DataSet cn = New SqlConnection _ ("Data Source= my computer \SQLEXPRESS;AttachDbFilename=c:\documents and settings\dave\my documents\visual studio 2005\databases\ my database .mdf;" _ & "Integrated Security=True;User Instance=True") cn.Open() Dim cmd As New SqlCommand("SELECT * FROM table na ...Show All
SQL Server conflict resolution in merge (server vs client)
hi all, my question is that during seting up of merge replication, while configuring the subscription we get 2 options whether we want the subscription to be server type(priority value) or client type(first to publisher wins). now if we have 2 subscription and one is of server type and other is of clent type snd they have a conflict then how will the conflict be handled. that is both have conflicting type and how will it be resolved conflict between (server and server type) and (client and client type) are both very trivial but this is one i wanted to ask that how will the conflict be resloved ...Show All
SQL Server Why select top 100 percent was disabled in SQL Server 2k5 views
And how to get it work And by the way why Sql Server 2k5 became slower then 2k How to get to query planes in the management studio First of all I am not a newcommer to Sql server and top 100 percent was the only way to order in a view, so this "optimization" is of kind of closing air supply. Second it does seams that MSFT did not only this"optimization" but also another "optimization" in Sql server management studio it automatically generate select statement listing all the fields of the view when I hit the menu to open the view vs. in Enterprise Manager it worked like opening the table, so it requires additional resources if you doing something not regularly but once in a while. So if on ...Show All
Windows Forms Redirecting Console Standard Input
I am trying to redirect input from a textbox to a console FTP program. I wish to have the output remain in the native console window. The code below seems to hang, why using System; using System.Diagnostics; using System.Windows.Forms; using System.IO; namespace WindowsApplication { public class FTPForm : Form { private TextBox textBox = new System.Windows.Forms.TextBox(); private Process process; public FTPForm() { textBox.Multiline = true; textBox.Dock = DockStyle.Fill; textBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); ClientSize = new System.Drawing.Size(500, 400); Controls.Add(this.textBox); Text = "Form"; pro ...Show All
