Bob30's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Equivialents to Mesh.Sphere etc in DX9?
Hi all, im new to 3d programming and XNA, and i am about to make a simple solar system explorer to get the feeling of it. I started out with DirectX9 sdk when i stumbled across XNA which seemed as a more friendly framework than DirectX. In DX, the Mesh class has a number of methods that returns a Box, Sphere, Cylinder and so on. I cannot find these methods or equivalents in the XNA framework. Is there an easy way to render such primitive objects without loading a model or providing vertices /Telle If you're just looking for simple geometric primitives, try Wings3D. It's free and not too hard to use. (hint: youre going to do a lot of right clicking ) ...Show All
Visual Studio 2008 (Pre-release) Bad request?
I am getting the following exception: TestCase 'TestGetBasket' failed: System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebRespo ...Show All
Microsoft ISV Community Center Forums VBA 6.3 String
Hi, My question is how do i access individual characters of a string in VBA 6.3 is there something like myString[0] thx ...Show All
Visual Basic O'kay so I now have a working application. How do I port it to other computers?
I can install VB 8 onto other computers along with my application, but that seems unusual. The other PCs never will be programming in VB. They want to just use my application. Question: Please explain to me in a step-by-step button clicking and dragging fashion how to do this. More Simple To Vb menu click build. Then outside the vb open the folder of Yr app. You'll find there a folder bin and there You have the exe file. Just run it and everything is ok ...Show All
Internet Explorer Development How to know when a tab is switched in IE7
Hi, i'm developing a toolbar to IE7 using the example in codeproject, using .net (c#). for each tab i get a new toolbar created, and i want to know whenever the tab is changed in IE. meaning, i need some kind of event, like a "tabchanged" event to register to. does anyone know about such an event is there anything similar that i can work with (SHDocVw or something) thanks Thanks, however, this event is a kind of "onfocus" event, and it fires each time the tab recieves focus. while when the tab is switched it receives focus and the event is fired, it fired at other occurrences as well: for example if we switch windows (say to other application than IE), and the focus returns to the tab ...Show All
SQL Server how to avoid copying multiples?
Our application is for load balancing in master/slave way. After processing the required job each slave has to update the master database with their database details. I created a SSIS package using SQL server import and export server to copy the database from slave to master. Then used this package in code to execute whenever there is some operation performed which makes changes to the database. While creating the package I selected the append rows to the destination table. First time when I execute slave copied the database. But when I execute the package second time it is again copying the rows which it already copied before. Is there any way to copy only those rows which are not exising in the master. Any help would be ap ...Show All
SQL Server How to include a single quote in a sql query
Hi Declare @Customer varchar(255) Set @Customer = Single quotes + customer name + single quotes Select Customerid from Customer Where name = @Customer I have a query written above, but i was not able to add single quotes to the set statement above. Can i know as how to go about it Early reply is much appreciated. Thanks! edukulla wrote: Nopes, here iam using a variable called "customer name" to which values will be passed in dynamically, so the query is like set @Customer = single quotes + customer name(variable) + single quotes Still not clear, a few more questions unless the other replies helped you. What kind of variable is customer name How do you want to execute the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graphics "filters"
Is there any easy way to achieve "distortions" in your rendering... ie, water ripple/distortion effects, blurring, etc... http://www.talula.demon.co.uk/postprocessing/postprocessing.html ...Show All
SQL Server VB 2005 with SQL Server 2005
Hi I am new with VB.net and I have develop a small program with Form and Sql Data base i am unable to access that program to another clients... I am able to run the program but can't connect the SQL Server Database... I have already give permission to remote connection to SQL.... pls help me ......in this regard asap thanks Rupinder Hi, What error do you get when connecting to your database Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Visual Studio Express Editions Debuggin the sql statement from Visual Studio 2005
Hi, I have an sql statement as follows sql = "UPDATE Clients SET Fullname=@Fullname where ClientID = @ClientID"; cmd.Parameters.Addwithvalue("@Fullname", fullname); cmd.Parameters.Addwithvalue("@ClientID", clientid); When i debug the code with adding break point i am able to see the values for the @Fullname and @ClientID. I really want to know if i can see the whole sql statement (the sql statement that is executed) as "UPDATE Client SET Fullname='David Jhon' where ClientID=3456" Thank you. Hi, You can use the sql profiler for that. Sql Profiler records all incomming sql statements in your server. This tool is readily available in SQL2005. Just hook the profi ...Show All
Visual Studio Express Editions how connect to database???
how can i connect to ACCDE database or how to cennect to Access 2007 database thnx USE ADO.NET with the appropriate provider: Learning ADO.NET http://msdn2.microsoft.com/en-us/data/aa937699.aspx Data Samples: http://msdn2.microsoft.com/en-us/vbasic/ms789075.aspx#data For connection string configuration see: www.connectionstrings.com ...Show All
.NET Development How to return the complement of a set with an XPath expression ?
Is it possible to write an XPath expression to return the relative complement of A in B (ie the set of all elements which are members of B, but not members of A) Here is an example: From the xml file below I would like to return the set of all pet elements in the genus 'canis', which do not have elements in other genera with pets of the same name. ie snoopy is the only dog without a namesake in another genus. < xml version="1.0" encoding="utf-8" standalone="no" > <Pets> <Genus name="canis"> <Pet name="snoopy" /> <Pet name="fred" /> <Pet name="lassie" /> </Genus> <Genus name="felis"> <Pet nam ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Adding textures to CDXUTDialog
Hi. I'm trying to create an ingame GUI with the CDXUTDialog. There is a possibility to add custom textures to buttons, checkboxes, etc. If I add an texture, it isn't aligned correctly. Does anybody know how to add a texture that it looks correct Cheers, Daniel Every GUI element (CDXUTElement) has the method 'SetTexture' which takes a texture ID and a rectangular area to be linked with the element. When your dialog draws its elements it stretches their textures from source ('skin' by the default) to the target position. If the source rectangle has the size of the target rectangle, the drawn texture will apear in its original size. So You should make sure that the source rectangle in the C ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using DirectX Input with Interactive Whiteboards
Hi, I am looking for a good source of knowledge on how to use DirectX Input with Interactive Whiteboards. As far as I know they just plug into a PC via the mouse and monitor connections. I would like to know exactly how to create a direct input device for gathering the input from one of these whiteboards. Currently I am using directx 9.0c, with Visual Studio Express C++. One example of the whiteboards we are targeting is... - SMART Board Interactive Whiteboard 600 series. Unfortunately I do not have regular access to a whiteboard, so I need to work from documentation. I have tried emailing support at Polyvision, Hitachi and Smart Technologies, but have not had any response so far. Any good leads would be appreciated. Che ...Show All
SQL Server Using VB.Net for Applications and the VBA Editor from Custom Components?
Hi, Is it possible to make use of VB.Net for Applications and the VBA editor from your own Custom Transform Components (like the script component does) I would like to create a component that generates boiler-plate VBA code and that then allows developers to add their own specialised code in certain methods using the editor (just like the script component) If so, is there any documentation anywhere on how to go about this Thanks in advance, Lawrie I believe you'll have to sign up for the Visual Studio Industry Partners (VSIP) program and downlaod the VSIP SDK. Here's a link to the program: http://msdn.microsoft.com/vstudio/partners/default.aspx . ...Show All
