Robj's Q&A profile
Visual FoxPro need foxpro help
I'm getting a System Error "Divide by Zero or Overflow Error" when I try to run FoxProw.exe on Windows 2000 . The program installs okay, but I can't get it running. Thanks in advance for your help ... Hi Malakishore, Your error is due to a Fox 2.6 incompatibility not with Windows 2000 but with the newer, faster machine it's running on. There's a patch that solves the problem at http://support.microsoft.com/ kbid=102893 . ...Show All
.NET Development XmlSerializer or custom serialization?
Hi! I'm currently not sure whether I should use XmlSerializer to save the properties of a class to an xml file or if should just write the file manually with XmlTextWriter. The problem hereby lies in the speed of deserialization. My program will load an undefined number of such files and create instances of the corresponding class at startup. Thus the deserialization operation should take as few time as possible, even if that means writing more code. If I have a class named Employee with the properties Name, Address, Age, and Salary I'd deserialize it with an XmlReader as follows: while (reader.Read()) { if (reader. ...Show All
Visual Studio Team System Sharepoint Permissions error When Creating New Team Project
I'm having trouble adding users as TFS Administrators. From what I understood in the documentation, a TFS Administrator needed to be added to the TFS Security Group as a TFS Admin, an Admin for Sharepoint at the top site level and a content manager for sql server reporting services. I have done that however, I still receive the following error: Error Insufficient permissions on the Windows SharePoint Services at ekta to create a new site. Explanation The permissions granted your user name and ID on the Windows SharePoint Services at ekta do not allow you create a new portal site. You must be granted specific root perm ...Show All
Visual Studio Team System Getting frustrated with red "X" on documents folder
I am at a loss as to why the Documents folder insists on displaying a red "X" in the Beta 3 Refresh. I have granted myself admin privilages but it seems to have done no good. Anyone know what would cause this I'm sorry to hear you are having problems. Several bugs have been fixed in this area in the RC, hopefully it will fix your problem. One thing to check: Open the project portal and make sure you can open all of the document libraries. If any of them cannot be opened then you will get the red x. You will need to correct this condition for the document explorer to work. ...Show All
Visual C++ Visual Studio 2005 Beta 2 and how to start programming in C .
Hello, I just got Microsoft Visual Studio 2005 Beta 2 installed fully onto my laptop and I need to know how to start programming in C . I know that I can create forms and such easily on the program but I can't create a simple "Hello World" application. I keep getting the error : e:\my documents\visual studio 2005\projects\crun\crun\crun.cpp(5) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory I just want to run a simple application to test. It is the following: //// Crun.cpp : Defines the entry point for the console application. //// #include "stdafx.h" #include ...Show All
Visual Basic VB.NET FTP
Hi!!! I have a program that i do in VB6 where i have to send files to an FTP server, and Receive other from there.... - It Works Fine... When in ReWrite the program in VB.NET i use the same COM component, its the Microsoft Internet Transfer Protocol (Inet)... It Works Fine too... Now In VB.Net 2005 i cant use... gives me an error: Error 1 Overload resolution failed because no accessible 'Execute' accepts this number of arguments. D:\Teste .Net\Vendors\fUpdate.vb 239 13 Vendors anyone knows whats happen ! or another solution ! I'm glad you asked about another solution. The System.Net people have provided so ...Show All
Windows Forms Max controls in controls collection of panel?
I am adding UserControls to a Panel at runtime based on the Datarows in my DataSet. When the count gets to 357, the program generates an exception of "'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll, Additional information: Error creating window handle." I am wondering whether there is a limit on the number of controls that can be a ...Show All
Visual Studio Team System <checkin_note label="Comments" required="true"/>
Hi there! I've added this xml line to Versioncontrol.xml file in my custom project... This way I garantee that every developer sets comments in every check-in (let's forget about what's meaningfull and not). But, There's allready a comment text box in Pending Changes - Source Files window. Isn't there a way to reuse text inserted in that window to this window (Pending Changes - Policy Warnings) Best Regards, Rui Dias Maybe you will find this link helpful, I did. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=93901&SiteID=1 ...Show All
Windows Forms Proper way to set display of Left 200 characters in a DataGridViewColumn?
What is the best way to set up a DataGridViewColumn so that each cell displays the Left 200 characters of the underlying value My first thought was to make an Expression column in my source DataTable that uses the SUBSTRING method. Then my DGVColumn would just point to this new column. But, I am looking for a way to do this hopefully using the DefaultCellStyle of the DGVColumn itself. Is there a way to use the cell style's Format property for this Thanks, Nate You can use the DataGridView's CellFormatting event to do this. -mark DataGridView Program Manager Microsoft T ...Show All
Visual Studio Express Editions socket / dataset
Hi.. Is it posible for the .net to pass the dataset between the server and client thorough the socket If posible, how to do that Thanks ...Show All
Visual Studio Enable/Disable property OnValueChanging/OnValueChanged
Is it possible to disable one property in properties grid when another property takes a specific value For example: a Class atribute has 2 properties, DataType and TextSize. I want to enable the property TextSize only when the DataType "String" is selected I have overridden " OnValueChanging/OnValueChanged" methods , but I don't know how to disable the properties on the grid. Thanks Pedro This type of dynamic property grid behavior requires a custom PropertyDescriptor class. In this class, you can override properties such as IsReadOnly to customize the behavior of the propert ...Show All
Smart Device Development Mobile 5.0 Emulator to SQL 2005 Mobile Problem
I have been developing mobile applications in VS 2003 with "0" problems with the 2003 emulators. We have upgraded to VS 2005 and setup the Mobile 5.0 Emulators last December. They seamed a little buggy compared to the Mobile 2003 Emulators at first, but work great on everything except Connecting and synching via SQL Server Merge/Pub via IIS. The Problem: Our mobile software developed for windows mobile 5.0 connects great on the mobile devices; however they do not connect on the emulators. (Connect via IIS to sqlcesa30.dll to synch with the SQL server and SQL mobile 2005) The devices synch up great, however as a developer I wo ...Show All
Visual Studio Team System How can I run a console app from my unit test?
I have a console app that I want to run from my unit test. I have team system form Software developer. Please advice! Thanks, If all you want to start a console application then you could use Process class to start a new process including a console application. The link to msdn: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemDiagnosticsProcessClassTopic.asp Thanks, Bata Chadraa VSTT ...Show All
Visual Studio Customize DirectiveProcessor
Hi, I have a small question regarding Directive Processor. I created a new DSL named Performance and intended to enhance some functionality of generated PerformanceDirectiveProcessor class. But it is sealed instead of partial class. So, if I want to more functions to PerfomanceDirectiveProcessor I need to create a new class including old and new functions. Is that right Also, I don't know the diffenece between RequiresProvidesDirectiveProcessor and DirectiveProcessor classes. Which one is more powerful Sorry if my question may sound a bit silly. Thanks NB NB/Ran, If you want to customize the generated di ...Show All
SQL Server TOP URGENT PLZ: SQL backup files
I have installed Beta 2 over SQL Express and when i wanted to install either Beta 2 or Express it dosn't allow e and i need to backup my databases urgently how can i do that is it possibe to do it with the phisyical files found it.. by default it wil be in Program Files\SQL Server Folder\Data ...Show All
