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

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

Peca55

Member List

Xfolder
Jamie Thomson
WedgeSoft
AndyMicrosoft
Jigar_Patel
Kamia111
Keith Hill
SunHunter
Son_seph14
mike_n
Sandra Mace
Bob Lyden
michaelleewebb
Yasir Imran
Tim Windsor
nzmike
Syed Junaid
nl53
KyleNHS
tampa_dba
Only Title

Peca55's Q&A profile

  • Visual Studio Team System TF53010 An unexpected exception occured while calculating code churn

    I am trying to figure out why warehouse processing is failing. I turned on logging in the web.config before using the controller service and getting the errors below. Does anyone know how to go about fixing this Even if it means manually deleting offending rows in the database itself [DW] [Info, PID 16004, TID 16864, 18:04:42.898] Microsoft.TeamFoundation.VersionControl.Adapter: Calculating differences. Previous: changeset 85, item $/ {sanitized} , encoding 65001. Current: changeset 574, item $/ {sanitized} , encoding 65001. [DW] [Info, PID 16004, TID 13440, 18:05:25.962] Microsoft.TeamFoundation.VersionControl.Adapter: The adapter has been requested to stop. [DW] [Error, PID 16004, TID 16864, 18:05:26.312] Microsoft.TeamFoundati ...Show All

  • Visual Studio Documentation Compiler - Sandcastle

    We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Thanks everyone for your posts. I have had several emails asking about CTP. There are couple places (download at our download cen ...Show All

  • Microsoft ISV Community Center Forums How do i reference a cell in an unopened workbook?

    I want to get information from a network drive that i have access to and all users will have access to.  Would it be something like workbooks("c:/folder/workbookname").worksheets("Sheet1").range("a5")   Also, is there a way to shorten things a bit so that I only have to declare the location once then use a variable to reference it after that Hi, You can make use of the fact that a cell formula can read from a closed workbook. All you need is a temporary cell in the activeworkbook in which to put the formula and read the result from. Sub Test() MsgBox ReadFromClosedBook("c:\folder\", "workbookname.xls", "Sheet1", "a5", Range("A1")) End Sub Function ReadFromClosedBoo ...Show All

  • Visual Studio Express Editions if...then...else...else if.. blah trouble

    Basically, I'm having trouble with coding. I'm using a random number generator (between 1 and 3) and 3 radio buttons. Now, I'm pretty sure I have that part of the code written already and it's fine. My problem is in this If Else, Else If, Then and End if statements of the coding........... Dim rnd As New Random(3) Dim counter As Integer = 0 'coding to verify what you choose If rock.Checked = True Then result1.Text = "You choose ro." End If If paper.Checked = True Then result1.Text = "You choose bo." End If If scissors.Checked = True Then result1.Text = "You choose sham." End If 'coding to verify what John chooses ...Show All

  • SQL Server Couple of questions over SSRS over SSAS

    I've created a sales analysis cube using SQL Server 2005 and want to do some reporting using SSRS. My problems are as follow: 1. How can I change the report parameter from a Date type into a member of the Date dimension I need to do this because it's easier for business user to select the date and I can set a sensible default to it. 2. How can I create a hourly sales analysis report for all branches If I add a chart into SSRS, I will get all shop data summing up right now into a single chart. Instead, I would like to have a chart for each branch. My business user will not accept to manually select different branch and generate the required chart. 3. How can I add a percentage to the corresponding value My business user may want to view the ...Show All

  • Visual C++ first steps

    Hi Im just starting out to learn VC++, I have previous expericience of c, Java and SmallTalk. I have the VC++ 2005 compiler and the book 'MicrosoftR Visual C++R .NET Step by Step--Version 2003, the first exercise is 'Hello World' to give you the idea...which compiles and runs ok, My question is will I run into lots of problems working through this book...or maybe translating the code will aid my learning I realise its not the best way to start off, but my budget wont stretch to buying another book, Some feedback would be appreciated Are you guys all sitting at the same table or what lol I first started programming BASIC on the Amstrad 464(integrated audio tape loader/saver)... then ...Show All

  • Windows Forms Control.Leave() is not called when a user selects a ToolStripItem.

    I have a form that contains TextBox controls that the user enters data into. In the TextBox.Validating() and TextBox.Leave() methods, I validate the data that the user entered. This works fine when selecting other TextBoxes on the form. The problem I am having is a user enters data into a TextBox and clicks on a Save button in the ToolStrip or a Save menu item in the MenuStrip. The TextBox.Leave() and the TextBox.Validating() methods do not get called when the focus is given to the ToolStripItem. According to the MSDN documentation on the Control.Leave() method, these calls should happen when the focus goes to the ToolStripItem. Can someone please explain why this does not happen, and if there is a workaround Thanks, Doug ...Show All

  • Visual C++ Conversions string <-> int in C

    Hi everyone! Does anyone know how to convert a string to an int and vice versa in C (not C++, only in C) I need it because I have to create txt files incrementally, whose names are 1.txt, 2.txt, ...etc. Thank you very much! Yes, it works, but the program crashes if I try to put the file into a folder (that already exists), like that char filename[ 10 ]; int number = 190 ; sprintf(filename, "output//%i.txt" , number); pFile = fopen (filename, "w" ); // pFile is a FILE* for (i= 0 ; i< 2 ; i++) { for (j= 0 ; j< 3 ; j++) { fprintf(pFile, "%f " ,*(ARRAY+ 3 *i+j)); // ARRAY is a matrix pointer } } fclose(pFile); It gives no problem if the filename is for in ...Show All

  • Windows Live Developer Forums Converting from Google Maps

    I have a map here - www.ukmartin.com/googlemaps/uk.html It features a set of pins in the map which have their latitides and longitudes listed in an XML document. Is there an easy way to use the same design of map pin and the XML data in a Live Map (see http://www.ukmartin.com/googlemaps/stadia.xml ) Thanks in advance for your assistance Martin Right well there are two features that you have to be willing to cope with in going GeoRSS: 1) Auto-zoom feature on the layer when its added to the map 2) Less control of the layer:  You can only turn the layer on or off.  That means that you have no control of the pins inside the layer.  That includes not being able to add events to the pins and changing the ima ...Show All

  • Windows Forms DataGridView - stop changing current row - when using the 'Enter' button

    Hello, I have a small datagridview (datagridview1), which on this form has only one editable field. The issue I am concerned with, when editing the data in the only column/row in datagridview1 and hitting the 'Enter' button, it forces it to the next row. How do I stop this Thanks This works just fine, but I am having a lot of problems trying to customize the DataGridView. Therefore, is there someway to do this using a DataGridView that has already been created by droping /draging and has a customized BindingNavigator. Everthing is perfict except the "Enter" key in editing control. A simple example of the code is below: Public Class Form5 Private Sub MbdataBindingNavigatorSaveItem_Click(ByVal ...Show All

  • .NET Development XmlSerializer issue? Mixing classes that do and don't implement IXmlSerializable

    Hello, I'm experiencing an issue with XmlSerializer. Please test the commented short C# code below. I'm quite sure it worked before, although it had been a month or two ago. I'm not aware of upgrading the .NET Framework 2.0 since. The problem occurs whenever I'm deserializing a class that doesn't implement IXmlSerializable but contains instance of a class that does. In such case the member holding such instance is the last one that is properly deserialized, after that the XmlSerializer silently ignores the rest of the xml file and finishes deserialization. I wonder whether the error comes from my side, but as I stated, I was succefully using this approach before. Here the program: using System; using Sys ...Show All

  • Visual C++ Problem with CString Variable

    I am using a dialog class which is derived from another generic dialog class which itself is derived from CDialog This class contains many CString varibles and it is working fine. Later I added another CString variable. Then also the corresponding dialog is properly opening(Modal Dialog), but after closing the dialog I am getting the following Assertion: Run-Time Check Failure #2 - Stack around the 'dlg' was corrupted When I click Retry it is taking me to the next statement from where the dialog is initiated using DoModal() method. Here I found one strange behaviour. If I put any char , int or float variable before this CString member variable I am not getting any error message. But If I put double variable I am get ...Show All

  • .NET Development A problem when trying to create a SQL database

    I installed Visual Studio.Net 2005 with all its components. then i tried to create a new SQL DataBase from Server Explorer, right-clicked on Data Connections and created new SQL Server database... Then I selected server name -which is my compter's name, used windows authentication and then entered a name for database. When I clicked ok an error message came up with the following 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) " What's wrong with my steps ...Show All

  • Visual Basic label.text question

    I want the user to be able able to click on one of many labels and call the "subA" method and the backcolor changes for just that label. I am just learning to reuse code and thought this might be good practice. This is what I tried but no luck. Thanks for help ------------------------------------------------------------------------------------------- Private Sub LblA_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles LblA.MouseClick Label1.Text = "LblA" Call subA() End Sub Public Sub subA() Dim a As String a = Label1.Text If a .BackColor = Color.Gainsboro Then a .BackColor = Color.PaleGreen Else : a .BackColor = Color.Gainsboro End If End S ...Show All

  • .NET Development Delphi 2006, UIP and .Net Framework 1.1

    Hi All, We use Delphi to develop screens, Visual Studio 2003 (C#) for controller and business logic and Microsoft UIP2.0 for Navigation between screens. The screens are MDI windows forms and we have many child frames over a single parent. Problem we are facing is when we try to open a child frame, sometimes the titlebar of child frame appears and sometimes it hides causing inconsistency in the look of the screens. Have anyone faced similar problem with UIP2.0 and .NET Framework Please help us to overcome this issue. Regards, Dileep ...Show All

©2008 Software Development Network