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

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

danadanny

Member List

IntMain
Mistertom
CaRNaGe_46038
mwlew
sean_kirkpatrick
Daffodils
chris bax
Jamie Thomson
GrayMatter Software
KRSE
satya31237
Tryin2Bgood
Frederik Gheysels
Peter McEvoy
nicelily
Socal5vee
Vaish
Febin
gmaenrile
MrGNB
Only Title

danadanny's Q&A profile

  • Visual Studio Team System Unshelving and merging changes

    Hello, I have the following problem: 1. Make a change to a file, create a Shelveset 2. Undo the shelving, make other changes to the same file, check them in 3. Unshelve the Shelveset This removes the changes I did in (2). This may or may not be as designed, but it is not what I expect. If the changes that were made in (2) were subtle, they will probably not be noticed. I found the TFPT (Team Foundation Power Toys) which have a unshelve+merge operation, but it does not do what I thought it would, it just merges local edits with the shelve set. Any ideas how I can workaround this problem Best regards, Martin Buck Hodges wrote: You won't actually lose changes. When you go to check in, you'll be pr ...Show All

  • SQL Server whats wrong with this expression????

    IIF((Fields!CurrentBal.Value <> 0) AND (Fields!TOTAL_UPB_BAL.Value <> 0), FormatPercent(Sum(Fields!CurrentBal.Value/sum(Fields!TOTAL_UPB_BAL.Value),0), FormatPercent(0))) It is not working now that I added the "Sum" part to the equation.....its throwing up an error that says there can not be nested aggragated functions.....any help TIA! You are missing a parenthesis: ... FormatPercent( Sum(Fields!CurrentBal.Value ) / Sum(Fields!TOTAL_UPB_BAL.Value), 0) -- Robert ...Show All

  • SQL Server PageBreak after x items for group, different on first page

    I am trying to add a page break for table details after x items with x being different for the first page of report. I am able to add a page break by adding a group to table with group expression =Int((RowNumber(Nothing)-1)/25). But I can't figure out how to do this where groupexpression on page 1 of report = Int((RowNumber(Nothing)-1)/15) and on all other pages =Int((RowNumber(Nothing)-1)/25). I tried =IIF(Globals!PageNumber=1,Int((RowNumber(Nothing)-1)/15),Int((RowNumber(Nothing)-1)/25)) but Globals cannot be used in group expression. I also tried putting group expression in a textbox on the report but it will not let me refer to the textbox. Any assistance is appreciated! Chris references: http://msdn2.microso ...Show All

  • Visual Studio Express Editions Display Sub Directory Names

    I would like to generate a list of directories in a Combo Box. For example I have C:/Projects/ and inside we have project folder like Project 1, Project 2, etc. C:/Projects/Project 1 C:/Projects/Project 2 I would like to be able to display Project 1 and Project 2 as options to choose from in a ComboBox. The Project Names as always changing so I don't want to have to update the list manually. Thanks Heres an example which uses two methods to populate the combobox items.   I use the FolderBrowserDialog Control to get the root directory that I want to populate but you could use a textbox or some other input to provide the root path for the getdirectories method. Class Form1     ...Show All

  • Visual Studio Team System How to get TFS's API to develop?

        We are a group of students in summer project, due to the popularity of Team Foundation Service, we decide to use some greate features implemented in our project.      Please allow me to introduce our project. One of its important feature is using TFS to check students' source code automatic, and we want to use TFS to build student's code.     We have downloaded the SDK of Visual Studio, and plan to find some useful information about TFS's API for development, but still we get nothing.     We do not find out any formal document on this, maybe we have ignored some useful information, so i wonder i can get any help from Microsoft's ...Show All

  • Visual Studio Express Editions .cpp file and .h file relationship

    Okay..... I am a complete newbie to VC++ and especially express edition. I have a form1.h file where I have built my GUI. I have a .cpp file which does a load of cool stuff such as interface with a USB datalogger (rx and tx from a USB port basically). I want the code that runs (from my .cpp file on compilation) to affect the labels etc. on the code in the GUI. For example - I have a globally declared integer array (don't shout I know global declarations are bad) which is fed data from the USB interface code. Depending on the data in the array I want to modify the text of labels in my GUI.... How do I do this DPMevents wrote: Just to clarify though - my header file de ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3/4 Perspective in a 2d game

    I have been working on a fairly simple, fairly silly, Zombie game that is purely in 2D "straight on" perspective right now. I'd like to do a 3/4 view like that of many of the Zelda games, or perhaps a pseudo-3d side scroller like Golden Axe/Double Dragon/Castle Crashers. I am completely new at this so I really have no idea where to begin. Is creating a 3/4 perspective or something like Castle Crashers just a matter of changing how you draw sprites or can you adjust the viewport to give this kind of view without having to draw sprites specifically for that perspective Just to be clear, I'm not really intersted in creating a 3d game, I want it to stay 2d, I just want to know what my options are for creating perspective with 2d art ...Show All

  • Visual Studio Express Editions Webbrowser control versus I.E. Explorer

    Hello, I have an application running with a webbrowser control. In some webpages I get script errors . When I navigate through these same pages, outside the application , and using I.E.7, I have not these script errors. Is there somme differences between the Webbrowser of V.B. and the I.E. 7 browser The IE 7 control is a lot better because it can do the same stuff like use IE 7's plugins so it can do a lot more and better because it has the same capabilities as IE 7. I have IE 7. I needed a app to view flash videos and the webbrowser control didn't work. The IE 7 control worked. ...Show All

  • SharePoint Products and Technologies Sharepoint error when adding Web Part

    Hi, i'm getting a very basic error but i can't figure out what's going on. I'm the administrator of a Sharepoint site. When i try to modify the Shared page, (dragging and dropping a web part, for example), an error page displays. The page is a generic error page, with no information on what the error is. Can anyone help me Thanks! Francesc Hi, I see this error message after making the suggested changes: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or cal ...Show All

  • .NET Development System.Web.Mail works fine but System.Net.Mail won't send email

    Hi, I am updating an existing VB.NET 1.1 app to 2.0. The existing app uses the System.Web.Mail namespace to send emails and it works fine, but when I try to update to use the System.Net.Mail namespace it stops working. Has anybody any ideas why The following is the existing code that works: Dim msg As New System.Web.Mail.MailMessage msg.From = "me@work.com" msg.To = "me@hotmail.com" msg.Subject = "Subject" msg.Body = "Body" System.Web.Mail.SmtpMail.SmtpServer.Insert(0, " <<SMTPServerName>> " ) System.Web.Mail.SmtpMail.Send(msg) I've changed the code to the following: Dim client As New System.Net.Mail.SmtpClient( " <&l ...Show All

  • SQL Server Microsoft Support for SQL Server 2000

    Hello, I would like to see if Microsoft has issued any announcement on SQL Server 2000 end of support. If anyone is aware of this or seen new posts/articles, please let me know. Thank you! MS official Lifecycle support for SQL 2000 is posted here: http://support.microsoft.com/lifecycle/ p1=2852 Thanks, AWAL ...Show All

  • SQL Server Encryption of SQl Express database

    Hi! Could you help me how could I encrypt an SQL Express database with a password The lines I currently use: ssconn.ConnectionString = "Data Source=.\SQLEXPRESS;Integrated Security=True;" CreateDatabase = "CREATE DATABASE i ON (NAME = i, FILENAME = '" & ssceconfilename & "')" Dim myCommand As New SqlCommand(CreateDatabase, ssconn) myCommand.ExecuteNonQuery() I managed to do the encryption with SQL CE 2.0, but how to do it with express Thank you! Check here: http://www.databasejournal.com/features/mssql/article.php/3483931 Buck Woody ...Show All

  • .NET Development Installation of .Net 1.1 on Vista

    I am facing issues while installing .Net 1.1 on vista OS 5372 or 5384. Following are the errors I am not able to attach the error message so below is the text Regsvcs.exe - Common language runtime debugging services ------------------------------------------------------------------------------------------ Application has generated an exception which could not be handled Process id = 0xeac(3756) Thread id = 0xe34(3636) Click Ok to terminate the application ----------------------------------------------------------------------------------------- Please suggest if someone else have seen the same issue and pointers for resolution. Thanks for taking the time to reply. They wer ...Show All

  • Windows Forms License agreement dialog box

    Hi , I would like to add licence agreement dialog box for VB.NET Windows/Compact framework source codes. Meaning that,User must choose "agree" to see the source code. How to do it I used VS2003. Thank You I would suggest getting the user to agree to a licence at the point of installing the source code so that they will not get to see the source code if they say 'no'. If your using a VS2005 Setup project to generate the msi then it is very simple. Go to the user interface editor for the setup project and then right click one of the existing dialog windows. There should then be an option to add another dialog page for the install process and pick the one called 'licence agreement'. ...Show All

  • SQL Server Odd Behavior in reverse() or syaltfiles?

    I originally posted this question on dbforums. Does this happen to anyone else http://www.dbforums.com/showthread.php t=1614086 The short of it is, install SQL Server 2000 to a non-default location that has a shorter path than the usual C:\Program Files\Microsoft SQL Server\blah\blah\blah. Say E:\MSSQL8. Now run these queries, and see if you get the same oddities I get: select filename from master..sysaltfiles where dbid = 2 go select reverse(rtrim(filename)), filename from sysaltfiles where dbid = 2 go select reverse(rtrim(filename)) from sysaltfiles where dbid = 2 I can verify this happens here too... that's pretty cool you found this (excluding the headache it causes). select Convert ( varchar , ...Show All

©2008 Software Development Network