SOAC's Q&A profile
Windows Live Developer Forums Popups for pushpins have wrong Y coord in Firefox
Not doing anything fancy - just supplying some text to popup for a bunch of pushpins. Location of popup is fine in IE, but in Firefox the y coord discrepancy gets worse the larger the y-pixel value of the pushpin is in the map. Anyone know of a workaround Hi John, I'm experiencing the same problem GWW2007 mentioned. It happens with VE code run in IE (6&7) when the window isn't maximized. I'm also experiencing the issue when the pushpins are near the bottom of the map in IE7 even while the window is maximized. Is this user error or a bug As an example, I used the code from Chandu Thota's article " Code Your Applications To Deliver The World With Virtual Earth APIs" (I updated the code ...Show All
Visual Studio Undocumented error (ESS_SS_HISTOPEN) in VSS 6.0
Hi All, I'm automating VSS through the COM interface and I consistently get the same error when attempting to do a 'get' operation on items in my database. The error being returned is 0x8004D75C, which I mapped to ESS_SS_HISTOPEN (or "A history operation is already in progress"). Aside from an entry in ssauterr.h, I can't find any documentation that gives me any idea what this error actually means. Anybody have a clue Sean Sean, After talking to my devs, I got the following information: "Which version of VSS is he using In 6.0d and older it was not possible to have to Versions collections simultaneously, and that is the error that you’d get if you tried it. That is fixed (with a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 10-Vista
I owe a computer with W. XP.I'm going to upgrade it to Vista.My question is if directX 10 needs only Vista to run.My system is fueled by ATI radeon x1600 pro.Do I have to change it or just have Vista Intel does not build discreet graphics cards. There solutions are always part of the chipset. This will limit them to Intel CPUs. But I am expecting that we will see ATI/nVidia solutions with D3D10 driver before Intel publishes D3D10 drivers for their solution. ...Show All
Visual Studio Tools for Office How do you disable the Close (X) button on a Word application?
Hi, Can anyone tell me how to disable both the close button (X) and the File->Exit menu option on a Microsoft Word application from .NET, using c# Thanks, Philip This forum is specifically for the VSTO technology, and C++ is not part of VSTO. You need to ask this question in a newsgroup that supports C++. Since the code in this thread uses the Windows API, it should be relatively straightforward for C++ experts. When you post, be sure to mention the development environment you're using. Choose the appropriate group from the Windows Development/Windows SDK listing in this interface http://msdn.microsoft.com/newsgroups/default.aspx ...Show All
Visual Basic Optimizing Search
I am using VB.NET 2003 and MS Access. I have a TextBox and below it is a ListView control. As the user types a character in the TextBox, the records starting with that character get filled in the ListView control. The records are fetched from either Oracle or Access database. Previously, I used to execute a SQL query, which looked something like this: "Select FirstName from TableName where FirstName like '" & TextBox.Text & "'%" This query was set to execute as the text in the TextBox changed. If the TextBox is blank, then all the records get displayed on the ListView alphabetically. Now I have decided to use a different approach so as not to query the database again and again. Now what we are doing is that ...Show All
Smart Device Development problem getting IWebBrowser2 interface from HTML control
Hi, I have a html control created with WC_HTML classname. I'm trying to get the IWebBrowser2 interface from the code below. IDispatch *idp = NULL; IWebBrowser2 *pWB2 = NULL; SendMessage(hHTML, DTM_BROWSERDISPATCH, 0, (LPARAM)&idp); idp->QueryInterface(IID_IWebBrowser2, (void **)&pWB2); I can get the IDispatch but pWB2 is always NULL. Anyone know how to solve this problem I'm going to load a html file from the disk to the html control and the html file has a few external links to some websites. I want my html control to load the external link when user press the external link instead of popup up an instance of PIE. Any help or idea is appreciated. thanks in advance I ...Show All
Windows Forms How to maintain data in a ListView control when form is hidden
Hi - I developed a shared add-in with a ListView control on a form. I populate the ListView control with data - and I want this data to remain in the ListView control even if the user hides the form. However, even though I call the Hide function to hide the form - the next time I show the form, the ListView control is blank. How can I maintain the data in the ListView control even if the form is hidden Thanks in advance. Hiding the form shouldn't empty the ListView. Are you closing it Is it an MDI child window ...Show All
.NET Development ASP.net Web Site Administration Tool doesn't work at all
ASP.net Web Site Administration Tool doesn't work at all This is first time i click on it then i would get "an error was encountered. Please return to the previous page and try again" I have visual studio 2003 and 2005 installed both the 1.4+ and 2.0 framework are installed What can i do Do you have this working yet This is an easy fix if you set the connection string for the local SQL server either in the web.config of each virtual directory or at the Config folder level in the .net framework folder. Let me know if it's a problem and I'll help you fix it. ...Show All
SQL Server Merge Replication with SQL Mobile 2005
We are using SQL 2005 (SP1) and mobile agents with SQL Mobile. We are seeing an excessive number of updates after a device's database is reinitialized. My understanding was that if I generate a new snapshot or reinitialize all subscriptions (from the server), the devices would only get what the database looks like right now (inserts only) after syncing and/or reinitializing, but they are actually getting the right number of inserts and a huge number of updates in Replication Monitor. Any ideas Thanks! Mike Only LOG is published. Basically, the device logs to the log table. During a sync, the log entries are uploaded, the trigger fired (to move it to the history table), then the log entry is dele ...Show All
SQL Server Mimic SQL Server Management Studio behavior inside RS Report
I want to know how to mimic the SSMS behavior inside an Reporting Services report when querying an XML field. In SSMS, a field that is XML shows up as a link, and when the use clicks on the XML, it opens then entire XML document in a new window. I need this exact behavior in RS, but can't accomplish it. Any smart people out there who can do this I didn't realize you were trying to get an interactive representation of the XML. You can't really accomplish what you want in a report as we don't deal with XML data hierarchically - the XML data extension will flatten it and the binding it into a textbox will simply display the string. (Native XML support is in the long term plans) So, if you want an in ...Show All
SQL Server Only 9999 Rows after MERGE JOIN in SQL Server BIDS
I've gote 2 Tables with about 50.000 rows and I left outer join them with MERGE JOIN. The result are 9999 rows. Has anybody got the same problem. Maybe it's a bug! Daniel Krebs wrote: I've gote 2 Tables with about 50.000 rows and I left outer join them with MERGE JOIN. The result are 9999 rows. Has anybody got the same problem. Maybe it's a bug! Merge joining is one of the trickiest components to use in SSIS. First make sure the data is sorted when it gets into the merge join; then you have to tell to the data flow pipeline how the data is sorted by changing some properties in the source component. Alternatively, you could place a Sort transform before the merge join; but that is ...Show All
Software Development for Windows Vista loading instance from persistence store
Workflows are persisted. I want to load them by: runtime = new WorkflowRuntime (); SqlWorkflowPersistenceService persistanceService = new SqlWorkflowPersistenceService (tbConnectionString.Text); runtime.AddService(persistanceService); runtime.StartRuntime(); List < WorkflowInstanceData > instances = new List < WorkflowInstanceData >(); IEnumerable < SqlPersistenceWorkflowInstanceDescription > instancesDescriptions = persistanceService.GetAllWorkflows(); foreach ( SqlPersistenceWorkflowInstanceDescription instanceDescription in instancesDescriptions) { WorkflowInstanceData instanceData = new WorkflowInstanceData (); instanceData.Id = instanceDescription.WorkflowInstanceId; StateMachineWorkflowIn ...Show All
Smart Device Development SSL
Hi, I posted this once before but until now I haven't found any solution. I need secure socket in Compact Framework and I have found www.mentalis.org but this library isn't for CF. Thanks for any help. ...Show All
Visual Basic VB 2005 tableadapter error
VISUAL BASIC 2005 TABLEADAPTER ERROR While doing the FirstDatabase Visual Basic Guided Tour example as given in Online Help , amendments made to the Dataset are not saved back to the Addresses table of the main Database. THE CODE BELOW IS SUPPOSED TO UPDATE THE DATA:- Me.AddressesBindingSource.EndEdit() Me.AddressesTableAdapter.Update(Me.FirstDatabaseDataSet.Addresses) How can I ensure that the TableAdapter actually sends updated data from the Dataset back to the Database Is there any specific setting that I need to make to the properties page, etc. NOTE: Changes made through the Server Explorer are reflected in the Database. The failure occurs when using the DataGridView or Form Entry . Check out Antoi ...Show All
SQL Server Problem Installing SQl express
hi, Im trying to install SQL express 2005 on my Desktop Computer and I keep running into the error "Setup has detected a problem with Microsoft .Net Framework installation and cannot proceed .Net Framework 2.0 is either not installed on this system or is corrupt" when infact it is installed.. any sugestions By the way im Running Windows X64 Pro with a AMD athlon X2 3800+ CPU and 2GB of Corsair DDr2 ram I would try removing and then re-installing .NET Framework 2.0, the error would seem to suggest that there is a problem with your installation. I would assume that the .NET Framework 2.0 installer would tell you if you tried to install the 32-bit version on your x64 computer, but just the same, ma ...Show All
