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

Software Development Network >> Pedro Costa's Q&A profile

Pedro Costa

Member List

Fata1Attack
kedst1
wappie
Abu Yaman
eyaler1
ctalbert
ruddynsi
DOSrelic
BobH
dagjo
Thunder0ne
mcnamaragio
StephK
hazz
Papadog
jens_essen
Gabriel Vila
GreenSleeves
Krutika
Charles Lewis
Only Title

Pedro Costa's Q&A profile

  • Visual Studio Team System /format:VSS in tf.exe not supported?

    Hi, I 'm trying to use the tf.exe diff command with the /format:VSS parameter. All I get is an error message saying: TF10120: The value VSS is not supported for option format. MSDN says it should be available on RTM: VSS VSS is default difference output format for Visual SourceSafe. For more information, see Diff (Command Line) . Can anybody confirm the lack of this functionality Tom ...Show All

  • Commerce Server CS 2007 Starter Site - stored procedure 'dbo.inv_CheckInventory' doesn't exist

    Downloaded CS2007-StarterSite-En.exe and installed successfully. However, when I attempt to add a product to my cart, an unhandled exception occurs: Component Execution failed for component[0x2] hr: 0x80131509 ProgID: Commerce.CheckInventory The stored procedure 'dbo.inv_CheckInventory' doesn't exist. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Component Execution failed for component[0x2] hr: 0x80131509 ProgID: Commerce.CheckInventory The stored procedure 'dbo.inv_CheckInventory' doesn't exist. Source Error: Line 152: ...Show All

  • Smart Device Development How to convert Pocket PC forms VS2003 to VS2005?

    I have many forms created using VS2003, pocket PC and Smartphone. In the VS2005 there is a new file together the main form file called <form name>.Designer.cs. How can I generate this file for my forms Or I need to re-design all forms   (The import wizard only converted the project). One of the errors I have: Forms\PPC\frmEstTime.resx : error MSB3103: Invalid Resx file. ResX input is not valid. Cannot find valid "resheader" tags for the ResX reader and writer type names. When I got that MSB3103 error, I simple deleted the RESX file (before creating a backup of it, of course). Then I recompiled my solution and then I opened the form in question with the Windows Forms designer. Upon saving, th ...Show All

  • Windows Forms Dialog result without closing / event handling

    For reference, I'm working in VS Express, C#.  I'll try to keep background short and need-to-know.  Also, my apologies on the font size - I tried to make it normal and apparently I have failed... In my efforts to follow a good OO approach to programming a project, I have created an abstract object called Item (as in an item on a test) with an abstract method Display (which displays the item and returns an int that is the answer given).  I also have a TestAdministrator class that selects the items in a test and presents them to the test taker. Furthermore, in an effort to keep load times to a minimum, I have created an ItemDisplayForm class that gets passed into the Display function.  The idea was to have ...Show All

  • SQL Server Why do SQL Queries take long to execute ?

    Hi, We have built a Windows VB.NET application using SQLServer 2000. Sometimes when we run a specific query via ExecuteNonQuery, they take very long to execute, for example a simple query like: "UPDATE tbEmail SET EmailIcon = 'HospitalCaptured' WHERE EID = 19053" EID is the primary key. This table has about 40 000 records. This query timedout in .NET - we pasted it in Query Analyser and it then took 11,5 minutes to execute. Once completed, all similar queries (with different primary key values) that are run after that, are executed immediately. Does anybody know why this happens and what the solution is so that our .NET application does not timeout. Thank you, Lesego Please post the table structure, includ ...Show All

  • SQL Server Deploying Reports from Development to (Remote) Production Machines

    After intial development of some reports on my notebook I will need to deploy them to a production machine remote from my office. In other words I will will not be able to directly from the BI (aka VS) Studio on my notebook. I had thought that I might be able to simply send the RDL files to the remote site and instruct them to create data sources with the same name (and in the same folders) on the local ReportServer (not the BI Studio) then use the "Upload File" option to upload the RDL files. I have tried this once so far, without success. The next alternative that I can think of to copy the entire set BI Studio project files to the production server (which should have the BI Studio installed) and deploy normally from ther ...Show All

  • Visual Basic Please help me about using Flash as background of a form!

    Hi everybody, I have a MDIForm named MainForm. How can I embed a Flash as background of this form instead of using a static image I try to embed Flash by dragging & dropping Shockwave Flash Object into the form. I set the property of this object like Dock = Fill. The problem is when I call any childform of my MainForm, I can't see this childform because it is hidden by the Flash. Please help me. It's very urgent. Thanks. Can you guide me more clearly I embeded the Flash to my MainForm by using Shockware Flash Object , it worked well. But when I called any childform, the childform is hidden by the Flash. This problem is that I don't know how to put the Flash behind all of childforms . ...Show All

  • Visual C++ Bug in "Find in files"

    When I use "Find in files", not all the files specified are being searched. Specifically, when I search "Entire solution", and file type is * .c;*.cpp;*.cxx;*.cc;*.tli;*.tlh;*.h;*.hpp;*.hxx;*.hh;*.inl;*.rc;*.resx;*.idl;*.asm;*.inc the .asm files in the \Release subfolder are not searched unless they are open in the text editor, with one exception. I'm also experiencing similar problems. One thing I've noted is that changes made to the folder since loading VS are NOT reflected in Solutions Explorer. Which is pretty lame. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. all kinds of combination spec

    When I create a tex2D as render target view with SampleDesc.count=4 and MipLevels=4 at the same time, directx reports Directx runtime error"an invalid parameter was passed into the returning function" . What is the problem Thank you. The error occurs during the texture creations because multi sampled textures with mip maps are not supported. You can have mip maps or multi sample but not both at the same time. I am only referring to the view creation because it shows it to. As a render target need to be a single mip map (or an array of mip maps from the same level) and you can’t select a mip slice for multi sample textures there would be no way to create your render target view even if multi sampled mip mapped ...Show All

  • Audio and Video Development MFSampleExtension_StreamTick

    Hi. 1. What is MFSampleExtension_StreamTick attribute for 2. Is it removed from RC1 SDK thanks. Yes, it is gone in RC1; use the event MEStreamTick. MEStreamTick is an event that a Media Stream can send when it detects a gap in its stream of samples. The event is associated with a timestamp which will let downstream components know where the gap is. For example, Media Foundation's ASF media Source will send one of these for every second of missing data on a stream, though more frequent MEStreamTicks is fine too. Just note that unlike MEMediaSample, this isn't a response to IMFMediaStream::RequestSample. We recommend using MEStreamTicks if you detect a gap, since it helps media sinks know not to wait for samples. Becky ...Show All

  • Visual C++ Access to the timezone database

    Hi all, is there an API to access the OS's timezone database (like offsets from GMT, DST rules etc.). What timezone names are used, where do I find documentation about it (i.e. the API, not tomezones in general) cheers, aa Simple Samples wrote: The Windows timezone data is in the registry. About a decade ago I spent a few days trying to figure it out but since then someone wrote an article in a magazine describing it. Hopefully it has since been documented by Microsoft. So look in the registry; if you can't find it I will look for the registry key. When you find it, you hopefully can search the MSDN to find the documentation or the internet to find the article. A few days ago I was looking in the MySQL web site and saw som ...Show All

  • Visual Studio Express Editions Visual C# Express Edition hangs on exit

    Unhandled Mystery After doing normal development work and saved files, I closed the Visual C# 2005 Express Edition with the close button on the caption row. Then it happens about one time of ten sessions – the post mortem message: Unhandled exception at 0x776c555c in VCSExpress.exe: 0xC0000005: Access violation reading location 0x585db268. Next the bigger nuisanse happens: System relaunch C# IDE and I need to close the application, but now it closes without exception. Post mortem debugger shows that exception occurred in the ntddl.dll library at address 0x776C555C. By reference, I should say, when using the Windows XP SP2 I never got that error. It shows after I switched in June to Windows Vista U ...Show All

  • Software Development for Windows Vista Custom loop with multiple activities

    I want to implement a custom loop that has multiple activities occur during each loop. I have looked at the for each loop at http://wf.netfx3.com/, but although this solution works with one item in the loop, I am having problems detecting when all items in the loop are done. Currently, I end up closing my activity too early when child activities are still executing. Any suggestions Amanda The simplest test I got to work was to set the designer for the activity to the SequentialActivityDesigner. This may not be the ultimate look you want, so create a designer that derives from this one and then override methods as appropriate to get the look you want. Matt ...Show All

  • SQL Server Dumb question about compatibility level

    Hi everyone, This is my first psot so I am hoping for success.. I had been asked to web enable a sql 2000 database. We upgraded to sql 2005 and I imported the data. All went well until a tried to run a CTE ( common table ) routine and it kept on coming back with an error. On searching the web it turns out that the compatibility level must be set to 2005. When I tried to set the compatibility level the only two options are sql 7 and sql 2000. I thought it might be due to the fact I had restored from a 2000 database so I tried to create a new database in SSMS but again only sql 7 and 2000 options were available from the drop down box.. What am I doing wrong Am I not running in sql 2005 at all Any help would be appreciated Peter ...Show All

  • .NET Development Encoding / Binary Files

    I am trying to read a file with the FileStream, and then convert it into text, and back into binary. The problem is, it doesn't encode/decode correctly. What encoding format should I use for files For instance, when I do this: richTextTxMessage.Text = "+o[C€‥46( § cgZ C)E" byte [] tempString = Encoding.ASCII.GetBytes( this .richTextTxMessage.Text.ToString()); MessageBox.Show(Encoding.ASCII.GetString(tempString,0,tempString.Length)); The result is: " +o[C (46( ,' cgZ6C)K" Any idea which type of encoding I should use for files I am trying to transfer files using FileStream and sockets, but when the file is transferred, the bytes are not correct. It is doing everything correctly except the encoding ...Show All

©2008 Software Development Network