Neil Clark's Q&A profile
Visual FoxPro cursorschema property limitation problem
Hi All, Am migrating a VFP app from DBF to SQL Server database and am using cursoradapters for that. I have a table that has many fields and when I create a cursoradapter for it, when I try to save, I get the error message "The CursorSchema property must be no longer than 255 characters". Most of my tables will generate schemas of characters > 255. What is the best workaround for this I don't want to imagine splitting all the tables into small ones. Thanks in advance. Thanks Mark for your insight. Will download the class and have a look. Hope it solves my problems. Thanks. ...Show All
Windows Forms Baseclass inherits from component
I'm getting the error: The designer must create an instance of type '.myBase' but it cannot because the type is declared as abstract. now the funny thing is: the component is derived from mybase(mustinherit) and mybase deriverd from component. I ques it's a disgner only thing because when i put a dummyclass in front of the code the designer no longer See ...Show All
Visual C++ Has casting to int from double changed completely in VS2005?
Has casting to int from double changed completely in VS2005 Numbers that are too big are always -1 now. Which has caused me much pain to track down and is not compatible with code we currently use. Here is an example, it used to be that if you cast a big number to an int, you would some value that was related to it in some way: (int)1.0957837e+011 => -2090779696 But now it is always -1 if the value is out of the range of the int: (int)1.0957837e+011 => 0x80000000 Is there anyway to make Visual Studio 2005 use the old style of casting Thanks John Petritis Does anyone know whether this probl ...Show All
Visual C# Icon in Form
Hi All, I would like to make to change icon in the same form. By this means that the form has 2 functionality: when functionality is changed also icon must be changed in the same form. Is there any ideas for solving the problem Many Thanks. I don't understand. There is an icon property, that's how you set the icon. You can load an icon from disc, or embedd it in your resources. You really don't have any other options. ...Show All
Windows Forms Displaying non-characters in text
For an app I'm building, I have a few icons that need to be placed in blocks of text. As far as I know, they aren't in any standard character sets. How should I go about doing this It would be something like: "Find the tab labled with a <<green square>>." I need to actually display the green square or red ...Show All
Software Development for Windows Vista PROBLEM with HttpContext.Current
we are creating as ASP.NET application using WWF in which we are using http handlers as like the following the example. http://www.devx.com/dotnet/Article/29992#codeitemarea . When an event is fired from WF, the event handler has to be executed which was written in HttpHandler . This event hanlder has the following code. HtttpContext.Current.Response.Redirect(" ~/testpage.aspx", false) Here, HttpContext.Current value is null ,and throwing exception. can anybody tell suggetion to solve it . when the event is fired from the workflow, you are likely not in the context ...Show All
Visual Studio Team System Using Project Level Groups
Hi, I have couple of Project Groups defined and field in Work Item Type declared as follows: <FIELD name="Developer" refname="MyNamespace.Developer" type="String"> <WHEN field="MyNamespace.Team" value="GUI"> <ALLOWEDVALUES> <LISTITEM value="[Project]\GUI" /> </ALLOWEDVALUES> </WHEN> <WHEN field="MyNamespace.Team" value="BL"> <ALLOWEDVALUES> & ...Show All
Visual Studio Team System New users are unable to see documents/reports in TFS Explorer :(
Hi folks, i've successfully created a new MS Agile TFS Project. i can add stuff, play around, etc. When i add a user from our active directory to the project admin group, the user cannot connect to the share point site or see documents and reports in the tfs explorer. when i add the user to the share point site via Site Settings -> Manage Users, the user can now see documents in tfs explorer and connect to the share point site. He still cannot see any reports in tfs explorer and gets some permission error in the four boxes on the default share point site page. Is there a standard way to add users so they can see docs, source c ...Show All
Smart Device Development Can not browse to local websites using Microsoft Device Emulator Preview
Hello, I have installed the Microsoft Device Emulator Preview. I want to test websites but I haven't found a way to open local files. If I try to open localhost, the following message appears: The Windows CE Web Server is enabled on this device. This file is a place holder and should be replaced. Thank you Bene Hello, Thank you for your answers. It works now. But I have to work on the server. Unfortunately it does not work with Terminal Services Client. The problem ist that I am not able to access the Internet and it is also impossible to access my local webserver. The reason is that the Emulator does ...Show All
Windows Forms resize while rotation
Hi I am just getting use to GDI+ and manipulating graphics on the screen. So far I can move, rotate, and resize graphic objects (to a certain degree). I am able to select a graphic by clicking on handles I have drawn at each corner. So far so good but I am having problems with resizing at a rotation. The user should select a handle  ...Show All
Smart Device Development background services
http://www.pocketpcdn.com/articles/services.html is this still up to date somebody who has experiences withit Even better, does somebody understand it :) and knows how to use it. The sample files can you find below. I want an alltime backgroundservice that for example always on 3 o' clock do function. ...Show All
Visual C++ where to start
Hello I have past C# experience but I've really wanted to move to C++ .NET 2005. Does anyone have any recommendations of books or tutorials. Preferably tutorials and books directly related to C++.NET 2005. Thanks Pro Visual C++/CLI and the .NET 2.0 Platform is a good book for learning the C++/CLI language. Take a look at: http://www.amazon.com/gp/product/1590596404/103-0555318-8317457 v=glance&n=283155 Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System SQL server management studio error
Hi When I try to create a maintance plan, it stops with a message box saying Guid should contain 32 digits with 4 dashes (xxxxxxxx....) Whats wrong Hi Yes i have them installed and running I have narowed it down to: I can create maintenance plan and exceute it, but i cant save/close (click on X) I got the guid error, but the 2 time it closes, and when i reopen there is no schedule (on demand)!! So if I create a maintenance plan, with no schedule it save/closes ok If I creat a maintenance plan, with schedule it save/closes with error Soren ...Show All
Windows Forms CheckedListBox items
... are just a grouped ObjectCollection, doesn't allow you to specify DisplayMember and ValueMember properties to have underlying data values recorded instead of the full-text description one usually displays to users. What's a good hack to workaround this CheckedListBox limitation I think www.dotnet247.com has it right .. CHeckedListbox.DataSource property is not visible in&nb ...Show All
.NET Development Soap Serializer does not support serializing Generic Types.
I tried to serialize an object contains list (List<>) of objects and I got this exception: Soap Serializer does not support serializing Generic Types : System.Collections.Generic.List. It works fine with the BinaryFormatter. Yeah, Let me post more codes about the configuration. What I am doing here is, I have a remoting server start, also to have the capability for a client to event call back to server, we defined a delegate and an event wrapper as the book "Advanced remoting said". Here is the definition: public interface IFactory { IWorker getNewWorker(); } public del ...Show All
