HotKeeper's Q&A profile
SQL Server Semi-Additive Measures not supported in MS SQL Standard Edition SKU
The Semi-Additive Measures feature of MS SQL Server 2005 is not supported in its Standard Edition SKU. How do solve this issue What editions support the feature http://msdn2.microsoft.com/en-us/library/ms143761.aspx ...Show All
.NET Development Need Help On HttpWebRequest
I am using below code to test HttpWebRequest. If you put this URL and use given userid and password its taking me to the invalid user screen. This site is a third party site and I don't have any other info. Below is my code =============My Code-----===================== ========== HttpWebRequest webRequest = (HttpWebRequest)WebRequest .Create(" https:// website"); string postData = "txtLogin=ABC"; postData += "&txtPassword=def"; postData += "&__VIEWSTATE=dDwtNzE3NDAxOTg4O ztsPGJ0bmxvZzs+PvynWXke2BHF7+n +YmeE08t7FGuU"; postData += "&btnlog="; webRequest.CookieContainer = new CookieContainer(); webRequest.Method = "POST"; webRequest.ContentType = "application/x-www-form -urlencode ...Show All
Visual Studio MsBuild Task and References
Hi, Is there a way in MSBuild task to specify reference folder to find referenced dll if it cannot find in the referenced path specified in the csproj file which it is trying to build. To state more clearly, the way we can specify References for CSC task is there something similar or a way around. Thanks MRI MRI - Where you ever able to resolve your issue I'm converting from Nant to MSBuild, and it's a huge annoyance - almost to the point where I'm considering sticking with Nant. Let me know what you came up with. John ...Show All
Smart Device Development check if device connected or not
Hello sir/madam, I need some sample codings in vb.net so as to know whether my SmartDevice is connected to my USB drive/PC or not any clues You need to be more specific. Connected to what Your PC via AS Internet LAN Know on which side Code on PC needs to know if device is connected Code on device needs to know if PC is connected Connections to PC and USB drive are very different. For starters, it's different kind of USB (host vs. client). Detection would be very different for these cases you've combined into one. ...Show All
Visual Studio 2008 (Pre-release) Repeating Visual Data Depending on Number of Items in Array
Hi everyone, I'm trying to figure out how to have a panel + textField repeat vertically depending on the number of items I have in an array. Essentially, what I am trying to do is similar to what is shown here: http://blogs.msdn.com/unnir/archive/2006/03/01/541154.aspx#comments Instead of having an itemscontrol with stock quotes appear everytime a stock is entered, I would like to instead display an items control containing a panel + text where the text information is taken from an array. I used Expression Interactive Designer to snoop around in the source code Unni provided in his Stockwatch example, but I could not figure out what exactly causes the duplication of the results in his itemscontrol. Since I a more familiar with coding i ...Show All
.NET Development Network Stream Read Progessive Slow Down Issue
I have an issue with reading a byte stream from a NetworkStream created from a TcpClient. The client application is sending and recieving information from the server app, however as each communication occurs, the time needed to read the first byte from the server slows down exponentially. I have used a loop that continues checking the NetworkStream object's DataAvailable property, and that is where the slow down is occuring; it takes longer and longer for the stream to become available. The server app does not have any slowing to its code causing this error. It loads an .net XmlDocment object and saves it to the network stream, and then writes a 0 byte to the stream. The time growth is exponential, which leads me to believe it has someth ...Show All
Visual Studio Express Editions How to Bind Column with TextBox
Dear All, I want to bind a textbox with a column and then move forward and backward in dataset. so please tell me how to bind a column with a textbox, please write complete code. d s = new DataSet (); adapter = new SqlDataAdapter ( "select * from a" , connection); adapter.Fill(ds, "a" ); hi, as what ahmad said you have to check if there is any data in your table , another way to test tableAdapter.Fill() return int which represent the number of rows that was brought to your table you can expose this number in a message box to check to move between the records , you can use a bindingsource in between your datasource "your table" and the textbox, it will be something l ...Show All
Visual Basic list of html files from local directory as list of url's in webbrowser control (WinForms)
using the Windows forms Webbrowser control, how would I display a list of anchor or 'ready to click on url's' from a list of local html files thx. -greg Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each filePath As String In IO.Directory.GetFiles (Environment.CurrentDirectory, "*.html", IO.SearchOption.AllDirectories) webbrowser1. Next filePath End Sub you need to enclose double quotes on the link....but there is still another problem, it wont navigate! ill see what i can do but this is almost there.... myPage.Append( "<html><head><title>my title</title></hea ...Show All
.NET Development How to load assembly from config file
Hi, we have to define COM/.Net references in come configurable file in Windows Forms application (class library). For .Net Web application we can add something like this in web.config file to define a referance: <configuration> <system.web> <compilation> <assemblies> <add assembly="System.Data, Version=1.0.2411.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </assemblies> </compilation> </system.web> </configuration> But for windows this element is missing. Is there any way thru which we can load assemblies from any configuration file or any updatable file. Regards Sid Is this what you are trying to do Best regar ...Show All
SQL Server configuring sql express on installation
Can someone explain to me what SQLACCOUNT=<domain\user> is or should be set to I get an error telling me to specify a built in account or give a username domain and password for each service. How do I specify these things I didnt see those in the 1 msdn page that explains this. I asked this before but I still cant figure it out. Thanks. It will be needed for the service account that will ne used to start the Windows Services that come along with SQL Server. See more information about the possible options here: http://www.haidongji.com/2005/10/21/silent-install-command-line-install-of-sql-server-2005-part-3/ HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Tools for Office Outlook 2007 Add-in woes
I have been developing/maintaining an Outlook plugin for over a year. It works fine with Outlook 2003, as well as Outlook XP. Unfortunately, during my testing with the Outlook 2007 Beta 2 version, I've run into some problems. It seems like enabling my add-in causes Outlook to throw an exception when it exits. I am using a debugger and Application Verifier to try to solve it, and this is what I've come up with: When the add-in is enabled, I receive the following error from Application Verifier on exit: ======================================= VERIFIER STOP 00000202 : pid 0xC38: Freeing heap block containing an active critical section. 0B65AB98 : Critical section address. 00000000 : Critical section initialization stack trace. 0B658AE0 ...Show All
SQL Server not seeing report builder button
I'm not seeing report builder button from the report manager. What could be the problem Thanks in advance!!! I'm seeing this as well. We upgraded from SRS 2000 to 2005. In my case typing in the correct path to the report builder works as expected but there is simply no button. ( http://<Servername>/reportserver/reportbuilder/reportbuilder.application ) I also checked the "Enable Report Design Client Button" setting in the ReportManager\RSWebApplication.config file to be sure it was set to True - it was and I still have no button. Hopefully you can derive some value from this - and if someone else knows maybe we both can benefit! ...Show All
Visual Studio 2008 (Pre-release) How to handle failed logons
Hi, With a secured service, what is the usual means of handling a logon failure Should I just catch an exception Should I define a separate unsecured Logon service that returns true / false depending on whether a credential set is valid And is there a way to detect whether a service proxy has successfully authenticated with the server Thanks, Kent Hi Scott, I've just upgraded to the June WinFx and now it works as expected. So I guess we'll put that down to a fixed bug... Thanks heaps for your help! Kent Boogaart ...Show All
SQL Server Association Rules algorithm [support,confidence]
In assotiation rules each rule has a [support, confidence] part. In Microsoft Association Rules there is a [probability,importance] measure in each rule and importance can be greater that 1. I found the following in msdn but i'm not sure if i understood correctly. MINIMUM_PROBABILITY: Specifies the minimum probability that a rule is true. For example, setting this value to 0.5 specifies that no rule with less than fifty percent probability is generated. The default is 0.4. MAXIMUM_SUPPORT: Specifies the maximum number of cases in which an itemset can have support. If this value is less than 1, the value represents a percentage of the total cases. Values greater than 1 represent the absolute number of cases that can contain the items ...Show All
.NET Development Newbie Q. Posting XML
Hi all, new to XML, relatively new to VS2005 (C#). My company purchased an API developing tool that rests on an internal server. I'm trying to create a C# VS2005 .net app that will take the value from a text box, stick it in an XML node, and then send the entire XML "envelope" to an address internally. Once it receives the XML file, it returns values from a DB also in an XML format. So what I can't seem to figure out after almost a day on Google: 1. How do I create the XML document to put text box values into the area below that has 123456789 in it I tried to add a new item (.xml), pasted below into it, but can't seem to tie a text box to the SerialNumberIdx node... <Envelope> <Header> <ApiName>OurDevelopedA ...Show All
