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

Software Development Network >> Elham Sarikhani's Q&A profile

Elham Sarikhani

Member List

Cadey
David Krmpotic
huysmans
Bernaridho
cdemez
B_Lilith
Anton Rapoport
Bill_Henning
Beuls
AKW2006
Ruprect8696
PremierITA
eagarwal
Nitramsen
aashta
Kevin Ring
Michael Ruminer
JocularJoe
Murom
feby
Only Title

Elham Sarikhani's Q&A profile

  • Visual Studio Express Editions vb express code snippet problem

    I am trying to work through the "Visual Basic 2005 Express Edition for Dummies" book. I have installed VBE on 2 machines. Both seem to have corrupted code snippets. This is all I get when I insert the code for the mortgage calculator: Dim futureValue As Double = 0 Dim payment As Double payment = Pmt(0.05 / 12, 36, -1000, futureValue, DueDate.EndOfPeriod) Shouldn't there be more Am I missing something Thanks. It is possible that the book writers had some 'beta' or pre-release information/files from Microsoft that got changed before the release of VB EE. Maybe Microsoft re-thought how snippets would be used and trimmed them all down. ...Show All

  • SQL Server Can't uninstall Reporting Services

    I need to reinstall Reporting Services but during uninstall I face the following error: "The setup failed to read IIsMimeMap table. The error code is -2147024893" Nothing seems to help with the problem. Regards, Ksenia This worked when I had problems with Visual Studio Tools for Office... may work here too. You can remove the files afterwards.  It may leave some lingering traces though - use at your own risk! http://blogs.msdn.com/hgao/archive/2005/08/01/445841.aspx http://support.microsoft.com/default.aspx scid=kb;en-us;290301 Manual Uninstall using MSIZAP Sometimes the VS component may not appear in the add/remove program list, but VS setup thinks it is installed. Below are some steps you could t ...Show All

  • Visual Studio Express Editions Combobox databinding -- almost there!

    Hi I have a table similar to this: Type Name 1 Bob 2 Claire 3 Peter Type is the primary key. On a form I have a combo box that I want the user to pick a name. The value stored though needs to be the primary key, here's my question: In access you can create combo boxes that display both columns within a combo but when an item is selected it stores the first column only. How do I replicate this using Visual Basic 2005 - how do you guys do this If I populate the combo with the primary key only, it's difficult to use since the user doesn't know which [Name] belongs to which [type]. Your help is appreciated! Thank you very much for your help :-) This is exactly w ...Show All

  • SQL Server HELP!!! Can not restore database from only back up I have

    I had to transfer my database from one server to another. Both are running SQL 2000. I backed the database up and moved it to the new server however when I try to do a restore I get the following message: The media set for database "xxx' has 2 family members but only 1 are provided. RESTORE DATABASE is terminating abnormally. I did some searching and found a couple of posts that mentioned something about the back up including 2 files. My problem is that the machine I backed this up from crashed when it was shut down and would not reboot so all of the data and the original database do not exist. Is there any hope of restoring this database. It is pretty critical. Thanks, Melissa :-) Gre ...Show All

  • Visual Basic Printing reports without preview

    PrintReport Problem Trying to print report without preview Problem--keep getting this type of error "A data source instance has not been supplied for the data source "TestDB06DataSet_TestDB06Table"."} I am using VisualBasic from Visual Studio 2005 standard edition and have installed SP1 I am using a newly created DB created in Access2000 with the xlm file provided from running the same DB through Access2007. For some reason my version of Visual Studio 2005 standard edition does not recognize Access2007 file extentsions. I have that program installed also. There is only one table with two fields containing two records for testing. Data Base name is TestDB06 Table name is : TestDB06Table Dat ...Show All

  • Visual Studio Team System Find all Bugs that were resolved in date range

    I have created a query in Team System query editor that does most of what I want.  I need to now create an MDX query that will return the id and date a defect was changed to 'Resolved" grouped by developer.  EDITED: I have 'reverse engineered" the Bug Rates query, shown below. Question 1: What is the proper syntax for the where clause to find bugs resolved by both  "persons" Question 2: How can I find the workitem ID for the items that are "counted" in this query -------------------------------------------------------------------------------------------------- WITH MEMBER [Measures].[Date Key] AS [Date].[Date]. CurrentMember . UniqueName SELECT { [Measures].[Date Key], [Measures].[Sta ...Show All

  • Visual C++ Very simple member variable question

    Hello all, I'm using VC++ 2005. I've got an MFC dialog app to which I've added a ComboBox control. I right-click the control and select "Add variable...". In "Category" I select "Value" and in "Variable name" I give the variable name "m_intComboBoxVal". I hit "Finish". But when I try to look for the declaration in the source files for the dialog, I don't see it anywhere. It is listed in Class View when I select my dialog class...when I right click the member variable and select "find all references" it finds one reference in the dialog header file but on an empty line. Where does the wizard insert the declaration for my variable &n ...Show All

  • Silverlight (formerly WPF/E) Does Downloader allow cross domain calls?

    I'm developing a WPF/E application and I'm trying to download content using the Downloader object. While this works when the url property points to a relative path the downloader fails (no event is ever fired) when the uri points to another site/domain. Is there a security restriction preventing cross domain downloader calls Wouldn't be usefull an onError event on the downloader were you could retreive information on why your request failed Thanks I wonder, why is that From what I've read "the Downloader object is modeled after the XMLHttpRequest (XHR) set of APIs..." surely you can download xml content from different servers (domains) using XMLHttpRequest why this is not the case when it comes to the Downloader object An ...Show All

  • Windows Live Developer Forums Error

    I cant get windows live to work. I keep geting this error code:8004882c Anyone know what this error is I will not close down my security just to get this thing to work. I will wait tell all the bugs are out of this prog. Windows messenger works with all my security progs running "so i will just stick with it tell then. Thanks Uleepera for your help. ...Show All

  • Smart Device Development Is it possible to have multiple projects in Smart Device Solution

    Hi all, I had a solution that contained one project for my PocketPC. Now I have added an existing project to the solution. Within the PocketPC exe application, I wanted to make use of some of the properties/methods of the classes supplied in the referenced project. After adding a reference to this project in my PocketPC exe project I can't seem to find it when making use of the ' using ' keyword. For example, the referenced project in my solution is called ConfigurationProject, and after adding a reference to this project in my PocketPC project, and then typed ' using Config... ' on a Form in my PocketPC project that needs to make use of the referencing project, it does not get recognised. I am sure I read somewhere that its not possible ...Show All

  • Microsoft ISV Community Center Forums I have a fairly simple macro writing question (in Word).

    I have used a mail merge to create labels of products with relevent pictures attached to each label. However I have to select all and update to get the images to appear once the merge has run and then the sizes all change to a very small size. I have made a macro to resize the images one at a time to 9% of the original, but I cant find out how to resize all the images (about 300 this time). Ideally I would like to resize them based on how many records were merged, but i suppose it would work if i just did a loop for a static amount. any ideas thanks thanks very much, thats exactly what i wanted to do. i havent used vba or macros at all for over 6 years so cant remember any syntax or commands which was wha ...Show All

  • SQL Server First connection timeout when using full text indexing

    After rebooting the computer (anytime), the first call to the database will almost always time out.  This did not happen prior to adding the full text index to the database.  It will time out even in the SQL Express Management Suite. After that first time out, it works fine. We tried a workaround by making our first call to the database a "dummy" call and wrapping it in a try/catch. That didn't work either.  Any suggestions Regards, Pat   Mike Wachal - MSFT wrote: Someone suggested that your issue may be described in the KB, check it out here . Mike Thank you for your help, I solved my problem with sp_fulltext_service 'verify_signature', 0; ...Show All

  • Visual Studio Express Editions C# Program -- Win32 API SendMessage(...) Problem

    Hi Guys, In a C# form OnShown() function, there are following code: i = Win32API.SendMessage ( this .btnSplitUnits.Handle, WM_LBUTTONDOWN, 0, 0); i = Win32API . SendMessage ( this .btnSplitUnits.Handle, WM_LBUTTONUP, 0, 0); i = Win32API. SendMessage (this.btnSplitUnits.Handle, BM_SETSTATE, 1, 0); There are 6 button controls in this form. The Question is that SendMessage function are executed in sending first two button controls, the rest four of them do not execute . Thanks for any help. Regards, Kevin Looks to me like you are sending messages to only *one* button, not two. A button named "btnSplitUnits". You might get the same results with btnSplitUnits.PerformClick(); ...Show All

  • Software Development for Windows Vista WTSVirtualChannelOpen is failing for Vista

    Hello There, Need your attention on a small issue. WTSVirtualChannelOpen is failing and the GetLastErrorText returns “incorrect function” for Vista( RC2 and latest nov 17 ultimate release for developers). I tested this from both, 1. within an application in the user context, 2. as well as a service in session 0 on Vista. Fails in both the cases. This API returns a valid handle for XP / 2k3 and below. In Vista, as expected, the session ID of the application in which I use this call is Non-Zero. i.e. 2 or 3 or above. Whereas, in XP or 2k3 etc. the session ID is 0 because I run this application in the console session. Thanks, -dchawla. ...Show All

  • Windows Forms OOP Concept

    helloo All my applications, my application layer and business layer are one, and i have a class for data layer containing everything related to database, I nees to build my applications in the right way can anyone direct me on the concept s of writing business layer Thank you Thank you soo much for your reply i have some silly questions datagrid, combobox, listbox and such objects..shall they be binded in application layer or business layer. ...Show All

©2008 Software Development Network