Software Development Network Logo
  • Visual C++
  • VS Team System
  • Visual C#
  • Windows Vista
  • SQL Server
  • Visual FoxPro
  • .NET Development
  • Visual Studio
  • Visual Basic
  • Visual J#
  • Game Technologies
  • Architecture
  • VS Express Editions
  • Smart Device
  • Windows Forms

Software Development Network >> Tyago Valença's Q&A profile

Tyago Valença

Member List

BY AU
vbdotnetdeveloper
kskwon
Silk Brick
William Joyce
Jean-Nicolas
AlvinTheUnready
AndrewWheeler
Eric Oostergo
Carlos90210
Matti Seikkula
Craig R
Smudge
Adrian Accinelli
brigs
Joe Lathrop
venkatraj
Scott Waye2
SparkyDude123
PCoveney
Only Title

Tyago Valença's Q&A profile

  • SQL Server Need help with XSLT - control characters not working

    I am writing an XSLT that will format events for HTML email distribution. One of the event data properties is defined as nvarchar(max). This column contains text formatted with CRs. I need to replace the CRs with <br/> for HTML email. I use the following snippet. <xsl:template match="notification"> <p> <xsl:call-template name="line-breaks"> <xsl:with-param name="text" select="UpdateDescription"/> </xsl:call-template> </p> </xsl:template> <xsl:template name="line-breaks"> <xsl:param name="text"/> <xsl:cho ...Show All

  • Visual Basic In need of help

    ok, ive made my XML plugin, and the app reads it like this: Try   Dim sr As New System.IO.StreamReader( "settings.xml" ) Dim xr As New System.Xml.XmlTextReader(sr) Dim settingsxml As New System.Xml.XmlDocument settingsxml.Load(xr) Dim NumberofcatagorysXmlNode As System.Xml.XmlNodeList = settingsxml.SelectNodes( "settings/numberofcatagorys" ) Dim number As System.Xml.XmlNode = NumberofcatagorysXmlNode.Item(0).SelectSingleNode( "number" ) Dim numberofBBB As Integer   numberofBBB = number.InnerText Dim numbloop As Integer   For numbloop = 0 To numberofBBB - 1 ...Show All

  • Visual Studio 2008 (Pre-release) Exception

    While trying to learn about PeerChannel I came across Kevin Ransom's blog. When I try to run the example he posts here http://blogs.msdn.com/kevin_ransom/archive/2005/09/14/466534.aspx I get a SocketException that says "Unknown error (0x2ced)" Server stack trace:    at System.ServiceModel.AsyncResult.End(AsyncResult asyncResult)    at System.ServiceModel.Channels.PeerNodeImplementation.SimpleStateManager.OperationBase.End(IAsyncResult result)    at System.ServiceModel.Channels.PeerNodeImplementation.SimpleStateManager.EndOpen(IAsyncResult result)    at System.ServiceModel.Channels.PeerNodeImplementat ...Show All

  • Windows Forms Databind problem with a null item

    I have a window with two tabs.  On one tab is a datagrid to show a list of items, on the second tab is a series of textboxes to give a detail view of one item at a time for add/edit/etc. The datagrid is bound to a collection of class objects.  The textboxes are also bound to the same collection.  This allows the user to&nb ...Show All

  • Visual Studio Team System Formatting Lost in Description-field of Work Item

    We're using TFS Beta 3 Refresh and we're having the following problem: When we create a Task or a Bug Report on our MSF for Agile Software Development project, we can use formatting in the Description-field. Things like Bold, Italic, Lists... seem to work which is of course very important to make a readable Task or Bug-Report. However, as soon as we save the Work Item (using Ctrl-S), all formatting is lost. Things like Bold, Italic are lost, Lists are replaced by asterisks, some carriage returns are deleted. This is naturally very annoying because this behavior screws up a perfectly readable Bug Repor ...Show All

  • Visual C++ How to decide the errors

    hoh to decide the error C2039 a exist... i have 2 forms, form1 and form2. in form1 i have a button, and when i click in this button, will open form2. whats the code to do this ...Show All

  • Visual Basic password in access

    Hi! Happy new year  to all VB Guru out there my previous query was solved in a couple of days, I am stuck again, i am doing a project with access has a database and VB 6.0 has a front end. I want my database to be password protect i.e if any dblclick access file it must ask for a password. Can i link a password protect access file to VB if tried but error like worksheet file not found was thrown, can any VB GuRu out there let me know the steps in accomplishin the task. Also i want in my project to display mathematical formulas, has some fine guy know how to store mathematical formula( like sin2A + Cos2A=1 here '2' must be ...Show All

  • SQL Server Is this possible???

    Hello, Is it possible to have a lable and text boxes right on the top of a parameter Just like this. Last: week month 90 days year So that when a user clicks one of the link, the value in the parameter will be changed accordingly. Sincerely, Amde hey Bob, I am clear that I have to add textboxes with drillthrough actions. But here is the thing: I have given a requirement to design the report layout and create the report. the report should look like this when previewed: Last: week month 90 days year From: 4/25/2006 To: 5/2/2006 So for last wee ...Show All

  • Visual Studio Team System Error in web test

    Hi, Warning: Test Run deployment issue: Failed to get the file for deployment item 'E:\VS25\PACT\PACT\bin\Debug\PACT.dll': System.IO.FileNotFoundException: Could not find file 'E:\VS25\PACT\PACT\bin\Debug\PACT.dll'. i am getting this warning message and always my we test fails. Recenly i have reinstalled VSTS on my C:\\ earlier it was there in E:\\. Because of these changes i am getting this error. pl let me know how to fix this issue. ...Show All

  • Windows Forms Adding rows in section detail (form master/detail)

    When adding row in detail (Primary Key to master is not identity), solicity primary key and not add to row in detail. where is error ...Show All

  • SQL Server Query Notification / SQLDependency fails on table w/ computed column

    I have a table with a computed column defined on it. I can't get SQLDependency to work with that table unless I remove the computed column definition. The select statement I am using does not include the computed column, it just exists on the table. When I execute the SQLCommand, the SQLDependency immediately fires the OnChange event with a SQLNotificationEventArgs.Info of 8 {Query}. I can't find any documentation in SQL Books Online that the base table must not have a computed column, even if the select does not include that column. Is this a bug or by design Thanks. Here is a sample create table statement: create table dbo . t ...Show All

  • Visual Studio 2008 (Pre-release) Extending dispatcher to prevent message replay

    I am working on a project where I need to prevent message replay. All my mesages have a RequestId. Basically what I want is: all messages that arrive to my system, I want to inspect the request message id, and verify if the message is already processed. If so, I want go give the same response that i gave originally, or a fault if the message is in processing. I know that I can extend the service model with behaviors, but i am litle bit lost and i don't know where to start. I already read the SDK documentation but I need more. Any help Any sample how to extend Thanks in advance ...Show All

  • SQL Server Fixed Length File Read

    I have a fixed-length flat file that contains about 30 columns. I have got it pretty well figured out using the flat file connection tool, but I am having trouble with the end of the line. I know when I look at the file it is a CrLf that separates the rows, and SSIS only seems to understand this to a certain extent. It knows to go to the next line, but it also adds two rectangles to the lines, like this: Col1 Col2 Col3 Col4 Col5 aaaaaa bbbbb ccccc ddddd eeeee [][]aaaaa bbbbb ccccc ddddd eee ee[][]aaaaa bbbbb ccccc ddddd e eeee[][]aaaaa bbbbb ccccc ddddd While this does create a cool pattern, it is a pain in the butt. The only solution I h ...Show All

  • Visual Studio 2008 (Pre-release) How can I access a DataSource object in code behind

    I specify the object for my DataSource in XAML like this. < Grid.Resources > < c:SpectralDeviceFilterBinding x:Key = " DataSource " /> </ Grid.Resources > I would like to access that object ( SpectralDeviceFilterBinding) from code behind, but can't determine how to name or otherwise reference the instance that the page creates when it loads. How To Thanks That throws an exception System.Windows.ResourceReferenceKeyNotFoundException was unhandled by user code Message="'DataSource' resource not found." This works TheGrid.TryFindResource( "Da ...Show All

  • Smart Device Development Installing .Net Framework 2.0 (KB829019)

    Do you need to uninstall .Net Framework 1.1 before installing .Network Framework 2.0    You're in a wrong forum, this one is for Compact Framework. Anyway, the answer is no. ...Show All

©2008 Software Development Network