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

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

UtterMan

Member List

Ghoort
JohnBurton
agdurga
UnknownScripter
kieroneil
Imran Shaikh
santanbo
24sharon
bharathi_tunes
Glint
garyf
Nikkon
WillieSea
Cspooner
Lionel Johnson
enric vives
James Alexander
Hibernating Bear
Hatzi74
Philip Jaques
Only Title

UtterMan's Q&A profile

  • Visual Studio Team System Problems with cutomizing Team build process

    Hello! I need a complex build system so I have modified Microsoft.TeamFoundation.Build.targets on my own. Now it consists of to parts CoreCompile and Compile where in CoreCompile I have solution for common libraries which later is referenced in complex target Compile. Target Compile consists of other msbuild target files where I have defined different options for solutions. Everything were ok while I`ve been testing my build from commandline. There problems have started when I patched server build. The build is compiling like I wanted to and build output and storing on build drop locations is fine but theres a problem with build report. When I run build the build steps is shown like this: Initializing Build Getting Sources Getting list of ...Show All

  • SQL Server Results To Text File: Always Unicode

    Hi I have been using the 'Results To' to write out query results to a csv file.  I have found that it always encodes the output as a Unicode. This causes problems with other import utilities that read this file and doubles the size of the file compared to a ANSI encoded file How can I change the way the file is encoded i.e ANSI   I can't see anything in the Query Options and outputting files in UNICODE isn't a workable option. For small files I can open them in notepad and change the encoding to ANSI and save AS.  This isn't an option for files that are around 500m-1GB Can anyone shed some light on this. Thanks for your help   I know it's probably too lat ...Show All

  • Visual Studio 2008 (Pre-release) using UIAutomation to find a Control inside a VisualBrush

    Is it possible to retrieve the AutomationElement of a control that is contained inside a VisualBrush Or can controls that are rendered inside a VisualBrush not participate in UIAutomation Basically I have a ViewPort3D that contains a ModelVisual3D wich again has a GeometryModel3D with a DiffuseMaterial that has Brush of Type VisualBrush. This VisualBrush contains Controls such as a Button. I use UIAutomation to get the Button like this: (no success)  PropertyCondition findWindow = new PropertyCondition ( AutomationElement .NameProperty, "MyWindowTitle" ); AutomationElement window = AutomationElement .RootElement.FindFirst( TreeScope .Descendants, findWindow); PropertyCondition findButton = new ...Show All

  • Visual Studio Importing Build Rules Into A C# Project, Where The Path Includes An Environment Variable

    I am trying to import some build rules into a C# project by adding the following XML to the 'project' node of the .csproj file: <Import Project="$(MY_ENVIRONMENT_VARIABLE)\BuildTargets.targets" /> But, the environment variable is not evaluated correctly. It tries to load C:\BuildTargets.targets, regardless of the value of MY_ENVIRONMENT_VARIABLE. I've tried to use %MY_ENVIRONMENT_VARIABLE% but this didn't work either. The reason that I am using an environment variable is that I cannot assume the build target file has a fixed path (it could be installed anywhere), but is always installed in the directory specified in MY_ENVIRONMENT_VARIABLE. Does anyone know if there is a fix or workaround for this Any help would be m ...Show All

  • Visual Studio Express Editions Webbrowser icon problems

    how can i make the icon of my form turn into the favicon from a site that gets navigated to That's what a web browser does: each time you access the page, it reads the information in the header and downloads the file, if necessary. Some web browsers are better at it than others. ...Show All

  • Visual Studio Team System Spellchecking w/o MSOffice

    I'm new to the FxCop tool and interested in knowing if FXCop 1.35 handles spellchecking without MSOffice. Thanks! AC I not 100% sure on this, but you might be able to choose to only install the spelling checking components (without needing any of the other components) from the Office CD by simply choosing the Proofing tools under Office Shared Features. ...Show All

  • Visual Studio Express Editions printing items from database

    I am attempting to print items from a database. I have added the items as objects to an array list. When I click print preview, the items show exactly as I intended them to be. The final calculation in the preview is correct. However, when I do the actual printing, the calculated number (TotalPremium) doubles Sometimes, the items print more than once. Why is the print preview correct, but the actual printed page is not. Please see attached code. Thanks for your help. Dim RatingFont As New Font( "Tahoma" , 8, FontStyle.Regular) Dim LineHeight As Decimal = RatingFont.GetHeight yCoord1 = e.MarginBounds.Top xCoord = e.MarginBounds.Left yCoord2 = yCoord1 + LineHeight yCoord3 = yCoord2 + LineHeight yCoo ...Show All

  • Visual C# from dataTable to database

    hi! is it possible to do a select command on a dataTable after selecting can i insert it into a database if it is, how could this be done I may have a simpler solution to your problem, you be the judge. I needed to import an Excel spreadsheet into an access database. Here is what i did: .) create OleDbConnection to the Access DataBase. .) used OleDbCommand to create a copy of the "customers" table in the access DB. .) used another OleDbCommand to delete the contents of the table in the DB. .) create OleDbDataAdapter, with OleDbCommandBuilder associated to it, Selected the empty table into a DataTable called 'blankTable'. .) create OleDbConnection to the Excel file and copied contents to 'bla ...Show All

  • Visual Studio Team System CA1305: How to correctly set string.format(..) lines.

    Heya folks, I'm getting a lot of CA1305 warnings when i use the string.format(..) without an IFormatProvider. Of course i can suppress this but i try very hard to never supress any warnings. So lets look at some code to see what is the best practice with string.format(..), please. 1) addressData.Id = Convert .ToInt32(dataReader[ AddressData ._databaseTblAddressIDAddress]); 2) addressData.PostalCode = Convert .ToString(dataReader[ AddressData ._databaseTblAddressPostalCode]); 3) throw new InvalidOperationException ( string .Format( "The addressData instance has in invalid ID [{0}]." , address.Id)); Ok - three examples all throwing warnings. What is the best practice to remove these warnings What options are there t ...Show All

  • Visual Basic StatusStrip usage

    Hi,      Have a little usage issue and yes I'm new to VB..Simple little program that will update the text of statusstrip. Works with If Then or Select Case but NOT For next The following code wil not show 1,2,3,4,etc only 10 is shown....   Private Sub Button3_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim i For i = 0 To 10 ToolStripStatusLabel1.Text = "SuperTest: " & i Sleep(500) Next End Sub problem fixed... Just a bit more searching and I found my answer... Application.DoEvents()   Application.doevents is definately preferable over a sleep which will suspen ...Show All

  • Visual C++ What kind of C++ application is IE, Wordpad, Paint etc..?

    Hi! What kind of C++ application is IE, wordpad, paint, notepad windows media player etc... (MFC, ATL, Win32 etc...) Matt Not sure how this relates to this forum topic but here's some info for curious C/C++ developers like you :   IE - Win32 (and of course a ton of COM stuff), C++ Wordpad - MFC app, at some point it's code shiped as a sample in Platform SDK or MSDN/VS (I think it was in the VS 6.0 era) Paint - MFC app, its color palette and tools bars can be docked like in MFC apps. And more important it links to MFC42U.DLL and its window class names are in the form Afx: 00203.... (typical for MFC) Notepad - good ol' C Win32 app - at the time it was written (I ...Show All

  • .NET Development arrays to sql server table

    Using vb8, I would like to be able to programmatically save data in arrays to an existing sql server 2005 table. I've found tons of info on how to load db data into arrays but not the reverse. Can anybody offer some clues Success! I added the following code after the for/next loop: Dim sqlCB As SqlCommandBuilder sqlCB = New SqlCommandBuilder(ResultAdapter) ResultAdapter.Update(ResultSet, FactorTableName) ...Show All

  • SQL Server embedded deployment sql server express

    Hi,my problem is the following I can not completely understand how to deploy sse with my application To some degree I understand the explaning in   Mikes Documentation Things I don't get: 1) Do I not check the prerequisite server express because when I did  and run the setup.exe that I build  the thing that happens is that the sql package gets unpacked over and over along with a little message that it's taking a little longer then expected. I gues this is the fallpit where the actual setup.exe for sse is nothing being done with hence the wrapper.  A quote from Mikes document "If the VS Bootstrapper isn't flexible enough for you then". Well, I don't know what I'am doing wrong but ...Show All

  • Software Development for Windows Vista break out of a parrallel Activity.

    I made a custom Activity that is wired to one interface event. Using correlation I can call one event and it will be directed to the correct instance even if they are in parrallel. It's useful but I have a case where I need to use a listen activity but the listen activity won't accept my custom acivity because its not an HandleExternalEvent Acitvity. The point. I would like to use a parrallel activity with several branches but if one particular branch is taken I want to shortcircuit the parrallel activity and continue with the next activity after the parrallel(regardless if the other branches have not all been completed). If there is a better way of approaching this please let me know. Thanks! List ...Show All

  • .NET Development Navigating thru xml

    I have the following xml: <students> <student id=”1”> <columns> <column width="50" type="text" >George</column> <column width="50" type="text" >Turner</column> <column width="11" type="text" >Grade</column> <column width="11" type="number" decimal="0" >Score</column> <column width="15" type="text" >Status</column> </columns> </student> <student id=”2”> <columns> <column width="50" type="text" >Jill</column> <column width="50" type="text" >Stuck</column> < ...Show All

©2008 Software Development Network