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

Software Development Network >> Christophe Vedel's Q&A profile

Christophe Vedel

Member List

carlsonad
drinkwater
robinjam
*Cole*
kiwicoder2
Yuhang
Gary Winey
Drakuz
gve2002
Jacco Mintjes
Ryn
Yuhong Bao
unahb
N.Z. Bear
Talyrond
Cactus77
rajendra patel
WinFormsUser13232
StevenPo - MSFT
prasad_8104
Only Title

Christophe Vedel's Q&A profile

  • Visual Studio Team System CTP 5 - Commenting out everything in a file gives error.

    Hi Scenario: I have an index that for some reason doesn't work (unclear yet as to whether it's the CTP or me thats in the wrong :-). So I would like to comment out the whole index while waiting for a solution. That however creates the following error: Error 5 Unable to find a valid schema object identifier in the file. Check the syntax of the DDL statement or make sure the file is not empty. C:\Development\FHI.SYSVAK\Prototype\Martin\FHI.SYSVAK.DB\FHI.SYSVAK.DB\Schema Objects\Tables\Indexes\Person.IX_Person_SammensattNavn.index.sql 1 0 FHI.SYSVAK.DB Brumlemann Solution Architect Update: Silly me. The solution is of course to 'exclude from project' :-). Probably shouldn't be necessary though. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. free sound effects

    Anyone know of a good spot to download free sample sound effects for those of us that can't make our own yet I am also curious about this. From the plain technique of embedding sound in your programs/games what is the general approach (if there is one). Would you create a sound effect as a sound file and loop it, e.g. for engine sound, and change pitch andvolume somehow to give the impression of e.g. acceleration Or would you make up the sound programmatically by modelling frequency and volume at runtime ...Show All

  • Visual Basic Closing out a excel workbook in browser

    using frontpage 2003 & excel 2003 with internet explorer. I can go to the Excel program thru the browser but can not exit excel while in the browser. I have try all types of vb code (just not the right code) for the close out commandbutton in my excel program. Can anyone point me in the right direction and/or the proper closeout code to use in my excel program Thanks Wayne These forums are for VB.NET questions. The VB within Excel is Visual Basic for Application. VBA is a very different product from VB.NET and it sounds as though you are writing VBA code as you are talking about you excel program. Are you using VB.Net if so please provide a code example of what youve tried using so far. ...Show All

  • Visual Basic Import data from excel

    Hello, Using VB Express 2005 It has been some time since I have played around with excel and vb... I would like to import a cell of data from excel for a motor program. I can't remember the exact syntax on how to do it...and searching for help has been convoluted. I know how to open an excel file through VB. Any help would be greatly appreciated. Thanks!! hi ah3, in importing/opening excel, your need a the connection string: 'using oledb Imports System.Data.OleDb 'defining the connection string Private xclConn As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\myexcel.xls; Extended Properties=""Excel 8.0;HDR=YES""" you also need the sql for ...Show All

  • Windows Forms listview activate row event in user control

    Hi all, i created a user control that contains a listview and i will use the activate event of the listview to do different things based on the windowsform that the user control in it..... the problem that the listview events doesn't appear in the user control when when it is on a form ....... so is there a solution for this thx First of all, sorry for the late reply. Now, as for the first approach (exposing the whole listview to the user so he can attach event handlers to its events), in Visual basic that would be somthing like: suppose you used the designer to add a list box and you left its default name ListBox1, you will have to add a property to expose that list box like follows: Public Property ListBox() As ListB ...Show All

  • SQL Server Render report into an HTML String

    I need to render Reporting Services reports into an html string. I realize that what I'm trying to do is not exactly the "intended purpose" of Reporting Services, but here's the deal. I am using Reporting Services as a repository of "Email Templates" that can be easily edited by the appropriate people. We then have code that will access these render these reports at the appropriate times and send them as an html formatted email. This will require me to render the report into an HTML string. I have attempted code to do this, but naturally, converting the rendered report bytes into a string does not render the HTML correctly. From what I have gathered so far, this is not easily possible. Even when I export the report a ...Show All

  • .NET Development Find DataRow in DataRowCollection

    Hi all! I have a problem that the IndexOf of DataTable.Rows does not find the row. It seems the link is broken one time, here is the summary of important lines of code: DataTable preparedSource = new DataView (dataSource, FilterExpression, SortExpression, DataViewRowState .CurrentRows).ToTable(); ... DataRow [] selectedRows = preparedSource.Select(SelectExpression); ... DataTable group = new DataView (preparedSource, ... ).ToTable(grpName); Now, if I take one of the selectedRows and try the group.Rows.IndexOf(DataRow), it returns false even if that row is in the table. Does any of the methods above duplicate the items instead of working with references How to solve this with minimal changes to code Th ...Show All

  • SQL Server Access to the remote server is denied because the current security context is not trusted.

    Hello, In SQL 2005, from a stored procedure in a local database I am attempting to execute a remote stored procedure in another database on another server. I am getting the error referred to in the Subject when the local stored procedure tries to execute the remote stored procedure. A couple of comments: The remote database is set up as a linked server in the local database. As part of the linked server definition I selected the 'be made using this security context', and provided a local user name and password. The remote database is set to Trustworthy. I have tried every combination of WITH Execute As on the remote stored procedure but nothing works. I can query against the remote database successfully within Management ...Show All

  • Software Development for Windows Vista Activity Queues in Parallel

    I have a custom activity that sets up and uses activity queues I want to place two or more instances of this custom activity on a work flow in parallel to each other I have my host using logic to decide what queue to send to but the work flow waits untill i send something to all the queues on the parallel activity I want the work flow to continue executing after only one of the activitie's queue was written to in a manner similar to using handleexternalevent activity on a listen activity my system is deciding at run time what "logical port" to send the data to on the workflow and the others should be ignored. Sort of like biztalk's input ports that are bound to receivers outside of the orchestration Any ideas ...Show All

  • .NET Development problem service starting from web app

    i can working on windows services. but i can writing on asp 2.0 and starting service on asp.net serviceController sco=new ServiceController("ServiceName"); sco.Start(); has error =Cannot open "ServiceName" service on computer '.' have error when start service. any idea Make sure the ServiceName actually exists. Remember that the services' Display Name may not be the same as its Service Name. Also does the user who is running the ASP.Net 2.0 app have access to start services You may need to run it with a user with higher priveledges. ...Show All

  • Visual Studio Team System Firewall rules between Load Test Controller and servers

    We are currently in the planning stages of introducing the Team Load Test Agent into our organisation and I am trying to find out what firewall access is required between the Test Controller server and the various servers we will be collecting counters from. Is there a standard port for this and if so, can it be changed if necessary Thanks Anthony Hi Anthony Yes, the port that you have to add to your firewall exceptions list is 6910, but you can change this to be another port by modifying the config files that live under Microsoft Visual Studio 2005 Team Test Load Agent\LoadTest Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • Visual Basic csc.exe error with XmlSerializer command

    Hi, I hope someone can help me with this: I've got a program "out there" and most users have not had any problems but I now received a report from one of my users that the program throws an error right after this line. Dim mySerializer As XmlSerializer = New XmlSerializer( GetType myStructure)) The exception message is: Cannot execute a program. The command being executed was "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Documents and Settings\user\Local Settings\Temp\0paghihp.cmdline". The user is logged on as administrator on a Win XP Pro machine. I checked all over the net and could not find any relevant clues so far. Any ideas anyone Thanks ...Show All

  • Visual Studio Team System Can't undo changes?

    We had a case where a developer could not undo their changes. We don't know the exact scenario that caused it but this is some background data. We had a branch that was: $/product/branches/v1.1.0 it got renamed to: $/product/branches/v1.1.x The developer looked like they had checkouts from the pre-rename of v1.1.0. When they tried to undo either through the IDE or command line it said there were no pending changes. Refresh had no impact as well. The only way to undo from pending changes was to try to do a checkin, which then complained there was a conflict, then one of the options was undo my changes and that seemed to cleanup the item from the pending changes list. I tried to reproduce this but could not, ...Show All

  • Visual Studio Team System Team Explorer Hangs In "Working" State

    There is one developer who cannot use Team Explorer to view Documents in any team project. When he opens Team Explorer all the projects are visible, and all of the nodes under the projects (work items, reports, builds, etc) work except for Documents. In each project Document only displays a status of "Working". This doesn't appear to be a server side problem. No entries in the event log. The web logs for the SPS site return a few HTTP 200 status codes for request to /_vti_bin/Lists.asmx from this machine. Noone else has any problem, and the developer can view the project's portal with IE. How to troubleshoot Hi Matt: Yes, I am. I now have two computers where this behavior is occuring. Since the last time I poste ...Show All

  • Visual Studio Express Editions HOw to refill a database?

    I have this code in my vb.net program. Me.TickersTableAdapter.Fill(Me.DataSet1.Tickers) It fills the data from the external file fine. However, I'd like to be able to refill the data after it has been changed by an external program. Calling the line a second time doesn't work because I get "datareader already active on this command" error. How can I refill the data from the external file tia OK, but my problem is that I cannot refill because when I try to I get an error message (see the initial post). How do I clear the data first HOw to refill a database I have this code in my vb.net program. Me.TickersTableAdapter.Fill(Me.DataSe ...Show All

©2008 Software Development Network