xlordt's Q&A profile
Windows Live Developer Forums Custom Tiles --- ESRI - ARCIMS - Shape files - MrSID
We are Google Maps converts and I have spent some time reading up on adding custom tiles to VE but since this is so new, there is not much yet on importing Shapefiles. I have read and test the MapCruncher and although very nice, it does not support SHP (Shape files) and in ArcGIS you can't export a shapefile to a supported type. I need to be able to add a tile of poly lines (Bike trails) vectors and eventually MrSID Aerial Photpgraphy we have (becuse we have much much better resolution than MS) I can not see a way to serving up shapefiles or MrSID DOQQ files. Any suggestions, tips or other ways we can accomplish this Thanks Jason Jones Dayton, Ohio USA One the problems I've ran into, is that VE seems ...Show All
Visual Studio Express Editions How do I copy an array of bytes to a pictureBox?
I need a fast (least amount of processor time) way to display an array of bytes to a form. I have created a form with a pictureBox located at one corner and would like to be able to copy an array of bytes (The array of bytes wil contain some sort of graphic) to the pictureBox so that it becomes instantly visable. I do not wand to load the bitmap from a file and then dispay it, I just want to copy an array of bytes to a pictureBox or whatever control would be best for the job. Thanks, CoderX Hi, You didn't tell us what is the file format (eg. bitmap), and how do you want to do that , do you want to set the picture as pixel-by-pixel , or you want to write the bytes to a memory stream then read ...Show All
Visual Studio 2008 (Pre-release) Security Pain (Vista basicHttpbinding)
I am struggling to get my server running with the basicHttp binding over https on Vista (it is a self hosted server). The server starts up and doesn't complain but the client exceptions when I try to start it up: "An error occurred while making the HTTP request to https://192.168.1.64:8081/Server/G2SServer . This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server." My first question is whether configuring http.sys is required for an application running with the basicHttp binding (this help page implies it is only necessary for WSHttpBinding ms-help://MS.MSSDK.1033/MS.NE ...Show All
SQL Server Full Text Search Sql Express, Quatation Mark
When I try to search a string including Quatation Mark it fails: Like: The new Book "Harry Potter" is it stated that the syntax is incorrect. by the way I am also using * for indicating any suffix. What is the correct syntax for searching: " Itzik Hi!, You can not include quotation marks inside your string. In addition, these characters are being ignored at indexing time (ignored by the language wordbreaker you are using by default), so are not considered either in your query. This means that when searching for ' The new Book "Harry Potter" is' , internally gets translated as : 'The new Book Harry Potter is'. So you dont have to worry about this quotation ...Show All
Visual Basic Auto-update Project References
Hi, I have a VB6 project that contains a reference to a tlb from another .Net project that I have. The problem is that whenever I rebuild the .Net project the reference in the VB6 project becomes out-of-date and I have to re-enter it. Is there any way that the project reference will automatically update to pick up the new .tlb file which will always be in the same location I hope this is explained properly. Thanks, Wallace This is what I have found is the easiest way to do it. It involves changes to the .NET project that is being referenced. Ensure that you have both the ClassID and InterfaceID GUIDs in the class (and the EventsID if required). NB in VB .Net, you can add a COM class item which has these ...Show All
Windows Forms DataGridView unbound colums cleared on DataSet.AcceptChanges
Hi Community, Why is it, that in my DataGridView all columns which are not bound to a "DataProperty" get cleared (emptied) if I do a DataSet.AcceptChanges The DataSet is the DataSource to the BindingSource of the DataGridView. Is there a event, that I can use to detect this situation and then "refill" my unbound DataGridViewColumns I this propably a bug in the DGV Thanks for Help and Hints Rainer Hi Ken, thanks for answering. Due to Linda Liu [MSFT] who answered to me in a NG I now understand what is going on in my case. I solved my problem by using the virtual mode on my DataGridView. For reference I cut/paste Lindas answer below. Regards Rainer //===== from the NG ==== Hi Rainer, T ...Show All
Visual Basic Sub Main in Mainform.vb never getting called.
If I create a Sub Main in my app, the app never calls it. No breakpoint hit, no Messagbox shown. Thanks for any ideas. -greg MainForm.vb Friend Class MainForm Inherits System.Windows.Forms.Form Sub Main (ByVal cmdArgs() As String) MessageBox.Show("main") End Sub End Class MainForm.Designer.vb Partial Class MainForm Inherits System.Windows.Forms.Form Thank you for the ideas. Mainform.vb is not the only form in the project but it is the Startup form as set in the Application properties. followup question. Will Sub Main, when I get it working, be fired before the code in InitializeComponent with Mainform.Designer.vb thx... ...Show All
Smart Device Development OutOfMemory error on JasJar
I am having a memory problem with an application on the JasJar. The application runs fine on iMate PDA2K with 128MB memory (PPC2003SE). It also runs well on iPAQ on WM5 with 64MB memory (not sure about the exact version of WM5). However, on the iMate JasJar, also with 64MB memory but a slightly later version of WM5 than iPAQ, I am consistently getting OutOfMemory exception under certain conditions. I have run the RPM on PPC2003SE but cannot see why I am event close to the limit. I look at the GC Heap over time. Shoud I be looking at something else I have read the blog entries of David Kline about RPM and Steven Pratschners's memory management, but it is not explicit about what I need to look out for. Can anyone point me in t ...Show All
Software Development for Windows Vista What is my next step
hey folks. I've installed VISTA RC1 5744, installed my software, tested it. What do I do next Do I just say "it works" and then put a sticker on the box for the next print run I'm only taking the steps towards getting the "Works with" vista logo for this batch of products that I am testing. All help appreciated :) Take a look at this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=773520&SiteID=1 Maarten ...Show All
SQL Server Variable Mapping and Resultset Questions
I'm just getting started with SSIS and have a couple basic questions. I have a Foreach Loop that iterates over a collection of database names. The collection must include only database names that match a substring. I haven't found a way to filter the SMO Enumerator collection so, instead, I feed the resultset of an Execute SQL Task into the Foreach Variable Enumerator. Of course this variable (oDBnames) is object type so in Foreach Variable Mapping a string variable (sDBname) is mapped to the only value in the collection (database name). Now sDBname should be available for an Execute SQL Task inside the container. But I keep getting the following errors: Error: 0xC001 ...Show All
SQL Server How to Connect the Sybase IQ as a Data Source in MS SQL Analysis Services 2005
Hi All, Can any one know how to make a data source of Sybase IQ in Analysis Services. I have OLE DB for Sybase. Can i use that to connect Sybase IQ If Yes than How. Thanks, Satish Hi Edward, Thanks for reply. For Sybase it is working fine. But My source is Sybase IQ. In Sybase IQ, we have host and port with database server name, while in sybase we have only database server name. Thanks, Satish ...Show All
Visual Studio Team System Cannot write to a closed TextWriter
In Unit-Tests I want have all output of all trace-sources available in each unit-test output, so I can debug more easily. for this purpose I add a ConsoleTraceListener to all Sources. This works fine, when running one unit-test, but executing a batch causes the following error: Test method WZ.Hermes.Border.Daemon.UnitTests.MonitorHandlerTest.ExecuteMonitor_EmptyMonitor threw exception: System.ObjectDisposedException: Cannot write to a closed TextWriter.. at System.IO.__Error.WriterClosed() at System.IO.StringWriter.Write(String value) at System.IO.TextWriter.SyncTextWriter.Write(String value) at System.Diagnostics.TextWriterTraceListener.Write(String message) at System.Diagnostics.TraceListener.WriteHeader(String source, Trac ...Show All
SQL Server Cannot find the queue 'SqlQueryNotificationService-{guid}'
I am trying to get my application running on a customer site. They are being very picky about security on the database. What are the correct permissions to setup to allow my sql user to use the Service Broker. Currently I am receiving the following error: Cannot fin the user 'owner', because it does not exist or you do not have permission. Cannot find the queue 'SqlQueryNotificationService-<guid>', because it does not exist or you do not have permission. If I make my user db_owner it seems to work on other installs. Thanks so much, ~ Steve Based on the service name, this seems to be a SqlDependency case, isn't it Can you explain which command do you run when you're getting t ...Show All
SQL Server rounding numerics
Hello, Executing this statement outputs 10.0000000000. I expect it to be 9.999999999. declare @test NUMERIC ( 24 , 10 ) declare @test2 NUMERIC ( 24 , 10 ) set @test2 = 0.0000000000 set @test = 9.999999999 select @test * ( 1 - @test2 ) Changing the type of @test2 to VARCHAR(12,10) corrects the problem. I don't understand why SQL Server does this rounding Thanx, Wouter At least part of the answer lies with the fact that the "1" in the statement: select @test * ( 1 - @test2 ) is an integer datatype and must be converted for all of the operations to take place. This can be avoided by perfo ...Show All
Visual C# base class methods calling derived class methods ?
Ive inherited a C# class library and it seems that several of the base classes implement some methods that call methods which are defined in classes that are derived from the calling method's class. Is this "normal" eg: BaseClass method1 method2 { //some code here some_int = get_the_int(); } DerivedClass:BaseClass method1 method2 get_the_int () { //get the int here... } "Inheriance main concept is derived class can use the base class proeprties and behaviour, but viseversa is not possible." If you're talking about polymorphic inheritence, then this is completely wrong. It is a common design pattern for base classes to call methods which are defined by derived classes, which is acc ...Show All
