boban.s's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Invalid Search Path
Hmm...there are always problems with the express versions of the Visual Studio Components, I think...under VC++ Express + Platform SDK the compiled EXEs won't run on other computers and now here with Visual C# Express and XNA Express Beta the compiler can't find the correct LIB Path. The funny thing is, that the Installation routine has named the installation path "Microsoft Visual Studio 8" but the compiler tries to search the LIBs in the Path "Microsoft Visual Studio\VC98\Mfc\lib"...I searched the whole IDE to find the place where I can reset the LIB Path, but it seems Microsoft has decided this feature to complicated for Express Users :D I Installed Visual C# Express on the D Drive because the C Drive ist ONLY for OS ...Show All
Visual C# Changing application icon based on build configuration
I have a C# application with different projects in the solution. I need to change the application icon based on build configuration. I have different build configurations for branding the application. I can change the icons and splash screens without any problems. The only problem is the Application icon which is used to show in the taskbar and in Windows Explorer. Is there any way to change this I would also like to change the output exe name. Is that possible Thanks. Got it figured out. I manually edited the NewsClient.csproj and coped the <ApplicationIcon> section from the common <PropertyGroup> to my specific <PropertyGroup> and it picks the right icon based on my build ...Show All
SQL Server index question???
I do have a dump table "table1" Table1: UniqueId varchar(4) scandate datetime courseno varchar(5). This table is not related to any other tables in the database. This is used to track the student attendance for a particular course. There can 60000 distinct uniqueid's in the table and 300 disticnt courses. I query this table most of the time on uniqueid and coursecrn combination. This table can grow up to 5 million records. can anybody tell on what fields do I have to create indexes and also of what type(clustered or non-clustered). This table doesnt have a primary key. Thanks ya scandate is datetime datatype. is this the final solution you suggest: 1. create pr ...Show All
SQL Server Yet another 1603
I am trying to install SQL Server 2005 Developer over an existing 2KDE install on a W2KP-sp4 workstation. I always die in the same place during the Tools install with an error 1603. I have tried moving the install files from the DVD media to a local hard drive with no luck. I will tack on the last core.log Microsoft SQL Server 2005 Setup beginning at Fri Sep 08 18:21:29 2006 Process ID : 3748 D:\sql2k5_install\tools\setup.exe Version: 2005.90.1399.0 Running: LoadResourcesAction at: 2006/8/8 18:21:29 Complete: LoadResourcesAction at: 2006/8/8 18:21:29, returned true Running: ParseBootstrapOptionsAction at: 2006/8/8 18:21:29 Loaded DLL:D:\sql2k5_install\tools\xmlrw.dll Version:2.0.3604.0 Complete: ParseBootstrapOptionsAction at: 2006 ...Show All
SQL Server Whats wrong with my SP
Whats wrong with my stored procedure i thought i am declaring the varible when i write this check it out can some one help me out thanks!!!! CREATE PROCEDURE dbo.GetCompanyDEMO [ @CompanyName nvarchar(40) ] As Select ContactName, ContactTitle, Address, City, Region, Phone FROM Customers C Where C.CompanyName = @CompanyName Hi Joeydj, This is correct. But, he should use 'Companies' table :) Good Coding! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All
Smart Device Development jpeg too large, cannot convert to bitmap due to out of memory
Hi, Platform is windows mobile 2003, pocket pc. I am trying to display a 2048x1536 jpeg image (which is about 200Kb in size) but in order to do that I need to create a bitmap representation of it first which is 2048x1536x3 around 10 MB at which moment I am getting an out of memory exception Any ideas on how to display the image, bearing in mind all I want really is to display a thumbnail of it say 320x240 Thanks, radu this is the error System.OutOfMemoryException: OutOfMemoryException at Microsoft.AGL.Common.MISC.HandleAr() at System.Drawing.Bitmap._InitFromMemoryStream() at System.Drawing.Bitmap..ctor() at SD221.Form1.button1_Click() at System.Windows.Forms.Control.OnClick() at System.Win ...Show All
Visual C# True Copying Reference-Value Objects
I have stumbled upon the following problem: Given an object (any reference-value class) O1, how can I copy it to another object O2. O1 = O2; //will only copy the reference, but I want a new object being exactly identic to the old one. Also, how can I do the same thing on an Array int[] arr1, arr2; arr1 = arr2;// also, doesn't work, only copies the reference Hope I made myself clear enough. Thanks in advanced. Hi have a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1119209&SiteID=1 Hope this helps, please close the thread if it does ...Show All
Smart Device Development Testing QoS on WinCE 5.0
I am trying to test QoS on WinCE 5.0 platform with a wireless adapter. I understand that the Chariot endpoint for WinCE doesn't support thia. Anymore ideas Thanks Julian This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Visual FoxPro Forcing code into a Click Event
I have added a grid to a form. I'm using the code below to control the contents of the grid. I want to react when the user clicks on Column4.Text1. How can I add an IF...ENDIF set of code to the ThisForm.Grid1.Column4.Text1.Click event WITH ThisForm.Grid1 .RecordSource = 'viols' .Column1.ControlSource = 'viols.oxv' .Column1.Width = 83 .Column1.Header1.Caption = 'Current status' .Column2.ControlSource = 'viols.violation' .Column2.Width = 320 .Column2.Header1.Caption = 'Violation' .Column3.ControlSource = 'viols.allowed' .Column3.Width = 81 .Column3.Header1.Caption = 'Violation Amt' .Column4.ControlSource = 'viols.new_oxv' .Column4.Width = 104 .Column4.Header1.Caption = 'Change status to:' ENDWITH ThisForm.Grid1.Column4.Tex ...Show All
Visual Studio Express Editions Compiling two *.cs files together using visual C# 2005
I have been using C# for some time and I was able to compile two *.cs files together by giving command something like \> csc Myfile.cs utility.cs My utility file holds frequently used Methods and Procedures used in my other Programs. Now I have started using Visual C# 2005 but I do not know how to attach my utility file to other program files. So please help. Thanks. Rajaram e-mail - rkagashe@yahoo.co.in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Generate D3D-Texture from System-Memory-Data ?
Greetings everybody, My primary aim is to use the Images from several video-Streams as Textures on a system with several D3D-Devices, and I also need to use these Video-Textures partly on more than 1 Device. As sharing resources between Devices is to my knowledge near to Impossible, I deveolped the Plan to use a modded VideoBaseRenderer, put with that one the captured Video-Images in System-Memory, and generate my Textures with my D3D-Devices using the Data stored in System-RAM. So I plan to avoid the problem of unshareable Resources...But I could not find good advice on how to put my RAM-Data in a D3D-Texture. So thats the point I need assistance... I found 1 hint, that I should somehow put a BMP-Header in Front of my Data and use a D3DxC ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Skysphere Demo
It's finally all working, thanks for all the help! I've created a Sky Sphere demo to help me figure out how to do such a thing for my game. The texture for the sky sphere gets distorted around the poles, and I haven't figure out how to fix that, but otherwise it looks pretty cool. If you're interested, I've uploaded the source code and artwork to: http://www.spellflight.com/GameModels/SkysphereDemo.zip Here's the readme: Skysphere Demo By Michael Billard mike@sbillard.org This Windows XNA demo displays a sky sphere and a simple model that flies around the game world. You can control the model's rotation and position. You can also control the camera rotation and camera position. Background texture by NASA. Models and te ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I protect my code when distributing it?
Having read the FAQ. I noticed that in order to share your game creations (and lets face it, you can't get recognised without sharing your games), you need to send the other person the entire uncompiled game. This includes sourcecode, graphics, music, sound etc. etc. They then compile the code and download it to their xbox360 account and then only if they too are on the games creation program. My key worry here is that you send them everything you have just worked incredibly hard to create. Presumably they can then send this stuff on to whoever they please and god forbid, even sell it on! It strikes me that there isn't much incentive to distribute things this way. How is Microsoft going to prevent the above scenario Is there going to be a ...Show All
Visual C# Help with File Extensions Lookup
Hey all I need some help with file extensions. I want to be able determine which program uses an extension. For example, if I put in .xls, I want it to tell me "Microsoft Excel". Or if I put in .doc, "Microsoft Word". I know Windows Explorer knows which program uses which extension based off the registry. However, I don't know if .Net allows you to get there. If anyone can help me with this in C# or the CLR library I need, please post! Thanks in advance, Nitwit I did find this link http://www.pinvoke.net/default.aspx/shell32.FindExecutable Check it out to see if i'm off base here. ...Show All
Microsoft ISV Community Center Forums Replacement for VBA
I know Access 2007 will continu to support VBA, but for new applications I would like to use a .NET based solution. VSTA and VSTO come to mind, but VSTA is currently only available in Infopath 2007 beta, and VSTO v3 only gives you the ability to create application-level add-ins for Access. Will VSTA or VSTO document-level integration be available for Access 2007, and which one would be the best replacement for VBA in Acces-applications Hi Willem <<I know Access 2007 will continu to support VBA, but for new applications I would like to use a .NET based solution. VSTA and VSTO come to mind, but VSTA is currently only available in Infopath 2007 beta, and VSTO v3 only gives you the ability to create ap ...Show All
