kunal.pandya's Q&A profile
Windows Live Developer Forums I wonder how should i include virtual earth control sdk in my project so the html file can use the function of virtual earth co
in vc6, I am developing a application of virtual earth control sdk, it is necessanary to realize some functionality in html. I wonder how should i include virtual earth control sdk in my project so the html file can use the function of virtual earth control sdk Thanks -- jake The SDK is just the documentation on how to use the control; it is not the control itself. The control itself is a javascript control that you reference from your HTML. If you are building a Windows app, rather than a Web site, then you need to include an IE control within your application and handle the javascript through that control. Another alternative is to reference the MapPoint Web Service...probably easier to do in a Windows app, but you don't g ...Show All
SQL Server Problems with Poison Message Processing
I am getting the following Error and I can't find it in the Manual. Failure to send an event notification instance of type 'BROKER_QUEUE_DISABLED' on conversation handle '{5D273374-E84F-DB11-B3BC-0004239AB15C}' . Error Code = '8429' . I have checked the service name for the notification and it appears to be okay. Any ideas would be welcomed, Gary Thanks Remus, I will send the error from the log the next time I recreate it. It has rolled off of the log for now. Gary ...Show All
Software Development for Windows Vista directshow source filter for ip camera
hello, i'm hoping that someone will be able to help me. i would like to use windows media encoder to stream video from an ip camera or network camera. but since ip cameras doesn't connect directly to a computer, i'm not able to see the device in WME. i've seen 1 example of someone that wrote a custom source filter for Axis brand ip camera, i'm using another brand called vivotek. so, can someone please let me know how difficult it is to write a source filter and if it's possible to write this code for all cameras or it will depend on what the ip camera supports. any help with this is greatly appreciated. If you go the the Axis website, they offer an sdk for most of their servers/cameras. You can send ...Show All
.NET Development XML into dataset
Hello. I have very loosy knowledge in XSLT and maybe this is a reason. However i am stack with the following problem: I have an XML like <SHOWS> <SHOW DISPLAYED='0'/> <SHOW DISPLAYED='0'/> <SHOW DISPLAYED='1'/> <SHOW DISPLAYED='1'/> <SHOW DISPLAYED='0'/> </SHOWS> I need to upload into dataset only those SHOW elements which DISPLAYED attribute is 1. Reading MSDN documentation i have found that the only logical way is using XslCompiledTransform. There are two problems with using this class. First it creates XmlWriter while i need XmlReader for which means i need to enter into complicated transformation XmlWriter -> StringBuilder -> Stream/TextReader and second the XSLT i have ...Show All
Visual Studio 2008 (Pre-release) DataTemplate vs. ControlTemplate
Hello, I'm not so sure that I understand the difference between a DataTemplate and ControlTemplate. I realize that the DataTemplate renders a 'type' of data. But then why is ColumnHeaderTemplate defined using a DataTemplate resource Thanks Houman They're mostly the same, getting most of their behavior from the base FrameworkTemplate class. The primary difference is that ControlTemplate has a TargetType property and DataTemplate has a DataType property. Another difference is that the DataTemplateSelector can be used to choose a DataTemplate at runtime. So, for example, the ColumnHeaderTemplate that you mentioned has a companion ColumnHeaderTemplateSelector property. ...Show All
Visual Studio Team System VSTS with SP1 Beta to non TFS SP1 Beta Server
Can a Team Explorer or VSTS instance with the SP1 beta connect to and utilize a TFS instance that does not have SP1 Beta installed or will there be conflicts Thanks, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vista allows What versions of DirectX?
(split from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1221168 to make a new question) It is interesting that you say that because I am testing a VB6 app that was working fine on XP and below but now fails on Vista when it tries to create a DirectX8 object, specifically Set oDX = new DirectX8 throws Error 429, ActiveX failed to create component. Running in XP SP2 compatibility mode does not work either. I would be really grateful if anyone has any ideas on this. I also tried running the latest DX9 redistributable because I heard that was providing backward compatibility, but to no avail. Thanks. I'm currently searching for a solution to the exact same problem. ...Show All
Smart Device Development Play audio during phone call
I am developing a smart phone application to monitor incoming phone calls. One of the functions is to use the device to play a one-second wave file during the phone call. I use PlaySound function to play the wave file. I can hear the audio through the device speaker when the device is not engaging in a phone call. But when I play the wave file during a phone call, I cannot hear the audio. It seems that when an incoming call comes, Windows shuts down all the audio devices. Even Media Player cannot play anything. How should I implement this Thank you, Chris Most likely your phone only has one speaker which is connected by hardware to the phone part during phone call and physic ...Show All
Visual Studio Express Editions Calling Win32 API from Assembly Code
Hi How do I call a Win32 API from assembly code Basically I have to call kernel32.dll function from my assembly code. "The main reason in doing all this stuff was to remove declared typedef of function "GetLocaleInfoA" from the code." Sorry to say but this is not a good reason to resort to assembly wizardry... ...Show All
SQL Server Connection Problems
Hi, I am new to SQL Server 2005 but have a pretty good understanding of 2000, but I am struggling with connections! I have created a .Net Windows application (installed on an XP box) that should talk to a SQL Server 2005 database which is installed on a 2003 server. The desktop app is installed is in one domain (DOM1), and the SQL server 2005 is in another domain (DOM2). I have created a active directory user in DOM2 which will be a service account which manages the connections between the app and the db. I am using the following connection string:- Server=ZZLUKGKK1M1J\INST2005;Database=PublicationWizard;User ID=DOM2\zzPubWizardDBUser;Password=password;Network Library=DBMSSOCN;Trusted_Connection=False; When I try and connect an er ...Show All
Windows Forms DataGridView CellValidating error forcing focus problem.
I'm having a problem which seems like it should be really simple to fix, but I can't seem to find a solution. My application has a Windows Form with a DataGridView and a "Cancel" Button also located on the same Form. In the DataGridView I use the CellValidating event to perform some custom validation on a cell. When the validation fails in the CellValidating event I set: dataGridView.CurrentRow.ErrorText = "Validation Failed"; e.Cancel = true; This displays the ErrorProvider on the row where the error occured - and forces the focus to remain on the cell with the error until the user fixes the error. This behavior is for the most part what I want - with one exception. I still want the user to be able to use the "Ca ...Show All
Architecture Windows Service can't access files on the network
How do I create a Windows Service that can access files on the network Right now the service is logged on as "Local System" and cannot access network folders or files. You probably need to change the account the service runs under to either (a) a specific domain account that has access to file share or (b) to "network service" which runs ander a pre-defined privilege level. Alternatively, you can store the username and password of a domain account in some sort of (hopefully secure) config file and then impersonate that user when you need to access the file share. You might also be able to get to the shared files if you allow access to "everyone", but that is probably not desir ...Show All
.NET Development Trouble with attaching data into a database
I have just started using Visual Studio and I am trying to program an application to send information to a SQL database. I keep getting this error message and cannot figure out how to fix the problem: System.Data.SqlClient.SqlException was unhandled Class=20 ErrorCode=-2146232060 LineNumber=0 Message="An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)" Could someone please help me fix this error Thank you, Anthony Ostrem ...Show All
Visual Studio Tools for Office Call macro from C#
Hello: I have an Excel Workbook Project withs VSTO and what i need is to run an existing vb macro. I create the macro with Visual Studio Macros (Alt-F11) inside VS 2005 and the look like this: Imports System Imports EnvDTE Imports EnvDTE80 Imports System.Diagnostics Public Module Module1 Public Sub Test() MsgBox( "Hola amigos" ) End Sub End Module Then i want to excute this macro from a sheet of my project, the look look like this: using System; using System.Data; using System.Drawing; using System.Windows.Forms; using Microsoft.VisualStudio.Tools.Applications.Runtime; using Excel = Microsoft.Office.Interop.Excel; using Office = Microsof ...Show All
Smart Device Development Pocket PC 2003 C++ native application
Hi, I have started to get strange errors when I am trying to start and debug my application. I get An error occured that usually indicates a corrupt installation (code 0x8007007e). I have reinstalled the application, did not have any effect! What shall I do thanks in advance Patrik Hi Partik, You mentioned about Remote executable. Can you check that after deploying your project, executable is placed in the location same as what you mentioned for remote executable. If not then correct the same at Debugging and Deployment pane in Project -> Properties->Configuration Properties If it doesnt solve the problem then can you give more insight on what is the exact problem you are facing alon ...Show All
