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

Software Development Network >> Filipe Silva's Q&A profile

Filipe Silva

Member List

Peter Ritchie
NeedSomeAnswers
Devi48354
Chris Wilson
crussting
anu_ooo
karande23
defstream
PsykotiK
ofer473869
Sukh1983
George2
Noel Burgess
Sara_H
Vibhu Bansal
Vijay_kar
RichardMtl
skuehner
Tompom
ace333
Only Title

Filipe Silva's Q&A profile

  • .NET Development Sending Mail

    This is my code Dim oMsg As New MailMessage Dim SMTPEngine As SmtpMail oMsg.From = "bshouman@gmail.com".ToString oMsg.To = "bshouman@gmail.com".ToString oMsg.Subject = "test" oMsg.Body = "test" oMsg.Priority = MailPriority.High oMsg.BodyFormat = Mail.MailFormat.Text SmtpMail.SmtpServer.Insert(0, config.SMTPIP) SMTPEngine.Send(oMsg) when im stepping through this code eveything is working fine, but im not receiving any email, i have no firewall, and the smtpIp is working fine on a web application why im not receiving anything Please help could be a number of reasons. Do you not get any errors Which version of .NET Framework are you using if you are using .NET 2.0 use the Sy ...Show All

  • Smart Device Development Start VB Program unfocused

    I'm trying to write a VB program for a Pocket PC. When I run the program, I do not want any type of FORM to come up. Or Even better would for it to go into the Tray just to show it is running. Does anyone know of existing code i can look at to get this to work If I can just get the program to run without opening the Form1 window that would get me moving, and I could worry about making the Tray Icon stuff later. Thanks, You can hide the form from Activated event: Me.Hide ...Show All

  • Visual Studio 2008 (Pre-release) Wrapper interfaces and duplicate proxy types

    Hi, I have two contracts that use the same schema type: In MySchemas.dll: [DataContract] public class KnickKnack { private int _number; [DataMember] public int Number { get { return _number; } set { _number = value; } } } In MyContracts.dll: [ServiceContract] public interface IServiceA { [OperationContract] void Modify(KnickKnack k); } [ServiceContract] public interface IServiceB { [OperationContract] void Modify(KnickKnack k); } If I host the two contracts as services as then generate client proxies, I get duplicated types (search the forums for 'duplicate proxy types' to see similar posts). I realized that my two contracts are actually part of the same application; it doesn't make sense ...Show All

  • Visual Studio Tools for Office use excel add-in on the client side without installation

    hi guys i have created a excel add-in using VSTO.. i have got the setup of excel add-in but on the cient side i dont want to use that setup. is there any way possible way to use excel add-in on client side and avoid excel add-in setup. ...Show All

  • Visual Studio Express Editions Command Line in C++

    Hi, Guyz, I have encountered a problem, i have installed VS C++ 2005 Express Edition on my computer and have realised that there is not 'devenv.exe' that would go with it or with the PSDK that i have downloaded too. if anyone knows or had similar issues on how to call / build / compile etc projects in VS C++ 2005, please post the commands that are used, or links that would tell me how. It seems to be a simple thinkg, but i just cannot get the answer, i was looking for so long on the web. Any help would be appreciated. Many thanks, in advance, Dmitry I'm digging up an old thread, so I don't know if this will be seen, but... I'm encountering this same problem. Do you mean to set the includ ...Show All

  • .NET Development StreamReader.ReadLine() breaks at single carriage return

    The StreamReader.ReadLine() documentation states that "A line is defined as a sequence of characters followed by a line feed ("\n") or a carriage return immediately followed by a line feed ("\r\n").". That means a line should not terminate at a carriage return alone "\r". But it does. Complete console application follows. It is not possible to read a line from a file that contains a carriage return "\r". It breaks on every carriage return. using System; using System.Collections.Generic; using System.Text; using System.IO; namespace ReadLineBug { class Program { static void Main( string [] args) { const string fileName = @"C:\Tes ...Show All

  • SQL Server Cannot Launch DTA - Failed to open new connection

    Installed SQL 2005 STD and installed SP1 for SQL on a Windows 2003 STD server. I launch DTA and I am logged in with the same windows account which the SQL services use and I get the following message: =================================== Failed to open a new connection. =================================== Could not find stored procedure 'msdb..sp_DTA_help_session'. (.Net SqlClient Data Provider) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=09.00.2047&EvtSrc=MSSQLServer&EvtID=2812&LinkId=20476 ------------------------------ Server Name: FHCMS,1433 Error Number: 2812 Severity: 16 State: 62 Line Number: 1 ---------------------------- ...Show All

  • Architecture Server getting intimation of disconnection while file is downloaded from client side

    I have a problem, There is a file being transferred to an .Net application via HTTP protocol by a J2EE web application. Now I want to trap the client disconnection event at Server Side if Download fails from client side. I have thought some approaches but not fully satisfied with those: 1. Just open a separate thread from client that will tell the server periodically that client is alive, till file gets transferred. 2. Server should ping the client periodically, if client is available, but this would be a violation of HTTP protocol. In case 1 ,  I would have to make a service or exceutable on client side which i would like to attempt as the last case. I would like client to be just using webbrowser. Please comment on my ideas ...Show All

  • SQL Server Combining Output PDF files

    Is there a way to output reports to the same PDF file. Basicly Appending several reports to the one PDF. Without combining the reports using subreports, I think you would use code & custom PDF components, unless you want to jump into writing a rendering extension. Softartisians Officewriter & abcPDF.NET are two possible options. You can also try automating Acrobat. http://www.planetpdf.com/forumarchive/84747.asp One alternative may be to export to a different format and then convert to pdf afterwards. cheers, Andrew ...Show All

  • .NET Development XPath syntax for string with ' embeded

    Hello, I have coded an XPath "It's a Wonderful Life". If I search for "Wonderful Life" I find the correct node since I coded the contains function, but I'd like to be more specific and look for the exact title. The problem is coding the correct syntax that will make C# and XPath happy at the same time. Can someone tell me the proper syntax so that I can code the entire title In other words I'd like to code contains(title,'It's a Wonderful Life') but that generates a run time error of "invalid token". Omitting the contains function and coding this df:title='It's a Wonderful Life' produces the same result. In C# one can write code as in the the following e ...Show All

  • Visual C# how to store "Richtext" in a Database

    hi, how we can store the data(rich text formatted data) in a database say access. this i want to do in C#.Net i am using a rich text box which will have all the formats like bold colouring etc. these details i have to store in the database so how can we do that can any one help me regarding this. Thank you in advance. Regards, Badri Prasad. hi ritchtext box has rtf property it return the formated text not just the plain text you can use it and save the result as you save any normal text in the database string val = richTextBox1.Rtf; // insert val to your database //next time to assign values to you richtextbox richTextBox1.Rtf = val(from database) hope this helps ...Show All

  • SQL Server Sorting Vs Indexing

    what is the difference between sorting and indexing.. It depends. It is a performance and diskspace issue. The general answer for a database that is constantly being modified is never sort it, and always index it. Sorting is only valid with a fixed or read only database. Once you add a record the data file is no longer sorted. The time to read a sorted file also grows with the number of records. A indexed file has a finite maximum access time, typically around 4 disk reads to find the record needed. Think about a name and address data file that you will constantly access in alphabetic order but you are constantly adding new names as needed. This is a perfect canidate to index on the name field. If you relied on a sort it would ...Show All

  • Visual C# creating a combo box inside a data grid view

    I have created a data grid view in C# and I want to define a column in this data grid view to be a combo box. I have code which compiles but doesn't work. What I see when I test (in the column in the data grid view) is a drop down arrow on the right side of the field, but nothing happens if you select it. This is the code I used: DataGridViewComboBoxColumn dgvColPlayEveryDescription = new DataGridViewComboBoxColumn (); dgvColPlayEveryDescription.DataPropertyName = "PLAY_EVERY_RID" ; dgvColPlayEveryDescription.Name = "PLAY_EVERY_RID" ; dgvColPlayEveryDescription.HeaderText = "Play Every" ; dgvColPlayEveryDescription.DisplayMember = "DESCRIPTION" ; dgvColPlayEveryDescript ...Show All

  • SQL Server SQL Express

    Hi: I'm trying to replace MSDE with SQL Express 2005, I would like to know if Window XP Pro SP1 is OK to use Can I write code with VB6 with SQL 2005 Express Any Step by Step Installation of SQL Express 2005 Thanks and regards I could use OLEDB but not SNAC. I get Error Message trying to connect using SNAC. By the way, what does SNAC really meant in lay man term If the Client used SQLOLEDB then why need SNAC. Does Client PC need .Net Framework 2.0 and ADO 2.8 I do not have the ERROR Message with me. I post later. Thanks for your help ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. End users shouldn't have to rewrite XNA math functions in order to improve performance.

    The overhead of passing a 64 byte Matrix by value is significant. Most especially when you are comparing two matrices for equivalency (==), or performing a Vector*Matrix multiplication (Vector3.Transform(Matrix)). The following matrix comparison function performs 5-10 times better than your built in == comparison. If the matrices are equal, then it is about 5 times faster. If they are unequal then it fails fast, and is about 10 times faster. public static bool Equals(ref Matrix a, ref Matrix b) { // i check the diagonal first for quick fails return a.M11 == b.M11 && a.M22 == b.M22 && a.M33 == b.M33 && a.M44 == b.M44 && a.M12 == b.M12 && a.M13 == b.M13 && a.M1 ...Show All

©2008 Software Development Network