Orgbrat's Q&A profile
SQL Server Error in datetime validation
xml including a datetime attribute is failing to validate against a simple schema held in an XML schema collection The same xml validates correctly against the same schema in .Net Is this a bug (same behaviour is seen with dates) Repro follows: CREATE XML SCHEMA COLLECTION MyCollection AS ' <xs:schema xmlns=" http://www.w3.org/2001/XMLSchema " targetNamespace=" http://ns " xmlns:ns=" http://ns " xmlns:xs=" http://www.w3.org/2001/XMLSchema " version="1.0"> <xs:complexType name="TestType"> <xs:attribute name="id" type="xs:string" use= ...Show All
.NET Development Transfering a file through a network
I want to transefer a text file which i create in a mobile device to a remote machine through a network. Please tell me how to do this. Thanks in advance. as you question is a bit vague I could point you to this article where you can read more CLIENT/SERVER: Simple File Sharing and File Transfer hoep this helps ...Show All
Visual C++ Can Anyone help me on CSocket memory leakage issue
Hi All, I'm facing a memory leakage issue when i use CSocket in Visual Studio 6.0 ( VS Service Pack 6) Windows XP Service 2. This problem doesn't appear when i disable the themes service. The below link suggests this fix.. http://www.codeguru.com/forum/showthread.php t=370761 But i'm not able to find any information about this in microsoft website. Can anyone please suggest me with the patch for this issue Or point to me a link in microsoft which confirms this issue Thanks Vanitha Perhaps this describes your problem :- http://support.microsoft.com/ kbid=319740 ...Show All
Visual Studio Express Editions Wrong version of windows found
I just tried to install and got a popup that said I must have Win 2k sp4 or higher. I'm running Win XP SP2. This is not the first I have hit this. I got it installing the Adobe reader. My system came from Dell preloaded with XP on it. The system properties in the control panel show 'Microsoft Windows XP Professional Version 2002 Service Pack 2'. My software had always validated when using Windows update. What can I do to correct this Can I edit some registry setting I think my system is reporting that it's at 'Microsoft Windows 2000 Professional (Build 2195)'. I would perform a windows update and mak ...Show All
Visual C# error in compiling C# statement
// Add a spacer in the form of an HTML <BR> element. panel1.Controls.Add( new System.Web.UI. LiteralControl ( "<br>" )); compiling this statement produced the following errors: Error 1 The best overloaded method match for 'System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)' has some invalid arguments Error 2 Argument '1': cannot convert from 'System.Web.UI.LiteralControl' to 'System.Windows.Forms.Control' Any idea how to solve this error This is a trial to solve the problem: System.Web.UI. LiteralControl line1 = new System.Web.UI. Liter ...Show All
.NET Development How to install Jscript in VS 2005?
We want to evalute Jscript support in .Net 2.0, but after install C#/C++ options of Visual Studio 2005 Professional Edition, we can't run sample code in MSDN, using Microsoft.JScript; ... we got the fowlling error message: The type or namespace name 'JScript' does not exist in the namespace 'Microsoft' (are you missing an assembly reference ) Do we need to install J# or VB to support Jscript or other seperate package Thanks in advance! Y.L. Solved. Just Add Reference in Visual Studio. Sorry for this newcomer's question. Y.L. ...Show All
.NET Development WinForms Vs WebForms
Where can I get the list of pros & cons generally speaking WinForms are Richable but not reachable , on the contrary WebForms are Reachable (but not richable due to performance factors). so the question is : can we have a form that is both richable and reachable at the same time . the answer is simply , yes "Click-Once deployment ". there was an old article about hosting a windows form over IIS , and this would lead to the death of browsers we know today . http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet10142001.asp so if we can really work this way by hosting winforms over IIS , why would we nee ...Show All
Windows Forms how to write to .resx in VS.NET form designer? And IExtenderProvider question...
Hi all, I have a component using IExtenderProvider which expands my controls with some properties. I use it also at design-time in VS.NET and like to save some values to .resx file of the form it applies to. I used like this: IResourceService resourceService = (IResourceService)GetService(typeof(IResourceService)); IResourceWriter writer = resourceService.GetResourceWriter(CultureInfo.InvariantCulture); but then writer. ...Show All
Windows Forms Hi everyone
Ok a new player for the Terrarium game has arriwed :) Got some questions about my first creature, Herbivore. Right now it's a spider, whats the code to change it and what is the avaible skins for the creature (spider feels more like a Carnivore than Herbivore). All my creature is doing is to walk around and eat plants, then when it is full it  ...Show All
Visual J# WFC (com.ms.wfc.html) OBJECT Tag call no working
Hi, I have a Java 1.1 (J++) HTA application. All the clases I have were migrated fine to the J#. It is without compilation errors. But I have many HTML pages that need to load some classes from a managed assembly. I follow the instructions below modifing all my OBJECT tags: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vjsharp/html/vjgrfUpgradingComponentsThatUseCommswfchtmlPackage.asp Even I created a simple page to load a small test assembly and it doesn't work. The .NET Framework and J# distribution are present. The page is located in the same directory with my managed assembly. Is there any working example of ca ...Show All
Visual Basic Picture Box help
I am writing/wrote a database program. I have a textbox where the user double clicks and chooses a path to a picture file. When they hover over the picturebox, it shows a thumbnail. If the picture_linktextbox is blank, it will throw an exception. How can I tell the program that if the box is empty to hide the picture box or simply disable the mouse hover I have tried the following code: if picture_linktextbox.text=Nothing then picturebox2.visible=false if picture_linktextbox <> Nothing then picturebox2.visible=true The only problem with this code is that when there is text in the textbox, the picturebox will not display. Can ...Show All
SQL Server Cannot connect to Database in Server Management Studio
I currently can't connecto to my database in SQL Server 2005 (enterprise) but as soon as I try to use any functions, I get cryptic errors found below. I am about to pull my hair out. Everything was working fine for around 4 days and now everything just blows up. I've tried using both sql authentification and also windows: Errors I'm getting (print screens): http: / / www. photopizzaz. biz/ junk/ sqlserver_ 2005_ errors_ and_ resolutions. doc SQL logs: http: / / www. photopizzaz. biz/ junk/ logs. txt Event log errors are: Event Type: Error Event Source: MSSQLSERVER Event ...Show All
Visual Studio Team System Can't not create team project
Today, I tried to create a new team project from my vsts. I got the following error message: Error Unable to connect to the Windows SharePoint Services at ppgcmtychatnet1 Explanation The Project Creation Wizard was not able to connect to the Windows SharePoint Services at ppgcmtychatnet1. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the Windows SharePoint Services site. User Action Contact the administrator for the Windows SharePoint Services at ppgcmtychatnet1 to confirm that the server is available on the network. Also, ...Show All
Visual C# Problems with Visual Studio 2005
I have the following code running in a Visual Studio 2003 Project and a Visual Studio 2005. Both use the same code and the same web config entry. The problem is that 2003 project returns the proper path and the 2005 project does not. Web Config Setting < appSettings > < add key ="DatatracPath" value ="\\AMCQA1\DMDApps\Datatrac Server\" /> </ appSettings > Code Example string pathtodtrac=ConfigurationSettings.AppSettings["DatatracPath"]; TracToolsClass ttools= new TracToolsClass(); ttools.PATHTODATATRAC=@pathtodtrac ; The 2003 ...Show All
Visual C# Trees
Hi, I would like to model some data on a tree structure. However I can only seem to find documentation on the web concerning b-trees. These trees can at maximum ever have 2 immediate children for a given parent, ie the left and the right. However the tree structure i want to map to has more than 2 children for a given parent, does anyone know of an object or class that can represent this Thanks Will Did you see this article on MSDN ... An Extensive Examination of Data Structures Using C# 2.0 Part 3: Binary Trees and BSTs http://msdn.microsoft.com/library/e ...Show All
