repcax's Q&A profile
Visual Studio Invalid Class String
I'm attempting to show a simple, essentially empty Crystal Report. The report just has a single, static text line on it. I've created the report using Visual Studio 2005 Team Developer edition. When the following code is executed: _Attachment = New CrystalDecisions.CrystalReports.Engine.ReportDocument() _Attachment.Load("TestReport1.rpt") I get a "Load Report Failed" exception. The error detail indicates an "invalid class string" error. This code and its report are part of a DLL that is being called from classes in a web application. Can anyone shed any light on what this error means I am new to using Crystal Reports, however, all the examples I've found indicate that the above code should work. ...Show All
Visual C# problem with f5
hi all vs 2005: i installed plugin for webapplication (different from web site) and i imported my web app from vs 2003. Now vs2005 not build and run always, sometimes i have to close and retry... why thx based on information you give here I think releveant advice cannot be given as problem could be in Plug-in (this is the first place I would check) and some other software could corrupt VS (other plugins you tried) hope this helps ...Show All
.NET Development Multiple versions of .NET
Good day, I have code developed with .NET 2.0 and I have code developed with .NET 3.0 - I'm moving all this code to a new TFS box and I will be using TFS source control and Team Build. Am I correct that the two versions of the Framework can coexist on the new server without any issues Does it matter which version (if not both) is installed on my build machine/source control box Any information would be appreciated! Thank you. Great, I figured as such. I just wanted to confirm that no pieces of .NET 3.0 would interfere with my existing projects developed with .NET 2.0. Thank you for your assistance. ...Show All
Visual C# How to change the name of C# Project
Dear friends my question may sounds little bit different. yes it is how to change the name of C# project. i have made a .dll file using VS2005 C# it contains several class files and windowsforms and referal dll's now after finishing that project i just want to change the name of the whole project. any guide lines to follow. Thnaks and regards Ranu both, i have to change the name in my source code and the compiled dll also i mean i have to completely change the name including the source code folder name. please help me out thanks and regards ranu ...Show All
Visual Studio Changing tab settings in Visual Studio 2005
Hi, Im a nubie with Visual Studio 2005. I'm trying to write C# code, and I don't like the current tab settings in my source editor. The tab key is set to 4 spaces, and I would rather use 2 spaces. Can you tell me how to change them Thanks Look in the tools menu for Options... In the options dialog, open Text Editor/C#/Tabs Jim Tomasko ...Show All
Visual Studio Team System GUI & command line show different merge candidates
Hi, When I perform a merge operation between two branches, the wizard list a large number of changesets as candidates. When I run "tf merge source target", I get "There are no changes to merge". I get the same message when I try to /discard one of the changesets appearing in the wizard. Is that a known bug How do I discard all merge candidates Thanks, Shay Correct the reason why you are getting no changes to merge is because you have not specified that you want to merge all the changes that happened underneath source and target. The correct syntax would have been tf merge source target /r /candidates The UI passes the recursive flag automatically for you. ...Show All
Gadgets java and gadgets
hi all , i have tried to insert some javascript inside the gadget.js, just to make a clock working up a background table element. It works well with a iframe, but the script does'nt work inside the js file. Is there a special way to include directly javascript in th js file, because the usal way does'nt work. thank you for helping me albidochon hi toddos, thank's for your help... I just simplifie the js for the code of the clock, whitout backrground, and thinghs like this...; // JavaScript Document registerNamespace("albidochon.gadgetfran1"); albidochon.gadgetfran1.dolphin = function(p_elSource, p_args, p_namespace) { albidochon.gadgetfran1.dolphin.initiali ...Show All
Visual Studio Express Editions Internet Explorer
Hello everyone, I would like to wright a Application that would be used to block Certian websites from my home PC ( Violance Porn and So on ) Can any one tell me where to start to find some type of Code for this or add websties to be Blocked i know i could use Content advisor but i would rather right the App my self. Thanks for all your help not really possible as its more of an IE type add in. I would suggest investing in some filtering/proxy server/software/content blocker as it would be less headaches than developing your own. As well as this, you can specify what sites to block in IE but I understand this can be an issue when dealing with many user accounts. The thing is, you would need to perhaps make some add in f ...Show All
SQL Server Newbie question(Select from xml table in sql db)
I am new to this having XML in your db. I am having trouble getting data out of the tables. Eg: Table Fruit Name e.g. Pear FruitInfo e.g. <fruitconfiguration createby="Foobar" colour="green"><BaseFruit BaseFruitname="Apple"><Fruitflavour flavour="good"/></BaseFruit ></fruitconfiguration> /Table I of course want to get the data from the table. The result I want is: Pear Foobar Green Apple good Any help would be appreciated What do you really want Obtain any attribute or specific attribute Do you want one row in result set per row in Fruit table or data from each attribute in new row ...Show All
.NET Development Shutting down network computers?
I suspect that I once again have someone leeching of my Wireless router again and I can't connect and lock it for some reason. So I thought perhaps I could shutdown the computer who is leeching off my network As a lesson :P There are probably a lot of software out there that could do this but it would be nice to learn how I could create such software. really you need to implement security on your wireless router, such as disabling SSID and adding encryption as well as MAC Address filtering. This would all be done on your wireless router configuration page. In terms of developing it in C#, not entirely sure. you can shutdown a computer by using the Windows 2000 (I think or at least XP) and highe ...Show All
Internet Explorer Development http://runonce.msn.com/runonce2.aspx ---> Error on page ---> Done
Anybody can help me! What I have to do, for save my settings right now Hi, I use Windows Vista english, and IE7 Beta 2.... And the problem is about Customize your Settings.... Can I save my settings.... Can Anybody help me ...Show All
Visual C# VS 2003 to VS 2005 on Vista
Hello, I'm trying to move an application to VS 2005 on Windows Vista, but it won't compile. The error I get is: 'The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)' C:\Users\MyLogin\Documents\Visual Studio 2005\Projects\AppName\LC I have no reference to anything called "LC", and there's NOTHING in the code that references anything called "LC" (e.g. No variables, no component names, no methods, no properties, etc.) though I am using some components including a button from the Visual Basic Resource Kit for VS 2003. I've installed the other components, and things "should" be fine, but I just can't get it to compile. Any hints on how to deal wit ...Show All
Smart Device Development TrackPopupMenu fails with ERROR_POPUP_ALREADY_ACTIVE
Hi, I have a CCommandBar on a dialog based WM 5.0 MFC application. The right button shows a menu which has a sub-menu created and updated dinamically. I keep a pointer for this sub-menu and I want to use as a context pop-up menu (at long tap event) and to display with TrackPopupMenu. If the sub-menu were opened at least one time from the command bar, I will receive ERROR_POPUP_ALREADY_ACTIVE always when I want to call TrackPopupMenu on it. Any suggestion how can I force to close this menu (it seems that is only hidden and is not closed prperly). Thanks in advance, Jozsef ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Component Serialization
Hi I have been working on a Level Editor and have run into some problems with serializing my scene graph. Sticking with the game component idea for the moment, all the objects in my scenegraph are currently DrawableGameComponents. Using the nifty XmlSerializer class I can easily store my scene graph with all its children and load it at a later time. However, this requires every class being serialized to have an parameterless contructor and all GameComponents requires the Game as a parameter. The Game Property of GameComponent is unfortunately a readonly property and cannot be set after serialization. This causes problems since my game objects relies on services provided by the game. Any ideas will be appreciated. Thanks Johan ...Show All
Windows Forms DataGridView binding troubles
I hope someone can shed some light on an error I've been experiencing for sometime now, but can no longer continue to ignore :-( I've created a custom entity class which implements IEditableObject. I have then created a custom collection for this custom entity which naturally inherits CollectionBase and implements IBindingList. When I bind my custom collection to a DataGridView and started editing, it works correctly only up to the point where you try to navigate off a newly created (but empty) grid row - the second time , at which point it errors with an ArgumentOutOfRange exception. The stack trace indicates the error occurs in the GetCellDisplayRectangle event and that the parameter name (of the invalid parameter) is rowIndex. ...Show All
