Ely Spiegel's Q&A profile
Windows Live Developer Forums Polygon in GEORSS XML format?
Hello , the new polygon add function is a great thing .. but what is the way to fill a GEORSS xml file with a polygon item hello everybody ! Well i'mm working around thematic map topics in VE.. thinking that uploading a polygon georss file will be great to start.. I'm trying with that format .. but nothing .. any idea < xml version="1.0" encoding="utf-8" > <rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:mappoint="http://virtualearth.msn.com/apis/annotate#"> <channel> <title>my title</title> <link></link> <description>myDescr</description> <mappointIntlCode ...Show All
SQL Server Keep existing object unchanged or Create Schema at subscriber =false?
Hi, I have the same database(3GB) in 2 physical locations in usa and europe I need to create a publisher and subscriber between these 2 database without sending any snapshot because i have the same data in the 2 sides, is it possible Thx Jim Yes it's possible. When you add a subscription through sp_addsubscription for transactinal publication, you can specify that the subscriber already has the schema and initial data by specify @sync_type='none' or 'replication support only', for merge (sp_addmergepublication), you can specify @sync_type='none' Transactional publication: [ @sync_type =] 'sync_type' replication support only Provides automatic generation at the Su ...Show All
.NET Development Query about DataSet
Hi, Since we all know dataset is a form of disconnected recordset, wherein it connects to a database using an adapter, gets the data in the form of a tables(s) and then disconnects from the database. The user can do any number of manipulation on it, and the data can be updated to the database at one go. Now my question is, in a distributed environment, suppose the dataset has some data in it,a nd before its updates itself to the database, if someone else changes that same data in the database, how does it synchronize itself. How does this thing work. Regards, Bhaskar I could be wrong but I believe whoever updates their dataset to the database, gets commited over writting whatever data already existed. the dataset ...Show All
Visual C++ Visual Studio Designer problem, "The designer could not be shown for this file..."
I get this message from a component in a hierarchy of components: "The designer could not be shown for this file because none of the classes within it can be designed." While I edited the component file created by the IDE I did not change any of the data created by the designer which encompasses: " /// <summary> /// Required designer variable. /// </summary> System::ComponentModel::Container^ components; #pragma region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> void InitializeComponent(void) { components = gcnew System::Component ...Show All
Visual Studio ComException when closing editor tab
Hello, in our Visual Studio 2005 Plugin we have an own editor, which is a logical one. Everything works fine, except that when closing the last editor the output pane of the hosting Visual Studio instance rapidly fills with these messages: A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll It seems to me that we forgot to cleanup anything on closing the window, but I don't know what. At least it would help to know what exactly causes the exception. Is there any possibility to catch it before Visual Studio handles it Regards, Jan See this article: Minidumps for Specific Exceptions http://msdn.microsoft.com/msdnmag/issues/06/11/Bugslayer/default.asp ...Show All
Visual C# LPT1 CONTROL
Hello how i can controll lpt port with c# We are traying to control a EPSON receipt printer compatible ESC/POS but interface with default printer service of visual studio not works fine because I thinks it use unicode, not 8 bit comunications ... thanks a lot may this help you http://www.codeproject.com/csharp/csppleds.asp two parts and also look http://msdn2.microsoft.com/en-us/library/30swa673.aspx http://msmvps.com/blogs/coad/archive/2005/03/23/39466.aspx ...Show All
Visual Studio Sandcastle build failure, silly ness
WHY< WHY On earth would that fail. " Finding tools... Found Sandcastle in 'C:\Program Files\Sandcastle\' Found HTML 1.x help compiler in 'C:\Program Files\HTML Help Workshop\' Validating documentation assembly information... ------------------------------- Creating Sandcastle configuration file... ------------------------------- Generating shared content files (en-US)... ------------------------------- Generating reflection information... [C:\Documents and Settings\Allen\Desktop\Help\Working\GenerateRefInfo.bat] MrefBuilder (v2.2.61208.1447) Copyright c Microsoft 2006 Error: Unresolved assembly reference: System.Configuration (System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) required by ...Show All
Windows Forms Databound Combo Box
Okay, I am a little confused. I am sure somebody has a quick and simple solution to my little issue. I have a number of combo boxes on my windows forms. User is able to select a specific item from the control and I update the informaiton in the database. All of this is working great, no problems. Where I run into an issue is when I navagate back to this record in my winform I do not see the values selected in the combo box. They come up blank. I am using a binding source to bind the combobox to selectedValue and this is mapped to the column in my table. Using VS 2005 Visual Basic, SQL 2005, ...Show All
Visual Studio Express Editions how do i stop/exit a sub by using another sub i.e a button click?
how do i stop/exit a sub by using another sub i.e a button click I presume you want this because you are trying to escape from a loop which is running in a sub. One way is to use a flag, probably declared at module level, which is set by the button click and checked within the loop, which can then exit if the flag is set. ...Show All
.NET Development .NET Framework 2.0 Beta 2 setup FAILED!!!
Hi everybody, I Developed a small application in Visual Studio 2005 Beta 2. I tried to deploy that application in a machine running Windows XP SP2. I downloaded the file dotnetfx from microsoft .NET 2.0 Framework Beta 2 Redistributable page and I tried to install it on my deployment machine.... I tried everything to make it work, but the .NET Framework 2.0 does not install on my machine. I renamed the mscor*.dll on the System folder, I'm logged on as the administrator, I gave all the authorization to change the registry. Then I changed the deploy machine, I tried with a tablet PC and didnot work the same!!! Any Idea would be appreciated.... Thanx Lorenzo. I Installed Latvian Langpack I ...Show All
Smart Device Development Reading accented characters with fileStream
Hi, I’m trying to read a text file with accented characters (a,e,i,o,u,n, A, E, I, O, U, N, !, ) in my application. When using the code below, the accented characters are removed from the strings “Q” and “A”. How can I read these as well as other ASCII characters into my application Sub GetQuestionData() Dim a As String Dim Q As String Dim fileReader As System.IO.StreamReader 'Initialize vars j = 0 i = 0 fileReader = New System.IO.StreamReader ( ".\AccentedText.txt" ) Do Until fileReader.EndOfStream() Q = fileReader.ReadLine() A = fileReader.ReadLine() Loop fileReader.Close() ...Show All
.NET Development Framework Versions
Hi, I want to the Framework Versions till now, with release dates. about Ado.net, is there are any new Data Providers, in Framework 2.0 other than OLEDB, SQL, Oracle and ODBC (which are from Framework 1.1), How to know about updates in framework and new classes and new data providers Please give me links. Thanks I believe this is what you’re looking for: http://msdn2.microsoft.com/en-us/library/ex6y04yf.aspx ...Show All
Windows Forms Slow re-draw of screen with background bitmap
Hi, Can anyone explain how to stop my application slowing down with a background bitmap on my forms I am using a bitmap which has a gradual fade through colours, just to make it look less boring than plain windows colours. If there is a better way to do this, I'm open to suggestions. My application doesn't have too many controls on screen and when a form opens up, the re-draw is painfully slow! Thanks, Sean Many thanks, I will look into this now. I posted my question at 4:55pm Friday afternoon, hence the delay in saying "Thank You". Hopefully, this should integrate quite easily with my forms I created in the designer! Sean ...Show All
Visual Studio Using custom UITypeEditor in language project property pages
Hi, I have a language project, for which I'd like to assign custom editors for some of the properties on the property pages of the project. If I use the 'predefined' editors - like FileNameEditor - it works fine, but not for my own editors (just displays a simple text-editor, as if no customer editor was specified). The same happen if I try to use a custom TypeConverter as well. These custom editors/converters are defined in the same assembly in where the VS package/project/everything are. If I test them outside VS (with a simple winform PropertyGrid, referencing the package assembly), they're working as expected. I've tried putting them into the IronPython sample project, and specifying them as editors/converters for some of the properti ...Show All
Visual C# try / catch question
Is it a good pratice to do the following void foo() { try{ ..... } catch(FileNotFoundException ex) { throw new FileNotFoundException(); } } void foo2() { try { foo(); } catch(FileNotFoundException ex) { .... } } The pattern you describe is sometimes used to hide implementation details of a class. Whatever you are calling in the try block of foo() that generates the FileNotFoundException, foo2 will always see the exception as being originated by foo, not the private method. Whether this is good or bad practice... well, it depends. Hiding a deep tree of private (and undocumented) methods might make your stack trace easier to read, but you are also losing important information. This can obviously be ...Show All
