srichand's Q&A profile
Smart Device Development Subject: VS2003 Controls in VS2005
I've got some 3rd party controls that I can get into the VS2003 IDE toolbox, but I can't get them onto the VS2005 toolbox (if I do "Show All" they show as disabled in the toolbox). Is it impossible to use the VS2003 controls in VS2005 I figured there might be a way since you can use old ActiveX/COM controls in .NET, right Thanks for any help, Steve Indeed you can not as custom control model has been changed for VS 2005. But you can add reference to custom control DLL and use these controls them programmatically without designers. ...Show All
Visual Studio The report definition for report 'xxx' has not been specified
Hello, I have to confess that I never did anything with reporting services, reports, or whatsoever. For a rather huge database application (based on sql express) I thought it might be best to do the printing with local reports, which I planed to bind to the objects, I already used as data layer in my project. I created a simple report (just a table, with two fields), bound the report to the ReportViewer-Control, set the bindingsource-properties in form load. But the only thing I see is this error message "The report definition for report 'xxx' has not been specified" So: What *is* a report definition and how *do* I specify it Are there any infos I can get somewhere, to learn more about the whole concept Thanks, Klaus ...Show All
Smart Device Development Draw Gradient Background - Error with Tabs
Hi all, I'm trying to draw a gradient (linear) background on my devices. I've found some stuff using System.Drawing.Drawing2D.LinearGradientBrush but for some reason my application doesn't seem to be able to find it. I can get System.Drawing.Drawing2D but that's as far as it goes I also can't find SystemGradientColors and ControlPaint which are things I need. I'm using CF2. Any help would be much appreciated. Kind Regards, Grant. Hi Michael, Thanks so much - that worked perfect - a very nice resulting gradient. I tried to mark your post as Answer, but keeps throwing an error - will keep trying as sure others will benefit from this. Cheers, Grant. ...Show All
Visual Studio take too much time to add an item in the class designer
Hello, Thanks for the reponse. I have another question, why it takes so much time when i add an item in the class designer. thanks boyi I would seperate your code into a Class Library or a Web Control Library. This should jump the performance up by at least 3 or 4. Also, the web site should compile faster so debuging and testing will be more tolorable. Good luck. ...Show All
SQL Server SQL Server 2000: Installing Report Server and DB on different machines
Hi, i got a problem with the configuration of Report Server 2000. i got 2 servers. on server1 i got my database. on server2 i got the report server installed(not sure, error msg prompts on visiting the report server site). my questions: 1. on server 2 i only installed sql server 2000 reporting services, no sql server and no vs.net. is that ok 2. how do i tell the report server from server2 to use the database from server1 thanks in advance Space Cadet, Yes, it is okay to have this architecture. It is common to load SRS (SQL Reporting Services) on a web server (IIS) and have a dedicated database server. On the DB Server you should have the ReportServer and ReportServerTempDB databases. ...Show All
SQL Server CLR SP debugging problem
Hi All, Could you please help me I have a problem with T-SQL stored procedure, which call the CLR Stored Procedure, and when it runs into it my Visual Studio gets berserk, looping like crazy, eating 100% CPU and gobling off more and more memory. The Visual Studio out into the the Output window the following message over and over again: WARNING: Debugger was accessing T-SQL variables while managed code was not suspended. Waiting until the access is done to continue T-SQL execution.Continueing T-SQL execution. WARNING: Debugger was accessing T-SQL variables while managed code was not suspended. Waiting until the access is done to continue T-SQL execution.Continueing T-SQL execution. The only way to stop it is by kil ...Show All
SQL Server creating report in sql server 2005
i have created sql reporting in sql server 2000 but when i try to do in sql reporting in 2005 looks like the commands are different, is anybody can help me to redirect any web site which shows the basic please in 2003 the below methods were exists but not in 2005 this .ReportViewer1.ServerUrl this .ReportViewer1.ReportPath ...Show All
SQL Server Unable to install SQL2005 I64 on a 2003 SP1 Itanium
Hello, I have many problem when I try to install SQL 2005 Ets edition ia64 on a 2003 ets Itanium edition. When I launch the setup, all is all right. But during the installation, it tryes to start MSSQL services. The staring of this service failed. So I try to start the service mannually. Nothing. Error messages I can get (in the event log) : Source : Service Control Manager ; ID : 7000 Description :Service SQL Server (MSSQLSERVER) failed to start due to the following error: The service did not respond to the start or control request in a timely fashion. Source : MsiInstaller ; ID 10005 Description : Product: Microsoft SQL Server 2005 (64 bits) -- Error 29503. Failure of the starting of service SQL Server. For more i ...Show All
Gadgets XMLHTTP help, please!
I have utilized xmlhttp on many occasions to power ajax enabled projects and have never had a problem with it until now. The following javascript code is debugged and runs flawlessly in IE7, but does not work when installed as a gadget. Is there something in here that gadgets do not support but IE7 does function GetXmlHttpObject(handler) { var objXmlHttp=null; var strName="Microsoft.XMLHTTP"; try { objXmlHttp=new ActiveXObject(strName); objXmlHttp.onreadystatechange=handler; return objXmlHttp; } catch(e) { alert("Error. Scripting for ActiveX might be disabled"); return; } } function showDisplay() { var url=" http://www.ourwebsite.com/phpscript.php variable=one"; xmlHttp=GetXmlH ...Show All
Visual Studio Tools for Office VSTO SE2005 CustomTaskPane Samples...
I have seen a couple of examples suggesting the following code, private void ThisAddIn_Startup(object sender, System.EventArgs e) { CustomTaskPane ctp = this.CustomTaskPanes.Add(new UserControl1(), "My Caption"); ctp.Visible = true; } but something weird is happening because my "this" object doesn't have a CustomTaskPanes property and I don't seem to have visibility of the CustomTaskPane class. I have added "using Microsoft.Office.Tools" to ThisAddIn.cs and I have read that I need to add a reference to Microsoft.Office.Tools.Common2007.dll, and this seems to fix the visibility to CustomTaskPane class but not the application object. Thanks in advance. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Forcing GraphicsDevice creation before Game.Run
In order to incorporate Xna into an existing engine without a lot of ugly hacks, I need to force the GraphicsDevice to be initialised before the program loop starts (Game.Run). Can this be done Assuming this isn't possible (as seems likely), I'd need to ditch Game and handle device creation myself. This looks straight forward enough, except that it requires a handle to a window. This is no problem in windows, but what about on the xbox 360 Is there some sort of factory available that returns a GameWindow implementation for the platform it's running on Has anyone manually created a graphicsdevice on the 360 I never ran the Game.Update or Game.Run and I am able to use the SpriteBatch.Begin, Draw and End i ...Show All
Visual FoxPro Web page scrapping form Visual FoxPro
I am not sure if this is even possible so i will just say what i am hoping to accomplish and let you all tell me how crazy it is. i want to have a foxpro application on my computer that opens a set of webpages i want to knoe if it is possable to look for a set of numbers on the page once it is opened. the numbers will probly never be the same. is this possible in FoxPro 8.0 VFP can manipulate text rather well, once it's in its environment. Maybe this is a good start to getting your web page in the VFP environment: How to use Visual FoxPro to download a Web page from the Internet http://support.microsoft.com/default.aspx scid=kb;en-us;311306 ...Show All
Gadgets resize the gadgets by default
hi everybody, I have some problems whith te size of the gadgets....when i make a test on the http://test.livegadgets.net/ platform, everythingh is ok with the size, the gadget is full screened showed. But when the gadget is approuved, and is loaded in my space for a real test, it sometimes sized ok, and sometimes cut so the height is truncated. In the js file, i've tried the real size in pixels and the relative size in 100%, but somethingh i miss i'm sure...... so, does that fonctiun clear the problem for the resizing of the gadget, and permit not to be truncated m_module.resize(); if (window.parent != window.self) { document.body.style.backgroundColor = "transparent"; } thankyou for helping me, but foo ...Show All
Visual C# Calling a .NET Assembly DLL from within a Win32 App
Can anyone tell me if it's possible to call a C# .NET assembly DLL from within a Delphi or other Win32 Application using LoadLibrary If so, how do I do this I have a C# application using the Cryptopgraphy section to do the Encryption algorithm (Rijndael or TripleDES). I would like to be able to use this C# code as a .NET Assembly and have it be called from a win32 app. Every Win32 App I've seen (including DCPCrypt) doesn't work the same way, has no way of setting the Key or IV or is the incorrect length and therefore doesn't decrypt/encrypt the same way. I would really appreciate any insight that could be given. Thanks! hi., you can use the following tool to export dll that can be used in win32 app. it is shipped wi ...Show All
Visual Studio Express Editions Form.controls modifying
Hy, I have a question that may be stupid, but I cannot find any online help.... I have a form, and I added a ListView Component! // Add the ListView to the control collection. this ->Controls->add(listView1); // listview is allready vreated, and set up somwher else i want to add some rows, how to I locate the control there should be something like: ListView *list= this->controls->find("Listview1"); I do not know how to get the control can anyone help! Christian Using Visual C++ .net , managed application thank you for helping! yes, I am using visual c++ 7.someting as I found out it should be get_item() and i tried: List ...Show All
