Ronen halili's Q&A profile
Visual Basic MSFlexGrid OCX license enforcement
My app has used a MSFlexGrid OCX control for many years. I cannot even say where the original OCX came from - the previous developer found it. After porting to Studio 2005 the app now complains that the OCX is not licensed (see http://forums.microsoft.com/MSDN/AddPost.aspx ForumID=29&SiteID=1) but only on certain boxes - in this case an XP box with only Studio 2005 installed. It works on WinXP and Win2k boxes with both Studio 2003 and Studio 2005 installed. On clean customer-installed boxes the install CD has worked fine in the past with 2003 builds of the app. The offending XP box did NOT have the key HKCR\Licenses\ 72E6712 ...Show All
SQL Server Deleting ReportServer TempDB
Hi, I need to free up some space in my harddrive and was wondering what the effects of deleting the TempDB would be. I am not using this machine to host any important reports. (I am using it as a development machine). my question is what happens when i delete the tempdb will it break the system and will i have to reinstall reporting services to get my reports working again You should never delete the ReportServerTempDB - RS will no longer work afterwards. The RS windows service should automatically cleanup entries in the ReportServerTempDB after they are expired (e.g. sessions expire after 10 minutes). ...Show All
Visual C++ Open File Dialog
I need to know how to make an OpenFileDialog work correctly. Can someone tell me exactly how to do it There is a sample directly in the MSDN: http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/usingcommondialogboxes.asp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Broken Link to MechCommander 2 Shared Source Release
Microsoft XNA Build March 2006 Community Technology Preview featured at http://www.microsoft.com/downloads/details.aspx FamilyID=868fe562-5ded-4bb1-8648-708d3481bda3&DisplayLang=en has a link to the MechCommander 2 Shared Source Release download. The link is http://www.microsoft.com/downloads/info.aspx na=40&p=2&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=868fe562-5ded-4bb1-8648-708d3481bda3&u=http%3a%2f%2fgo.microsoft.com%2ffwlink%2f%3flinkid%3d63428 but it is broken leaving one at http://www.microsoft.com/downloads/details.aspx FamilyId=6D790CDE-C3E5-46BE-B3A5-729581269A9C&displaylang=en Is it pos ...Show All
Visual C++ Please HELP~~~fatal error C1083
I downloaded and installed the Visual C++ 2005 Beta 2. I tried to compile this simple program which is fully compile in Visual C++6 but it bring up this error: "fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory" *********************************************** #include "stdafx.h" #include <iostream.h> int main(int argc, char* argv[]) { char name[20]; cout << "What is your name "; cin >> name; cout << "Hello " << name << "\n"; return 0; } ************************************** ...Show All
Windows Forms Help me designer has Bugs bugs bugs
For some reason whenever I use certain controls in Visual Studio 2005 the designer will not reload the form and I get Initialization errors in the designer. Ive downloaded the TaskVision app to see if it was something that I was doing, but I am unable to view any complex forms in that project either.. One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The designer cannot process the code at line 58, please see the Task List for details. The code within the method 'InitializeCompone ...Show All
.NET Development ExecuteNonQuery hangs
Hi All, I posted a question some days ago, but didnt get any response. I guess I didnt word it properly. I'll try my best this time.... This is what I did: Create Command(connection, myTransaction) Set TimeOut property Try myCommand.ExecuteNonQuery() myTransaction.Commit() Catch ex as Exception myTransaction.Rollback() End try But the app hangs at myCommand.ExecuteNonQuery() statement. So, I tried to do it differently: I try to run the ExecuteNonQuery in a seperate thread, so I can abort the thread if I dont get a response from the database for certain time . But I cant abort the thread as the ExecuteNonQuery is still running( or hung ...Show All
Visual C# How can I call a static function for a generic class?
I have a class SwatchPanel which takes Swatch as a parameter type. How can I call a static function within the Swatch class For example the code below fails on TSwatch.Exists. How can I get the call to work Suggestions would be very welcome. Thanks, Steve public class SwatchPanel <TSwatch> : System.Windows.Forms. Panel where TSwatch : Swatch { protected virtual bool SetOkButtonState() { if ( TSwatch.Exists (ColorDescription)) do something } } ...Show All
SQL Server How to browse a cube using a web browser
Hi, I would like to know how to browse a cube using a web browser. So far, my company is using excel to browse the processed cubes but they want to extend the access to other departements and therefore accessing and browsing cubes using a web browser would be more appropriate. I thought using Reporting Services. Unfortunately I don't know the steps to follow. Thanks. Yes, you can use Reporting Services. I would start by checking out the basic Reporting Services Tutorials in Books On-Line. Then to create a report against Analysis Services, when creating a Data Source change the type to an Analysis Services and proceed from ther ...Show All
Visual Studio Adding files generated with text template to project and dynamically create a web application
Hi, I am generating several files from one TextTemplate just the way is posted in this forum, I would like to know if there is a way to include the generated files automatically inside the project, how Can I create a Web Application dynamically inside the text template ans add it to my solution file Guys, Can I put my custom Item Template in my own window So its like the built-in Item Add Dialog window, but inside this window is only my custom template. Any suggestion or link related will be really appreciated. Thanks! Herru ...Show All
Visual Basic VB .NET/VB 2005 Express/ VB 2005
Hi. Ive decided to move from VB6 programming and Im not really sure where to go.. Ive got a copy of VB .Net 2003, and Ive also downloaded VB 2005 Express edition, with a possible view to getting hold of Visual Studio 2005 to program VB 2005. The problem (and confusion) that I have is - what is the difference, and which should I turn to Am I right in assuming that VB.NET 2003 and VB 2005 are different, or am I ok to learn .NET 2003 until the 2005 version comes out I know this might seem like a dumb question, but I want to move onwards and upwards and am a little confused, as I dont want to concentrate on 2003 if I'm going to be learning an ...Show All
SQL Server Timeout expires when deploying assemblies in SQL Server 2005 June CTP
I am encountering a timeout expired error when deploying a .NET assembly in SQL Server 2005 using Visual Studio.NET. I already enabled SQL Server for CLR. Whenever I run the CREATE ASSEMBLY command in SQL Management Studio, my query just ends up executing without stopping. Can anybody help Milind Lele - MSFT wrote: Can you please change the time out value from Tools->Options->Database Tools->Query and View Designers I am using RTM versions (or in reality, SP1) and this is the part that was hindering our remote SQL Server from completing the deployment. Thanks for the tip, was looking all around the databas ...Show All
SQL Server problem with SQL-Server 2005 CTP
I have received visual studio 2005 beta experience kit. My kit included a version of MS SQL-Server 2005 Developer Edition CTP ( Developer Edition printed on the surface of my DVD but I don't know it's true or not because I saw this page: http://www.microsoft.com/sql/2005/productinfo/sql2005features.mspx and there was not Developer Edition). I had a new and fresh Windows 2003 (without SP1) installed on one of my office PCs. So I decided to install visual studio 2005 beta 2 first and then SQL-Server 2005 CTP. But after I installed SQL-Server 2005 CTP I saw nothing in my start menu even Express Manager. My question is : how can I ...Show All
Windows Forms Anyone know of a good .Net CF developers forum?
Hi, Since this web site seems not to be interested in having a mobile apps forum (ASP.Net does!) can anyone point me to a good developers forum for the .Net Compact Framework I don't want to ask all my daft Q's here re mobile development as most will not be directly relevant to TaskVision! TIA... Mike. Steve, Thanks for that - it's exactly  ...Show All
Windows Forms Welcome to the Whidbey Forums
Please use these forums to discuss Whidbey features, ask the Windows Forms team questions and report any bugs found. thanks - mike hmm, I didn't concider partial class as a step toward Xaml. <a href="http://www.myxaml.com">www.myxaml.com</a> uses on the run compilation of it's inline code, does this mean that one could at runtime create add-onns& ...Show All
