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

Software Development Network >> Sergio Olveira's Q&A profile

Sergio Olveira

Member List

Lin Liu Jian
WASTHEBEST
Tibster
Chris Ellis
acole
msdn13
Vivekthangaswamy
Diogo
Hussain_Alyousif
jason d
Rob_IT
Bosmonster
Nels P. Olsen
a developer
Dustin Andrews
MuSti
Clifton G. Collins III
Ashoka
Thomas Wolfram MVP
Yves Hanoulle
Only Title

Sergio Olveira's Q&A profile

  • .NET Development ThreadAbortException encountered in .Net Remoted Object hosted in IIS

    Hello People, Background I have a Remote Object consumed by an ASP.NET application for sending mails. The remote object is hosted in IIS 5.0 (WIndows 2000 Server (SP4)). Both the remote object and ASP.NET application are in .Net Framework 1.1. Why Not Web Service instead of Remote object It is an obvious question which I am not interested in discussing right now since that will eventually deviate from solving the real problem. What the Remote Object does The remote object accepts the send mail request and sends mail through a SMTP server. The location of the SMTP server is stoed in a configuration file. Currently I use loc ...Show All

  • Visual Studio Team System CMMI Template Customization

    Does anyone know when the CMMI process guidance is going to be available for customization (ie. export-edit-import into TFS / use as template) Hi, I want to create default alert/notifications in my process. For Example, if project manager creates any change request, automatic notification should be sent to Change control board for review.   Or if i resolve the bug, notification to be sent to reviewer to review the code change. Thanks, Jayashree ...Show All

  • Visual C++ Heap/Stack Overflow/Overrun Issues

    I am running a simulation program in VC++ 6 that requires arrays (dynamic or otherwise) that will eventually have as many as 200,000 entries of type "double". The program works fine when I use small arrays (with a few hundred entries) but fails when I increase the array size to say several thousands. The error code is "Unhandled exception in sim.exe: 0xC00000FD: Stack Overflow". I guess the main question is, if possible at all, how do I increase the stack or heap size so that the program can accomodate arrays with 200,000 "double" entries Other advice most welcomed. Thanks in advance! ...Show All

  • Visual Studio Team System Sharepoint error after installation

    Our internal IT department installed TFS Workgroup Edition for us, but it doesn't work. When I try and create a new project (I am an administrator) there is an error when it gets to the sharepoint section. There are also errors in the event log indicating sharepoint problems: #50070: Unable to connect to the database STS_Config_TFS on DEVTEAM. Check the database connection information and make sure that the database server is running. Login failed for user 'NT AUTHORITY\LOCAL SERVICE'. [CLIENT: 10.0.1.156] It seems clear to me that Sharepoint has been installed incorrectly - but I wonder if there are any easy steps to resolve it There is no ...Show All

  • SQL Server How to write a Function that can return a value from a dynamic database?

    I need to get a value from a dynamic data base, and I thought that the best way to do this was by using a scalar function. I'm not too experianced in writting Functions... so I thought I'd post here and see if it is possible, and if so, how Basically, I will be using 3 parameter: varchar @DataSource (the datasource string in the form of "server=SRV;uid=USER;pwd=PWD;database=DB;") int @RecordId (the primary key id column of the table) varchar @TableName (the name of the table) All tables have this common structure: INT [id] VARCHAR [title] I want to return the Varchar @Title based on my provided para ...Show All

  • Windows Forms Sluggish performance 2005 final release - Us or MS?

    We have a windows application, originally developed in VS 2003, now in VS 2005 final release, using Visual Basic.  It has become painfully sluggish to design in, though the speed when running the app is fine.  My PC is a Pentium 4, 2.5 ghz with one meg ram. I can not tell if the problem is with us and the way we designed the solution, or if it has something to do with Microsoft and Visual Studio as a whole.  I realize that you are capable of having a field day on my ignorance but hope you will resist the temptation. When opening the app it takes 3 minutes before we can actually get anything done. The Solution Explor ...Show All

  • Visual C# How can I use spelling checking and grammar checking in my windows application

    Hi Friends, I'm now creating an application to check spelling and grammar like MS Word can do. I don't know how can I use these features in my application, could you please help me. Regards, You have three options 1 - write the code to do the checking yourself 2 - use Word to do the checking for you ( which means your code will require Word on all target machines ) 3 - find another existing component ( probably not free ) that offers these services. ...Show All

  • .NET Development ASP.NET upgrade to 2.0 to 1.1 and consuming Web Service ...

    Hi, My web app was upgraded to .NET 2.0 from v1.1 and found that there is a problem consuming web services that the same app with v1.1 has no problems at all. All configuration in web.config is exactly the same between v2.0 and v1.1. The error I am getting from the v2.0 app as follows: "Unrecognized attribute 'requirePermission' (C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Config\\machine.config line 14)" The web serivices that I am consuming from my web app requires that I have WSE2SP3 and I have that installed. I also have references to Microsoft.Enterprise.Library from Jan 2005. I did try with one from June 2005 a ...Show All

  • Visual C# filename from ListView

    My questions is simple but I can't figure it out! I have a listview area which take different pictures. When the user selects a picture I want to get the filename and use this to put the picture onto a large picture box. Can anybody tell me how to do this The problem I am having is that I cannot convert the picture selected to a filename. I have tried: private void listView1_SelectedIndexChanged(object sender, EventArgs e) { pictureBox1.Image = Image.FromFile(listView1.SelectedItems.ToString()); } But I get the error: System.IO.FileNotFoundException was unhandled Message="System.Windows.Forms.ListView+SelectedListVie ...Show All

  • Visual C# Multiple updates to an Active Directory user in one pass

    I'm trying to update a set of users in Active Directory from an Excel spreadsheet. This is how I'm doing it now: (oRow is a DataRow object) SearchResult result = search.FindOne(); if (result != null ) {   DirectoryEntry user = result.GetDirectoryEntry(); if (user.Properties[ "employeeNumber" ].Value == null ) user.Properties[ "employeeNumber" ].Add(HashSSN(oRow[ "SSN" ].ToString())); if (oRow[ "First_Name" ].ToString() != user.Properties[ "givenName" ].ToString()) user.Properties[ "givenName" ].Value = oRow[ "First_Name" ].ToString(); if (oRow[ "Last_Name" ].ToString() != user.Pro ...Show All

  • Visual Basic PDF Nightmare

    I have been searching the world for a free, or at least cost effective solution to add the ability to save PDF files within my programs. All of the solutions that I have been pointed at cost at least $3000 for a full redistribution license! I'll be lucky if I sell 1 copy of my software at a price of $25, so I can't possibly see the point of spending that much money. So this leads me to two solutions: 1. If ANYONE out there knows of a free or cheap ($100) pdf dll that I add to my program then please throw me a bone. I need the ability to create pdf files from scratch and just add text and pictures... 2. I would like to create my own pdf ...Show All

  • SQL Server Problem getting SQL Server Express Service to Start

    I have had SQL Server 2005 (Full Version) installed along with SQL Server Express and suddenly SQL Express quit starting and will not start manually. I have reinstalled VS 2005 (Team Edition for Software Dev) and tried to reinstall SQL Express but the installation fails when it tries to start the service. Any suggestions Keith Try posting this question on the Setup forum: SQL Server Setup & Upgrade . Thanks Laurentiu ...Show All

  • Windows Forms How to save contents of checked list box to disk

    Hi, I'd like to design a small application that saves the contens/items in a checked list box to disk (C:\ ,D:\ ect) and then be able to retrieve/open the saved file. Does anyone know how to do this Your help is much appreciated hakl Databinding and XML are probably the best answer, but if you've already designed your app to manipulate th ...Show All

  • Windows Forms dataGridView; changes by the end user

    I have a dataGridView with many records. How can I change those cell values to red color that has been either added or edited by the end user This is to get the user a summary of changs made to the grid prior to saving the grid.   This is when the Value of the cell is null. just add a checker: object cellValue = dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value; if(cellValue != null) { _oldValue = cellValue.ToString(); } else   { _oldValue = string.empty; }   same thing on the other method. ...Show All

  • Visual C# How to Play Sound in Windows Application?

    Hi everybody,   Is anybody knows how to play sound (*.wav) files in windows application I tried using Microsoft media Player it works but the DLLs are huge. Is there othe way to do this Thanks. denpsia Hi Guido,    Thanks for reply, in mycase only wav files. I don't knwo if possible for .mp3 files. den2005 ...Show All

©2008 Software Development Network