Learning VB's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. 3d model arrays and array positions
Hi everyone i've been messing around lately again trying to create myself a FPS engine and i'm working on making a level right now...so i'm using a plane thats been scaled up and i have made it into a array: Model[] planearray = new Model[10]; thats my code for it..i'm not sure if that will make 10 planes but i cant find out since they would all have the same location and rotation..so i want to know how i can have it so each plane has a different location.Can somebody help please Thanks xna3der xna3der wrote: That makes perfect sense!Thanks when i get a minute here i will try it out..again thanks! Now i have another question..will i have to have each one drawn separately or can i have them all dra ...Show All
Visual Studio Windows SDK July CTP breaks documentation - again
Windows SDK July CTP has once again borked my documentation. This time neither my MSDN Library nor my Visual Studio Combined Help documentation works. My MSDN Library link generates the following error message: --------------------------- Microsoft Document Explorer --------------------------- Microsoft Document Explorer cannot be shown because the specified help collection 'ms- help://MS.MSDNQTR.v80.en ' is invalid. --------------------------- OK --------------------------- My Visual Studio 2005 Combined Help loads but has completely lost all the help collections from MSDN, Windows SDK, .NET, and SQL Server. The only things left are minor third-party tools help. Repairing Document Explorer get's me a little further. My SQL Server 2005 d ...Show All
Visual Studio 2008 (Pre-release) SOAP intermediaries and message security
Hello. I’m developing a SOAP intermediary service for a scenario where message security (using the WSHttpBinding) is used. I’ve used the following technique: 1) The SOAP intermediary service (SIS) contract has only one operation, with a Message parameter and returns a Message. The current implementation simply forwards the message and the reply without any modifications. 2) The SIS uses the WSHttpBinding WITHOUT security and has a service behavior with ValidateMustUnderstand set to false. This way, all the security related headers are ignored by the SIS. The SIS also communicates with the ultimate receiver using the WSHttpBinding WITHOUT security. 3) The SIS endpoint dispatcher uses a MatchAllMessageFilte ...Show All
SQL Server How to get nextcounter for each row via a stored procedure and use it in insert into clause for each row
Insert into TestJobTable (BookNumber,BookCode,IsActive,SourceId,ContactNumber) select [exec getnextBooknumber 'Book'],BookCode,'1', @SourceId ,[exec getnextBooknumber 'contact'] from TestBookTableTemp where SourceId = @SourceId and BookCode not in ( select BookCode from TestBookTable where SourceId = @SourceId ) Here i have to select records from the temprory table and insert it into actual table. During insertion I have to execute stored procedure for two columns and get counter for that coumlumn for each row. What can i do Can any body please give me a solution of my problem even by using cursor Thanks ManiD Its look like a simple and common solution. Please guide me how can i change my Stored procedure to use ...Show All
SQL Server RDL generation problem
Hi, I am working with SQL Server 2005 Reporting Service from few days, though I am not expert, for some reason I have to run on field without having sound knowledge of RDL, but need your help, gys. I am using SQL Server Business Intelligence Development Studio to design report. Here is the procedure of my work to populate a RDL report I used a stored procedure for the DataSet of my RDL Then I drag and drop necessary field to my report layout. Put required parameters to preview tab and then run report. This is quite simple, I didn't face any problem with this process, even though the process may not correct, but working perfect. My problem is when the stored procedure returns multiple result set. The data tab only ...Show All
SQL Server First 4 symbols of a string truncated when inserting typed XML
Dear SQL experts, is it a bug or I'm understanding something wrong Please look at the script below. Is it a bug If yes, when can we expect it to be fixed and released Are there any workarounds apart from just not using xsd:string type IF EXISTS ( SELECT * FROM sys.xml_schema_collections c , sys.schemas s WHERE c . schema_id = s . schema_id AND ( quotename ( s . name ) + '.' + quotename ( c . name )) = N '[dbo].[TestSchema]' ) DROP XML SCHEMA COLLECTION [dbo] . [TestSchema] CREATE XML SCHEMA COLLECTION [dbo] . [TestSchema] AS N ' <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="TEST" elementFormDefault="qualified"> & ...Show All
Visual Studio 2008 (Pre-release) Sizing content to Parent StackPanel
Hi, I would like to know if it is possible to make content inside a StackPanel to automatically size itself to the size of the StackPanel. This is possible in a Grid, but I do not know how exactly to implement this with a StackPanel. Thank you, Jaco Thanks, that will work, but is there a way to do it without binding the properties The reason is that according to the people in WPF Land, a lot of bindings has a big performance impact. I will be having a variable amount of stackpanels, this will easily get huge. ...Show All
SQL Server Parallel Processing of Partition
Guys, I would like to thanks Elizabeth for a great document. Appreciate it. Under " Maximize parallelism during processing", I see the following bench mark. # of Processors # of Partitions to be processed in parallel 4 2 – 4 8 4 – 8 16 6 – 16 In our scenario, we have a huge dataset which means processing about 20 partitions in parallel. The box we have is a beefy box DL 585 4dual core CPU with 32 GB memory and we are using the 64 bit architecture. However when monitoring the trace I see the following:- 1 - Process Processing of Fact 2001 Partition 8:05:43 10:11:04 25 - Execute SQL S ...Show All
.NET Development !!!!!!!!!!!!!! .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3)
Hi all I have got a very big problem !! I have a Windows Service Application (Multithreaded) which runs since about 6 month very fine. It is developed in C# VS 2005. Now, I guess after some Windows Updates, the service does not work at all !! After starting it, it stops after about 10 seconds. It does not stop always at the same time, sometimes 10 sec. sometimes 30 sec. In the EventViewer I got messages like: ".NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3)" I have the same problem on Windows XP and Windows Server 2003. What is wrong What do I have to do to fix the problem I also already tried to uninstall Security Updates (Framework) and I installed VS SP1. Thanks very very much ...Show All
Audio and Video Development Focused Buttons and State not working.
Code sample below. My buttons are acting kinda screwy. I can activate them by clicking, but they exhibit the focus and active states only when I click. Focus is not happening when I mouse over. Also the buttons quickly get out of sync or something. I wonder if I am not dealing with state properly. < xml version="1.0" > <root xml:lang="en" xmlns="http://www.dvdforum.org/2005/ihd" xmlns:style="http://www.dvdforum.org/2005/ihd#style" xmlns:state="http://www.dvdforum.org/2005/ihd#state"> <head> <styling> <style id="BTNSTYLE" style:position="absolute" style:backgroundFrame="0" style:width="137px" style:height=" ...Show All
Visual Basic how to Extract the current word
hi there i am making an editor and i want it to autocolor some words so i done kinds of text search and it looks like nothing is flicker free so i wanna do something new here it is : i wanna search the current word and check if it is from the keywords or not and then color it so any ideas of a code for that i wanna split it for the text not select it Thanks In Advance Here is a simple sollution, everytime you press on the SPACE key,the codes get the last word typed. If the last entered word matches with one of the keywords you get the "it's there" message. Now you try to find how to color it.. Public Class Form1 Dim myWords(3) As String Private Sub Form1_Load( ByVa ...Show All
SQL Server SSIS expressions object model
Is it possible to use SSIS expressions object model If it is, what classes can be used Thanks in advance Expression Evaluator Class ( http://wiki.sqlis.com/default.aspx/SQLISWiki/ExpressionEvaluatorClass.html ) ...Show All
Visual C# using vs try catch
I know that using can be used on class that implement IDispoable so that the object can be diposed of when finihsed with. But how can execptions be trapped that are particulat to that class. For example I have using ( System.Net.Mail. MailMessage message = new System.Net.Mail. MailMessage() ) { code in between , what if i get a MailMessage error how can I trap that speciffically } thanks javahar you can combine try / catch / finally and using according to your case. try / catch and using are much different. try / catch is used for exception handling while using is used to ensure the object is disposed . So, if you want, just combine. for example. using ...Show All
Software Development for Windows Vista wmp video dsp plugin
hi everyone. I want to modify the video dsp plug-in sample from the wmpsdk. what I need is to present an image on top of the presented streaming video. the image needs to be created dynamically by input param like: width height location color and text. the final image will be a rounded rect. with text. I thought that the way to do this is to create a bitmap in the memory and paint it with gdi and then to load the value of each pixel to a buffer. with the values in the buffer I can change the values of the presented frame. to change the pixel values of the frame to diferent values is very easy and i know how to do this. but i do not know about the rest!!! is there a bet ...Show All
Silverlight (formerly WPF/E) What's likely to be in the WPF/E 1.0 release slated for first half 2007?
Browsing these forums I've seen a few comments suggesting that the first 1.0 release of WPF/E will be in the first half of 2007. If thats true, can we assume that 1.0 will offer similar features to the February CTP - ie basically limted XAML and Javascript I've also seen the odd comment saying that WPF/E is not due until 2008. If thats true (which I hope it isn't otherwise Adobe are going to win the RIA war before its even started), is it likely that that release would contain far more features such as a proper XAML layout and UI widgets and a proper CLR I'm just trying to figure out what the Roadmap is for WPF/E as currently the CTPs seem to be at such an embryonic stage that there seems little point in trying to build anything with ...Show All
