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

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

ahalyal

Member List

Cem DEMiRKIR
AshishMalhotra
Ken Fleming
Lawrence Parker
Danny Thorpe MSFT
Wayne Sepega
Keith Vinson
R.Pragash
tonofit
GrindCrusher
Shajeel
silverdmm
Mark Coffman
MasterG
GaryPod
Dr.Virusi
Guido den Broeder
Pete Nelson
Krutika
Nicolas Del Grosso
Only Title

ahalyal's Q&A profile

  • Visual Studio Team System Single-Server Confusion about Domain User

    Hello I always visit msdn forum. it is my first time to write here. I am pretty new to setup the windows 2003. I am using the single server deployment. I have a question about installing the TFS workgroup edition. First, Before installation, the guide asks me to create three domain users. TFSSetup, TFSService, TFSReport, do i need to install the active directory first (i tried to install the domain controller (active directory), then TFS told me TFS cannot be installed on domain controller). what should i do about this should i just make three TFS account in local user Second, after installation, how can i know TFS is working properly Third, Since the TFS server is located in external network (not intranet), how ca ...Show All

  • .NET Development Known issues installing .Net 1.1 on Windows Server 2003 (enterprise) that is already running .Net 2.0 & 3.0?

    I have found that code written for .Net 1.1 to perform LDAP queries of Active Directory using the System.DirectoryServices library fails on a server that only runs .Net 2.0. Apparently the DirectoryEntry.get_Password() getter was depricated between .Net 1.1 and 2.0 ( http://groups.google.co.uk/group/microsoft.public.adsi.general/browse_thread/thread/6cde11ed85cc4ead/02c1a1b48331ebc8 lnk=st&q=%22DirectoryEntry.get_Password%22&rnum=1&hl=en#02c1a1b48331ebc8 ). The code I have written runs perfectly in an ASP.NET 2.0 application on a test server that also has .Net 1.1 and 3.0 installed (even though from what I have read it shouldn't !) but the production server is only running .Net 2.0 and 3.0. My question is are there any known ...Show All

  • .NET Development Update myself

    I learning WSE. My Web service not authenticate UsernameToken with password SendHashed. Error text: System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.Configuration.ConfigurationException: WSE032: There was an error loading the microsoft.web.services2 configuration section. ---> System.Configuration.ConfigurationErrorsException: WSE040: Type myWSE.CustomUsernameTokenManager could not be loaded. Please check the configuration file.    at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)    at System.Configuration.Base ...Show All

  • Visual C# question of StackFrame/StackTrace classes

    while working on a new project, to help with debugging, i added some try/catch and implemented a simple loop in the catch to write to console the stackframes (exception message, called method, and line number). however, when an exception is caught, the line number returned is the first line in the catch block that the exception propagates too. can the StackFrame/StackTrace be used to actually pull out the line number where the exception occured or am i not using these classes properly. From the sounds of it you are getting the current StackTrace by creating your own instance of it within the catch handler... instead, try checking the StackTrace property of the exception you've received for a trace that shou ...Show All

  • Visual Studio Express Editions Lesson 9 /Absolute Beginner

    When I start the downloaded Lesson 9 Project, I can not update the database i.e change "Chuck" to "Charles"; what is wrong Can somebody help me please ...Show All

  • SQL Server round up

    X is a float and I need to perform x/10 and round the result up to the integer. So if result is 0.4 -> 1, if 1.1 -> 2. How can I do this with SQL Use the CIELING function:   SELECT CIELING(x/10) FROM YourTable   -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 --     < JIM.H.@discussions.microsoft.com > wrote in message news:4165a8e6-3d64-4db1-9c4b-1cec7040f35a@discussions.microsoft.com ... X is a float and I need to perform x/10 and round the result up to the integer. So if result is 0.4 -> 1, if 1.1 -> 2. How can I do this with SQL ...Show All

  • .NET Development how to do this..urgent hepl

    hi all i would liike to redirect the page with two string to be sent to another page i ve been suggested to do with item template column.. here my code goes <asp:TemplateField> <ItemTemplate> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("vname", "pdmcutmilestonedetails.aspx vname={0}") %>' Text='<%# Eval("vname") %>'></asp:HyperLink> </ItemTemplate> </asp:TemplateField> how to add one more value called cutno as parameter vname is passed .. how to add cutno <Columns> ...Show All

  • Windows Forms Limit rows in datagridview

    VS 2005 I want to limit the number of lines added in a gridview, can anyone show me the code and which event to place it. Thanks In advance Hope this contribution will help for those who want to limit rows in datagridview... The subrountines simply set AllowUserToAddRows = False if rowcount is greater than allowed number of rows during RowLeave event and set AllowUserToAddRows = True if rowcount is less than allowed number of rows during RowsRemoved. In this example 5 is the max rows that can be enter into the datagridview # Region " dgvContainer_RowLeave" Private Sub dgvContainer_RowLeave( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGri ...Show All

  • Windows Forms How do I separate the UI from UI handling code? ( .net 1.1 )

    I have a rather complex form. I don't want the code to handle UI stuff in the form. I could get away with the with simpler programs, but this thing is turning into one monolithic beast. I want to have the UI event handler in the actual form code simply call a differnet object that has the logic of the code behind it. For instance: private void buttonClick( object sender, eventargs e ) { ui_handler.DoSomething() ; } That code is in the main form. So, in a different class, I have the ui_handler object. public void DoSomething() { // lot of code that messes with the original form } That's what I'd like to be able to do. But I don't know how to pass a reference to the UI I want changed, so the various components and such ...Show All

  • Smart Device Development timeoutsession in pocketpc application

    Iam using wm5 pocketpc.I want to create timeout session in my pocketpc application which is in vb.net.The application is webservice based.So that i want to create timeout session in my client device application.Is it possible Is there any code snippet for this Please help me Thanx in advance if you're looking to terminate a session based on a timeout, you need to do so at the source of the session. You said you're using a web service Any session handling would be server side. If you're looking to create a session-like construct within the context of the pocketpc -- i.e., you want to log someone out of the app in question after a certain period of time, simply create a globally-accessible "time to li ...Show All

  • Visual Studio Determining Project Type

    Been searching thru the forums for an answer to this one, but was unable to uncover one. I'm trying to determine the type of project loaded (i.e., Web Project, Web Service Project, Class Library, Windows Forms, etc) What is the best way to go about achieving this Many thanks This was among my planned articles for this year so I have just written it: HOWTO: Guess the type of a Visual Studio project from an add-in or macro http://www.mztools.com/resources_vsnet_addins.htm ...Show All

  • Visual Studio 2008 (Pre-release) Slider.Value and MethodParameter : type not supported

    I installed the RC1 bits and get an error on my XAML code :  Property 'Value' does not support values of type 'Double'. It's about the binding of the Value property of Slider from the MethodParameter of a ObjectDataProvider : < Slider.Value > < Binding Source = " {StaticResource MenuDSO} " Path = " MethodParameters[0] " BindsDirectlyToSource = " True " UpdateSourceTrigger = " PropertyChanged " Mode = " TwoWay " /> </ Slider.Value > and the ODS : < ObjectDataProvider x:Key = " MenuDSO " ObjectType = " {x:Type src:MenuManager} " MethodName = " GetMenus " > < ObjectDataProvider.MethodParameters > < system:Double > 5 </ system:Double > < system:DateTime > ...Show All

  • Visual C++ VS C++ Forms Designer

    I'm having a few problems with the C++ windows form designer. I love being able to create forms in C++ by dragging and dropping controls, etc. but it seems very easy to break this functionality. The current problem or issue is this: If you create a new form in a project (Add New Item -> Windows Form) you are shown the form in designer view. You can then make changes, add controls, save it etc. You can of course also view the code i.e. everything is hunky dory. However if you then at some point (and after saving it) choose to exclude it from the project and then add it back to the project you lose the ability to view the form with the designer. You can't right click on the file in the solution explorer window and choose the view de ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Windowed App - How to blit bitmaps?!

    Hello, I simply want to blit some random pixels (evetually bitmap images) to a WINDOWED app (using DirectX 9 NOT DirectDraw 7 or otherwise).  I have tried the following approach in my Render function but it fails when calling LockRect()..   This approach works in FULLSCREEN mode though - why   What am I not doing correctly / overlooked Thank you.   void Render() { ... g_pd3dDevice->GetBackBuffer( 0, 0, D3DBACKBUFFER_TYPE_MONO, m_pBackSurf); m_pBackSurf->LockRect( &LockedRect, &rect, NULL );    // **** THIS FAILS IN WINDOWED MODE *** // Get a pointer to the back buffer DWORD* pData = (DWORD*)LockedRect.pBits; // Convert the pitch to work with 32 bit (4 byte) surfaces ...Show All

  • SQL Server Sorting Data in a Table

    After you start adding data to a table can you resort it so when you open the table it is in ascending order Thanks You can cluster the column, but keep in mind that doing so does NOT guarantee that the data will be returned in that order!  I use the exclamation point because that is a very important thing to remember.  There are -no guarantees- unless you use an ORDER BY clause.     -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 --     < RayClark096@discussions.microsoft.com > wrote in message news:f021d551-356f-4780-abdc-c4dd44081fb8@discussions.microsoft.co ...Show All

©2008 Software Development Network