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

Software Development Network >> Luis Carlos Guimarães's Q&A profile

Luis Carlos Guimarães

Member List

bubsnt3
Evan Mulawski
Misiacik7
double digger
Habibullah
Littletommy
RoggA
makst
_joe
Ivo6070
joshlrogers
Kosmo007
yjtsai
Visual Basic Expert
b2sing4u
David C Baldauff
Dee_dotnet_79
Febin
SOAC
theTroll527
Only Title

Luis Carlos Guimarães's Q&A profile

  • Visual Studio 2008 (Pre-release) Invalid Operation Exception when hosting WCF on IIS

    I am trying to implement a WCF service hosted by IIS using this example: http://msdn2.microsoft.com/en-us/library/ms751519.aspx I get the following error in my browser, when I try to connect to http://localhost/JOHN1/service.svc Server Error in '/' Application. -------------------------------------------------------------------------------- The type 'Microsoft.ServiceModel.Samples.CalculatorService', provided as the Service attribute value in the ServiceHost directive could not be found. 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.InvalidOperationExcept ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Correct version of the XACT

    While trying to build the project with simple sound as described in XNA Help the error XACT could not load the data provided. Make sure you are using the correct version of the XACT tool appeared. I have October SDK installed and no attempt to build sound files with August SDK taken. Have seen some posts with similar problem here but no real solution. Is there any kind of restriction meaning the size or other sound properties I used standard Windows file "chord.wav" for my experiment. Let's finish this useless discussion. This FAQ note has been published before october DX SDK. Issue notes for the October SDK Microsoft Cross-Platform Audio Creation Tool (XACT) In the August 200 ...Show All

  • Windows Forms Calling a Menu Option thru code

    I have an application having a Menu with the following options. File -> a) New b) Open c) Close There is a button on the form. My need is when I click on the button, the close option is to be activated. You should have an event hander for the "Close" menu item. Just let the button's Click event handler call the menu item event handler. For example: private void closeToolStripMenuItem_Click(object sender, EventArgs e) { this.Close(); } private void button1_Click(object sender, EventArgs e) { closeToolStripMenuItem_Click(sender, e); } ...Show All

  • SQL Server ALTER DATABASE planned relocation procedure

    Ok, The SQL server my Database is currently on is going away. They are replacing it with a new SQL 2005. My database has been told to find a new home. No body asked me if it was ok. I have another SQL 2000 Server to move my database to but I can't find any instructions that make since on the MSDN website. I've restored backup copies of databases to the same server but never done a complete move like this. MSDN says i should use the ALTER DATABASE planned relocation procedure, Any body out there know what thier talking about I've hunted for it and I could only find the suff in the SQL 2005 books online for ALTER DATABASE (TRansact-SQL). There was no mention of moving or relocation planned or otherwise in that section. I need to mov ...Show All

  • SQL Server UNIQUE/PRIMARY KEY confusion.

    I wrote this stored procedure and it works fine, it seems. The questions I have are as follows: (1) What is the difference between PRIMARY KEY and UNIQUE. They seem to pertain to the same behavior. When I used only UNIQUE as qualifier I did not see that the column was marked as primary in the SQL Management Studio. What I need is for a column to be unique in the sense that it would not allow duplicate values and it must have an INDEX on it. I need it to be descending . (2) Did I do it right or there are aspects in here I do not quite see set ANSI_NULLS ON set QUOTED_IDENTIFIER OFF GO ALTER PROCEDURE [dbo].[CreateTableDailyClose] @symbol varchar (10) = null AS BEGIN SET NOCOUNT ON; DECLARE @SQL VARCHAR(500) SET @SQL = 'CREATE TABLE dbo. ...Show All

  • Visual Studio Inconsistent Behavior With Commands on Menu vs. Toolbar

    I have added a new command by implementing a package. I want this command to appear on the "Build" menu, and in the "Build" toolbar, but only when the project factory for my new project type has context. I am able to do this succesfully on the "Build" menu, but my new command is only greyed out, not absent from the "Build" toolbar, when it should be. My .ctc file looks as follows: CMDS_SECTION guidBuildToolbarsPkg MENUS_BEGIN // NewMenu Relative to Group Priority Type Name Text MENUS_END NEWGROUPS_BEGIN // NewGroup Parent Group Priority guidBuildToolbarsCmdSet:MyBuildGroup, guidSHLMainMenu:IDM_VS_MENU_BUILD, 0x0600; NEWGROUPS ...Show All

  • Visual C# How do I stop running a function?

    Hello, I need to know how I can stop running a function in the middle of running it. I cannot give any real coding examples but, I can get a structural example and show what I mean. private void TestFunc(string a, string b) { while(a != b) { try { // Code that should run like normal. } catch(Exception ex) { // If the code gets here I should stop the entire function right away! (TestFunc) } } } If the code gets to the catch I have to stop executing the function right away and run another function (which is handled elsewhere). This is a very newbie question but, I've not had to do this yet. Thanks for any help. Quilnux Hello, thanks ...Show All

  • Visual Studio Team System WorkingFolder.LocalItem is null in uncloaked path

    I have a version control app that has worked for many months. Recently two users have consistantly experienced issues that I can not replicate. The problem is that the localitem property is null in an uncloaked path. Here's the code: WorkingFolder[] workFolders = this.workSpace.Folders; foreach (WorkingFolder workFolder in workFolders) { if (workFolder.LocalItem.ToLower().Equals(localPath.ToLower())) { serverPath = workFolder.ServerItem; } } Can anyone point out what I'm missing ++alan How do you know it's an uncloaked path You're not checking the Type property for == WorkingFolderType.Map, so it seems like you could be hitting cloaks as well. If you want to have null local items be fine, I'd recommend ch ...Show All

  • Visual Basic converting datagrid control to html table

    I have several datagrid controls in an application i am finishing up on, i need to output the contents to an html file, so i need to convert the datagrid control into a html table, their wouldn't happen to be any easy way of doing this rather then going though cell by cell, extracting the contents and adding it on to a string along with the html code to make it a table is their First of all, your idea isn't bad. It's just not as clean. I'd use the Stringbuilder if there is any extensive amount of data because it will be much faster. Dim a As Integer = dg1.RowCount -1 Dim b As Integer = dg1.ColumnCount -1 ...Show All

  • Audio and Video Development System Port access in VB.Net

    Hi all...,, I had designed a media player with Recorder in VB.Net 2003... I have one problem with it.. That is when one going to Record without connecting the Microphone means I need to give an alert to user like "You need to connect the Mic for proceeding Record" for this I need to check the ports get the status of ports... Can anyone give me an idea to resolve this... Regards.., RR. Try the newsgroups here for your question: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx d=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Second series (13 parts) of 3D XNA tutorials finished +flightsim

    Hi all -- I have finished porting my second series of tutorials to XNA final code! You can find it here: http://www.riemers.net/eng/Tutorials/XNA/Csharp/series2.php Some of the XNA concepts covered in this second series include: textured triangles, importing a Model and using a custom effect to render it, first-person camera positioning, basic 3D position updating mechanism, basic boundingsphere collision detection, point sprites, alpha blending, textured model loading with storage of its textures More basic stuff is shown in the first series. Readers are combining all concepts to build a basic, but working flight simulator. The code of my 3rd chapter (a detailed introduction to HLSL) has already been converted to XNA final code ...Show All

  • SQL Server Dynamic connection string in dataset?

    Hi, Since rds (dataset file) is simple XML, is it possible to change the datasource value from it and use it without deploying it on the RS server, similar as we do with the web.config TIA, Tanmaya Just changing the xml contents of a rds file in the file system won't have any effects on the report server. Shared data source settings can only be changed through the RS SOAP API methods. -- Robert ...Show All

  • SQL Server need help from MSFT guys

    Hi, I am creating a pie chart report from a cube . This report may contain unknown number of segments. Here is the thing; if more than 1 data slice is generated with a value less than 5% of the total, then a segment labelled 'other' will be generated, and data from all slices with value < 5% will be added to this 'Other' segment. Is it possible to implement this functionality in the report layout level with out writing a complex MDX query If this is not possible, can you give me a sample MDX query which implements similar issue(i.e. 'Other-ing' rule.) For your information, this feature can be easily implemented using a third pary software such as 'Dundas chart for Reporting Service'. However, my client don't want to buy this ...Show All

  • Visual Basic Object reference not set to an instance of an object.

    Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] WebResInterface.p_CheckRoomsAvailable ...Show All

  • Gadgets ActiveX for Sidebar best practices

    I am interested in further exploring the possibilities of using/developing an ActiveX object for use in a Sidebar gadget but havent done anything like this before. What are the best ways of proceeding with this Can i use Visual Studio 2005 to create an ActiveX object i tried using ATL project, i was able to compile it but not to register it I uploaded my entire TestActiveX Visual Studio 2005 solution as a zip here ; I am basically following Bruce’s "Powering Your Gadgets with ActiveX Articles" Part1 and Part2 very carefully, but perhaps I am missing something ...Show All

©2008 Software Development Network