EdTacey's Q&A profile
Visual Studio Crystal Report Viewer in subdirectory
hi, I'm using VS2005 + CRXI r2 to publish some reports using ASP.NET. If I add a crystal reporter viewer to a page in the root directory of my website everything works fine. If I try to add a crystal reports viewer to a page in a sub directory I get the error : CrystalReportViewer - CrystalReportViewer1 Error: Object reference not set to an instance of an object. I'm guessing this is something simply but I have no idea what it is. I have seen many pages that give solutions saying I need to create a crystalreportsviewer dir in IIS but I already have this (hence root pages working ok). many thanks for any help. ...Show All
SQL Server T Cannot connect to MSSAS 2005 Standard on local machine
I have installed SQL2005 completely, including Service Pack 1. Using Mgt Studio, I can connect to the relational db. I am not able to connect to analysis services though! The error message I receive is :"A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient". The additional information says: "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.(System)." The service is certainly running (I see this in the Mgt Studio). I am able to connect to the service on another machine. However, once I try to browse a cu ...Show All
Windows Forms DefaultCellStyle.Format for an unbound row doesn't work.
I add a DataGridView to a form and use the IDE to set the DefaultCellStyle.Format for one of the columns to "C2". When I run the form, I can enter any value of any type and nothing gets formatted or validated. I tried setting the value in the form's constructor as well, but the results are the same. Why doesn't this work Assuming this is unbound... Usually a cell format problem has to do with the underlying Type of the cell. I would suggest trying to set the ValueType of the column to something specific - I think the default is Nothing. If you are unsure, try setting i ...Show All
Visual Studio Team System You are not authorized to view this page2
I've got the same problem as RubyG (see previous thread): I can not connect to TFS via http://localhost:8080 - because of "You are not authorized to view this page" error. Also I can not connect to SharePoint Central Administration via http://localhost:1957 for the same "You are not authorized to view this page" reason. In Microsoft KB I've found the article about the problem ( http://support.microsoft.com/kb/321488/ ) but it was useless - configuring Virtual Server to use basic authentification did not help. I use Windows 2003 server with SP1 Always login as administrator Installed all step by step using "Team Foundation Installation Guide" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Microsoft.DirectX.Direct3D.DeviceLostException
Well it seems that I am not the only one who is getting this exception. Everytime I Ctrl+Del while in my application, I am kicked back to .NET wit this exception: An unhandled exception of type 'Microsoft.DirectX.Direct3D.DeviceLostException' occurred in microsoft.directx.direct3d.dll Additional information: Error in the application. I thought it was device.DeviceReset event triggering, but that did not seem to solve the problem. I am getting the same problem in SDK tutorials too. What is causing this problem and how could I fix it Thank you. Actually after playing around with dev ...Show All
Windows Forms DataGridView - how to prevent deselect in full-row single-select mode ?
We have a DataGridView bound to an object bindingsource, which is also the bindingsource of other controls on the form. The selected row in the datagrid is used to control the the bindingsource .Postition (and .Current). The advanced user can now deselect the selected row in the DataGridView (ctrl + click selected row), but a bindingsource cannot have no selection. Thus the other bound controls still shows data if I do not remove the .DataSource of the bindingsource in the SelectionChanged event. This looks kind of stupid in e.g. master-details views. What I need is for the DataGridView to behave like a DropDownList, i.e. enforce a sin ...Show All
Smart Device Development ws2.dll and msxml.dll
Hi, I just downloaded the Smartphone 2003 SE emulator. I was browsing the \windows directory and noticed that there is no ws2.dll and msxml.dll. Is XML and WinSock supported with this emulator Do I need to copy these dlls from the Smartphone 2003 sdk emulator Thanks. I have also the same problem. I can navigate in /windows directory of the emulator, but ws2.dll is not present. Why What is missing ...Show All
Windows Forms System Slow
Hi, This is the first time i am posting a thread abt my system over here. I hope i get a good response. well the question is system config is P4/512mb Ram/30gb hdd/Windows XP SP2/L2 Cache/CDRW etc The thing is that my system runs absolutely slow. after adding up a Broadband connection on my system it really pains to see that. I have already done the following things: Fdisk - Reinstall it made a little bit important but its the same again. No virus or threads detected after scanning the system i am using Norton 2005. My system is updated everytime. (Windows - Norton). I keep on deleting the temp files - cookies - history - BHO - ...Show All
Windows Forms Render a usercontrol
Hi. I write a windows usercontrol named as " PersianCalendarTextBox " consisting of one textbox and one button. this control is used to display date time (in persian) in textbox and a date selector form when button is pressed. I want to use it in datagridview as column, i created a datagridview cell inherited from datagridviewcell (not datagridviewtextboxcell ) named DGVPersianCalendarCell . I want to paint this control in paint method of DGVPersianCalendarCell, How I can do this i did not want to draw a textbox and control, i want to draw my usercontrol " PersianCalendarTextBox ". this is because, all positi ...Show All
Visual C# How to Install Windows Service using command prompt
Hello all, I want to install the windows service using DOS Prompt(not Visual Studio command prompt). How to do this plz help me will be appriciated hi In VStudio command prompt run :- installutil <Path of the Service> (e.g installutil C:\MyService.exe) Im not sure if normal DOS cmd can do this. Hope this helps. ...Show All
Windows Forms How to get all selected rows in a datagrid
Hi great guy, I have a datagrid on my VB.net windows form. I have 2 questions porfavor:) 1/ How do I restict and prevent the user from selecting several rows at the same time in my datagrid. what property should I use. 2/ In case I allow multi-row-selection in my datagrid, how do I get all the selected rows in the datagrid so that I can add all the relevant values to my database. I only could find the help for getting the current selected row or cell but I can t get all the selected rows at the same time. Thanks a lot. hi, if you're able to get the value of a row then i think you can also get the value of multiple ro ...Show All
Visual FoxPro return from a form.
Still struggling to communicate with some of my secondary forms. This problem, again, happens only in StartMode = 4. Everything is fine interactively. LOCAL cUserReturn AS String DO FORM <formName> WITH par1, par2 TO cUserReturn. I get an error message that there is operand/operator type mismatch. I tried to define cUserReturn as Variant - the same thing. The expected type of return is String . According to the Help FoxPro is supposed to create a return variable when it is not defined. I tried to leave it undefined only to get another message: cUserReturn not found. Catch-22. I suspect there is something here I do not kn ...Show All
.NET Development View xml response of a web service?
Hi I'm developing a client of a webservice in C# with VS.NET 2003. And I would like view the xml response of my request to the web service. Is it posible Thanks _____________________ Hip Hop Directo De Chiste ...Show All
Smart Device Development problem with pocket pc emulator on localhost in VS 2005
HI, I'm trying to develop a Mobile web application in Visual Studio 2005 (in Framework 1.1). I am trying to run it in Pocket PC 2003 Emulator. But when i press F5, i get an error saying that the application cannot open http://localhost/.../..aspx (I have added the emulator.exe file as default browser thru File->Browse With->Add..) Can anybody help me regarding this problem as to why i cannot rum my application on localhost/pocket pc emulator Using 'localhost' instead of actual host name is probably #1 mistake with WS. 'localhost' means 'host, this software is running on'. Sinc ...Show All
Smart Device Development error with MFC in visual studio 2005
Hi, I'am using visual studio 8 beta2, i think it's missing a lots of things. One of them is mfc code of MFC. When i am using CCommandBar, when i compile with emulator. It make an error like that: f:beta2\vctools\vc7libsce\ship\arlmfc\src\mfc\barcmd.cpp how can i get this packet Thank The workaround (resource file changes) worked in beta 2, but now that I'm using the release version I'm still having the same problem AND the workaround doesn't work anymore. Any ideas ...Show All
