GuestMan's Q&A profile
Visual C# Refactoring: Encapsulate field.
Hi All, Just started to look at VS2005 beta 2 - I don't seem to be able to use the encapsulate field refactoring function. I select a private class level variable and click encapsulate field. The IDE then prompts for the property name and displays a code preview window which has the original field renamed to that of the property (highlighted) and no get/set type code. Am I doing something wrong here Cheers, JW. ...Show All
Smart Device Development Pushing application from Server to PocketPC
Hi All, Any ideas how can i push certain application over wireless n/w from server to my PocketPC device and launch the same On Desktop side we have RPC but I don't think so we have it on device. -Seemit Hi, Use Webservice to connect server and Pocket pc through wireless technologies like GPRS/WiFi etc. Regards, Senthil, ...Show All
SQL Server SQL Express Manager: Error occurred during application start up sequence
TITLE: SQL Express Manager ------------------------------ Error occurred during application start up sequence. Application will be shut down. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1187.00&EvtSrc=Microsoft.SqlServer.ExpressManager.SRMainError&EvtID=ErrorDuringApplicationStartup&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: Method not found: 'Void System ...Show All
Visual Studio No data in Reports, but the headers show up fine
C#, VS Pro 2005..... OK, so I've tried the simple approach of creating a form, adding a CR Viewer and ReportDocument to the form, selected just one field from a table (as a simple test - I've tried more complex ones as well). When I run the app and view the form, the report shows up blank, but with the headers visible. Refresh does nothing but, well, refresh the headers. Yep, the Viewer is set to the report name. The preview function sh ...Show All
Windows Forms Inherite System.Windows.Forms.TreeView
I wrote this class public class RTLTreeView : System.Windows.Forms.TreeView { const int WS_EX_LAYOUTRTL = 0x400000; private bool _mirrored= false ; [Description("Change to the right-to-left layout."),DefaultValue( false ), Localizable( true ),Category("Appearance"),Browsable( true )] public bool Mirrored { get { return _mirrored; } ...Show All
Visual Basic generic error occured in GDI+ (drawline)
I've just converted my program from VB 6 to VB 2005. There is a lot of graphics involved, drawing lots of lines to make models. The lines were all formerly drawn with the Line command on the forms, but now that that is gone i have run into problems switching to the new commands. My program is fairly large with many forms and modules so I was unsure about some of the things i did. I declared all the graphics in one module as follows: "Public ...Show All
SQL Server How to restore SQL 2000 DB to SQL 2005
Hi, All I am trying to restore SQL 2000 DB into SQL 2005 Database. I backup the database from SQL 2000. From Management Suit, I try to restore database but I can not see network drive from there even though SQL serveris running under network account. I could see network drive from SQL 2000 or at least I can type path to find backup file. However I can not do this.. My Q is: 1. How can I restore this SQL 2000 db to SQL 2005 using network path 2. ...Show All
SQL Server collation conflict after configuring distribution SQLServer 2005
Hi I (absolute beginner) configured a distribution on a publisher wich acts as its own distributor. I did it by right click on replication "configure distribution", followed all instructions and chose all default values. Nothing more. But now I want to view the distributor properties and following message appears: TITEL: Distributor Properties ------------------------------ SQL Server is unable to complete the Distributor Pro ...Show All
Visual Studio Embedding Relationships and Inheritence
I have an embedding relationship within my domain model. I would like the contained class to be able to inherit from another class. However, this doesn't appear to be not supported in the DSL. Is there anyway that I can setup this inheritance relationship Cheers Susan Entwisle From an offline peek at Susan's model. The proposed inheritance relationship would make the contained element reachable in two different ways ...Show All
Visual C# Where OSQL.exe
Hi, How can I get the path to OSQL.EXE for install database with SQL file Thank's Alexei Hi Alexei, The following tip should help you: http://www.devx.com/vb2themax/Tip/19583 Let me know if you face issues in converting that code to C#. Regards, Vikram ...Show All
Visual Studio 2008 (Pre-release) AsyncCallback threw an exception
I have created WIndows Service & deployed it on Win 2003 Server. This service just has Add/Multiply function. My WCF client is noramal WEB App. which is consumming this service the Service returns me the Result but after proxy.End MethodName ( IAsyncReslt ) gets executed it gives me the Error saying AsyncCallback threw an exception. Can anyone please help me on the same. Following is my Web Page Code. public partial class _ ...Show All
Visual Studio Express Editions Newbe question, incrementing a value
I'm trying to increment a value every time button_1 is clicked. Can someone tell me why the following code doesn't work. Thanks in advance. Ken Public Class Form1 Dim number As Integer = 0 Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click number = number + 1 End Sub Ken, I do not see any errors in you co ...Show All
Visual C# application settings
Hi, is there in .NET some classes easy to use to retrieve and store user data to XML thank you thanx this is what i need. only few correction was needed to exclude from "application project" and make an dll library useful in c# :) ...Show All
SQL Server USING BI Studio how to create Dynamic Connection String in SSIS Package
Hi I need help for Connection string: Requirement: When we create SSIS Pacakge using Businessinteligence studio.Each Source and Destination or whatever we using the Control required DB Connection. we connect theDB server and Database Table through manaully .Instead of Manual i need dynamic Global varible for Connection String .How to achieve this connection string. because suppose we create SSIS Package in Developement Server ...Show All
Visual C++ Why doesn't the following compile under VC2003?
Why does the following code snippet not compile in Visual C++ 2003 It compiles under GCC, so why not in VC2003. What is wrong with it // Outter class: class Outter { public: // First inner class: template class Inner1 {}; // Second Inner class: class Inner2 { public: // Method definition: Outter* Inner1() {} }; }; Well, it compiles fine under VC2005. And it compiles fine under VC2003, here. // Method declara ...Show All
