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

Software Development Network >> ehsan sadeghi's Q&A profile

ehsan sadeghi

Member List

MaggieChan
Marshaler
DevDiver
LeighM
Mikepy
Cisco_Systems
Raja Pratap
gkostel
Big5824
rdasugo
Alain DePreter
anee
Victor BA
sriniathp
JM Pirelli
Lady Mog
Dee-roc
Kiwi bloke
MrLister
bzoli
Only Title

ehsan sadeghi's Q&A profile

  • Visual Studio Express Editions Database Question

    I have three simple WinForms. One main, which displays a cookbook, organized into title, ingredients, recepie and two buttons, add and edit. When I click the add button, another box pops out into which I want the user to introduce title, ingredients, recepie and then click save. I am not exactly sure how to do this, but I have Peter Wright's books and I am researching. The problem is though, when I want to EDIT a current entry, how do I pull from the database the info which was selected into the second form, edit it, and when clicking save, adding it back to the database Hi Well, that's the problem, I wanted to update it through C# code, not SQL. So, after the user clicks a button, a new window appears ...Show All

  • .NET Development Array.Sort causing too many GC's

    The following code on a 32bit machine causes 0 GC's but on a 64bit it causes 10. int size = 100000 ; double [] keys = new double [size]; Random rand = new Random ( ( int ) DateTime .Now.Ticks ); int [] items = new int [size]; for ( int  k = 0 ; k < size; k++ ) {     double random = rand.NextDouble();     keys[k] = random;     items[k] = k; } GC .Collect( 0 ); GC .WaitForPendingFinalizers(); GC .Collect( 0 ); int count = GC .CollectionCount( 0 ); Array .Sort< double , int >( keys, items ); count = GC .CollectionCount( 0 ) - count; Console .WriteLine( count ); ...Show All

  • SQL Server bye

              This is a SQL Server forum, not a Messenger or MSN forum. You might get contact with a MSN buddy who can be found on the MSN site and are very helpful in these cases. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio After installing VS 2005 SP1 the debugger doesn't show MFC source files

    Having installed Visual Studio 2005 SP1 and rebuilt all my C++ projects I find that I no longer have source-level debugging available for the ATL MFC classes. Is there a fix for this If not I'll have to consider reverting to the original setup. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1090797&SiteID=1&mode=1 ...Show All

  • Visual Studio 2008 (Pre-release) Rounded edges cube mesh

    I need to create a mesh for the cube/box where each edge is rounded. Any suggestions Your best bet will be to create the rounded cube in a 3D modelling program that offers that primitive (I don't know which ones do offhand) and then convert that over to xaml so it can be consumed by WPF. Electric Rain's Zam3D tool can convert .3ds files to xaml, and 'Microsoft Expression Sparkle Interactive Designer' can convert .obj files. There are other converters floating around, such as a plugin for blender that allows export to xaml. David ...Show All

  • Customer Care Framework Create an action (Post request)

    Hi, I would like to know how to create an action in a hosted web application, that sent a post request. And how i can intercept the request in WebApplicatioAdapter to include post parameters. thanks, Hi Matt, I've resolved the problem. I wanted to send context data to a web application throught an action but sending a POST request. I've seen that is necessary to fill "querystring" input to send that information, when you create an action. thanks. ...Show All

  • SharePoint Products and Technologies KPI List handling of SSAS KPIs with null values

    When displaying KPIs from Analysis Services 2005 in Sharepoint using the KPI List, we noticed something unexpected. It seems that if the KPI Value evaluates to Null (ie there's no data for the KPI), the goal value doesn't display either, even if it has a value. So, for example, if the goal is "10", but the value is Null, neither value displays. That doesn't seem right to us - just because there's no data for the KPI doesn't mean that there isn't a valid goal. Is there anything we can do to change this behavior Note that this is inconsistent with how Excel 2007 displays KPIs - Excel acts as we would expect. Hi Kevin, This might be "by design", but it makes life a little difficult. ...Show All

  • SQL Server Report layout:- Inconsistencies between page height and HTML Rendered

    I'm having problems with what is displayed in the browser being different to what is defined in the RDL and what is exported to PDF. I have set height to 21cm and width to 29.7 with 0cm margins. There is one table in the report. When I export the report to PDF its fine, all pages are 21x29.7cm, landscape. However, when I view the report in the report manager (in a browser) the pages are much longer than they should be... nearly twice as long (as if to make the report portrait again ) Has anybody had this problem with lanscape reports   Any ideas on how to resolve this I've made lots of different landscape reports and get the problem every time.  I find it hard to believe that no one else is having this issue... Thanks ...Show All

  • Visual Studio Team System Find all work items assigned to users of a group

    Is it possible to build a query that returns all work items assigned to users of a specific group E.g.: "AssignedTo" In "[Project]\Developers". I would rather not have to specify all members of this group in the query. Thanks. Is there no mechanism to utilize a custom macro The directions in the WIQL are a little vague. I'm curious to see if there is a mechanism to get the values via the context parameter which means it would need to be in the context dictionary. Hmmm... Having to change the query everytime a member of a group changes is problematic at best. ...Show All

  • Windows Forms Howto Read Add/Remove Programs List?

    I would like to read the add/remove program list. I can just read the registry but that seems to have a lot of extrainenous data that I would perfer not to filter out. If that is the onlty way, what is the filter to apply in order to get the Add/Remove list thanks, lee http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=354479&SiteID=1 Check this out, it should get you started. Had some code for it but a recent cleanup killed it off. I hate cleaning up :( ...Show All

  • Visual Studio 2008 (Pre-release) On Writing a Dockable Panel System in .NET 3.0

    http://mobiformsoftware.blogspot.com/ Ron @ Mobiform Aurora XAML Designer - http://www.mobiform.com/eng/home.html ...Show All

  • SQL Server x64-Bit Install of SQL Server 2005

    I have a AMD 64-bit multi-processor server that is currently running the 32-bit version of SQL Server 2005 without any problems and we are using it. (I followed the instructions on how to install the x64 version of the v2.0 of the .NET Framework and it is running properly.) Now I want to move forward with installing the 64-bit version of SQL Server 2005 and the associated services such as SSIS, SSRS, and SSAS. The plan is to basically uninstall the 32-bit version of SQL Server and then just install the x64 version, Are their any issues with the installation I didn't see any 'read-me' on the x64 DVD disk. While we have lots of experience with 32-bit installations...this is our first x64 box...so I thought I should ask. Thank you. ...Show All

  • Windows Forms Text Box Viewable Area Question

    Hi folks, I'm just wondering how I can set the viewable area of a multiline textbox control which has contents that scroll off the screen For example, I would like to go to the beginning of the Text Box contents when I click a button (assuming that it has enough contents that the top has scrolled out of the viewing area for the control). Not sure how to do that though. I'm using Visual C/C++ .NET 2003 and this is a Windows Forms project. Any ideas Hi SvenC, Thanks for your answer - but it doesn't quite work. The text is selected, but the Text Box does not bring it into view. Is there some other setting I need to make Or a property on the dialog box that should be set during design   ...Show All

  • Visual Studio VS.NET 2003 Cannot debug remote stored procedures

    Hi, I've been trying to get debugging of stored procedures on a remote SQL server 2000 database to work for a while, with no success. Configuration: workstation: Windows XP Pro SP2 with firewall turned off. Visual Studio.NET 2003 SP1 Enterprise Architect Attempting to step into stored procedure from Server Explorer. Server: Windows Server 2003 SP1 SQL Server 2000 SP3A I am a member of the local Debugger users group and the SQL DBO group for the database in question. The Debugger Users group has been given execute permission to Master.sp_sdidebug. VS.NET 2003 remote components installed. I did not install any of this myself, but I am assured that the MS knowledge base article on ins ...Show All

  • Visual Studio Express Editions SerialPort 101 for a beginner

    Hello, I have spent a lot of time trying to use the serial port command in the toolbox but i was unsucessful. I looked at the samples posted online but i always get errrors. Can anyone explains what are the steps needed to have a sucessful communication (read and write) from and to a serialport.If you can post the code it would be great...Please help Thank you StoreReceived should store whatever string value captured from the StoreReceived = SerialPort1.ReadExisting. Also do i need to open/close the connection or it's done when i use the readExisting command. Please explain Thanks ...Show All

©2008 Software Development Network