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

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

Elham Sarikhani

Member List

Sergey Ten
Quin810
Skvettn
C#TURK
LandLord323
Josh K
UllaH
Detlef S.
rp_suman
BZanten
niroshanonline
rax369
MdaG
Rahul_
anderl
Gilles Noël
Narek
angela221
Bulk
Robert_B
Only Title

Elham Sarikhani's Q&A profile

  • Windows Forms Panels in the StatusStrip

    Is there any way to add panels to the StatusStrip , like there is with the StatusBar control It seems the StatusStripPanel class from the Beta was removed. I can't find any information regarding why it was removed. Thanx in advance. Hi, We have two beta versions of VS 2005. Many features have changed. StatusStripPanel is also removed. Why you need that Did you have any special request If you still have any concern, please feel free to post here. Best regards, Peter Huang ...Show All

  • Windows Forms How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser

    At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events and the args people like me were crying for. NavigatingExtended gives you the following args: - Url as string - Frame as string - Headers as string - Postdata as string - PostdataByte () as byte - Ca ...Show All

  • Visual Studio Team System ParameterNamesShouldMatchBaseDeclaration

    Every time I Shadow a property in VB.net I get this error. The reason is that the argument for the Set method is always cased as Value in VB.net whereas in other languages it is value. There is nothing we can do about it in VB.net. if we change the case it is automatically changed back to Value. It's nothing serious but it does generate noise. Good point and thanks for the problem report. We'll fix this right away. Michael Fanning VSTS Development: Code Analysis ...Show All

  • Visual C++ Can anyone explain why this code line right or wrong?

    Can anyone explain why this code line right or wrong in C++ char c [0]; In standard C++, declaring arrays with zero elements is illegal: int n[0]; //illegal However, certain compilers do support arrays of zero size as non-standard extension. In contrast, dynamic allocation of zero sized arrays is valid C++: int n = new int[0]; The standard requires that in this case, new allocate an array with no elements. The pointer returned by new is non-null and it is distinct from a pointer to any other object. Similarly, deleting such a pointer is a legal operation. While zero-sized dynamic ...Show All

  • Windows Forms Enable adding existing controls / component to a collection property

    Hi, I need to enable the users of a control to add existing controls / components in the form to a collection. For example, adding some of the existing buttons in the form to a ".AffectedButtons" property in the control, at design-time obviously. I also need to do this for components, eg. to add some DataAdapter controls to a DataAdapters collecti ...Show All

  • Visual C++ Converting time [hh:mm] into decimal format!

    Is there anybody out there that can help explain to me how on Earth to tell my computer (program, in C++) how to take an input of time, in the typical hh:mm format; and convert "that" into hours (decimal format). For example, if I were to prompt the question: "How long ago did something occur [hh:mm] _ And the user's response is 2:30 (which would represent 2 hours and thirty minutes ago). How do I explain to the computer to ONLY take the hours (i.e. 2) and add that to ONLY the minutes divided by 60 (i.e. 30/60, which equals 0.5). This should give me 2:30 = 2.5 Now, does anybody know a good way to handle that Please help! Th ...Show All

  • Visual Studio 2008 (Pre-release) Dynamic XAML

    Hi, Can we do any changes in XAML dynamically ex: I have 5 links to be displayed in XAML, after sometime I may have 'n' links to be displayed. So is it possible for 'n' items to be displayed. (n=1,2,3,4.. decided runtime) If yes, can I get sample with code behind Thanks Taruna Of course you can do that. For example, if the links are in a panel, use the panel's Children property to add/remove them. A better way is to use data binding, it will keep the UI is sync with your data. Instead of modifying the UI directly, you will modify the underlying data. ...Show All

  • Windows Forms 1. How can I set tool tip in Button?

    I can't find a ToolTip Text property of Button component, how can I show the tool tip of a Button ...Show All

  • .NET Development Global variables in Web Service class

    Hi, I wanted to write a WS that had about 6 Clients.  How can I share a variable between all these clients What I wanted to do, is have the WS store a Time stamp of the time that the newest data was retreived. I want to do it like this: namespace myWebService {     public class myWebService : System.Web.Services.WebService    {        private string myName = "Unassigned";        private DataSet WaitingDataSet;        private DateTime WaitingTimeStamp;   If the 1. Client connected and&n ...Show All

  • Windows Forms How to draw the focus on a RadioButton?

    Hi, I have a GruopBox container with 3 RadioButton inside. When the application starts, the focus goes to the Checked RadioButton, but it (the focus) doesn't apears. I use rigth ena left keys to navigate among them, so the Checked property changes and the focus goes to the RadioButton that is checked, but the focus doesn't apears. If i press the TAB key, the focus goes to the first TextBox below, so, the focus apears. Now, if i press SHIFT + TAB keys, the focus returns to the RadioButton checked and now it (the focus) apears. What can i do to the focus apears always Obs: VS2005 + XP SP2. Thanks, Alessandro Moacyr Duarte. ...Show All

  • Windows Forms Control running in IE not loading

    Hi, I wrote a control and I embedded it into a webpage. Everything works fine when I run the page on my local website (localhost), but it doesn't work at all (object not showing) when I install the webpage and the control dll on our intranet server. What am I missing  thanks max Even after I trust my assembly, I still can't seem  ...Show All

  • Visual Studio Team System Team build reports "Build Machine is not reachable"

    I've defined a team build, but attempting to build results in a messagebox with the text "Build machine is not reachable". What are the requirements for the build machine   What software needs to be installed on it   How should it be configured In my case, I specified the TFS App Tier machine as the build machine.  My install is a fresh 3-machine install (PDC+DT, AT, Client). Carl,  The problem is most likely that the Team Build Service isn't installed. I had the same problem. Look at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=3310  , this helped me fix it. Brad Raulston ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Erorr in loading DirectX Reference

    Dear All, I have two versions of VS.NET (2003 & 2005) installed and DirectX SDK Dec/2005 version installed as well. I am trying to develop just a few lines of code to create the device but it caused the errors as below: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in TestDX.exe Additional information: File or assembly name Microsoft.DirectX.Direct3D, or one of its dependencies, was not found. TestDX.exe!TestDX.Form1.Main() Line 78 + 0x14 bytes C# I reference to three directX libarary in the the following folders: C:\Program Files\Microsoft DirectX SDK (December 2005)\Developer Runtime\ ...Show All

  • SQL Server Selecting ProfileName to use by the SQLMERGXLib.SQLMerge

    Hi I am trying to set the profile name for the merge agent to use during replication. currently I am setting .ProfileName = "High Volume Server-to-Server Profile" But it still defualts to the defualt profile during merge. Has anyone had any luck in setting the profile I know I can do it opn the server but we are imaging the computers on the lan first and then rolling them out to the client sites.  Some will be only using dial up to merge changes hence the need to be able to change the profile in the Vb code calling the merge. Cheers Davide Hi Davide, Using a custom profile or any other built-in profile ...Show All

  • Visual Studio Tools for Office ClickOnce with VSTO - The application is improperly formatted.

    Hi, I am trying to deploy a VSTO application using ClickOnce. I am getting the following warning in Visual Studio's Error List. Warning 1 Assembly 'VstoSmartTagDemo.dll.manifest' has mismatched identity 'VstoSmartTagDemo.manifest', expected filename: 'VstoSmartTagDemo.manifest.manifest'. C:\Programme\MSBuild\Microsoft.VisualStudio.OfficeTools.targets 0 0  Note that the status bar displays the message "Publish Succeeded". I notice that a file with an extension of ".manifest.manifest" is not being found. The extension seems a bit unusual, is this expected behaviour When I go the publish location and click on th ...Show All

©2008 Software Development Network