jls's Q&A profile
Architecture UML Model Export to xml file
I'd like to put a simple question into your consideration. When you export a UML model as a .xml file using ESRI XMI Export Tool, I designed the UML Model in Visio2003, and exported it as a xml file using ESRI XMI Export tool. The objective is create a database into a Geodatabase using those xml file. But when I create the database the descriptions os each table and atributes that I had in Visio in a documentation tag desapeared... The question is, How can I attach the documentation info to the xml file to pass it to the tables created in a database Thanks in advance ...Show All
Visual Studio Express Editions Using grips to move
Ok I've been trying to do this for like 3 weeks now. I see that there are a bunch of things such as the toolstrip and statusbars that have grips on them. The only problem is that they don't do anything. I can't seem to figure out how to access the grips so that a user could actually USE them to move the object around. I've developed the code for using them.. Now I just have to figure out how to use the grips.. Isn't there like a ToolStripGrip.Click or something It's cool. I think it turned out to be a lot easier to just draw my own grips and use them along with a code similar to the one you posted ...Show All
Visual Basic Add and remove data from file
Is t possible to: Add data to a certain offset in a file without overwriting original data from that offset, thus expanding the file Remove data from a certain offset and length in a file, instead of making a new file of the two desired parts of data from the original file Thanks! And reading files into memory is whether it be a text file or a binary file is easy using My.Computer.Filesystem. (readalltext or readallbytes) The manipulating the in memory data - by removing , adding or changing items etc. before writing this stuff back to a file using the companion function My.Computer.Filesystem. (writealltext or writeallbytes) As tim suggested there are many ways you can make this more robust to ensure that yo ...Show All
Visual Studio 2008 (Pre-release) How to pass parameters to a DataBinding in XAML? - I want (need) to seed the construction of the DataBinding source object.
I have a set of generic (generalized) DataBinding source objects, each of which maps to a different UI control type (eg. collections for ComboBox, single value for checkbox, etc.). <CheckBox.IsChecked> <Binding Path="Value" Source="{StaticResource SingleValueBinder}" /> </CheckBox.IsChecked> or <ComboBox Name="MyCombo" Height="21" Margin="20,20,20,20" ItemsSource="{Binding Source={StaticResource ItemsSourceBinder}, Path=Values}" IsSynchronizedWithCurrentItem="True"> </ComboBox> These objects are basically serving as adaptors and internally map to a host of specific object values. I need someway to specify which of the unde ...Show All
Visual Studio Team System Help - Cannot Create New Team Project
We installed TFS SP1 a few months ago and the system has been running well until.... We are trying to create a new Team Project. We get an error TF30170 and TF30177 saying that we cannot create a new Team Project. The log looks like this: 2007-01-15 13:20:37Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0 seconds 2007-01-15 13:20:37Z | Module: Internal | The template information for Team Foundation Server "FL08DEV10" was retrieved from the Team Foundation Server. | Completion time: 0.03125 seconds 2007-01-15 13:20:37Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds 2007-01-15 13:20:37Z | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time ...Show All
Visual Studio 2008 (Pre-release) Gif Resource, not finding System.Drawing
I'm trying to add an existing .gif as a resource to a WPF application. After adding the file to the resource file and building I get the following error: Error 1 The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference ) The offending code is in the Resource.Designer.cs file that is generated and looks like: internal static System . Drawing . Bitmap go { get { object obj = ResourceManager . GetObject("go", resourceCulture); return ((System . Drawing . Bitmap)(obj)); } } Because the file is generate I am unsure how to add the namespace without it being over-written. Beyond that, even if I do manually add a System.Drawing, I find ...Show All
SQL Server RS 2005 Prompting for Credentials
For the life of me, I can not get integrated windows authentication to work with an installation of Reporting Services 2005. I get prompted when connecting to the /Reports IIS virtual directory when not on the IIS machine. If I'm logged onto the machine I don't get prompted. Or if i use the IIS servers IP address in the URL I don't get prompted. The only way I can avoid windows prompting (when not logged onto the IIS machine) is to set the /Reports virtual directroy to "Enable Anonymous Access" I know Windows Integrated authentication works because we have other web applications where Anonymous access is turned off, and everything works as expected. Meaning going to another server for database access thos ...Show All
Visual C++ CWinThread derived Object and Menu trouble
Hello I can't find my previous question so i'll re-ask it; I created few WinThread derived objects With which i send and receive info by posting messages. When i click on the menu While my threads are runing they seems to crash or to terminate their message processing. The thread being terminated not in a clean manner it causes my program to randomly behave. I use these this thread with multiple Windows and in a various range of way but only the menu affects their stability. Does anybody can lead me on the right path to overcome this problem Thanks a lot. more elegant solutions. first though check out other windows api for posting messages. you call PostMessage() Kuphryn ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SpriteBatch.Draw(..., float layerDepth) No Longer Works For Me
I guess that the deprecated BeginScene() used to automatically changed some device states in order to make it possible for layerDepth to work. But since that function is gone in Beta 2, I no longer know how to automatically depth order my textures. Is there a set of device states I need to be in to get this automatic sorting If not, I'll just write my own sorting code. Thanks! Terry A. King wrote: I have a question which sounds quite similar, or may offer a solution, to this. My question is how do I depth sort more than one SpriteBatch My initial test shows using : batch.Begin( SpriteBlendMode .AlphaBlend, SpriteSortMode .BackToFront, SaveStateMode .None); will correctly draw the sprites in the correct ...Show All
.NET Development Stored Procedures takes long time to execute from Web Application
Hi, We have a got unique problem with one of our Stored Procedure. This stored procedure takes a long time to execute when called from data access layer which is in C#, takes around 5 minutes but takes very less time to execute when executed from query analyzer, takes around 6 seconds. We are using data access block of Enterprise Library 2. All the other stored procedure within the application works fine. It is only this one stored procedure which is behaving very odd. The same stored procedure works fine if we give a short date range (6 months) from the data access layer but takes lot of time to execute when you give a bigger date range (4 years). Also doesn't seem to be a data load or network issue the reason being the 4 ye ...Show All
.NET Development copy the whole section of xml
i've would like to copy the whole table in document.xml (word 2007 .docx) how do i do that what i want to do is to read all the .docx file and extract all the 1st table of those documents and insert them back to a new document. XmlReader and XmlWriter in .NET Framework can help you. http://msdn2.microsoft.com/en-us/library/4d1k42hb.aspx ...Show All
Smart Device Development WM 5.0 Pocket PC Emulator Device, Windows CE Remote Process Viewer Hangs pc
I am using Windows Mobile 5.0 and building a CF 2.0 SDK application in VS 2005. When I run the application and/or the Windows CE Remote Process viewer to test the emulation device using the WM 5.0 Pocket PC VGA emulator or any other WM 5.0 emulator the pc hangs and i have to reboot my pc. I can't see anything wrong with the installs of WM 5.0. Why would my pc lock-up when I test the device emulator using Windows CE Remote Process viewer Should i not get an error first Any help would be appreciated. Thanks in advance. Barry, Here is what the debugger shows prior to the Remote Process Viewer hanging the pc up when connecting to the WM5 Pocket PC VGA Emulator. ModLoad: 01490000 0149e000 C:\Program F ...Show All
SQL Server SQL Server 2005 Evaluation and SQL Express side-by-side?
I have SQL Express installed on my desktop and want to install SQL Server Evaluation. Will these 2 clash or can they sit happily side-by-side Hi, I'm having the same problems! Have you rectified it I already have Express installed and in use. I'm wanting to trial the full evaluation version as a side-by-side installation. I'm running Win2000 sp4, is the Evaluation version compatible with this OS Thanks in advance, Dom ...Show All
Visual C++ accessing X-headers inside smtp sink
Hi! Is there ANY example or how to for accessing custom x-headers of an smtp-message inside a smtp-sink with c++ or c# Peter Try this query ... ...Show All
Windows Search Technologies WDS 3 - RTW Final not indexing .xlsx file which have ODBC SQL Connection
Hello, Brandon recommended me posting this problem I noticed in the WDS 3 RTW. Basically the WDS 3 RTW, and (Beta 2) cant index the contents of Excell new format (.xlsx), if the excell contains a ODBC (SQL database) connection. The easy way to reproduce is to, create a new .xlsx file using Office 2007 B2TR, create a ODBC SQL connection to any database/table that you have access to. Save the file and wait for index, it will index the filename but never its content. With the WDS 2.6.5 this problem doenst happen. Regards, Marcus I'll add to this that other extensions appear to not get their contents indexed. It would be my .vb files that I'm specifically referring to. I went so far as to make sure the path was ...Show All
