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

Software Development Network >> Marcos Dell Antonio de Souza's Q&A profile

Marcos Dell Antonio de Souza

Member List

Will Merydith
mcclenahan
Dr.9
12340987
pkr2000
WestMike
Part Time Australian
Pouyan
Daffodils
azcoyote
samfan
hadjici2
rtaiss
Pankaj11
schmod54
erzfezsf
mkb2006
Parsnips
Todd at HCA
BobP - BIM
Only Title

Marcos Dell Antonio de Souza's Q&A profile

  • Visual C# I Need to Search for specific word in file without load all the text in the file to memory

    Hi   I try to search for specific work in more then 50000 file and I want to know witch file that content that word …   I use these lines of code to search for that word   StreamReader sr = new StreamReader ("C:\File.txt", System.Text. Encoding .Default); int CharIndex = sr.ReadToEnd().IndexOf( "AnyWord" ); sr.Close(); if (CharIndex > -1) {     Console .WriteLine( "The File content the word" ); }   these lines of code wok fine but the problem here,   is the method ReadToEnd() load all the string in the file to the memory so this will make the application very slow when checking the large files   so is there any way to check if the file content th ...Show All

  • .NET Development Get worksheet by name from an excel worksheet

    Howdy, I am working on a project to get data from excel spreadsheets and update an Access database with the new records. The excel spreadsheets are being generated by another department and I have no control over when they are being produced, or how they are being named. I think I have how to access the spreadsheet and extract the data to a DataSet (it seems straightforward). However, to select the data out of the workbook it looks like I need to explicitly name the worksheet that the data is on. Right now there is only ever ONE worksheet in the workbook, but it is NOT named 'Sheet1', the name is automatically generated by the equipment that is outputting the sheets. Here is an excerpt from what I have right now: ' How to get data from ...Show All

  • Visual Studio Express Editions Currently Playing Media

    Hi, I'm making a utility that needs to monitor when the audio changes that you are listening to in Media Player, is there anyway to do this What I want is an effect simular to the Media Information option in messenger, where Media Information updates as your song changes, etc. Any thoughts I would be gratefull, thankyou. you would need to use some plugin/interface from that media player into your application. I don't believe there is a direct way of accessing the currently active media file playing since you need to implement that component into your application which then the media player app will alert its subscribers of the file that is playing. Try obtaining some SDK for the application in question and see if it supports ...Show All

  • Software Development for Windows Vista Host a statemachine and have multiple client applications receive events

    Hello, I would like to have an application hosting a number of state machine workflows and have a number of client applications post events to update the workflow and receive the events to notify the client applications of these updates. Is this possible and if so can anyone point me in the direction of a sample. TIA Trevor. Lab 1 illustrates  communication between 1 or several client app and the host application : from the client to the server. If I understand, the next problem is: when 1 client update the workflow you want the others apps to be notified; it's not a workflow problem, but just a communication problem from a server (the host) and the other client apps ex client 1 send an event ...Show All

  • Visual Studio Can you publish a web application using MSBuild on the command line?

    Hi, I tried doing it like a website: <MSBuild Projects="C:\MyTempWebsite.sln" Targets="Publish" Properties="Configuration=Debug; Platform=AnyCPU; PublishDir=D:\todelete\FINAL\; ApplicationVersion=0.1.0.0; PublisherName=my site; PublishUrl=http://localhost/MyTempWebsite/; InstallUrl=http://localhost/MyTempWebsite/"> <Output ItemName="OutputFiles" TaskParameter="TargetOutputs"/> </MSBuild> But it tells me that its an unpublishable project... Thank you Web Deployment Projects are for Web Sites Fwank wants to know how to publish a Web Application Project on the command line (and so would I)! I'm currently using CruiseControl.Net. When us ...Show All

  • Visual Studio Express Editions Unable to create New project

    When ever I try to create new project I get this error, I have reinstalled the application and am not able to uninstall it as i get this error "Setup is unable to determine a valid ordering of the installation". Main error while creating project: C:\Documents and Settings\User Name\Local Settings\Temp\bana1g0h.voq\Temp\WindowsApplication1.csproj(67,10): The imported project "C:\Microsoft.CSharp.targets" was not found. Confirm that the the path in the <Import> declaration is correct, and that the file exist on disk. ...Show All

  • Visual Studio Team System MSF Documentation: RUP vs. MSF - A comparative study

    L.S., This thesis makes a comparative study of two software engineering processes, namely the commonly used IBM Rational Unified Process and the new Microsoft Solutions Framework for Agile Software Development. Both software engineering processes have the same objective, to create a solution that meets the needs and expectations of the stakeholders. However, they have different approaches to reach their goal. The Rational Unified Process focuses on the time schedules and budget to create a predictable and disciplined software development environment. Microsoft Solutions Framework for Agile Software Development does not believe in predictability, it considers the fact that changes are inevitable and do occur during the software devel ...Show All

  • Visual Studio Express Editions Creating a line control sim.. to autocad lines

    Hello, I'm a new guy in the world of VB and I'm trying to create a line control similar to the line controls that is in autocadd. Could anybody to get me started in the right direction Thanks for your time! I think I can get this figured out butt one question remains at this time. Would it be possible to rotate the usercontrol to the angle of the line Or mabe reshape ...Show All

  • Software Development for Windows Vista Pattern for email approval?

    With a workflow hosted by a desktop application, we want to add an email-based approval to a workflow. It is clear how to send an email as part of a workflow, but what do you recommend for waiting for approval-via email Because the workflow is hosted by a desktop application, the workflow runtime might not be running when the approval email is returned. Michael your service (the workflow host) polls your mail server (if it's exchange your can use CDO or extendedMapi I think; maybe is there a class in .Net framework 2.0 for this) and sends an event to your workflow which is waiting for it. ...Show All

  • Visual C# Error handling

    Hi, I'm developing a three tier application, and have some conceptual question about the right way for error handling. the tiers are : 1. Presentation Layers - PL 2. Businnes Logic Layer - BLL 3. Data Access Layer - DAL now lets tak a very simple example, Let say i have an aspx search page on "Users" table. Search fields are : UserName, FromDate (on BirthDate Column), ToDate(on BirthDate). The validation checks for the search are : 1.UserName - 2-10 charecters 2. FromDate/ToDate -Valid Date 3. ToDate is Bigger than FromDate My Questions Are : 1. Should i perform the validation checks on each Layer 2. Should I put the call from the PL to the BLL, and from the BLL to the DaL in try & ...Show All

  • SQL Server Newbie: How to fires a WMI event alert?

    hi everyone, I've made a WMI event alert with this query: SELECT * FROM DDL_DATABASE_LEVEL_EVENTS WHERE DatabaseName = 'AdventureWorks' In Response tab I've defined my email as destination. Thanks a lot for any link or thought about this, ...Show All

  • Visual C# Rich text box problem...

    Hi… In my application…I am trying to add data received on comport in a rich text box. Rich text box is on second form & my SerialPort.datareceived event is on first form. Here is my sample code… form2 f1 = new form2(); Serialport. .DataReceived += new SerialDataReceivedEventHandler (port_DataReceived); private void port_DataReceived( object sender, SerialDataReceivedEventArgs e) { ReceivedData = comport.ReadExisting(); f1.Controls[0].Text = ReceivedData; f1.Controls[0].Invoke( new EventHandler ( delegate { f1.Controls[ 0]. AppendText(ReceivedData); })); } But I am getting error on th ...Show All

  • Community Chat My new community site for stundents and pros on MSDN

    My name is Sam England, and I am 16. I have, over the last few months been building and perfecting a community site, with articles and reviews, for professionals, businesses and students, in IT, Web, Media, Gaming and business. Soon, I will make the community site invite only, but I need a good initial base. Each user wiill get 5 invites. I am planning on making the site full AJAX/web 2.0/ASP.NET so you can move the new grey modules around. The site was just redesigned, a couple of days ago over the weekend. I am calling on you guys to come by and sign up for free, and maybe introduce yourself. I'd be really honoured to see you there, and have some valuable people to help drive my project, and become a very special part of my community. I ...Show All

  • Visual Studio Express Editions combo box in visual basic

    hi all....this is another problem... this is my code sltBranch.DataSource = custEmployee sltBranch.DisplayMember = "Name" sltBranch.ValueMember = "ID" i use the data in database to bind in this combo box.........but how can i insert an item to the combo box..... i try this line of code........sltBranch.items.insert(0, "None") but it return me an error..... so anyone who got the solution please kindly post here.... thanks It sounds like you have the combobox setup to use databinding and then are trying to add an item into the combobox like you would in a non-databound scenario using items - therefore creating a conflicting situation with the control which ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Unable to load p1_wedge following first Starter Kit tutorial

    Hello all, My first post. I've done a search for this problem online with no joy, so thought I'd post here in the thick of it. I have this exception when trying to build and run the tutorial: {"Error loading \"\\Content\\Models\\p1_wedge\". File not found."} With this as an Inner Exception: {"Could not find a part of the path 'D:\\Content\\Models\\p1_wedge.xnb'."} The p1_wedge.fbx is in the correct directory, and all my code is copied correctly from the tutorial. Can anyone tell me what's up - I had a problem with mscoree.dll a few days ago, and didn't really know what I was doing trying to recover it... (I'm no Windows programmer - I'm an ActionScript guy by trade...) Thanks in advance! pseudo Heh, n ...Show All

©2008 Software Development Network