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

Software Development Network >> anita punjabi's Q&A profile

anita punjabi

Member List

sk3636
Kevin Dente
lk_spec
Mobile_Mike
supagu
TobyM
G Holden
KJohnson530
spi
Jack Lucky Smith
djshades2004
Yonglun Li
One from
Ashish Derhgawen
chaza
JimMathies67
Hatter Jiang
BrianHks
Cool Screen Name
espeir
Only Title

anita punjabi's Q&A profile

  • Visual Studio 2008 (Pre-release) Generic exception handling strategy

    Hi, What is the recommended approach for exception handling on the WCF tier The SDK and some of the threads on this forum are stating that separate data contracts should be created to represent the various SOAP faults. Then, I am supposed to mark up the OperationContract methods with the "expected" faults (by the way, the documentation says that I can mark a service contract itself with a list of expected faults, but the compiler is claiming that it's only available for methods -- is the documentation out of date ). Then, in my service operation, I am supposed to wrap my calls (to business logic layer, let's say) in a try/catch block and provide mapping between specific exceptions and SOAP faults in the relevant "catch&qu ...Show All

  • Software Development for Windows Vista Rules Editor

    I must be missing something simple but I have been unable to use the "System.Workflow.Activities.Rules.RuleConditionReference" within my workflow (CAG specifically). Everytime I select this option and click the ellipse to add a New Condition , the popup closes. If I enter text manually in the ConditionName field and hit enter, it will create the worklow.rules file with RuleExpressionCondition line. Next I try to add the expression by clickin on the ellipse and I get an error "An item with the same key has already been added". I have hand coded a rules file using other examples in hopes of it being recognized but with no luck. Am I missing something Jesse I am able to create a new application and succesfu ...Show All

  • SQL Server Create Directory with a File System Task

    Hi! I'm having a bit of a problem implementing a File System Task to Create a directory and would appreciate some help if possible. I want to create a date directory so I can move files to once they are imported successfully. The date portion for the directory comes from the import file whose name is variable and in the format of PerfLog_<yyyymmdd>.aud. So, in essence, if I am processing a file named Perflog_20060913.aud, when I am done processing it I want to create a directory c:\myprog\20060913 and move my processed file there. Can anyone help me Please. Here's how I did it: 1. Create your File System task 2. Set Operation to "Create Directory" 3. Under SourceConn ...Show All

  • Visual C# Create Label At RunTime

    Hi, i am trying to create a label after a tree node is selected but it dosen't seem to want to work, the code i am using is as follows; this.label = new Label(); this.label.AutoSize = true; this.label.Location = new System.Drawing.Point(175, 38); this.label.Size = new System.Drawing.Size(38, 13); this.label.TabIndex = 2; this.label.Text = "The Created Label"; You need to add the label to a control. If you want it inside the treeview then add it to the treeview, or if you want to add it to the form, then add it to the form. Example for adding it to the treeview [which we will call treeView1]: treeView1.Controls.Add(newLabel); You need to do the location after adding it to the control, and re ...Show All

  • SharePoint Products and Technologies Sample required For Simple Scenario ?

    Hi all I need to provide a demo with the following features Want to have a wotkflow (say 2 level approval) start from sahrepoint and then send email to person to whome the arproval is assigned now from outlook the approval can approve or reject the request. Can any one share some code sample for this simple scenario. Best Regards Razi ...Show All

  • .NET Development How to Access Private Fields of Base Class through Reflection

    Hi , I want to get FieldInfo of private field of base class through passed object.How can i do that eg. I am using this : FieldInfo[] fields = objectInstance.GetType().GetFields(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public ); But it is returning only public data members of base class , how to get private data members of base class. Thanks, Nitin I hope that this can be useful Derived d = New Derived(); Type ty = d.GetType; List< FieldInfo> l = New List< FieldInfo>; l.AddRange(ty.GetFields(BindingFlags.Instance | BindingFlags.Public)); While  ty != Nothing {     l.AddRange(ty.GetFields(BindingFlags.Instanc ...Show All

  • Visual Studio Express Editions Display Problem

    I coded a car race program and everything functions properly, except for the display. The program is supposed to display the number of correct and incorrect choices made by the player depending on his selection, but my program isn't displaying either one. Instead, it is displaying the number of times the program is run. Here is the piece I think is not functioning correctly: Beginning... Dim sChoice As String Dim sResult As String Static iCorrectNum As Integer Static iIncorrectNum As Integer sChoice = lbxResults.SelectedIndex.ToString (From a list box with selections) ... (Area where I think the problem is)... If sChoice <> "No Guess" Then If sResult = sCh ...Show All

  • .NET Development Problem installing Microsoft .NET Framework 1.1

    Hi i need to install Microsoft .NET Framework 1.1 on my PC for a game i want to play(Lord of the Rings Online), i downloaded the dotnetfx.exe setup file(file version: 1.1.4322.573) and ran it then during the copying new file prosess i got the following error: "Error 1304 error writing to file: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\shfusres.dll Verify that you have access to that directory." So yea im kinda stuck as to what to do, any help with this would be really great. Much thanks. Yes i have sent the file to both of your email addresses..:) Now after downloading the file do one thing, First go to the temp folder and delete all of the contents which can be deleted, then also delete the windows\ass ...Show All

  • Visual Studio Express Editions initializing a structure ?

    Hello, I initialize arrays like this int temptijd[MAXFILES]; ZeroMemory(&temptijd, sizeof(temptijd)); Got a structure like this struct dagLijst{ // is een array van alle lijstnamen en hun parameters CString m_naam; int m_startTijd; int m_aantalFiles; int m_news; int m_totaalTijd; }m_dagLijst[4][MAXFILES]; and trying to initilize like this ZeroMemory(&m_dagLijst, sizeof(m_dagLijst)); But that does not seem to work, how do i handle this Thx You're destroying the CString object m_naam. Fix it by using a constructor rather than using ZeroMemory to initialize the structure. For example: struct dagLijst { dagLijst() { m_naam = ""; m_startTijd = m_aantalFiles = m_news = m_totaalTijd = 0; ...Show All

  • Audio and Video Development iHD Specification

    Is there somewhere I can find detailed information on each method, parameter, object, etc for iHD Thanks Peter, thats what I figured. By any chance are you going to be going to the HD DVD Professionals Workshop in LA next Tuesday ...Show All

  • SQL Server SQL Server Mng Studio

    Is there a way to open a seperate window that contains a table's column information that you can copy by row/columns. The Object Explorer does not have this option. I have been opening up the Table/Modify tab but I dont like to do that since it has writable information for the table. Also it can only be set as a tab and not as a floating window so you can move it and resize it to what you need. In RapidSQL it is called a describe window. I use it as a quick reference when using a table. Column name Data type Primary key indicator... Also create to copy column info to paste into your stored procedures. Thanks hi, how about running this query select * from sysc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get Angle from Thumbstick?

    Is there a way to get the angle from the thumbsticks of a XBOX360 controller If up return 0, right 90, down 180, left 270. this is how I crudely did it: if (currentGamePadState.ThumbSticks.Right.X != 0 || currentGamePadState.ThumbSticks.Right.Y != 0) { if (projectileTime == 0) { Vector2 vel = new Vector2(400, 0); float rad = 0; if (currentGamePadState.ThumbSticks.Right.Y == 0) { if (currentGamePadState.ThumbSticks.Right.X > 0) { vel = new Vector2(400, 0); } else { vel = new Vector2(-400, 0); } } else if (currentGamePadState.ThumbSticks.Right.X == 0) ...Show All

  • Internet Explorer Development Internet Explorer Toolbar (Menu Bar) disappeared after installing IE 7

    I use yahoo as my homepage, when the "Get IE7 now!" appeared in the toolbar, I clicked on it and installed it. Big Mistake so far...Here's the problem, after installing my IE menu bar (toolbar) containing "File, Edit, View, tools, help" vanished and I can't figure out how to retrieve it or get it back. I have checked and it is not hidden behind another toolbar. Along with that, The IE blue bar at the top & small bars at the bottom contain no information of the URL (webpage) when pages are loaded. In the Yahoo toolbar, under the pencil icon- there is no standard toolbar listed anymore. Also my tabs disappeared from yahoo and under the toolbar options there no longer is a check box to "Enable Tabbed Browsin ...Show All

  • Visual Studio Team System TFS utilizing existing Sharepoint portal

    Hi all We are looking at implementing a TFS install fairly soon for our production source control. I've been looking at the eval version for the last week or so and have encountered a problem with one of the requirements I've been given. We have an existing Sharepoint portal (2003) server that we have our company intranet on. We are trying to determine if it is possible to configure TFS to create project sites on the sharepoint server as opposed to the app tier. If anyone has any feedback on this it would be much appreciated. P. Hello, Thanks a lot for your patience. Here is the link to the whitepaper: http://msdn.microsoft.com/vstudio/teamsystem/reference/technotes/tfs/conf_for_remote_ss.aspx Hope this helps! ...Show All

  • Visual Studio Team System Unit tests not run when building ASP.NET site

    Hey. I just created a team build for an ASP.NET site with unit tests. However, the tests are not run and I'm not sure where to begin looking. Could anyone help me out The BuildLog.txt states: Target CoreTest: Creating directory "C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\..\Sources\..\TestResults". __________________________________________________ Project "C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\TFSBuild.proj" is building "C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\TFSBuild.proj" (RunTestWithConfiguration target(s)): Target RunTestWithConfiguration: TestToolsTask MetadataFile="C:\DailyBuilds\Tove\ToveDailyBuild\BuildType\..\Sources\Ebutik\Ebutik.vsmdi" TestLists=& ...Show All

©2008 Software Development Network