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

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

Aghasadeghi

Member List

Fluxtah
jkmurty
Jan Kučera
Landon Parks
Rey De Jesus
Namza
quacka
itznfb
altamash
PeteJM01
Dong Xie
arkiboys
mangu
SrinSree
Tom Hartnett
Kolja
Terry Showers
WayneSpangler
NuclearChicken
Leon Mayne
Only Title

Aghasadeghi's Q&A profile

  • Visual Studio Team System Not able to capture save button click action

    Hi all While using Web Test , some events are not captured in my script, i.e In my application there is an button for save option and while recording , i am not able to capture save button click action , Please let me know whether to change any settings are some thing wrong in my recording 302 does not indicate not found. It indicates that you are being redirected. If it is being redirected, the next request should be the one that you were redirected to. Is this the correct request ...Show All

  • Visual C# StringBuilder works in 2.0 but throws exception in 1.1

    Hello, I have a bit of C# code that works in .NET 2.0, but throws a "System.ArgumentOutOfRangeException" (Addition Information: Capacity exceeds maximum capapcity.) when run under 1.1. Here's a snip: StringBuilder key = new StringBuilder(4); IntPtr fp = new IntPtr(); pData pd = new pData(); pData pd2 = new pData(); int ret = MyObject.CreateKey( ref key ); I've rebuilt under 1.1 and tried all the overloaded constructor functions. All return the same exception. Is there a change in 2.0 that I should be aware of As far as I know StringBuilder has remained same since version 1.0. Your code snippet has at least one incorrect line  &n ...Show All

  • Windows Forms Calling search results from within my application

    I'm making an application thats is going to heavily intergrate with the web... Were pretty much all the website controls will happen within my C# application. However, I would really like to know how to add a "search box" in my C# app that will actually search for a specific webpage on a website. AKA: If the search box requests the name of a book, and they type in "Harry Potter", It would bring up a search list feature (like google) in the web browser area that will display the matching titles for Harry Potter from within my website. I'm sure it will involve implementing the HTML code of my website with the C# code in the program, but I'm just totally lost on how to do it. I seen a sample somewhere of kind of what I was looking ...Show All

  • Visual C++ lnk1181 and lnk4076....what am i doing wrong?

    hello everyone, im very new to the c++ language and have been working on visual c++ 2005 for the past few weeks. i transferred a whole bunch of code from visual 6 to vc++ 2005 and as expected got a whole lot of warnings and errors. for the past few days i have been stuck due to the following two messages: LINK : warning LNK4076: invalid incremental status file 'exe/ECG_Monitor_Patient.ilk'; linking nonincrementally LINK : fatal error LNK1181: cannot open input file '..\lib\bt_comserver.lib' for the first message, i went into the linker settings and changed the ENABLE INCREMENTAL LINKING field to NO and then I got the LNK4075 warning. I have no clue as to how to deal with the second message. I AM A NEWBIE. PLEASE HELP. ...Show All

  • Visual Studio Express Editions printing tabs in a text file

    I am building an application that compares 2 text file and displays the lines that are different. I have it to the point when it displays the lines with the tabs seperating the different fields but when I print the file, ( I am saving the comparison to a text file) the tabs seperating the fields go away and it's hard to read. How do I get the tabs to print I am new at this so if you could keep it simple. The tabs are in the file, but when I print within the C# application it compresses all the text to a single string. If I open the file with notepad or Word the tabs are there. Any other ideas ...Show All

  • Windows Forms splitContainer problem/bug in .NET 2

    Hello, I want to draw nice splitter in splitContainer. To do this, I call method below in splitContainer1_Paint event. private void splitContainer1_Paint( object sender, PaintEventArgs e) { ProfessionalColorTable pct = new ProfessionalColorTable (); Rectangle bounds = (sender as SplitContainer ).SplitterRectangle; // Make sure we need to do work if ((bounds.Width > 0) && (bounds.Height > 0)) { Graphics g = e.Graphics; // Setup colors from the provided renderer Color begin = pct.OverflowButtonGradientMiddle; Color end = pct.OverflowButtonGradientEnd; // Make sure we need to do work using ( Brush b = new LinearGradientBrush (bounds, begin, ...Show All

  • Visual Studio Context menu item localization

    Can I localize context menu item in my diagram (Add, Collaps, Delete...) Thanks Ivana Thanks for your advice. It solves my problem in context menu in main view with a diagram (shapes, connectors). But elements are in Explorer view too (in tree) and I can't change the context menu there. Ivana ...Show All

  • SQL Server Is WITH / Common Table Expression a syntactic sugar?

    I tried to use WITH to factor out the shared star join portion from a sql statement as it's usually the most expensive part. However, examing the execution plan shows that the WITH clause is merely a syntactic suger that will internally be plugged back as derived tables where the same star join is executed repeatedly. Is the intermediate rowset produced by a WITH caluse ever shared during the query execution CTE's are not perfect, but they are FAR from the evil of cursors. Cursors are just bad form in T-SQL. You can never loathe them enough :) But the answer to the original question is yes, it can, but it does so apparently very pessimistically. The people I discussed it with mentioned there being hac ...Show All

  • Software Development for Windows Vista problem in compiling the video capture sample provided in the SDK

    hi all, I am tried to build (in vc++) the video capture code provided in the SDK which is giving the error C2065: 'ICaptureGraphBuilder2' : undeclared identifier I have included the library strmiids.lib and dshow header file which is neccessary for it. I don't what else i have to do. Any help is appreciated thanks Thanks LGS for your valuable reply. I have included the header file but still it is giving the error. I have posted my code here. #include "stdafx.h" #include <Dshow.h> #include <strmif.h> #include <stdio.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmd ...Show All

  • .NET Development Sort method acts as I hope

    I've implemented a comparer class in order to sort a ArrayList. So, namespace Application.Comparadors { public class ComparadorPaquets : System.Collections.IComparer { private Application.Comparadors.tipus_ordenacio tipus_ordenacio; public ComparadorPaquets(Application.Comparadors.tipus_ordenacio tipus_ordenacio) { this.tipus_ordenacio = tipus_ordenacio; } int System.Collections.IComparer.Compare (object x, object y) { Application.PaquetOrdenat paquetX = (Application.PaquetOrdenat)x; Application.PaquetOrdenat paquetY = (Application.PaquetOrdenat)y; return (this.tipus_ordenacio == Application.Comparadors.tipus_ordenacio.ascendent) paquetX.Talla.CompareTo(paquetY.Talla) : paquetY.Talla.CompareTo( ...Show All

  • Visual Studio Express Editions Copying a Project

    This may sound basic but I haven't yet found the appropriate button. I would like to create a new project which is based on an existing project. In essence I would like to execute a "save as" on my existing project and save under the new name. Is this possible This is a problem that really needs to be addressed in the next version of Visual Studio. I need to be able to save a project by a different name in order to keep the original as it is and continue developing the copy to something else. Or simply to rename it because the original name wasn't quite suitable. It should also be easy to save the project to another location without having to end the program. This has always been possible with VB ...Show All

  • .NET Development .Net 2.0 send email with multiple “To” recipients

    Hi, I know how to send emails in .Net 2.0, but I can not send one with multiple email recipients in the “to” field. If possible I would like to specify display names for all recipients in the “to” field but this is not required. Hi, I am seeing the same exception too. Following is my code: public void SendMail() { MailAddress from = new MailAddress ( address1@xxx.com , "name3" ); MailAddress to1 = new MailAddress ( "address2@xxx.com;" , "name1" ); MailAddress to2 = new MailAddress ( "address3@xxx.com" , "name2" ); MailMessage EMessage = new MailMessage (from, to1); EMessage.Body = this .G_EmailContent; EMessage.IsBodyHtml = true ; EMessage.Subject = " subject ...Show All

  • Internet Explorer Development How you test code for different version of IE?

    I would like to test my code for IE5.5, IE6 and IE7, since I can't install different version separately, what I only can think of is to use virtual pc. How you guys testing your code for different version of IE Thanks See http://tredosoft.com/Multiple_IE ...Show All

  • Visual C# quick help please... XML attributes

    Hi all, I have a DataGridView that displays an XML file in it... the table has these column names: Name, Value, Data. After I've populated it I need to compare (via a method call) the data in the Name cell with the string value in the XML comment. So basically I'm comparing the Name cells value with the comment value in the XML file. The XML file contains the useual <name>, <value> & <comment> tags. How would I do that Also I want to color the cells Name & Value if they do not match private void SeeForMatch() { XmlDocument doc = GetXmlDocument(); // loads XML file DataTable dt = datagridView1.DataSource as DataTable ; foreach ( DataRow rows in dt.Rows) // loops through the datagridview1 or ...Show All

  • SQL Server Getting error message saying "xpstar.dll is missing....." When I attach the MDF file with SQL Server 2005 Express

    When I attach the MDF file with SQL Server 2005 Express, I am getting a long error message saying "xpstar.dll is missing....." and the wizard closes. Please tell me what should i do to resolve it I have SQL Server 2005 Express Management Studio Express installed .... Regards, Fuzon This sounds like a defect to me. Please report this issue at the Microsoft Connect site ( http://connect.microsoft.com/SqlServer/feedback ). Connect feedback goes right into the defect tracking system used by the development team. Feedback from customers is an important criterion for determining which defects to fix next, so your feedback on Connect will help give this this problem attention sooner. ...Show All

©2008 Software Development Network