fhunter's Q&A profile
Visual Studio Express Editions visual basic express edition & directx
Can Visual basic express edition use all the functions of directx If yes how can I get visual basic to work with it Good question. I believe it should be possible (although I don't have express) - you need to download and install the Managed DirectX SDK. then implement the appropriate resources/dll's etc... and develop away. http://www.microsoft.com/downloads/details.aspx FamilyId=1FD20DF1-DEC6-47D0-8BEF-10E266DFDAB8&displaylang=en there are samples in the library so load them and run them, if they run then yes you can develop and use the features of DirectX in the express editions ...Show All
Visual Studio 2008 (Pre-release) MediaElement is playing HD-movies slow in RC1
I've just upgraded my system from June CTP to RC1 of .NET 3.0. Rebuilding my projects worked without any problem but when i try to playback a HD-movie(720p) in a mediaelement i get unacceptable framerates. In June CTP the exact same movie worked perfect and i can't think of anything else that has changed in eighter my system or project that might affect videoplayback. Playing the movie in WMP, VLC or any other player works just as before. My system: Athlon 3200+, 1024mb ram, Radeo 9800pro 128mb, XP Pro, WMP 10 Have you used Perforator to see if you're falling back to software Have you updated your drivers (.Net 3.0 will fallback to software if video card drivers are not up-to-date) ...Show All
Visual Studio 2008 (Pre-release) How to limit mouse cursor area?
Hello to all! How I could limit the mouse cursor to specific area in WPF Thanks I think you'll find that blocking the mouse is counter-intuitive at best, and probably just plain annoying for the user that is supposed to *own* his cursor. I believe you'll notice most popular windows programs that offer drag support (i.e. windows explorer, office publisher, etc) will just stop the object at the boundary of the container, as is expected by the users. For dragging, have a look at the DragCanvas example , and the drag n drop with attached properties example , they'll give you plenty to experiment with. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vector to rotation, ie - point models 'forward' to their direction.
Imagine you have a model of say a plane, with a position (x,y,z) and a vector for it's movement. On each update you're adding the movement vector to the position - ok easy enough. You want to have the plane model always be rendered to move with it's nose forward. is there a simple way to translate the movement vector into corrolating rotation x,y,z. My high-school cartisian trig is a bit sketchy, but as I recall on a 2d plane from a normalized vector it would be like rotation.x = csc(y/x) (i probably have the trig identity wrong,but you get the geist of it). Want to translate normalized vectors v(1,0.5,0) into a rotation so models are facing the correct way for their movement. - anything built into xna for this There's real ...Show All
Windows Live Developer Forums Article: Want The New Bird's Eye Navigation?
Chris Pendelton wrote an interesting article on enabling the new Birds Eye navigation for Firefox 2.0. Thought everyone might be interested in looking. http://blogs.msdn.com/mappoint_b2b/archive/2007/01/03/want-the-new-bird-s-eye-navigation.aspx What do you think of the new Birds eye navigation I think it is vastly better but still not quite there. I understand they can't do a continuous pan becouse the image don't line up but having to click for the next tile is not intuitive. Birds eye is one the big features over Google and others, they need to get it seemless. I'd like to see an example of how bad it looks if it the tiles just loaded next to each other and we used the same interface as 2d and 3d. John. ...Show All
Windows Live Developer Forums Msn Web Messenger
I need Msn Web Messenger any can give me script. ...Show All
Software Development for Windows Vista Writing to Global Shared memory from an Application in Vista.
Hi all, Global shared memory is created by a service which is used by my user mode application to communicate with the service through global mutexes and events. This as of now works well in Vista RC1. 1) Are there any restrictions that an application should not write to global shared memory already created by service This application does not has any elevated privileges. 2) Can application created global named objects like event and mutex Again the application is running under a standard user privilege and not as admin. 3) Can a 32bit application on a 64bit machine get interfaces to a 64bit Local server COM object Is there any special processing required in the 32bit app or in the 64bit local server COM object. Regards, ...Show All
Visual Studio Express Editions View many database tables in one form
Hi. My program has a menu where you can choose between 90 database tables to view. My plan is to open another form with a parameter that says which table to show. So I have a form named Table. But the Table form needs to be able to choose between the 90 different tables. I drag and drop a table from the DatabaseDataSet, and thats one. But then I need to drag over another, and I got the problem. I need to be able to hide/'not create' all the other tables' datagridviews that I don't want to show. And without wasting resources on getting data from the other tables. Another problem is that the BindingNavigator (which I have modified) needs to operate with the chosen table. It has got a button which is going to export the table to Excel, and I' ...Show All
SQL Server help needed to drop a table!!!
hi, can any one tell me how to drop a table...i tried to delete using the command : drop table sample; but it displays an error stating that, Cannot drop the table 'dbo.sample', because it does not exist or you do not have permission. pls post the reply asap -Sweety check whether the table exists in the db at all... if exists , see who owns it.... give fully qualified name. in SQL 2005 select Name from Sys.Objects where name='tablename' Drop table databasename.schema.Tablename SQL 2000 select Name from SysObjects where name='tablename' Drop Table databasename.owner.Tablename Madhu ...Show All
.NET Development Copy unmanaged memory to multidimensional System.Array
Marshal.Copy(IntPtr, ...) will copy an unmanaged array to a 1D managed array. System.Buffer.BlockCopy will copy from a 1D managed array into an arbitrarily-dimensioned managed array. Anyone know how to do these two steps in one go (I want to copy directly from a 1D managed array into an arbitrarily-dimensioned managed array). If you look at the documentation of Marshal.Copy(IntPtr, Byte[], Int32, Int32) you will see that the method "Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array." The same applies to any of the variants whose arguments begin with IntPtr. I hope this makes my question clear. ...Show All
Visual C# How Visual C# is better than Java ?
Can u give me some points ragarding how the c# is better than java what is future of C# in compition with java The question is good. At first C# is more faster than Java. And C# is include .NET technology. This is a good reason for many programmers. And C# has a very improvment IDE (MS Visual Studio 2005) Have a good coding... ...Show All
SQL Server Upgrading from SQLS2K to SQLS2005
My organization is planning to upgrade sql server 2000 to sql server 2005. One of the main reason to upgrade, is to utilize new security(encryption) feature provided by the SQL server 2005. Our main aim is to encrypt few columns of the database tables. I am in a dilemma on how to encrypt tables which already has data in it We have VB application that uses SQL server 2000 as backend. I do not want to change the frontend. Is there any why we could save the data in an encrypted form without changing the frontend Thanks Ks Hi Raul, Great demo! Thanks for the suggestions, and the information you provided is very useful. Again, Thanks a million for helping me. I really appr ...Show All
Windows Forms Buffering Images HELP
Im not sure if this is the right place for this post, if not I apologize in advance this is my first time on the forum. My question is - I am trying to write an Image Viewer program that reads the file paths from the file system and stores them in a list. Then it loads the first 25 images into an Image list(the 25 can be set to whatever I want.). That all works fine. The problem is when you get to the end of the 25 and its time to add more images. It works but is EXTREMELY slow. I cant seem to figure this out and have been playing with it for a while now. Any insight would be appriciated. Heres my code for adding to the buffer - public void vScrollBar1_Scroll( object sender, ScrollEventArgs e) { Thread addThread; i ...Show All
.NET Development GetHashCode and Equals once again
I do not see how GetHashCode() and Equals() can ever successfully be implemented given the guidelines. I am assuming that one of the guidelines, apart from the well-known one of two objects being equal ( Equals() ) returning the same hash code ( GetHashCode() ), is that GetHashCode can not change during the lifetime of an object. Given this assumption it appears to me that GetHashCode must either be implemented on a totally immutable class, or that it must only use immutable data members of a class. Since this is the case, the Equals() function must also depend on either a totally immutable class or only use immutable data members of a class. To me this need to rely only on immutable data in a class defeats the entire purpose of object eq ...Show All
Visual Studio 2008 (Pre-release) How to implement ticket-based security using HTTP cookies in WCF?
Could anyone please enlighten me How can I achieve this in the following scenario 1. The client app calls an authentication web service supplying username and password in the SOAP header. 2. If the username and password exists in the system, the web server replies with an HTTP cookie with a ticket ID inside 3. Later on, the client app uses other web services, the ticket ID in the cookie has to be used to check if the client has permission to access. Basically, I think WCF allows us the manipulate the security token in the SOAP header so in step 2 if user/pass is valid, I can add the ticket ID as additionall security tags. But what if I have to manipulate HTTP cookies, how can I do that You can set the allowCookies propert ...Show All
