Ming Han's Q&A profile
SQL Server SQL cannot read the domain name
Hi, all I need a help here please. Im using SQL Server 2000 on a server, and theres clients that need to connect to the sql server, and the clients are the users that have domain ids. Firstly i run the sqlserver under local system user (default).And the clients which is login into a domain and can automatically login with windows authentification. But before i have already added the domain name for the client in the security login of sq ...Show All
SQL Server Watermark Generation is Invalid Error
We are currently doing a proof of concept using SQL 2005 merge replication. However we are currently encountering the following errors: "The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up." " The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be los ...Show All
.NET Development XmlDocument.Load can't load data from a xml reader, WHY?
Hi, All , I wrote following code and want to save data to a xml file, string connectionString =@"Integrated Security=SSPI;Initial Catalog=pubs;Server=(local)"; string queryString = "SELECT DISTINCT * FROM titles FOR XML AUTO, XMLDATA"; using (SqlConnection connection = new SqlConnectio(connectionString)) { connection.Open(); SqlCommand command = new SqlCommand(queryString, connection); System.Xml.XmlReader xml ...Show All
Windows Forms Oh, the magic that the Tab key does (focus)
[Using VS2005 Beta2...] The FocusRectangle is a very fickle thing. Create a form with two buttons on it. Create a KeyPress event for the form that cycles focus between the two buttons (turn on KeyPreview for the form): private void Form1_KeyPress( object sender, KeyPressEventArgs e) { if (button1.Focused) { button2.Focus(); } else { button1.Focus(); ...Show All
Windows Forms forms on tab pages
I'm working on a project that allows users to read in a file of (numeric) data and manipulate it mathematically. The data is read in as a text file. My application allows a variable number of datasets to be read in and manipulated independently ...Show All
Visual C# Why no multiple inheritance allowed in C#?
Hi , Why no multiple inheritance allowed in C# Thanks, Senthil, You should take a look at this article at C# Corner. ...Show All
Visual Studio Express Editions Accessing drag and dropped files in a console application
I have a console application that accepts tab delimited text files and outputs XML. I'm able to access command line arguments using the My.Application.CommandLineArgs property. However, when a file is dropped on the exe from inside Windows Explorer, the CommandLineArgs property is empty. ex. Your code worked fine for me in both a Console Application and a Windows Application. I tried passing parameters at the command line and using drag ...Show All
SQL Server SQL Server 2005 Remote Connection Problem... Big Time.
Hi, I installed SQL server 2005 express edition on my windows server and I had no problem with connecting it remotely through Management Studio, then I removed it and installed a full edition SQL server 2005. That's when it's gone all wrong. Now I can't remotely connect the server through Management Studio. The error I get is the same as some of the people in this forum has which is: "An error has occurred while establishing a conn ...Show All
Visual Basic VB 2005 Express beta: Replace loop not working
I have a text file with parameters like @@TextBox1@@, @@TextBox2@@, etc. I am trying to replace those parameters with the values of TextBox1, TextBox2, etc. It works fine if I explicitly state the parameter to be replaced as in: Dim fileReader As String fileReader = My.Computer.FileSystem.ReadAllText("D:\My Documents\Visual Studio 2005\textfile.txt") &nbs ...Show All
Windows Forms datetimepicker and bindingsource problem
hi, i have a small problem here with bindingsource and datetimepicker control i bind a data private BindingSource bs = new BindingSource (); bs.DataSource = dataset.Tables[ "my_table" ]; datetimepicker1.DataBindings.Add( new Binding ( "Value" , bs, "begin_date" , true )); datetimepicker1.Value = Convert .ToDateTime(dataset.Tables[ "my_table" ]. Rows[0][ "begin_date" ...Show All
Windows Forms No Touch Deployment and DTS
Hi I have NTD application deployed to a win2003 server with iis6.0. The application loads a DTS Package from SQL Server 2000 on the same server. Running the app from a browser session on the server, it works great, however if I run the app from a client machine, the app runs ok except for the DTS Package does not get executed. I get the following error: Event Source : DTSStep_DTSDataPumpTask_1 Error Code : -2147467259 Source : Microsoft OLE DB ...Show All
Software Development for Windows Vista Parameter serialization error
Hello, I have a parameter in my custom activity which is IPAddress type declared as following: [Description("IP address")] [Category("Net")] [ValidationOption(ValidationOption.Required)] [MergableProperty(false)] [TypeConverter(typeof(IpAddressConverter))] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public IPAddress IpAddress { get { return (IPAddress)(base.GetValue(PortCheckerActivit ...Show All
Visual Studio Express Editions Free and good Tutorials
hi, i hope if anyone counter a good free tutorial that talk about the new concepts of "OO" to share it in this thread . this is a very good online Tutorial its free and covers almost of basics in brief and good explanation the best dictionary to explain computer terms note :- this dictionary have other sections so search for technology sections there a list of terms that used in computer field its ...Show All
Visual Studio Express Editions animate window
hi guyz, i am trying to call animatewindow call from user32.dll.. and it was all correct as it is, it is written as i had seen in one of the web sites. also i tried to find that method using apitextloader (winapi tool) but there is not a function by this name.. but it is there in online msdn winapi support , so what's the deal ,if it's compiling it's not showing any proper animation.. so if anybody can help it would be great ashish ...Show All
.NET Development Anyone have experience with WebDrive and VB.NET?
Hi all, I am trying to use a product called WebDrive (by South River Technologies) to map a drive letter to a secure FTP site. WebDrive works great, except that when I do things in VB.NET such as Directory.Exists("Q:\") or File.Exists("Q:\Test\Test.doc") both calls fail (return false), even though the WebDrive drive letter is mapped to Q and the file Test.doc does exist in the Test directory. Anyone have any ideas about this Cheers, Chris ...Show All
