DJ Phil's Q&A profile
.NET Development cs0006 error.
Hello I have a single website. And I got this strange error. CS0006. Afer that I delete some temporary files on this folder. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files I restart the vs2005 and it works. but its driving me crazy is that a bug I have no references on my website or strange things. It only has some pages with webparts. Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabindex=1&tabid=39 The short answer to ...Show All
Visual Studio Can't install VS Team beta 2
After downloading this file for 30 hours and getting it to a DVD, I immedialty get an error returned when starting setup.exe: 'Setup was unable to copy the file E:\VS\setup\DeleteTemp.exe to your temporary directory. Please make sure that the file exists and rerun setup.' In checking for this file I found that in does not exist. There is a DELETETE.exe file. I went back to my hard drive and renamed this file to DeleteTemp.exe and ran the setup.exe from there. I get to the splash screen and select install VS Studio and I now get the message: 'A problem has been encountered while loading the setup components. Canceling setup.' I have not insta ...Show All
Visual Basic Installed Printers in 2005 beta 2
I am trying to get a list of installed printers. I added a form and a printdialog1 and the following code: Dim i As Integer Dim pkInstalledPrinters As String Dim printdoc As String For i = 0 To PrintDialog1.InstalledPrinters.Count - 1 pkInstalledPrinters = PrinterSettings.InstalledPrinters.Item(i) comboinstalledprinters.Items.Add(pkInstalledPrinters) Next For Each pkInstalledPrinters In PrinterSettings.InstalledPrinters comboinstalledprinters.Items.Add(pkInstalledPrinters) Next 1. printdialog1.installedprinters returns a message not being a member of printdialog1. 2. PrinterSettings ...Show All
Windows Forms Application Setup
I've created my 1st app in winform (till now without help, but it's another problem :) ). App is small (40KB) & works fine.... On my comp only :( My buddy wanted to see it & received message "The application failed to initialize properly (0xc0000135). Click on OK to terminate the application." As I've found on MSDN it's ...Show All
Visual Studio Team System Set up of agent and controllers
Where can we find the setup.exe file to set up agent and controller functionality You need to be an MSDN subscriber or you can go to this page to order Beta2: http://lab.msdn.microsoft.com/vs2005/get/default.aspx The Agent sku is also available in the August CTP. We recommend you use this version over the beta. Ed. ...Show All
Visual Basic Can anyone here tell me the shipping date and the price of vb/vwd 2005
Now I'm kickiing a project, I'd like to dev it using the vb/vwd2005.But I dont know the shipping date and price of vb/vwd 2005 :( Can anybody tell me - Mike Hi, Detailed pricing information can be found from this link: http://msdn.microsoft.com/howtobuy/vs2005/ There is no guaranteed ship date as yet. Last when I heard it was Sept 2005 for the final version. Regards, Vikram ...Show All
Visual C# Help! How to write 'get''set' property for an array of structs?
Hi, i'm hoping somebody can help me out with this problem which has got me stumped (still new to C#) In my console application, ive created a class called Map which contains an array of structs. To access this array from the main class which contains main(), i attempted to write 'get/set properties' for the array, but it seems to have gone horribly wrong ==================================================================== Here is the struct: struct positionStruct { public string location; public int coordinateX; public int coordinateY; public int coordinateZ; } ========================================================= ...Show All
Windows Forms bar chart, pie chart, line chart
Hi, How can I make various kind of charts in my application, such as bar, pie and line. The datasource is dataset. Any samples I found a few on google , but they are for ASP.net and involves HML and .aspx Thanks You can try Nevron Chart for Windows Forms. The component supports GDI+ and OpenGL rendering, numerous charting types with built&nbs ...Show All
.NET Development Pass object by Ref
Hello, I have sort of dummy question If I pass object by ref to the remoth method, and in that method I call method or property of this object, is it going to be executesd on the client or on the server, and also is it going to make a trip to the client In other words: //remote method on the server remoteMethod(ref MyObj obj) { obj.Add("test1"); obj.Add("test2"); obj.Add("test3"); } is going to do 3 additional trips to the server Thank you May be I am becomming very annoying but ... if we have the follow situation: public class A : MarshalByRefObject, IManagedObject { ...Show All
Visual Studio 2008 (Pre-release) DLinq Database Creation
Hello everybody! Just some suggestions: 1) I'd like that .CreateDatabase() method from DataContext creates the Indexes by something like class attributes thus I would not need to do nothing on the Database IDE I think that database it's only to store objects and I prefer to parse manually objects also because can it have custom constraints. It has some plans in these scenario for next version 2) I'd like also of the DataContext translate types changes to the database througth something like "AdjustDatabase()" method. 3) It has some plan or research in Microsoft to an OODB product If no, Why not Thanks and ex ...Show All
Visual Studio Printing issue with report viewer
Application: WinForm app with local hosted report, deployed using clickonce via HTTP; System: XP, VS2005 Beta 2 Problem: when report is open, click on print preview, everything looks fine. However, if I click print button to send it printer or Office Image Writer, the outcome is strange: font size becomes larger, page settings (margins) are not properly recognized, and content is pushed to the right and bottom causing cut-offs. Any idea how to fix this Thanks. Thanks. Is this fix included in RC1 Is RC1 more or less stable than Beta 2 ...Show All
Visual C# Access Web Form member from it’s hosted windows user control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind or set a web form’s member value. Does anybody know how to do that I would appreciate any suggestions! Thanks in advance! First off you need to define your interface. This is a simple interface declaring the events you will fire, and any properties/methods you will access from the web page. It needs to be visible to COM, so use the following as a template: [GuidAttribute("1F98211C-7A71-4588-8D4A-AD85CA80BAE7&q ...Show All
Visual C# logic issue
I have a drop down populated with a dataset, the list is full of data items that can be registered. I have a submit button next to the drop down, when the user clicks the button then the current selected item is passed into a method to save the item off to the database. When the item is saved i use the selected value to populate a gridview showing currently registered products, this all works fine until I have registered all available items, upon which the drop down list is empty. What I need to do is hide the drop down list along with it's button when there are no more records available. I have the following code: namespace CapitalI ...Show All
SQL Server SQL Server 2005 Remote Connection Problem... Big Time.
Hi, I installed SQL server 2005 express edition on my windows server and I had no problem with connecting it remotely through Management Studio, then I removed it and installed a full edition SQL server 2005. That's when it's gone all wrong. Now I can't remotely connect the server through Management Studio. The error I get is the same as some of the people in this forum has which is: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network In ...Show All
SQL Server Can not create new replication after changing server name
After i changed my computer's name(eg. the original computer name is 'SERVER-1' ,I has changed it to 'SERVER-2' ),I can not create a new replication in SQL Server 2005. The error message : ------------------------------------------------------------------------------ New Publication Wizard SQL Server is unable to connect to server 'SERVER-2' . SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not ...Show All
