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

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

eduar_hte

Member List

William Watts
ykgreene
gougliak
VoiceOfExperience
BirDene
Marlin7
Janxels
DRoden
Ricky Patel
Whoisit
Vishalk1983
fabianus
Kevin Hoffman
komomomo
Eric Wellnitz
BertVK
Se7en20
zoomer
Martin Lundberg
p.cosmos
Only Title

eduar_hte's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Extensions for Alias Maya 7

    When will the export X for maya 7 be released Or is there a way to convert 6 binary or 6.5 binary too work with 7 Right now, the quickest way to get Maya 7 support in the Maya Preview Pipeline is to compile it yourself (the code is available).  While I haven't tried it, it should compile fine with 7.0 once you set up the paths to the 7.0 version of the Maya SDK. ...Show All

  • Visual Studio 2008 (Pre-release) Problem with animating camera's FieldOfView property

    Hello, I have got a problem working with animation. I want to animate camera's FieldOfView property, but I get an error, which says that FieldOfView property is not a dependency property. Here is the code: DoubleAnimation myAnimation = new DoubleAnimation(); myAnimation.From = Camera.FieldOfView; myAnimation.To = Camera.FieldOfView + 5; myAnimation.Duration = new Duration(TimeSpan.FromSeconds(5)); Camera.BeginAnimation(Camera.FieldOfView, myAnimation); The error occurs in the last line of code. Is there a way to solve this problem It is a dependency property try Camera.BeginAnimation( PerspectiveCamera .FieldOfViewProperty , myAnimation); ...Show All

  • Windows Live Developer Forums custom doesn't cleanup after switching between Hybrid and Road views

    I seems to have problem cleanup the custom map once I switched between Hybrid and Road views. The custom map layer works good when first call it up (in Road view). It's still good if I zoom-in or zoom-out right after callup. But if I switch to Hybrid view, then switch back to Road view. Then anytime I zoom-in or zoom-out, there seems to be a left-over custom layer staying around (a fixed size rectangle with custom map). Any idea what may be causing it The code I have was cut/paste from the sdk, except I changed the .png path and the lat/lon location. When I run the sdk sample with the same steps, it works fine, without the cleanup problem. My custom map folder was created using MapCruncher. Derr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. When I run the programe ,there is a exception !please help me

    when i run the First XNA Game ,there is a Exception ! I didn't know why can someone help me error like this this.graphics = new Microsoft.Xna.Framework.Components.GraphicsComponent(); this.GameComponents.Add(this.graphics); it said that The values used in the attempt to create the GraphicsDevice were invalid. THAT'S where you add that line of code I've added it twice & now I do exactly what you did & it works w/o the upgraded card....Oh my thank you sir! Thank you! *runs off like a maniac*   Do I still need a better graphics card or no Hmm ...Show All

  • .NET Development Modify objects in SortedList

    How do I easily modify objects in a SortedList or in similar Collections classes If I create some person objects with information with i.e. age and income, and then store them in a Sorted List like (almost pseudocode): class Person ( int a, int i) { int age = a; int income = i; string name = "Anderson"; } Person p1 = new Person(25, 40000); Person p2 = new Person(35, 50000); SortedList sl = new SortedList(); sl.Add(1, p1); sl.Add(2, p2); Now I want to change income of p1. What I would like to do is to directly access the p1 object and modify the income, like: sl[1].income = 45000; But it seems to me I have to do something like this: Person p = (Person) sl[1]; p.income = 45000; sl.SetByIndex(1, p); // assumin ...Show All

  • Windows Forms Read a value of Datgrid cell...

    Hi, How i can read a value of a cell in DataGridView... I have 2 different types of columns in my application . If user selects values of all the 2 columns of 1st row & then he presses a button...so on that button click event i have to display value on my form using 3 lables. My columns are of textbox(1st column) & combobox(2nd column) type. So how i can read these user selected values & display it on form with lable on button click event... Thanks in advance, Vinay Thanks for your immediate reply... Can i select 1st value of each cell in my comboxcolumn on loading of form... I want user to see the 1st value of each cell in my ComboBoxColumn when he loads that form... ...Show All

  • SQL Server Looking for query equivalent

    To extract a certain type of information we use a query like this in Oracle: WHERE MOD(TRUNC(ACCOUNT_TYPE / POWER(2,0)),1) > 0 I am hoping someone can help me with the equivalent query syntax for sql server Scott Does POWER(2,0) mean "two to the zero power"   If so, why not just write 1   It appears that POWER(2,x) mean the same in both dialects. Does MOD(x,1) mean MODULUS   Are you wanting the fractional part of x   If so try x - floor(x) I am guessing that floor(x) is the same as TRUNC(x) The "Modulus" operator in SQL server is the "%" operator; for instance 17%3 = 2; 21%10=1 Give a look to "Mathematical Functions" in books online  (Somebody check ...Show All

  • Visual Studio 2008 (Pre-release) Browse of service.svc returns text

    After installing the sample application I tried to browse it at http://localhost/servicemodelsamples/service.svc What was returned in the browser was the text of the file - <%@ServiceHost language=c# Debug="true" Service="Microsoft.ServiceModel.Samples.CalculatorService" %> Any suggestions why Thanks, Tom The .svc extension is simply not mapped to the WCF Runtime in IIS. Try executing the following command: "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" /s:W3SVC For additional info I recommend the following blogpost: http://blogs.msdn.com/wenlong/archive/2006/09/10/748294.aspx ...Show All

  • Windows Forms DataGridViewComboBoxCell

    Hi.. I add combobox in datagridview in this way. DataGridView1(1, index) = New DataGridViewComboBoxCell CType (DataGridView1(1, index), DataGridViewComboBoxCell).Items.AddRange( "1" , "2" , "3" ) So now in the combobox I can see 1, 2, 3 to choose from but how can i do if i want "1" is from column 2 from "table" from Access database And "2" is from column 3 from "table" from Access database and so on for "3" from column4 I mean I dont want to add items manually but instead look up from the database and add accordingly Please help.. Thank you. if i do this CType (DataGridView1(1, index), D ...Show All

  • Software Development for Windows Vista How to get Vista theme's highlight color?

    I am running in Vista with the Windows Vista Basic theme. I am trying to get the background and foreground color of a selected item in Windows Explorer. With the Vista theme, I understand that the system colors are not used so I can't rely on GetSysColor(COLOR_HIGHLIGHT) and GetSysColor(COLOR_HIGHLIGHTTEXT). I have tried GetThemeColor but don't get the results I was hoping for. HRESULT result = 0; COLORREF crBackground = 0; COLORREF crForeground = 0; HWND hwnd = GetForegroundWindow(); HTHEME theme = OpenThemeData(hwnd, L"Listview"); if (theme != 0) { result = GetThemeColor(theme, LVP_LISTITEM, LISS_SELECTED, TMT_FILLCOLOR, &crBackground); result = GetThemeColor(theme, LVP_LISTITEM, LISS_SELECTED, TMT_TEXTCOLOR, &crFor ...Show All

  • SQL Server what directory are my nightly backups (.bak) files written to?

    where in sql server 2005 ( and 2000 for that matter) do i find the path to the location where backups are placed (.bak files) is there sql i can use to find this out I also thought about the default setting first, but then it struck me that there's no guarantee that any given backup actually used the default path, so I thought it'd better to look at the backups taken just to be sure. =:o) /Kenneth ...Show All

  • Visual Studio VS 2005 Trial version prevents usage of purchased Standard version

    After my VS 2005 Professional Trial version expired I purchased the VS 2005 standard version. I de-installed the trial completely (or so I thought), including hours of registry cleanup. Nevertheless the newly installed Standard version is not recognized, I still keep getting the message that the Trial of the Professional version has expired. Anything I can do short of reinstalling the computer I am dealing with this same issue. I am going to have to send for the Trial disc again ti reinstall to uninstall. By the way, support says they do not support Trial versions. You are on your own, with the exception of great help by people like Gabriel. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3DERR_NOTAVAILABLE while build of first example in help how to do

    I used to code in pascal, cobol, assembly, basic, etc, but not C. From: Your First Game: Microsoft XNA Game Studio Express in 2D following along and doing the first build, I get the error above. I did not think I was calling the 3d engine only the 2d. I cannot find any help on the error, where to look, etc, except what is in the error window when you cursor over it. I cannot figure out how to copy the error in that popup window to look at it further. I know some dislike nubies, but please help if you know the answer. Its disheartening to type in only 6 lines of code and not be able to debug it! To say the least. Thanks OH OH OH, I figured out how to copy the error: Error 1 Building content threw InvalidOperationExcept ...Show All

  • Visual Studio Express Editions migrating from standard C++ templates to Visual C# generics

    Hi. I've been programming on C++ for a few years and now I'm getting started with C#. I must say that this language, plus the garbage collector, saves lots of headaches when programming. However, I seem to miss a subtle, but highly useful feature from C++. In C++ I could do something like that: // Note that this code is C++, not C# class n_aryTree<class T, int N> { private: n_aryTree<T, N> children[ N ]; //Array of pointers ... Now, if I try to do something similar in C#, I find that I can't: the T parameter is no problem, but the N one is impossible to put there: it seems to be that C# generics only allow type parameters (the ones I used to declare in C++ as being of the 'class' type). Is there any way to get a equivalen ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compile in Release

    I am in a huge rush right now. Between VS2003 and VS2005 they moved where you choose whether you compile in Debug or Release mode. Where is it now I have manually added the drop-down box to the tool bar, but it's grayed out. This is extremely frustrating and critical to testing DirectX stuff. Inside the build menu there is only: Build, Rebuild, Clean, and Publish. As for Project Settings, I am guessing you mean Project Properties. And yes, I can access that through the Project menu or right clickong on the project in the Solution Explorer. (And to think that the VS2005 help had a three line article saying: "Select from the Solutions Configuration drop-down box on the standard toolbar& ...Show All

©2008 Software Development Network