kalai's Q&A profile
SQL Server RS on clustered server
I installed clustered sql2k5 with RS, and went through RS configuration without error. But got following errors when try to browser RS site, IIS is running: For reports site, I got: Server Error in '/Reports' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Micros ...Show All
Smart Device Development Connect Grayed Out
I'm trying to set up the Microsoft Device Emulator for testing some handheld applications we use here. I downloaded and installed the MDE just fine, and I can open up all of the the emulator images. The problem is, I can't connect it to my PC. When I right click the device in the manager, the connect option is grayed out. I'm not sure why, as I couldn't find anyone else who seems to have had this problem. Any help is greatly appreciated. Chris The Manager grays out all options in the Actions menu temporarily, while it is updating its internal state. What happens if you click the "Refresh" bu ...Show All
Visual Basic How can I change a DataGridView Fontsize in VB.Net at runtime
Is it possible to change a datagridview's fontsize at runtime I have an application that is designed to run on a 1024 x 768 screen. However it will fit on a 800 x 600 screen if I reduce the fontsize. I have determined the screen resolution using the screen.primaryscreen.bounds.size.tostring function I tried this: Me .RatesDataGridView.Font.Size=8 but it is readonly. I figured it out. I dropped an invisible label on the form named lblfont8 I then assigned the datagridview to use that font me.ratesdatagridview.font=lblfont8.font works great. ...Show All
Windows Forms How to manipulate forms/objects from sub programs in modules
Hi at all, I have read "Working with Multiple Forms in Visual Basic.NEt but it don't really helps, maybe I'm rather to old for all this stuff. :-( I'm not able to find a real solution within the forum and the documentation so I try to post my problem and hope someone has a solution for this I have 2 forms - Form1 and Form2 and a module Module1. Form1 has 1 label, Label1, and 2 buttons, button1 and button2 . Form2 has 1 label, Label1, and 1 button, button1. *-------Source Code---------------- Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Ha ...Show All
Visual Studio Team System Buying VS2005 Team Foundation Server - need to purchase SQL 2005 separately?
We're getting ready to purchase VS Team Edition for Software Develer, VSTeam Suite and VS2005 Team Foundation Server. I've also looked at the software requirements for VSTeam Foundation Server and see that it also requires SQL Server 2005 SE or EE. I was not sure that whether we have to purchase SQL Server 2005 separatly, so I talked to Microsoft presale. They did not answer my question directly but instead direct my to URL http://msdn2.microsoft.com/en-us/library/ms400732.aspx Then again, I called Microsoft presale to get pricing for SQL Server 2005. They suggested to I go to one of authorized volume licensing to get better deal for ...Show All
Windows Forms How to use Internal UserControl
How to insert a Interal UserControl onto the windows form in vs2005 UserControl & Form are in the same project. In vs2003 the UserControl would show up in the toolbox. Thanks Sid Sidnew Once the solution has been built, the UserControl should appear in the toolbox under a heading [ProjectName] Components, where ProjectName is the name of the project the UserControl belongs to. ...Show All
Smart Device Development using System.Net.NetworkInformation
hi, I'm new in CF. I want to port a source code to windows mobile 5.0. ( please in other forum: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=114148). Could i use following libraries in CF using System; using System.Threading; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Reflection; using System.IO; using System.Security; using System.Security.Permissions; using System.Xml; using System.Diagnostics; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Security.Principal; using System ...Show All
Visual C++ LNK2028 when using /clr:oldSyntax in VS2005
It appears that the error relates to using /clr:pure, but I am not. The class it is complaining about is in the unmanaged library, and that library is specified in the link options. It was migrated to and built by VC++ 2005 from the 2003 version. I don't understand the extern "C" part of the error msg because there is nothing in this class that references any C code - it is all C++. There is a C code module in the library, but not related to the class CErrorWindow. This is a Web Service project that compiles and works under VS2003. The instance of CErrorWindow that is referenced in the code is a global instance that is crea ...Show All
Smart Device Development windows mobile 5 development
Hi Can anyone guide me that where can i get examples for database connectivity and displaying data in Grid thanks Are you talking about C++ If yes, start by writing DataGrid because there's none. If that's C# or VB, you're in the wrong forum. Anyway, sample for managed DataGrid is available here: http://samples.gotdotnet.com/quickstart/CompactFramework/doc/datagrid.aspx Also please see this: http://msdn.microsoft.com/smartclient/understanding/netcf/FAQ/default.aspx ...Show All
Visual Basic Upgrade Error
I have a VB 6 project. I want to upgrade it to VS.net. But when the status is "Pre-processing Form1", a messagebox shown up with a title "Visual Basic Upgrade Wizard Error" and the message is "Upgrade failed: Upgrade cancelled" What shoul I do I can open and compile it. If the new project (in vb2005, the same project as in vb6 that i've tried to upgrade it in vs.net) is finish, I'll send you my project. You can give me advice. I've tried Visual Studio 2005. I've upgrade vb6 project to vb8. It worked! ...Show All
Visual C# Masking PAsword in Console application
I am writing a Console application, in which the user is prompted for a password. How do I mask the password, that the user is typing in C# Thanks for your help. A great article can be found on codeproject: .NET Console Password Input By Masking Keyed-In Characters . ...Show All
Windows Forms Close button problem...URGENT!
Anyone know how I can conrol what happens when a user presses the close button on the for ( the x int the top right corner). My problem is that the form doesnt close when the button is pressed. Please help!!!!! Found that the code i tought fixed the problem earlier did'nt. Had to tweak it a litle more... protected override  ...Show All
Windows Forms Dynamic creation of an SQL Server database
i am running the function ExecuteSql(strDBName, GetSql("ERD.DDL")); Here is the actual function is define Private Sub ExecuteSql( ByVal DatabaseName As String , ByVal Sql As String ) Dim Command As New SqlClient.SqlCommand(Sql, SqlConnection1) Command.Connection.Open() Command.Connection.ChangeDatabase(DatabaseName) Try Command.ExecuteNonQuery() Finally ' Finally, blocks are a great way to ensure that the connection ' is always closed. Command.Connection.Close() End Try End Sub the problem is that when i call the ExecuteSql and i have the sample s ...Show All
SQL Server SQL Server Express and Win98
Quick Question: It does not appear that SQL Server Express supports Win98. It is the upgrade path for MSDE, which does support Win98. In a vertical market, such as the Automotive Industry, where business owners are not as savvy as the typical user in a forum such as this, the owners don't upgrade their computers and OS all that often. Microsoft has extended support of Win98 to June 06, and in some areas further. === What is the possibility of getting SQLXpress to install and work on Win98 === Thanks I guess we have to wait to see if someone from Microsoft answers that. I have not tried to install it on an XP system, then XCOPY to a WI ...Show All
Visual Studio Team System Problem whith Variable Rule
I have this code: using System; using System.Globalization; using Microsoft.Cci; using Microsoft.FxCop.Sdk; using Microsoft.FxCop.Sdk.Introspection; namespace Microsoft.FxCop.Rules.Samples { internal class ReglaVariableObject : BaseRule { public ReglaVariableObject() : base("ReglaVariableObject") { } public override TargetVisibilities TargetVisibility { get { return TargetVisibilities.All; } } public override ProblemCollection Check(Member member) { Method method = member as Method; if (method == null) return null; LocalList local ...Show All
