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

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

Sarah71

Member List

DazlerD
reborne
Mansoor Ali
Dave198026
Ravi Kite
.NETPhreak
jsmartfoster
MSBassSinger
Tomas Petricek
The Code Monkey
palestine
Gary200
LEPScapa
Tekdino
Mariano_60
ccote
Muzaffar_Ali99
Gondore
PerBylund
snegidhan
Only Title

Sarah71's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. HUD help: sprites drawing behind world

    I want the first screen of my game to consist of something similar to the intro of Valve's HL2 - a 2d menu drawn on a 3d background. I'm seeing my menu sprites and my world geometry, but my sprites are being drawn behind my models. I have my sprite drawing handled all within one object, called GameScreenManager. My 3d objects are all drawn within a GameLevel object. Both objects are extensions of DrawableGameComponent, and these components are both added to the Game class object. Inside the constructor of my Game object, I have set the following: gameLevel.DrawOrder = 2; screenManager.DrawOrder = 1; which, according to the hints, should cause the graphicsDevice to render the 3d stuff first and the 2d stuff second. All of my sprites have ...Show All

  • Visual Studio Team System Work Item Start/End Date

    How can I update the start/end dates in my work items Wayne In our environment we don't always use Project with TFS so I was contemplating turnning off the "readonly" flags on the start date and end date so dates could be entered manually within the workitem form if desired. The only downside I see is that if you do use Project it would overwrite these dates. Can anyone comment on this Is my assumption correct Rick ...Show All

  • SQL Server Integration services Globla variable and scheduling issue

    I have one main package from which i am executing 5 other packages.I want to use one single DB connection in all the packages which i am declaring in Main package and it should be available in all the child packages. How can i Do this Few Variables are common is all the packages so i want to keep it Globally so how can i access those variables How can i schedule package in sql server Thanks Instead of using variable, Can I use the same connection for child packages which I am using in Main package And if there is no other way then how can I asign a variable value(Connection Staring) to a Ole DB connection manager ...Show All

  • SQL Server SSIS Hung or Exited after a long foreach loop

    I am having some problem in running SSIS scheduled job. The job is processing (updating and inserting) batches of data using Execute SQL Task inside Foreach loop container. But to make sure the batch complete successfully I put the "Begin Tran" Execute SQL Task and "Commit Tran" Execute SQL Task before and after the foreach loop My workflow is like the following.... - Execute SQL Task "Begin Tran" - ForEach Loop Container for a batch of records. - Insert the records into the database - End ForEach Loop -Execute SQL Task "Commit Tran" if the above ForEach Loop complete successfully -Execute SQL Task "Rollback Tran" if the ForEach Loop failed Normally the insert records are around 10~200 ...Show All

  • Microsoft ISV Community Center Forums Help with a formula

    I need to write a formula for Excel that calculates the amount of fuel that is in a tank. Here is what it is for. We have cylinder tanks that lay horizontaly. Each month we put a dipstick into the tank to measure how many inches of fuel is left in the tank. I need a formula that will take that and calculate it into gallons. Here is the formula I have to work with. / -1 r - h \ V = L * | [ r^2 * cos (--------)] - [sqrt(2rh - h^2) * (r - h)] | \ r / Any Help is appreciated (BTW I am not the best at math so if possible an explination of this formula would be greatly appreciated) Hey man, The ...Show All

  • Audio and Video Development How to turn Subtitles off?

    Hi there, i tried the following to select subtitles and switch them on (or off) switch (g_sub) { case "de_sub": Player.subtitle.visible =true; Player.track.selectSubtitleTrackNumber(1); break; case "fr_sub": Player.subtitle.visible =true; Player.track.selectSubtitleTrackNumber(2); break; default: Player.subtitle.visible = false; break; } The first 2 "case" definitions works well. They turn german or french subtitles on. If "g_sub=='off'" the default definition should turn the visibility off. Right Wrong. the last selected subtitle is shown, although g_sub isn't "de_sub" or "fr_sub". How can I ...Show All

  • Visual Studio Express Editions Using button to browse a image file and load into database

    Hi im a begineer. the following is what I do. I created a database table and 1 of the field i put it as varbinary(MAX) let call this field "SmallPhoto" I drag the picturebox from the toolbox to my form1 and i drag a button to my form1 too. Now I need to configure that when i click on the button i can open an explorer to search for an image file and load into the picturebox, and click on the save button to save this image file to the database. Please advise how to do it as i am running out of idea. yep, lastly i had been watching the video clip from visualstudio.net for solution too... thanks in advance ok so this is a DateTimePicker problem, not a code problem really. After setting the Format property to Custom, you ...Show All

  • .NET Development web.config and environment variables

    I'm trying to impersonate a user using the web.config file. It works fine like this: <identity impersonate="true" userName="MyDomain\MyUser" password="MyPassword" /> Unfortunetly, we have multiple webservers and not all reside in the same domain. The user exists on each machine, but the domain is different. So I'm trying to do something along the lines of: <identity impersonate="true" userName="%domainuser%\MyUser" password="MyPassword" /> That line of code isn't working. Is there any way to accomplish this without having to keep different web.config files on each server Thanks for any help! Here is an excellent microsoft knowledg ...Show All

  • Smart Device Development DateTime Problem

    Iam using a Datetime in my database. I want the data to look like this 2006-10-15 00:00:00.000 But now I get it like this 2015-06-10 21:58:14.000 Iam creating a DateTime with this code: int Year = int.Parse(dateTimePicker.Value.Year.ToString()); int Month = int.Parse(dateTimePicker.Value.Month.ToString()); int Day = int.Parse(dateTimePicker.Value.Day.ToString()); int Hour = int.Parse(dateTimePicker.Value.Hour.ToString()); int Minute = int.Parse(dateTimePicker.Value.Minute.ToString()); int Second = int.Parse(dateTimePicker.Value.Second.ToString()); int MilliSecod = int.Parse(dateTimePicker.Value.Millisecond.ToString()); DateTime SelectedDate = new DateTime(Year, Month, Day, Hour, Minu ...Show All

  • SQL Server How to add calculated Facts in Measure Group

    hi, I am new to SSAS. i am working up on cube. I want to add calculated fact in the cube. like... Suppose we have fact table in which we have fields like (ID, Status) and status can have 3 values (1,2 ,3) . My requirement is Count of rows having Status 1 + Count of rows having status 2. How to accomplish this task. Additionally if dimension is required suppose i have Status(statusID) dimension also. Please provide me urgent solution! Thanks in advance. Mandip In the situation you describe, status should be implemented as a dimension. As a rule of thumb any time you want to report amounts "by" something, it is a good indicator that you should implement it as a dimension. ...Show All

  • Smart Device Development Close CameraCaptureDialog

    Hi all, I need help because I'm developping an application in C# on a WM5.0 smartphone (C600). In this application, I use the cameraCaptureDialog to take picture. Here's the code : public partial class Form1 : Form { public Form1() { InitializeComponent(); CameraCaptureDialog cameraCapture = new CameraCaptureDialog (); cameraCapture.ShowDialog(); } private void menuItem1_Click( object sender, EventArgs e) { Application .Exit(); } } So, as you can see, when i launch the application, there is the camera capture dialog and i can take picture with it. And when I have taken a picture, the camera dialog's closing and i can close my application with the menuItem1. A ...Show All

  • Windows Live Developer Forums Live Alerts SDK - auto subscribe bot user?

    Hi, I have access to a Live Alerts SDK account, and since our company creates MSN chatbots, I was wondering if the following is possible: I would like a bot's user be subscribed to an Alerts group automatically. Of course the bot first asks the user for confirmation "Would you like to receive the latest news via Live Alerts " I understand from the SDK docs that subscribing someone to alerts first requires a redirect to the sign-up page hosted on Live Alerts, in a browser . Is there really no other way What if my sign-up application would run inside a Messenger Activity. Could I somehow get the user's Live ID (since he already signed in on Messenger) and use that data to subscribe the user to an Alerts feed, all the time&nb ...Show All

  • SQL Server SSIS Script task to check for file existance

    Hi all, Let me apologize in advance for what I know is a very basic question, but so far I'm not being terribly successful trying to find sample code to learn from. I'm trying to write (my first!) .Net Script in SSIS to check for the existance of a file (since that seems to be the only way to do it). I've created the Script Task, with the following settings: PrecomplieScriptIntoBinaryCode = False (it complained at one point in time (possibly on validation)) EntryPoint = ScriptMain ReadOnly Variables = ProductBuyListFileLocation, ProductBuyListFileName ReadWrite Variable = FileFound Now the ReadOnly variables have the 2 components necessary for a file location, i.e.: ProductBuyListFileLocation = 'D:\Testing\Pro ...Show All

  • Windows Live Developer Forums First time

    Hello, I'm new at developing and the maps have caught my eye. This will sound silly to the pros but I have the code from the staging enviroment where do I put it I'm working with web developer express and visiual studio. I downloaded loaded viturl earth how do I get to the testing enviroment DEVNewbie Hi, Not sure what you mean by "code from the staging environment" as there is no staging environment nor code for VE. What do you mean by "downloaded virtual earth" Do you mean you downloaded the html file that points to the Virtual Earth control or did you download the entire Virtual Earth API ...Show All

  • SQL Server SQL Compact and OleDb Datasets

    I am considering using SQL Compact in a new project, but during my testing I run into the weirdest errors. I don't want to use the specialized SqlCeConnection, but rather OleDbConnection so the application supports any database (theoretically). I cannot get it to work with datasets though. In my small testapp, I can create tables, insert data and get data with raw sql sentences and OleDbCommands. But when I try to use a Dataset with DataAdapters, then I receive weird errors like: When I run DataAdapter.Update: System.Data.OleDb.OleDbException was caught Message="The given type name was unrecognized. [,,,,,]" Source="Microsoft SQL Server 2005 Everywhere Edition OLE DB Provider" ErrorCode=-2147217872 When I try to Conf ...Show All

©2008 Software Development Network