Software Development Network Logo
  • VS Team System
  • Windows Vista
  • Visual C#
  • SQL Server
  • Game Technologies
  • Smart Devicet
  • .NET Development
  • Visual C++
  • Visual FoxPro
  • IE Development
  • Microsoft ISV
  • Windows Forms
  • Visual Basic
  • Visual Studio
  • SharePoint Products

Software Development Network >> tango209's Q&A profile

tango209

Member List

farsad ghaffarian
Zebedeu
OldDrongo
Spenceee
RiotAct
ahmedWebDev
Michael Klucher - MSFT
drdexter33
srendoherty
K.V.Bharath
Loogie
andrealisp
JayatMed
Jamie Thomson
Sameep
vaddi
Callum
Hemant Hindlekar
Leander-Man
trobin
Only Title

tango209's Q&A profile

  • Visual Studio Enumerating the IVsTextViews

    I'm trying to listen to text changes in all IVsTextViews. I've figured out how to listen for register/unregister events, but if my addin is loaded after VS starts, there may be IVsTextViews that are already registered, and I never get an event for them. I figure enumerating the existing views with IVsTextManager.EnumViews should do the trick, but for some reason I can't seem to get it to work. There are no docs, but the IDL file has the following function definition in IVsTextManager: // Enumerate views. Pass NULL for pBuffer to get all views. HRESULT EnumViews ([in] IVsTextBuffer *pBuffer, [out] IVsEnumTextViews **ppEnum); When I try the following: ServiceProvider sp = new ServiceProvider ((Microsoft.VisualStudio.OLE.Interop.IServiceProvi ...Show All

  • Windows Live Developer Forums Can anybody help me out with some code...

    to get me started I know a little SQL [mySQL is what my hosting service offers], a little less PHP and even less Java - I am fighting the local live API - but I need to get some mappoints [name, lat, lon] pulled from a SQL database (actually it does not have to be sql, since our main database is filemaker pro and it is not sql - so if it can be done from a csv, or excel, or something along those lines... just as well] and map them... I actually have a ton of mappoints [4000+], though having them pulled based on the map that is showing might be too much to begin with..... Can anybody point me to some code that gets me started   Thanks a lot elwood Thanks - I guess I'll have to learn a lot more than I was hoping for ...Show All

  • .NET Development Microsoft.Web.Services2.WebServicesClientProtocol casting error: 'System.InvalidCastException'

    Hi, I am having this problem with adding a token into a soapcontext. my code is the following: string user = user1.Ticket + "\\" + user1.Name; string password = data.Tables[0].Rows[0][2].ToString(); //data.Tables["Iutput"].Rows[1]["Parameter2"].ToString(); UsernameToken token = User.UsernameToken == null new UsernameToken( user, password, PasswordOption.SendPlainText ) : User.UsernameToken; ((Microsoft.Web.Services2.WebServicesClientProtocol)Service).RequestSoapContext.Security.Tokens.Add( token ); here my proxy is service wich is nothing but a regular object. the error msg is: A first chance exception of type 'System.InvalidCastException' occurred in tmf applicati ...Show All

  • SQL Server Error message when creating replication with generated SQL scripts

    Hi all SQL Replication experts :) I have created my production server as a distributor and a publication on that server. On my backup server I have created a pull subscription. After that I have generated SQL scripts on my backup server so I can create the pull subscription anytime. To test my script I used sp_removedbreplication 'dbname' to remove replication on the backup server. I then used the generated SQL script to create the pull subscription again. I got this error message Job 'ProdServName_DBName-BackServName-DBName401A48AE-D8DC-4F29-A610-13916370CD0B' started successfully. Server: Msg 208, Level 16, State 1, Procedure sp_addsubscription, Line 135 Invalid object name 'syspublications'. What does this Error message mean ...Show All

  • Visual Studio Express Editions write sql quary in vb code

    Good day Does anyone know if a sql quary can be written in vb code . Something like this. dim myquary as string= sql quary and when page is loaded or some other event is triggered , then my quary can run. I,m trying to show data from a certain row when a form opens. Thanks Rob Hi, Dim strQuery As String Dim sConnectionString As String Dim objConn As New ADODB.Connection Dim rs As New ADODB.Recordset strQuery = "Select * from TableName" sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:myDatabase.mdb" objConn.ConnectionString = sConnectionString objConn.Open rs.Open strQuery, objConn Hope this will be work and useful to you Thanx Sidheshwar N ...Show All

  • Visual Studio Team System Please Help With Setting Up VS2005 Team Edition for Software Developers

    So, I can assume that I am missing something. I have VS 2005 Team Edition for Software Developers, but I don't know how to set it up to where I can actually create a Team Project. Is there a how-to manual on just setting it up to where developers can share a project and check-in/check-out Do I need to set up something else in addition to just installing VS2005 Team Edition for Software Developers Thanks. You need to install the Team Foundation client a.k.a Team Explorer. See the chapter "Overview of Installing Team Explorer" in Visual Studio 2005 Team Foundation Installation Guide . Note: On computers with security update 896358 installed, downloaded Compiled Help Module (CHM) ...Show All

  • Visual FoxPro Dbf Autoincrement with ADO

    Hello everybody, I created a table with an autoincrement field( CREATE TABLE `Synch_LogFile` ( `ID` I Autoinc NOT NULL, `TableName` C (100) NOT NULL, ...) ) when I try To open it by ADO with VB (Select * From Synch_LogFile) I get this error message: [Microsoft][ODBC Visual FoxPro Driver]Not a table. What's I'm doing wrong Thanks, Runtime error 3251 recordset doesn't support update. It could be a limit of the provider or of the lock type selected Runtime error 3251 Il set di record corrente non supporta l'aggiornamento. Potrebbe trattarsi di una limitazione del provider o del tipo di blocco selezionato (Are you Italian ) ...Show All

  • SQL Server Timeout and Audit Logout and sp_reset_connection?

    Hello, We've been getting some intermittent timeouts from our live website (the timeouts normally, but not always, occur when getting the user details - but that could be just because that task is happening the most often). However the strange thing is that this happens intermittently - but often enough to be annoying! I started a trace to see what was happening. I thought maybe it was a transaction/ or some sort of blocking SQL statement - however I'm not seeing anything that clearly indicates this.(I suppose the timeouts would only occur when another SQL was blocking the same db object, right And I don't think the updating of the user details are performed regularly.) However I did find some oddities that could maybe help: When we receiv ...Show All

  • Windows Forms Experts, Could you please help me

    Hi:there I installed SQL server 2005 (Developer Edition) and VB.net 2005 on my machine. When I login sql server by (SQL server management studio), I use sa account and password,(my server is called dwer\dwer ) When I desgin ASP.net application, i have no problem to access this sql server, Now I am designing a Window Application using VB. I cannot simply follow the normal procedure ( Project/Add New Item/ ,then choosing SQL Database from the available template ) to Add a new database to the project. An pop up always warn me that SQL server may not be proper installed or started. ( The server is up running at that time and I can access by the sa/password ) I got completely confused. All the materials I found regarding sql DATA acce ...Show All

  • Visual Studio 2008 (Pre-release) VMR9 and MediaElement

    I am trying to use a DirectShow filter in MediaElement, and although it works in WMP it does not work in a MediaElement. The author has suggested that maybe MediaElement requires the VMR9 in renderless mode with a custom allocator-presenter but I didn't know so I am asking :) Also what are my debugging options I have hooked up the relevant error event but nothing fails, it all seems to work, I just see a blank area instead of the expected video. I don't know if it is relevant but this filter is for DVB-T and as I mentioned works (very) well in WMP. Any help appreciated. A couple things to check: Does it work in graphedit (via render file) What are the media types the filter is using Do you get a ...Show All

  • SQL Server Passing the xml configuration file to the package as an input parameter while executing the package

    Hi, I am planning to develop a single package that will download files from ftp server, move the files to internal file server and upload it in the database. But I want to run this package for multiple ftp file providers. For each provider the ftp server might be different and the transformation to upload the files into a database table might be different. So can I create a single package and then multiple configuration files (xml), which will contain the details fo the ftp file providers and then pass the xml file as a parameter while executing the package. The reason being that the timings of fetching the files is different for each ftp file provider and hence cannot be combined into one. Is this possible Thanks for your help ...Show All

  • Smart Device Development Good Book For Windows mobile 5.0 application

    Could any body Suggest me Good Book For Windows mobile 5.0 application. MSDN is the best resource for WM 5.0 programming. You can check the following: Programming the .NET Compact Framework (Paperback) by Wei Meng Lee , Brian Jepson Writing Mobile Code: Essential Software Engineering for Building Mobile Applications by Ivo Salmre ( Paperback - Feb 1, 2005) Manav ...Show All

  • .NET Development Please suggest a method for issuing encrypted files

    We have an application that periodically requests a couple dozen bytes of data via web service on our web server. The data is specific to the client running the app. We want encrypt the data with a private key on our web server before sending it out. The application would then decode the data with the public key and know that it came from our server. The public key was to be embedded in the application as a resource. The .NET implementation of asymetric keys only allows encryption with the public key and decryption with the public key/private key pair. This is the opposite of want we want to do. We're looking for a suggestion as to how to accomplish this. What we need is for our applications to know that if they can successfully d ...Show All

  • SharePoint Products and Technologies Search Scope with pdf files metadata

    Hi All: I face the following issue with MOSS 2007 search: I have a site column DocumentType attached to a document library. I have both word and pdf documents in the library, and in all the documents, I have set the column value to UserGuide. I have mapped this crawled property to a managed property (docytype) and created a search scope with the rule: docutype = UserGuide. If I search for the word UserGuide (without any scope), both the word and pdf documents are listed. This shows that the metadata has been crawled in both file types. When I use the Search Scope and search for words in the pdf file, MOSS is not showing any results. However, if I use the same Search Scope and search for words in the word files, MOSS is pr ...Show All

  • .NET Development Keeping command prompt window displayed after i run System.Diagnostics.Process.Start("cmd.exe", "gacutil commad string here")

    Hi I run the gacutil cmd in a C# project using System.Diagnostics.Process.Start("cmd.exe", " gacutil commad string here"); But I want my cmd prompt black window to stay displayed in order to see the results of my code while it s runing or whie the cmd prompt finishes runing. If that s not possibke, how do i get the result whether my cmd succeded or not. Thanks a lot. I just answered this same question here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1101863&SiteID=1 ...Show All

©2008 Software Development Network