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

Software Development Network >> Amos Soma's Q&A profile

Amos Soma

Member List

azcoyote
einaros
Monjeman
alex121
Jim Ward
Paul Sanders
In Over My Head
DW Developer
Kevinmac
Afr0
lmttag
Kunk
John Woodiwiss
VOC
ackermsb
FinallyInSeattle
SabineA
Hugor
fatkas
brother14th
Only Title

Amos Soma's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with Buttons.Back

    I have several Microsoft.Xna.Framework.DrawableGameComponent derived objects that I use, one for each game state (the components are called MenuView, GameView). In MenuViews update method I check for back button pressed and exit the program. In GameView, I want the back button to take me back to the MenuView. So in the GameView update code, I check for it and if thats true set my state back GameStateMenuView. But the program exits anyways. This because the MainView also sees the back button as pressed. Is there a way to clear the button states or how do I handle this Thnx Matt You only change states when the button is released. You can set a flag in the GameView when the button is pressed and when the b ...Show All

  • Smart Device Development Getting and adding to resources

    i want to add and get some pictures from resources... using c# how can i do this.... See this sample. Make sure to adjust namespace and file name in the call to GetManifestResourceStream() to match your actual namespace and file name. ...Show All

  • Windows Forms SOS! How to put a combobox in a DataGridView's cell?

    How to put a combobox in a DataGridView's cell Attention! Not DataGridViewComboBoxColumn! Thx! ...Show All

  • Visual C# Msgbox

    How do you create a new line in a msgbox It says something about Chr(13) and Chr(11) Thanks Look into your  original post for the answer. The last option still aplies. MessageBox.Show( "First line" + Environment.NewLine + "Second line" ); Andrej ...Show All

  • Visual Studio Team System Can you add portal and reporting later?

    Hi all. I'm about to create a template that we will use at our company. We currently do not have any use for SharePoint nor Reporting. If we remove these components and realize that we want to use them at a later time, is it possible to add them to an existing team project Yes you can. You can get the portal by creating the site http://wssserver/sites/<project name>. You don't get the project templates this way, and you have to do it manually. Same with the reports. You should create a new folder with the project name under the root, to have it show up in the Team Explorer. You are on your own to upload the reports later on. ...Show All

  • Visual C++ #pragma must be first non-whitespace character...

    Hi, I'm wondering if anyone else has encountered this possible bug with the vc 2005 compiler. I was working through a series of OpenMP tutorials and had all sorts of obscure issues, either the code would compile but not run properly, or it would fail to compile with an error that "#pragma must be first non-whitespace character on a line". In the end I closed the cpp file and re-opened - the editor then warned that the file contained mixed LF and CR/LF line terminators. Converting to CR\LF then fixed the issues with the #pragma statements! So it appears that the pragma statements were not being treated correctly when the end of line terminators are not consistant Dave This issue is re ...Show All

  • SQL Server Difference between SSIS and Biztalk

    Hi Can anybody please tell me the basic differences between Biztalk and SSIS and when to choose which technology over other Regards, Sandeep Saran SSIS is just a small piece of BizTalk. BizTalk is more Business to Business (B2B). SSIS is more simply, data integration. I suggest you read the documentation for each on Microsoft's site to make your own judgments: BizTalk SSIS ...Show All

  • .NET Development Returning Objects to UI

    Hi, I am developing an application using ASP.NET web services I want to keep web Services as the business logic layer so basically my ASP.NET page will call the webservice and the web service will return appropriate data, in some cases I need to return my own class objects but when I try to return an object of some class i get an error Server Error in '/WebService1' Application. I figured it out. It worked when I added the Site property of the Component class. Then I had problems with loads of other properties. Eventually I created a helper method to iterate all base types of the type I want to deserialize, GetProperties(BindingFlags.Public | BindingFlags.Instance) and added these to an XmlAttributeOverrides object with the Xm ...Show All

  • Visual Studio Team System Why can we not delete objects from schema view?

    Hi, What is the rationale for only allowing us to delete objects from Solution Explorer and not from schema view Thanks Jamie So by having that source control plug in enabled you are not able to delete objects from Schema View mairead ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Infinite projection matrix

    Hey guys. I've the last couple of hours tried to implement an infinite projection matrix without succes. So I took a step back to see if I could even make some sense of the "normal" perspective projection matrix used by XNA. Normally I used the CreatePerspectiveFieldOfView() method to create the matrix. Here is what I've tried so far. What is XNA left-handed or right This code works but the view aspect is fu**ed up. Anyone who can clearify or better show how it's in XNA The infinite matrix that is. float Q = drawParameters.Far / (drawParameters.Near - drawParameters.Far); float yScale = 1 / ( float ) Math .Tan((drawParameters.CameraFov) / 2.0f); float xScale = drawParameters.ViewAspectRatio * yScale; infinite.M11 = xS ...Show All

  • Software Development for Windows Vista Winlogon notification support in Windows Vista

    Hello all, I had developed a Winlogon notification package in Win XP. On system startup event , the winlogon would invoke my module , which inturn displayed a banner. However in Windows Vista , the winlogon notifcation package is no longer supported. On further research I came across the document "Winlogon Notification Packages Removed Impact on Windows Vista Planning and Deployment.doc" which says that we can use SCM notifications or SENS. Unfortunately none of the two options support the "startup" event notification. I wanted to know if there is some other way by which I could recieve "startup" event notifications in Windows Vista Regards, Avinash starts ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems with UNICODE.

    Hi all Im using Visual C++ 2005 Express Edition.. Im trying to make a little game and when i was first doing it i was using the MULTIBYTE character set.. and i could display numbers for ( FPS , SCORE , ..ect ) using the DirectX 9 DrawFont and it worked fine.. Then i wanted to add some sounds to my game and i had to change the Character Set to UNICODE.. for the directx helper files DXUT, DXUTsound, ect... and now i can't display any numbers, I was wondering how to display numbers (int , float ..ect).. I have tryed converting the number into the LPCWSTR but i can't work it out being a newbie to C++ and DirectX SDK or if there is some way to use the MULTIBYTE char set and still have sounds in my game... this is ...Show All

  • Visual Studio Express Editions Using variable in connection string

    Can anyone tell me the correct way to use a variable as a connection string in an app built using an Access database in VB2005. My application needs to connect to different database files based on username. I currently set up a connection using the Data wizard, to a database file located in the App directory then Set up a new version of the connection using the string variable for each TableAdapter, in the form load event. This works, but is there a better way. The dataset.xsd will not allow me to use a string variable because of the concatenation in the string. Thanks in advance Sure, You can do this in a If statement or a Case statement. There might be better ways but I have used this in the past, its ...Show All

  • Windows Forms global assembly cache

    Hi when i compile my application it registre to GAC that give me problem with deployment. how can i give these registery information to release mode I want to avoid from GAC. regards I made a managed code that i can use in c++. the managed code creats a tlb file and register dll to GAC. i use this tlb file in my c++ code. how can i avoid this tlb and GAC my released dlls should not be in GAC. ...Show All

  • Visual C# Turn off "Are you sure you want to delete all of the bookmarks?"

    This is more of a minor annoyance than a real issue but if anyone has a solution I'd be very appreciative. When you delete all of your bookmarks from a solution in VS2005 (Ctl+B,Ctl+C) you always receive a confirmation dialog asking you if you're sure you would like to do this; does anyone know a way to disable this confirmation I've haven't been able to find anything in the Options (though I may have missed it) and I know that some VS options are really surfaced in the UI but can be controlled by registry keys. Has anyone ever ran across how to turn this off Thanks in advance, Jeremy Unfortunately there is no way to disable this dialog in VS 2005. Anson Horton Visual C# IDE PM ...Show All

©2008 Software Development Network