Shiva3Al!3n's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. F14 XNA Game with Full Source
Well here it is. I finally got my first game into a releasable state. Screenshot, video, and full source available after the jump. http://aroganworld.blogspot.com/2006/09/f14-xna-game.html I couldn't have done it without the great help from this forum (and all those xna sites). Let me know what you think. Yeah let me know if you have any issues. I did d/l the zip, unzipped it to a new directory, compiled and did a test run so I think it should work. Also, I just remembered I forgot to hook in the game over voice clip. Oops. It's in the sound bank, I just forgot to trigger it so I'll probably update the zip tonight when I get home. It was a late night last night. Damn you Microsoft for making this time si ...Show All
Windows Forms Question about accessing properties, methods from a user control
Hello! I have a problem which is frustrating me. Why won't the roperties and methods that are inherited from my custom user control work on my Win Form I have declared the properties and methods as Public and Intellisense "sees" the property if I call it from the Form. But, the frustrating part is that the property does not work. It is a simple property that changes the string value of the text on a label. The label's container is a ToolStrip. Here's the property: Public Property DisplayApplicationStatus() As String Get Return Me. label1.Text End Get Set ( ByVal value As String ) Me .label1.Text = value End Set End Property As I stated earlier, VB.NET "sees" ...Show All
Visual Studio Team System How do I list the changes between one label and another?
I applied a label to the root folder of my Team Project ($\OSPACS) to mark the release v1.0 to my customer. A few months later I applied a further label to $\OSPACS to mark release v1.1. How can I obtain a list of the files that have changed between the two versions It seems that the only way I can do this is to copy v1.1 into my workspace ('Get a Specific Version' ), select each file in the Solution in turn and then compare it with the version in the repository that has been labeled v1.0; a very long and boring process! Does anyone know of any tool that can make this sort of task easier Is there a better way of doing this The old Visual Diff tool allowed me to list the changes between two directories and then perform a diff on a se ...Show All
Windows Forms How To: Create Custom Form with Custom Controls
======================================================= Development Environment: Visual Studio 2005 Language: Visual Basic.NET ======================================================= I want to create a custom pop-up type form that appears when a user hovers over certain controls on the main form. The form should have different controls depending on which control the user hovers over. I know how to create a new form: ---------------------------------------------------------------- Dim x as New Form() ---------------------------------------------------------------- Then I am pretty sure I can do something like: ---------------------------------------------------------------- Dim textbox1 as new TextBox() ---------------------- ...Show All
Software Development for Windows Vista standard user cant write to admin created file
Hi, I used to have a file on XP under Documents and Settings\All Users\Application Data\AppName that contained info for all users by having each user add a section to it. On Vista I need to store All Users data under C:\ProgramData\AppName. I am using the ShGetFolderPath with CSIDL_COMMON_APPDATA, so that works out fine and I dont need to change anything. However if the first time I use my app and create that file is under the administrator account I can not write to that file while logged in as another user, a standard limited user. I can create a new file under that limited account, but I cant write to a file created by an admin. Is there any way to get passed that, besides having a different file for each user stored i ...Show All
Visual C# C# - MACTripleDES and the ANSI 9.19 MAC standard
I'm trying to implement ANSI 9.19 message authentication code for transmitting data to another company. This is a banking standard to create a MAC over the bytes of your message. The target recipeint specifies a '2DES' mechanism for doing so, and describes the algorithm. I'm using the MACTripleDES class and AFAIK it is implementing the same algorithm, but the answer out is not what I expect. Having set the class type as TripleDES, the padding mode to the correct Zero padding and with the correct Key, I still get the wrong answer. Has anyone used this calss to implement this standard Is this the same as Retail MAC A brief synopsis of the algorithm is: 1. Pad the data with zeros to ensure it is a multiple of 64 bits in leng ...Show All
Visual C# Sample code for printing a TIFF
I'm looking for sample code for printing a hard copy of a multi-page TIFF file . The TIFF file has been supplied by another system over which I have no control. I think this means using GDI+, which I have never used before. The MSDN GDI+ docs seems awfully complicated where I just want to do something really simple, don't I Thanks for any help. You can load Tiff image to a Bitmap object and then you can use property Bitmap.FrameDimensionsList to get multiple pages and then iterate through all pages using Bitmap.SelectActiveFrame to save each frame in an array of Bitmaps, This way you get all images of a single Tiff seperate then you can print them! Working with GDI+ and Tiff see this Article and ...Show All
SQL Server Displaying Data of a Cube over Web
When you use BI Dev Studio or SS Management Studio to process an Analysis Services database or object, there's a nice dialog box that shows very robust status and progress information. Is there any way to capture this information if you are processing something programmatically Specifically interested in both the ability to capture and display this information to a user when processing via a custom application. Also interested in whether or not there's a way to capture this information to a log (or table) for display and analysis after the fact (or if the custom application is running in a batch mode via a schedule). Thanks, Dave Fackler AMO doesn't provide the list of supported columns ...Show All
.NET Development Microsoft OLE DB Provider for Oracle (0x80004005) ORA-12154: TNS:could not resolve service name
Hi, I am new to ASP and MS technologies. I have one application in ASP with backend as Oracle. I am able to login to application and when i am clicking on a link to expand it, i am getting this error "Microsoft OLE DB Provider for Oracle (0x80004005) ORA-12154: TNS:could not resolve service name " Earlier for the same operation i was getting error " Error Type: Active Server Pages, ASP 0113 (0x80004005) The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools." To overcome this i increase the script execution time. After this step i am getting this TNS error. I know ...Show All
SQL Server SSIS File Validation
Hi, I have migrated a DTS pakage into SSIS. The DTS package validates a Textfile Source File using an ActiveX Script task. Could somebody tell me how to validate a FlatFile in SSIS. Based on whether the file exist or if exist then whether its empty or not, I have to execute a database proc. It'll be very helpful if somebody can assist me in this. Thanks in advance. Neetu Hi Ramani, Thanks for the reply. Actually I tried to use Scrip Task but i get stuck at the code. As i mentioned that the package is migrated from DTS so it has got the DTS code that validates the file associated with a FlatFile Connection manager. Since SSIS doesn't support DTS Object model, I need to know ...Show All
Windows Live Developer Forums MSAJAX 1.0 conflict with V4 API. Sys.InvalidOperationException. V3 API is fine.
Hi Guys, Been trying to use the new V4 API in my application but I get this error when I call the LoadMap method function GetMap() { map = new VEMap( 'myMap_myMap' ); map.LoadMap( new VELatLong(53.278353017531821 , - 2.153320312500008) , 5 , 'h' ,false ); ***** Get the error here when I call LoadMap. Microsoft JScript runtime error: Sys.InvalidOperationException: Object Microsoft already exists and is not a namespace. Can anybody please help me to find the problem. V3 of the API still works fine without any problems. If I remove AJAX references from my page the error goes away. Unfortunately, I make heavy use of MS Ajax 1.0 and can't get around it. thanks, SoS ...Show All
SQL Server OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
Hi, I have one client and one server. In both hosts I created an OS-user named User1. The user have been given various role under the prefix SQLServer2005. The default instance of SQL Server and instance (background-process) of Analysis Service are also run under User1. I connected via Management Studio to Analysis Service directly in the server. I set the permission to access Analysis Service to Everyone. This means everyone should be able to use Analysis Service. I have set ODBC data source to the server. Testing was successful. I created a project to create a cube. The tables are fairly small (total 300 MB, biggest one 290). On project setting (created at client) I set the server host as deployment target. I ma ...Show All
.NET Development datatables and dataset.readxml() problems
I'm running into inconsistencies with loading certain XML into a dataset. What happens, is when I normally load xml into a dataset with dataset.readxml(), it creates datatables for every element with child elements and creates relations among them. my problem is that when I read in xml with a specific element/object in it, it does not contain the root node as a table and only contains the child tables of the root table. the code I am working with requires that the root table be present. The code/xml looks similar to this: XML: <response> <info> <code>blah</code> <desc>desc</desc> &l ...Show All
SQL Server RDA unable to pull data
Hello - I am trying to pull data from SQL Server 2000 database onto my Pocket PC and the simple query works on Northwind sample database but does not on another custom build database. I did test the statement in the SQL Query Analyzer and it works. The error I get is: "Failure setting up a non parameterized query, possible incorrect SQL query." I know the code is right - thanks to Rory B's screenscasts. Any guidance will be greatly appreciated! Thanks! Moldau Here is the code: private void RdaPull() { try { //Create the database if ( File .Exists( "\\My Documents\\Test.sdf" )) File .Delete( \\My Documents\\Test.sdf ); SqlCeEngine engine = new SqlCeEngine (); ...Show All
Visual C++ how to use GetText in vc++ MFC?
Can anyone tell me how to use GetText Function in vc++ MFC.... i need to get the text from a pagemaker file... please help me... GetText is used to get the window text not anything related to file. You can call it with window handle and a buffer to get the text. char buff[100]; GetWindowText(handle,buff,100); handle should be the valid handle of the window. What you are trying to do is something not possible with default API and the way you are approaching is wrong. If you read something using files, you should know what is the format of Pagemaker file. then only you can get correct data. else it will be some junk values. ...Show All
