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

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

hfaun

Member List

akdpr
airwalker2000
Muzaffar_Ali99
RBecker
IlCapo
kageg
Danny C. McNaught
Jeroen Bransen - J-Thread
Koruyucu
AlucardHellSing
SmartSpy
Alle
hans24848
micronax
MukilanP
ctzseng
Philippe Cand
rodniko
Troy Lundin
JimTan
Only Title

hfaun's Q&A profile

  • SQL Server MDX help required

    Hi, I have a requirement for which i need to write an MDX. The scenario is, i have a fact table with dimensions. The FactStudent consists of keys from dimensions like location, ranks dimension and period dimension. i want to know the students who have got same rank for an year and previous year (to check consistency in performance). how should be the MDX for getting this info.please help. Thanks & regards, Vivek S Some reading for you http://www.databasejournal.com/features/mssql/article.php/10894_2238011_1 Bit outdated, but you should be able to use the basics with AS2005 as well. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Silverlight (formerly WPF/E) Add the WPF/E browser enhancement as part of the Windows Update as soon as possible

    I apologize in advance – I am sure this question has been answered somewhere. One of the strong advantages of Flash is that it is installed on so many machines. I think WPF/E is great (I just don’t know why it took Microsoft so long to get to this point); however, the WPF/E browser enhancement is installed on very few machines which means that if I use WPF/E my customers are going to be reluctant to download the WPF/E enhancement which is a real problem. The solution is to make WPF/E a Windows Update item which means it will get installed on a large number of machines and I can be competitive with Flash. I realize that Microsoft is at CTP; however, I feel that it is urgent that Microsoft start adding the WPF ...Show All

  • SQL Server Get number of business days between dates

    Hi. Is there a way to get the number of business days or hours between two dates Also, is there a way to have it ignore weekends and U.S. holidays Thank you. i am using this script to get amount of business days Code Snippet set datefirst 1 declare @sdate datetime declare @edate datetime select @sdate = '20070516' --for example, start date May, 16th select @edate='20070531' --end date May, 31st select datediff(day, @sdate, @edate)+1-( select (case datepart(dw, @sdate) when 7 then (datepart(ww, @edate)-datepart(ww, @sdate))*2-1 else (datepart(ww, @edate)-datepart(ww, @sdate))*2 end)+ (case datepart(dw, @edate) when 6 then 1 when 7 then 2 else 0 end) ) ...Show All

  • Visual Studio Team System Limitation in MS Project ?

    Hi, I have a problem in MS Project. I have define a field of type "string" in my process template with 253 listitems in the allowedvalues. In Studio, all values are displayed correctly, but not in MS Project (no combobox and no values appeared). Does somebody have an idea Thank you! Myself I would place all these values in a global list and reference the global list in your <ALLOWEDVALUES> tag. It would be easier to maintain if you ever need to update it. ...Show All

  • Visual C# ConfigurationSettings in with Remoting

    Good day ppl, What I'm trying to do is allow my user to edit certain settings in my config file for a .net remoting application i wrote. I know that ConfigurationSettings.AppSettings allows you to enter the AppSettings key. What i want to do is through code, be able to edit my config file keys like - "povider" and "formatter". Really all of this is just to change the port and minor settings. My point is, ConfigurationSettings.AppSettings, limits me to just the "AppSettings" key, and i need to kow how to edit the other keys. ConfigurationSettings.AppSettings is just for setting configration beforehand(and it is absolete now more info: http://msdn2.microsoft.com/en-us/library/system.configuration.conf ...Show All

  • Visual Studio 2008 (Pre-release) ShowDialog() behavior

    I've got an application that uses several modal dialog windows. Early on, I discovered that displaying the window was a little slow, apparently because the XAML had to be parsed each time the window was displayed. In order to circumvent this delay, I create each of the modal dialog windows at the beginning of my application, and I never call Close() on them (nor do I set the DialogResult property, which would also close the window). I do make a call to ShowDialog(), and the window functions properly as a modal dialog. When I'm done, I call the Hide() method, which returns from the modal ShowDialog() call and allows me to continue processing. After a while, the windows start exhibiting some strange behavior. Sometimes the wrong window wi ...Show All

  • SharePoint Products and Technologies SPExport / SPImport problem with MOSS - help wanted!

    Hi, Inside MOSS Collaboration Portal I'm trying to replicate/copy a specific site and place it under another site as a child-site. I can do this easily inside MOSS' Site Content and Structure-manager. I've included 5 screenshots to display what I mean: 1. http://i165.photobucket.com/albums/u51/anchorPoint2002/SPImport%20SPExport%20Issue/1.png 2. http://i165.photobucket.com/albums/u51/anchorPoint2002/SPImport%20SPExport%20Issue/2.png 3. http://i165.photobucket.com/albums/u51/anchorPoint2002/SPImport%20SPExport%20Issue/3.png 4. http://i165.photobucket.com/albums/u51/anchorPoint2002/SPImport%20SPExport%20Issue/4.png 5. http://i165.photobucket.com/albums/u51/anchorPoint2002/SPImport%20SPExport%20Issue/5.png The issue is that I'm tryin ...Show All

  • Windows Live Developer Forums Polygon Circle outside map boundries

    I am currently implementing the ve api in such a way that we are plotting points on a map and drawing a circle (polygon) around that point on a map based on a provided radius. The point in question is in the Fiji Islands which would be on the rightmost part of the map (approx. Lat: -16.694078, Lon: 179.835205). The radius of the circle is large and there are points which lie outside the map boundaries. The circle gets plotted correctly which would be on both sides of the map. However, there are lines between the top and the bottom of each circle part and the outside of the circle is shaded in. I can't include an image in the post, so i have included a link here (yahoo for lack of a better place to put them): http://new.photos.yahoo.com/dad ...Show All

  • Visual Basic OTP: Consuming Web Services from VB 6.0

    Hi All, How can we integrate a SOA based application to VB 6.0 Are there any process and practices / help documentation for this purpose Thanks for all the help. Thanks and Regardsm Vidhee T hese forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb.general.discussion&lang=en&cr=US Or perhaps the VB6 resource center http://msdn.microsoft.com/vbrun/ or perhaps www.vbcity.com may be useful places to search for answers on VB6 related questions. I would suggest ditching the VB6 and downloading the VB Express from the microsoft web site for free and using thi ...Show All

  • Visual Studio Team System Cannot Replay the recorded web test

    Hi, I'm having a problem with re-playing web tests. I have recorded a web application ( a live web application) using VSTS (visual studio 2005 team suite) and , then when i try to re-play the same . The very first step fails with the following error message: "Reqest failed: Index and length must refer to a location within the string. Parameter name: length" Since I haven't heard back from you, I'm going to assume the error was coming from the server-side and mark this question as answered. Please reply if you're still having trouble and I'll follow up again. Josh ...Show All

  • Visual Studio Express Editions VB 2005 Express Registerig it.

    I can't seem to even find a form to register it. Ive tried everything. I would like to register it and axctivate it. I am in College and havent recieved software yet for VB 2005. Instructor is draggin his feet. I need to get started. however i cant get program going until activated. Please Help! E-Mail timmit30@hotmail.com ...Show All

  • Visual C# Problem with Interop DllImport Memory Corruption and AccessViolationException

    Hi, I am having problems with the following operation to call GetConnectionInfo in VC++ 6 from c# 2.0 C++ Constructs as follows: typedef struct _OUTPUTPOINT { BYTE cDevicePath[MAX_PATH +8]; //DevicePath BYTE cLinkPath[1024]; //Use Lib. } OUTPUTPOINT, *POUTPUTPOINT; typedef DWORD ( CALLBACK *pfnGetConnectionInfo )( POUTPUTPOINT ); C# Constructs: [ StructLayout ( LayoutKind .Sequential, CharSet = CharSet .Ansi)] public class OutPutPoint { public char [] cDevicePath; public char [] cLinkPath; } IntPtr outArray; uint retVal = GetConnInfo( out outArray); OutPutPoint output = new OutPutPoint (); Marshal .PtrToStructure(outArray, output); Mess ...Show All

  • Software Development for Windows Vista how to access custom stateActivity

    How to access custom StateActivity In response to my previous query: http://forums.microsoft.com/msdn/showpost.aspx postid=498300&SiteID=1 I tried, using: _workflowRuntime.GetWorkflow(m_XOMLWorkflowinstanceGuid).GetWorkflowDefinition.GetActivityByName(" MyStateActivity "). MyProperty Without any luck. I am creating a stateactivity property called authorizedUsers. At the runtime I want to determine whether the current user has the access for nextState. ...Show All

  • Visual Studio Team System Retrieving of images from picturelibrary

    Hi friends, Hope everyone doing well... Here is my requirement: 1) Open a new announcement with url field 2) Think that some pictures are there in picturelibrary 3) We have to give the picture name in the description field. When we save this announcement we have to search the picture library with the given description name and store in the URL field.... we can do this one by creating a new webpart. But we can do this one by using javascript also. Please give me a good suggestion to implement this..... Hi, You should be able to find better webpart/SharePoint help in the SharePoint newsgroups. Check out the one on design and customization: http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/defa ...Show All

  • Visual Studio 2008 (Pre-release) BindingList<T>, works via remoting but not via WCF

    I have a custom list EntityCollection<T> which inherits from BindingList<T> When I try and get one of these custom collections through WCF I get an error similar to that below; >> Type 'System.DelegateSerializationHolder+DelegateEntry' >> with data contract name is not expected. Add any types not >> known statically to the list of known types - for example, by using >> the KnownTypeAttribute attribute or by adding them to the >> list of known types passed to >> DataContractSerializer. Im not using a generated proxy, I am using the same assembly both on the client and the server (this is a closed system) this seems to work fine via .NET remoting - how can ...Show All

©2008 Software Development Network