gavrilenko_s's Q&A profile
Visual Basic strongly typed collection wierdness, vb.net 2005
Ok, I'm really stumped, and I'm probably gonna feel like a fool when someone explains it to me. I've created a strongly typed collection in vb.net (all lower case for ease of typing) public class Foo public name as string public line as integer end class public class FooCollection inherits collectionbase public sub Add( byval aFoo as Foo ) me.list.add( aFoo ) end sub end class Assume that I load a bunch of Foo's, all of which have the same name but have different lines. dim f as Foo &n ...Show All
Visual C# C# NEW BIES
Halo room. I am new bies in C#. May i know where can i learn the ASP.NET 2.0 with C# language I like Pro ASP.NET 2.0 in C# 2005 coupled with Programming Microsoft ASP.NET 2.0 Core Reference ...Show All
Visual Studio How to set the Tableadapter's method in winform
My the datasource of my .rdl is come form a typed dataset which with TableAdapter in it. When we assign this .rdl to a ReportViewer in WinForm, it will generate a BindDatasource, which DataSource attribute is asgined to that typed DataSet, and The DataMember is asign to the DataTabe. But my TableAdapter have two getdata mehtod, one without no parameter, and one with a parameter. How can I set the Tableadapter's method in winform, in order to get the right data When you use the ReportViewer control's Task menu to set the Data Source, it puts a call to the Fill method into Form_Load. If you need ...Show All
Visual Studio Micrsoft Visual Studio 2005 Beta 2 ToolBox integration
We have developed a Microsoft .NET Control library on .NET 1.1. We have added an installer to integrate that library into the Visual Studio 2003 ToolBox. This all works great. Now we are expanding this installer to make it possible to integrate into Microsoft Visual Studio 2005 (Beta 2 at this point), but we cannot add the actual controls to a Tab in the ToolBox. To illustrate the problem, I have created a simple solution in Visual Studio 2003. This solution contains 2 projects: VisualStudioTest and VisualStudioTestControlLibrary. VisualStudioTest is a Windows Forms Application that can add the VisualStudioControlLibrary to Visual Studio 20 ...Show All
Windows Forms how to lock the the start menu and control panel
hi i need to know how to lock the start menu and control panel and make it work again in visual basic code not in visual c please. thanks for help ...Show All
SQL Server SQL Management Studio 2005 SEPT CTP
Hi, I have Sept CTP running happily on Windows 2003 SP1. Like you, a clean install. Let's go back a step. Which management tools did you choose to install Locally, on what I assume is a dev/test server Which .exe are you trying to run You said it was a clean install. Any warnings on the system check before install Anything in Summary.txt Thanks Andrew Watt MVP - InfoPath wrote in message news:92b5ce30-e21d-4803-b3ca-4401bc1b0734@discussions.microsoft.com... >I have installed the Sept CTP of SQL 2005 on a W2K3 Server SP1 and it > installed fine with no errors, but there are a couple of issues. > > 1. I ...Show All
Visual C# How in the world?
I have a text file that I am reading that looks like this: "2002", "1", "500", "2003", "1", "501", "2001", "1", "500", "2000", "1", "503", "2001", "2", "500", "2000", "2", "540", "2003", "2", "550", "2002", "2", "523", The first column is 'year', the second is 'internal/external (1 means internal, 2 means external)', and the third is 'amount'. I want to use these numbers to make a report that looks like the following: Year: Internal &nb ...Show All
Visual Basic Problems installing VB6 program onto other computers...
Hi, I've made a program in VB6, with ADO and an Access database. Now I've made a setup program with the package deployment wizard to install the program on other computers. When I start the setup on a windows 2000 system, It starts with copying 7 files and then gives the message: "Setup cannot continue because some files are out of date on your system.Click OK if you would like setup to update these files for you now. You will need to restart Windows before you can run setup again." So I click OK, restart the system and run the setup again and It just gives me the same m ...Show All
Visual C# global variable for windows application
hello, how can i write and read a global variable for the entire application in C# Many Thanks, Jassim Rahma You can use a class with some public static members or properties. Here is a little example, or you can take a look to the Singleton pattern . public static class Globals { public static string MyString; public static int MyInt; public static double MyDouble; } ...Show All
Visual Studio Tools for Office Unable to cast COM object of type 'System.__ComObject' error
Hello all, I have created an add-in which adds user properties to appointments. When I try to recover these user properties from the calendar of other users, I use the find method to recover all the appointments between a period of time of 3 months. Then, I browse the results to find if the properties meet the criteria, I have the following error : Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.AppointmentItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}' failed due to the follow ...Show All
Visual Studio How do I debug code in design mode (i.e. running under the IDE) using VS2005 RTM?
I have a problem using the new RTM version of Visual Studio 2005. I write a lot of custom components and a lot of the functionality I provide is available at design time, which I need to test and debug. In previous versions of Visual Studio I would just boot up a second VS instance for the same project and attach it to the first to debug, but that does not work in VS 2005 RTM. If I try attaching a second version of the project (DEVENV.EXE) to the first nothing happens, i.e. none of my breakpoints will be hit. However I have noticed that there is a {appname}.vshost.exe process running, but when I attempt to connect to that instea ...Show All
.NET Development 64-bit beginner can't get 32- or 64-bit .NET apps to run on 64-bit machine
Hi, Please forgive this dumb question, but I *just* got my 64-bit (AMD Athlon X2) machine two days ago and am trying to test .NET apps under it. I've gone to Windows Update and installed all available updates. I'm running Windows xp Professional x64 Edition. The problems I have are this: I used Visual Studio 2005 Release Candidate on my other, 32-bit machine to build 32-bit and 64-bit binaries of a little app that does nothing but show the size of an IntPtr when the user clicks a button. I copy the 64-bit app to my 64-bit machine and it crashes on startup. I suspect because I don't have the .NET 2.0 framework on that machin ...Show All
.NET Development importing excel file into sql server
Hello all, I want to import excel file into sql server 2000 using ASP.net . Similarly i want to write a data set to an excel file. Could this be done If yes kindly help me in this regard... If there is a sample code or a tutorial that would be perfect.. Thanz in advance . http://support.microsoft.com/default.aspx scid=kb;en-us;321686 How to import data from Excel to SQL Server View products that this article applies to. Article ID : 321686 Last Review : December 14, 2005 Revision : 3.0 This article was previously published under Q321686 On This Page ...Show All
Visual Studio Express Editions How do I change the primary key of my SQL data base?
I set the primary key of my SQL DataBase to First_Name, Last_Name, Birth_Date. So, the records are in First_Name, Last_Name sequence. I want the sequence to be Last_Name, First_Name. How do I change it hi, first of all primary key doesn't have anything to do with your columns sequence the columns sequence depend on your design wich column you want it to be the first one the last thing is that you can't depend on firstname , lastname, birthdate to be primary keys at all because names can be duplicated and you might have 2 persons have the same name or birth date hope this helps ...Show All
Visual Studio Express Editions Printing in C#
Hi Everyone, can i just say that i think express edition is great! Apart from a few things which i'm sure will be ironed out (have been trying to use #develop, well it's free! It kept crashing my computer so i'll stick with microsoft thankyou!) Now, onto my problem. I have created a couple of applications successfully which i use on a daily basis to help me in my role as I.T Technician. The main one gives me quick access to system monitors e.t.c. I now want to expand on this and build a print function into it. The only problem is that i haven't a clue what i'm doing as far as enabling my applic ...Show All
