sanjay tiwari's Q&A profile
SQL Server Windows Vista and Setup Question
Hi, I was finally able to get my hands of Vista so I excitely upgraded my PC to it yesterday. After the installation goes smoothly and I ran the setup files from my SQL Server 2005 Developer Edition and I found that the setup script cannot detect IIS (perhaps it is due to the fact that Front Page extension is no longer part of IIS 7.0 ) - So I faced with the problem of not able to setup Reporting Service on my PC.... Does anybody faced the same problem and how to fix this issue Thanks for the information in advance! Mark When I try to install Reporting Services on my Vista x64 machine, the following happens: * In the System Configuration Check, there is a "ASP.Net Version Registration Requirement" warning. ...Show All
Windows Forms Custom editor on Property Grid using my.settings as selected object
How can I apply a custom editor to a property in the my.settings class I have tried adding the the line <EditorAttribute(GetType(System.Windows.Forms.Design.FileNameEditor), GetType(UITypeEditor))> _ to the property definition in settings.Designer.vb like this: < Global .System.Configuration.UserScopedSettingAttribute(), _ Global .System.Diagnostics.DebuggerNonUserCodeAttribute(), _ Global .System.Configuration.DefaultSettingValueAttribute( "Label1" ), _ EditorAttribute( GetType (System.Windows.Forms.Design.FileNameEditor), GetType (UITypeEditor))> _ Public Property myFolder() As String Get Return CType ( Me ( "myFolder" ), String ...Show All
Visual C++ Replacing dbghelp.dll with the newest version in VS 2003?
Hi, would it be a good idea to replace dgbhelp.dll with the newest version from debugging tools Replacing the old header and compiling & distributing with the new dll I currently use VS 2003 and program generates minidumps when it crashes. Best wishes, Andy It's only a good idea if you're having some problem with your existing version. They should be binary compatible so I don't think it would be a risk updating to them. ...Show All
Visual C# How to transfer color images to grey images using C#
Hi, I am trying to use C# 2.0 and visual studio 2005 to compile a window app or web app. In this app, I have to transfer almost 2,000 colorful images to grey images. I do not know how to do that Anyone can provide a block of simple example for that Thanks a lot. Thanks a lot for your so quick response. The performance is very key for this project. Will "change image attribute to change to Grayscale pictures" be fast Any other ideas or other sample codes Thanks a lot again. ...Show All
SQL Server Can't connect to server
I reinstall sql server develope edition. Then I try to connect the server from another computer, it shows below infomation. But in server property, it allows remote connection. I don't know whether it was caused by reinstall. Before reinstall, I can connect to the server, but it's edtion is group version. And edition for client is also group version. Any one can help me Thank you very much! TITLE: Connect to Server ------------------------------ Cannot connect to *.*.*.*. ------------------------------ ADDITIONAL INFORMATION: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. When connecting to SQL Server 2005, this failure may be caused by the fact that under t ...Show All
Windows Forms Cannot bind data to a listbox inside a user control
I have a listbox that is populated by setting the DataSource property to a bindingSource and displayMember to the value I like to display. This is all done in design view, so I have not written any code. However, if I put the listbox in a user control and do exactly the same thing, the listbox does not display any items. What am I missing here! Try manually set the datasource of the ListBox in the UserControl's Load event: private void UserControl1_Load( object sender, EventArgs e) { this .listBox1.DisplayMember = "your field name" ; this .listBox1.DataSource = yourDS; } What's more, to set the ValueMember or not is not a must. ...Show All
Visual Studio 2008 (Pre-release) Provider for MS-Access-Database available?
I would like to work on Access-Databases with LINQ/DLINQ. Of course, I used the Search-Feature (several months ago) in order to find out, how to realize this. It seems that there is (was) nothing officially. I read rumors, that there might by a provider for mdb-files, but nothing for sure. Because the search-feature seems unable to sort the entries by date descending, I ask you now directly, whether something has been done in the meantime. Is it possible to work with a Linq / Access Combination at the moment Or maybe you can tell me an appx. release date for this provider Would be grateful to hear from you... Rooster Keith Farmer wrote: (I want LINQ to Warcraft ) Hehe ...Show All
Visual Studio Express Editions Problem with Tabcontrol
Hello everybody! I ran into a problem using the .NET 2.0 Tabcontrol: I need to have the single tabs left-aligned instead of top-aligned, but when I set the alignment property in the visual designer to "left", something goes wrong with the control. Eg. the text displayed on the tab registers disappears and the whole control seems to look a little strange (can't point the finger on something specific though...). Without the text on the registers the thing becomes somewhat useless. So, is there a way to fix it or any kind of work-around Thanks a lot, Tobias Koerner Yeah, that doesn't look good. Try changing the Appearance property to get text. According to this thread , it is a &quo ...Show All
.NET Development Update Database from Dataset / Datagrid
I've been struggling with this as well. A lot of the documentation has to do with SQL and I am working with OLEDB from an Access DB. I want to import the DB to a dataset, populate the datagrid with the dataset. Updates will then be made to the datagrid programatically. Once verified they'll then be updated back to the dataset, then to the DB. I'm having an issue with sending the changes from the datagrid to the dataset and in turn, the DB. I modified the above code slightly to work with my adapter/datagrid and it looks like I need to convert my Datagrid to a datatable before attempting to update the dataset. I get the following error with the code above: Unable to cast object of type 'System.Data.DataSet' to type 'System.Data.D ...Show All
Visual Studio Team System Performance counters from a Linux server (web/loadtest)
Hi, I'm running various load tests, testing web services on windows and linux servers (using axis). Adding performance counters from the windows servers works fine, but how could I collect performance data from the java web services running on Linux It would be great if I could add the Linux counters directly in the load test counter sets. That way it would be added to the Load Test Result Store (DB) directly. Is there support for SNMP How could I solve this in any other way If this is not possible, is there an API to insert "custom" performance data into the load test result store (db) without accessing SQL Server directly That way maybe I can "poll" the performance data from the Linux server some other way... ...Show All
.NET Development Change Connection String based on checkbox
Hello everyone, I'm working on a VB application in VS 2005. The application was originally built in 2003 (1.1) but I'm starting afresh - I did not want to migrate / upgrade. The application is used for 3 sites, and each site has it's own backend SQL database (all on the same central server) and all databases are set up exactly the same - it's set this way to split the data, as certain lookups and tables are site specific. On the original application, I have 3 radioboxes - Site1, Site2, Site3 appear on a form that is first loaded. Only one of these checkboxes can be checked, and when one is, a global variable is set to true, and another two to false - i.e If me.rbSite1.checked = true then varSite1 = true varSite2 = f ...Show All
.NET Development Input an <ss:Row> tag into an Excel XML input file through XSLT
Hi, I need to apply an XSLT on an input Excel XML file, wherein I need to insert a <ss:Row> before the 24th position of <ss:Row> on the input file, and for the <Cell> tags inside <ss:Row> I need to select the value from a second XML file. The Excel XML input file would look like this : < xml version="1.0" > < Worksheet ss:Name =" Sold - Bonds " xmlns =" urn:schemas-microsoft-com:office:spreadsheet " xmlns:o =" urn:schemas-microsoft-com:office:office " xmlns:x =" urn:schemas-microsoft-com:office:excel " xmlns:ss =" urn:schemas-microsoft-com:office:spreadsheet " xmlns:html =" http://www.w3.org/TR/REC-html40 "> < N ...Show All
Smart Device Development How to access a Pervasive database from Win CE 5.0-device?
Im about to begin develop an application for a device running Win CE 5.0. My developing environment is VS 2005. I would like the application to access a Pervasive database. The problem is that Pervasive doesnt have a client for Win CE. What options do I have ...Show All
SQL Server Gap filling in a time series
Hello, I am new to SQL Server and learning lots very quickly! I am experienced at building databases in Access and using VBA in Access and Excel. I have a time series of 1440 records that may have some gaps in it. I need to check the time series for gaps and then fill these or reject the time series. The criteria for accepting and rejecting is a user defined number of time steps from 1 to 10. For example, if the user sets the maximum gap as 5 time steps and a gap has 5 or less then I simply want to lineraly interpolate betwen the two timesteps bounding the gap. If the gap is 6 time steps then I will reject the timeseries. I have searched the BOL and MSDN for SQL Server and think there must be a solution using the PredictTimeSer ...Show All
Windows Forms How to Pick up the XP Theme Color Change Event
Does anyone know how to pick up the event that is fired when the user changes the theme color on XP My code works by setting the color when the user loads the form but it would be nicer if it could actually pick up the event that is fired. Ta Implement the form's WndProc() method and listen for the WM_THEMECHANGED message. For example: private const int WM_THEMECHANGED = 0x031A; protected override void WndProc(ref Message m) { if (m.Msg == WM_THEMECHANGED) DoYourThing(); base.WndProc(ref m); } ...Show All
