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

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

BlackMan890

Member List

Dirk DC
Kevgor
Slyke
MARY_N9
sagarmalik
Senkwe Chanda
TimStspry
dreameR.78
miller0521
aditi shah
brian_tsim
Sideout
Alex2200
scripteaze
CFIG
hwiz
Selva kumar
xshua
Priyanka Choughule
GDavids - SAO
Only Title

BlackMan890's Q&A profile

  • Visual Studio Express Editions Refresh Calculated TextBoxes on a Form?

    I'm not sure if my Subject line properly describes my problem, but here it goes. I have a form with several textboxes that are used to enter data. One of the textboxes is bound to a table field that performs a calculation based on the data entered to other textboxes. For example: Textbox1 - The user enters the value '1' Textbox2 - The user enters the value '2' Textbox3 has the formula: Textbox1 + Textbox2 On my form, when the user enters '1' in the first textbox, then '2' in the second textbox, nothing appears in the third textbox. What code can I use so that when the user either enters data in the second textbox, or gives focus to the third textbox, or whatever, that runs the calculation and gives the result, in this case, '3' ...Show All

  • SQL Server SQL Backups

    SQL 2005 I have a scheduled back up running at 1am everynight which after a few problems is running ok. Can I get it to overwrite the existing nights back up no data has yet to be added to the database as we are still testing yet the back up is doubling in size each night. Not really a SQL specialist this has been dropped on me so go easy on me please Thanks One BIG word of caution here: I would ALWAYS make sure that you have at least one good backup at all times, preferably on another system or offline. If you always use the same filename for backups, and use WITH INIT, as soon as the backup starts, you are without a backup. If for any reason that backup fails (worst case, a crash causi ...Show All

  • Visual Studio Team System Adding a timestamp to a Note field

    I have a need to create a new Note field where developers can add their status to a work item, which in itself is easy enough. The problem I am having is the manager wants it to be like the history field where there is a timestamp associated with each entry in the note field. Therefore it would read something like: 2/20/07 - Investigated the bug.... 2/26/07 - Added new method X() to fix problem with widget.... 2/27/07 - Unit testing fix.... They want to be able to use this information to generate a report of the work items that had notes added during a certain period. (I.E. All work items with notes added between 2/22/07 and 3/3/07). I've tried to add a Notes field as type History but the Process Template Editor returns an e ...Show All

  • Visual Studio SourceSafe automation VersionNumber question

    I am writing a C# application to retrieve information about projects from SourceSafe. It will allow the user to select the database and retrieves all root level projects. Once the user has selected a project, it will retrieve all version labels that have been applied at the root project level. The user may then select two version labels and get a list of files that changed between those two versions. My problem is that as I iterate through the files in the subprojects, and request the item for each particular label with something similar to itm.get_Version("Version 1"), if the file was added after that particular label was applied, I can't find anything to indicate this fact to me. The VSSItem returned is not null, although the V ...Show All

  • Visual Studio VSS6.0d to VSS 2005 migration

    Are there any known issues for, VSS6.0d to VSS 2005 migration Using VSS 2005 with VB 6 Also, how do we migrate VSS6.0 database to VSS 2005 database Thanks, Hi, I am part of a developers group and we have been using VSS6.0d for more than a year now. I am evaluating changing to VSS2005. I understand we will have to uninstall VSS6.0d and install VSS2005 on the server and workstations. Before I go ahead with this, I will like to know how other users are doing with VSS2005. I am very satisfied with VSS6.0d, with its integration wih VB6.0 and VS2003, and will like to know if the experience with VSS2005 will be similar or better. Thanks, Angel ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. FX effect varying by time?

    I have a Vertex Shader in an fx file that I created in NVIDIA FX Composer, and it contains a timer parameter as follows: float Timer : TIME < string UIWidget = "None"; >; I then use the Timer variable in my shader. In FX Composer I get the result I want, with the shader varying over time. In XNA, I just get the same deformation all of the time, like the timer is set to a constant value. Is there something special I need to set up to enable this Thanks, Bill This is a parameter semantic. It tells FX Composers to send the time to that shader parameter. XNA does not have built in functionality to do this for you. You have to send the time to  your effect yourself. Edit - You might want to look into ...Show All

  • Visual Basic change string array to byte array

    hi can you please help. in my program i saved a picture as a jpeg loaded it up and converted it to a string with a seperator of "-" but i cant reverse it and get the string into a byte array to save it to another file again i have managed to seperate the string into a string array i just cant convert it how do you do this. thanks Why do you load the image as a string There is not a 1:1 mapping between binary data (a byte array) and a string - the same string may have many binary representation depending on encoding and/or if the string is normalized. If I had to load binarry data into a string, I would most likely use Base64 encoding. Check out http://msdn2.microsoft.com/en-us/library/dhx0d524.aspx for more info ...Show All

  • Windows Forms Insert/Delete in Datagrid

    I have a form with a datagrid, which is sourced from a dataset. I would like to add buttons to this for to Insert, Delete and Undo (if possible). I am not sure how to do this using datagrids/dataset functionality. Can someone give me pointers on how this may be done. I do have the update scripts written and they work fine, just wanting to add additional functionality to the form. Thanks in advance Insert is available for detailsView not datagrid. AutogenerateDeleteButton = True AutogenerateUpdateButton = True You'll also have to code a query for each and add the parameters. Adamus ...Show All

  • Windows Forms Center text displayed on the combobox.

    Hi All, Is there a way to center the text that is displayed on the combobox Thanks Yes, check this thread for the answer. ...Show All

  • Visual Studio Determining if a build configuration is set up to include DEBUG info

    I have build listeners that perform some actions before a build is performed. I would liketo be able to determine if the project that is being built is going to include DEBUG information with the dll. Simply checking to see if the active configuration name == debug is not sufficient for my needs. Is there a way to access this information from the automation model I think that this information should be stored in Configuration configuration = proj.ConfigurationManager.ActiveConfiguration; configuration.Properties But I cant seem to find an enumeration of these properties... Am I looking in the right place Does anyone have any info on this THanks a lot Russ Hi Russ, What sort of project are you dealing with here ...Show All

  • Visual Studio Team System Project Portfolio Server 2006

    Hi, I recently downloaded the Project Portfolio Server 2006 application from MSDN and followed the installation instructions. However, when I tried to run the application, I get the following error message pointing to an obvious syntax error. Also, when I tried to access the login.aspx page rather than the default.aspx page, it does not let me go past the login page and I am pretty sure its not processing my request. Here is the error message and the Compiler output...Any help would be greatly appreciated. Line 1: <% Response.Redirect("~/"+((Microsoft.Office.Project.PortfolioServer.BusinessLayer.ApplicationSecurity.StratFramesIdentity).Context.User.Identity).AccountID+"/Project.aspx"); %> c:\windows\sy ...Show All

  • Visual Studio Team System Extract multiple values in one Custom Extraction Rule

    Is there a way to extract multiple text values in one custom extraction rule Our website requires a number of parameters for subsequent calls (some which could be blank) however I don't want to add 10 different extraction rules to each response. An example of the data to get would be: FileNumber= 102103041 TransactionNumber= A934993434 RecordNumber= 423443553 ClientNumber= 49230 ClientDivision= 50403 PolicyNumber= 32452 AccountRecord= AdditionalData=X543F43D345W342345 (VB Code please) Thanks in advance. a custom extraction rule would work... but I am not sure how to remove text from response like the built in extract text works... I think it uses regular expressions bu ...Show All

  • Visual Studio Team System SQL Server requirement

    Please, explain me the database requirement during DB Pro work. Am I right that it's necessary to install SQL Server (i.e. SQL Express) to work with DataDude What does it do during it with databases Thanks I didn't ask for your critism on my searching abilities. I asked for reasoning behind WHY we need to have a local install and why we CAN'T use our already setup test and development servers. Care to share any links on these topics No I'm NOT working disconnected, and we have policies where I work, that we CANNOT have installations of SQL Server on workstations. So again, why can't we use REMOTE servers to host our "sandboxes" ...Show All

  • SQL Server Slow report generation

    I have developed several reports with selectable parameters.  When the report is first requested three stored procedures are triggered and return the parameters (+2 min), following parameters being returned the default report is returned (+3 min), this time is unacceptable.  Is there anything I can do to speed up the report generation   Any help here is greatly appreciated. michael I think the first thing you should do is take the queries that your report is using and tune them as much as possible. Jarret ...Show All

  • Windows Forms Textfield with "money" value from DB, shows 4 decimals. How to remove them?

    I have a textfield which is bound to a database field of type Money. The problem is that it shows 4 decimal places. I don't want to show any decimals, and preferably round it instead of trimming. I'm fairly new to windows forms - are there any properties that lets me control this Or do i really have to manually program every field to round the value, and trim the decimals I find it pretty silly that it's displaying 4 decimals by default - even when it's 1,0000... 2 would be "ok", but 4... What currencies have 4 There are a lot of possibilities: see: Console.Write("{0:F0}", 25.9999); // Will Print 4 only and automatically round correctly will print 26 and U know the re ...Show All

©2008 Software Development Network