noyesar's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. ..... Okay VB.NET Users I have uploaded a zipped code version with Dlls attached ..... Tridexconsultants ....
foll the link below and download... http://www.tridexconsultants.co.uk/pages/DirectxClasses.htm I will be updating more soon as I crack more of the updates... ...Tridex.... Yes I have bben coding since last night upon down load, DLL are in the debug folder so just add refrence to project... ..Tride.. I will be uploading the 3d engine levler 3d for level design for all vb.net users (Directx9 soon to migrate as soon as I crack XNA) are there are some extended 3d math classes for vectors, matrix e.t.c I want to spead around... Have fun guys and lets catch up with vb.net games... .. Tridex .. Code for life... ...Show All
.NET Development Copying rows from one datatable to another
Hi I have a form which shows the order lines added to an order. These are displayed in a flexgrid. There is a button called 'Add Product' which shows a Product form with all the products in the database listed in a list box. The user can choose as many products as he likes and on pressing OK they should all be added to the flexgrid in the order form as they are now order lines. Ive got a problem with the 'Row Already belongs to another table' error. It occurs when I try to add a new OrderDetail datarow to my orderdetails table. The thing is ive read various sites and they all say this error occurs when you try to copy stuff from one table to another, but Im trying to copy rows from the Product datatable to the OrderDetails datatab ...Show All
.NET Development xml classes
I have a XML file. Is there any tool in .NET for converting XML files to C# classes .xml -> .cs I want to make classes and properties from xml Elements and Nodes. These classes are responsible for handling xml nodes and elements. How is it possible Example: < DataSource Name = " Test " > < ConnectionProperties > < IntegratedSecurity > true </ IntegratedSecurity > < ConnectString > Data Source=STATION3;Initial Catalog=Test </ ConnectString > < DataProvider > SQL </ DataProvider > </ ConnectionProperties > < rd:DataSourceID > e374e1ac-c69f-4fe1-a3f7-54da6e8c61c3 </ rd:DataSourceID > &l ...Show All
SQL Server Optimizing datediff
Hey all, I run a monthly delete that's recurring; delete data > 2 months old. For December, I thought up two ways to do this: Query 1: delete from daily_statements where daily_statements < '2006-10-01' Query 2: delete from daily_statements where datediff(month, statement_date, getdate()) <= 3 I've plugged in Query 2 into the job step because it can be run at any time without having to change the value, but it took 22 minutes to delete 2.5 million rows versus 4 minutes to delete 5.3 million rows for the other one. Is query 2 the best it can be Thanks! Use a variable to compare the dates: DECLARE @enddate datetime SET @enddate = DATEADD(month, -2, GETDATE()) SET @enddate = CAST(CAST(MONTH(@enddate) AS VARCHAR(2)) + '/01/' + ...Show All
Visual Studio Express Editions TaskbarNotifier from backgroundworker
With ref to John O'Bryne's great code to run a msn-like taskbar notifier http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp Please can someone help walk me through how to use this taskbarnotifer in a C# project and run a message "Your job is done" from a backgroundworker's RunWorkerCompleted event Basically I'd like to use the taskbarnotifier instead of messagebox.show Thanks for any help. That was very interesting. But I'm not sure if that band real estate will be available on all end users machines. I'm wondering if, with the msn messenger sliding popup I mentioned at the start of this thread, we could slap on a progress bar and run it that way... ...Show All
Visual Studio Team System VS crashes when trying to change database connection in a SQL Project after installing datadude
As the subject says, since installing data dude CTP 6 and still the same after CTP 7 when I try and change the connection string on the properties on a SQL project VS crashes. Multiple crahses have been submitted. I have tried reinstalling VS team suite but no luck. Any pointers or should I raise a bug in connect. Simon, Can you please describe the steps you are doing before observing the crash, starting from opening the VS instance. Does it also happen on the empty project. Which connection string you are changing. "Target Connection:" What was the value before. - Sachin Kumar (MSFT) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can Xbox360 controller use on PC for XNA Game?
Can Xbox360 controller use on PC for XNA Game I want to write the code about Input.So I need the xbox360's controller. Can I just plug the xbox360's controller into PC and run the XNA Game Or Should I connect to Xbox360 to run XNA Game for input Plenty of places now have it for sale http://froogle.google.com/froogle q=Wireless+Gaming+Receiver+for+Windows&btnG=Search+Froogle ...Show All
Visual Studio Team System Error when trying to create a new database project
I've installed VSTS 2005 Trial System, SQL Server 2005 Enterprise Evaluation System and Team Edition for Database Professionals CTP7. They are running on a fully patched virtual machine with 2000 Pro OS. I'm running as an Administrator and can create databases from both SQL Management Studio and from within Visual Studio. When I try to create a new database project I get the error: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)" Remote connections are allowe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Show off your website and/or game!
As part of our effort to reach out to the XNA community, we would like to create a special community page on the XNA Developer Center that links to YOUR site, game, or blog. Here's what you need to do, send me (David Weller) an email (click on my name link to the left of this post for the email address) telling me: 1) Your name 2) Your contact email 3) Your website or game (or blog) 4) (Optionally) If you send me a link to your game, please let us know if you give Microsoft permission to use your game as part of any press-related activities we might do (i.e., incorporate a screenshot/video of your game, etc.). Please don't reply to this post with links to your site/game, I need the information emailed to me. Thanks! ...Show All
Visual FoxPro View general field store PDF file problem
One of my table store pdf file in general field. Some computers are having problem to access the pdf file when double click on the control link to the general field. There is no error displayed but the pdf file's details won't display on screen. Please advise what are the possible error. Thank you. There are a total of 20 computers running windows access to my system to view the pdf file stored in a general field. Out of these 20 computers, only 3 computers are not able to open the pdf file from my system. I have tested these 3 computers and found no problem to open pdf file which not stored in my system. In fact I just need Acrobat Reader to access the pdf file from my system. I have tried to install Adob ...Show All
Visual Studio Express Editions Custom shaped buttons
I've made a form that has a custom shape and now I'm wondering if I wanted say a round button, do I have to do the same thing or is there a proper vb way Public Class Form1 ' Example uses 2 buttons , 1 named heartbutton, ' 1 named roundbutton, and 1 timer, Timer1. ' Suggest a form background image of someone ' whom you can place the heart button over ' their heart. Dim beat As Boolean = True Private Sub HeartButton_Paint( ByVal sender As Object , _ ByVal e As System.Windows.Forms.PaintEventArgs) _ Handles HeartButton.Paint Dim buttonPath As New System.Drawing.Drawing2D.GraphicsPath Dim newRectangle As ...Show All
SQL Server how to select this ?
hai , This is my Table . Table TN963 :- Access Allowed. TN963 :- Access Allowed. TN963 :- Access Allowed. TN964 :- Access Allowed. TN964 :- Access Allowed. TN964 :- Access Allowed. TN963 :- Door Not Allowed! Access Disallowed TN963 :- Access Allowed. TN963 :- Access Allowed. i want to select the values before :- in the above table . So that my output will be TN963 TN963 TN963 TN964 TN964 TN964 TN963 TN963 TN963 Cheers, Raghu.G Thanks . But the value of the no may differ . example TN9633 TN9636 TN9636 TN964g TN964eeee TN964w345 TN963ee TN963ffere TN963333rfref Now how to select that ...Show All
SQL Server How to recover from mdf file (SQL Server 2000)
Hi, My database corrupted because when I was running an update query, there is a power failure. After the computer booted, I cannot open the database anymore, it just not responding. Then I stop the sql server service, and tried to rename the .mdf and .ldf. After that it worked normally, but I need the data from the corrupted mdf file, I tried to attach the database but it just hanged. I even tried to attach without the .ldf file but it didn't work either, so I concluded that the problem is with the mdf file. Is there any way to recover my data Thanks in advance Regards, Edwin Hi, We'd tried that but we got no luck. Attaching the file in it's original name didn't work, the computer just ...Show All
Software Development for Windows Vista Missing IPendingWork as Parameter of WorkflowInstance.Start
Hi everybody, I am using WF to implemented a generic solution for human workflow. In this solution it is common use, that the creation of a business object triggers the creation of a workflow and the workflow gets a reference to the business object. The creation of the business object is encapsulated in an "Transaction" of an O/R Mapper which implements IPendingWork. The problem is, that the Creation of Workflow does honor an IPendingWork object, so I have to take care of dumping the workflow when the O/R Transaction fails which is not a good design. So - what if the Start Method has an IPendingWork Parameter Best regards, Thomas Thanks for describing your scenario! Yes, we're aware o ...Show All
Windows Live Developer Forums How Can I Change Msn State(Online,Ofline)?
I Want To Change Msn State(Online,Ofline) So How Can I Change You should probably ask this in a more relevant forum like: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=646&SiteID=1 Windows Live Id forum, you may get more answers there. Mark. ...Show All
