ADG's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. texture wrapping in XNA
Hi We're doing a school project, creating a 3d shooter game in XNA, and we had a lot of stuff working great in Beta1, but then comes Beta2 and woe for a change. First of all, the tilable texture we're using for the landscape suddenly isn't wrapping correctly, but turns into a bunch of lines going out from the texture in each direction, while anything not parallel with the texture is simply some blurry base colour of the texture. I've searched a lot for some wrapping method in XNA, but the closest is something with wrap0 which really isn't described how works, and I haven't made it work yet. Could someone please tell me how to make the texture repeat itself again I tried add the codelines into our shader, so it looks like thi ...Show All
Visual Studio Team System "Multi" not recognized word
Added "Multi" to the custom dictionary, however FxCop still comes back with error. e.g. "Correct the spelling of the unrecognized token 'Multi' in member name 'Fields.MultiHitSubmitCountEdit'." I have succesfully added other words to the dictionary but "Multi" does not seem to work. Any ideas Thx. This is a known issue, that the fix, unfortunately, could not make it into FxCop 1.35. This will be fixed in the next version of FxCop. 'Multi' was orginally added to our internal unrecognized words as exists in the dictionary, however, it is a prefix and is not considered a word. ...Show All
Visual C# accessing network drives from a windows service
Hi, I have a windows service currently written in c# v1.1 which I'm trying to port to c# version 2. What I am trying to do is to read all files in all root subdirectories of a network path and store the filenames in a database. My code for doing this looks like // get the list of directories string [] fileEntries = Directory .GetDirectories( ConfigurationSettings .AppSettings[ "FileWatcherPath" ]); foreach ( string fileName in fileEntries) { // do stuff } However it complains that it can't access the P drive, where the files are. At first I thought it might be a permissions problem, but even using the administrator account didn't solve this. Any pointers on how to do this ...Show All
Visual Studio Express Editions concerning media player
renee where do I post pause button code wow that sounds complicated.....but first....this is my pause button........ then I thought I would like a back button......dont know if it should keep repeating last song or not, at the moment it just rewinds the current track to start......mmmm what do ya think pause button Private Sub btpause_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btpause.Click If WMP.playState = WMPPlayState.wmppsPlaying Then WMP.Ctlcontrols.pause() tmr.Stop() ProgressBar.Value = ProgressBar.Value btpause.Text = "paused" btpause.ForeColor = Color.Aqua Else If WMP.playState = WMPPlayState.wmppsPaused Then ...Show All
Software Development for Windows Vista Vista not appending primary DNS suffix beyond one level deep, Anyone Seen this ?
This is new to Vista as XP works fine. When you simply set append Primary DNS suffix, the system should always append it, such that is your domain is mydomain.com, and you look up www, it should append so the FQDN=www.mydomian.com That seems to work fine, but if you do one more deep, such as www.test , you would expect as in XP and in DNS in general to append the primary suffix, such that the FQDN = www.test.mydomain.com Vista does not do this, and this is a very major problem for our company as we have many DNS zones and normally the user does not need to append the domain he/she is in and it should recursive lookup. It is not. We are not going to GPO 100 domain suffixes to each workstation just so they don’t have to type the & ...Show All
Windows Live Developer Forums Error
I cant get windows live to work. I keep geting this error code:8004882c Anyone know what this error is I will not close down my security just to get this thing to work. I will wait tell all the bugs are out of this prog. Windows messenger works with all my security progs running "so i will just stick with it tell then. Thanks Uleepera for your help. ...Show All
Visual Basic Display sum of records
Hello, I need to display on a form, on a textbox, the value of a sum of records that is on a Query on my database. I've the following code: con2.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=""C:\Programacao\Visual Basic\Inapal\ReportIt\ReportIt.mdb"";" con2.Open() sSQL2 = "SELECT Qtd FROM [TotalScrapQuery] WHERE ((Data LIKE'" & DateReport.Text & "') AND (Turno LIKE'" & ShiftReport.Text & "'))" da2 = New OleDb.OleDbDataAdapter(sSQL2, con2) ds2.Clear() da2.Fill(ds2, "TotalScrapQuery" ) con2.Close() How can I make something like ScrapBox.text=Qtd Thanks, Joao Pinto ...Show All
SQL Server Logging packages info
Hi! I want to log package info like when the package starts and ends, and write info to a sql server table. there are of course many ways to do this. I just want some opinions from you if you have some clever ways to do this. regards geir f ...Show All
Software Development for Windows Vista WinForms control positioning not the same in vista?
I have started using VS2005 with vista (SP1 + vista fixes applied) and some windows forms have some controls moved. Is this a known bug Thanks Hello. This forum is focused on individual application compatibility and logo issues and not Visual Studio related issues. A better place that could yield quicker results http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vstudio.development&lang=en&cr=US Here's another forum that may be of assistance: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=120&SiteID=1 Also try technet http://forums.microsoft.com/technet/default.aspx siteid=17 Thanks ...Show All
Software Development for Windows Vista Live UDF
Hello There, What is Live UDF Does the optical platform support third party UDF implementations How do we ensure compatibility of Live UDF with OSTA standard Rgds, Posting here to answer my own questions, somewhat, and to present these questions therefore in a different way... I found the reg key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\UdfsCloseSessionOnEject. This key is set via Windows Explorer in response to the checkbox the user can use to select/deselect close on eject. Presumably, I can twiddle this reg key in my program as desired in order to be able to eject UDF media with/without closing, using the IOCTL to actually eject the media. If this won't work, pleas ...Show All
SQL Server Current executing task
Hi everyone I'm trying to write a monitoring application for SSIS packages deployed on my machine. I know I can look at running packages via the DtsRuntime.Application object's GetRunningPackages method. Does anyone know if there is any way one can view tasks in that package that are currently being executed Cheers Sachin Ok. Thanks jaegd. Jamie - I realize that nobody has to answer. No offense intended. It was just that 50-odd people had viewed the topic and there hadn't been a response, so I was just thinking out aloud. That's all. ...Show All
Windows Forms Creating”alert” when new file arrives
Hello! I hope this is the proper forum for this. Every day a computer sends out new files to a certain folder in my computer. I am to check these files when they arrive, ASAP. However they come within a one hour window. This means that I have to check my folder every five minutes during the waiting time if I want to be able to check the files as they arrive. Therefore I would like to make some form of “alert” that notifies me when new files arrive in my folder, preferably but necessarily using audio. Is this possible If so how can you do it Any help very much appreciated! Thanks a lot in advance! I know I can minimize the window showing the folder and just have it at the corner of my screen but that is not very convenient as I ...Show All
Visual Basic error loading
Im getting a ERROR MESSAGE when i start my computer.. It says ERROR LOADING (C:\PROGRA~1\MYWEBS~1\BAR\2.bin\MWSBAR.DLL) and at the bottom it says, THE SPECIFIED MODULE CANT BE FOUND.. Im tired of seeing this message every time i start my computer.. can any one help I need to know what i can do to fix the problem This is a developer forum and as such the wrong place to ask this question - you are normally unlikely to get an answer. The best way to look up info on items like this is with the filename. One search on microsoft for MWSBAR.DLL brought up this - http://forums.micros ...Show All
.NET Development Trace.Refresh() call fails
Hello all. I am trying to catch changes in my app.config file and refresh Trace class on any change. I am using FileSystemWatcher class instance to be notified about any change. When the "on change" event raised i call Trace.Refresh(). However, i get exception each time it is happening. Exception says there is multiple access to the file. I tried to edit app.config from FarManager application's editor and from notepad. How i can refresh the Trace object without getting this exception Thank you Yes. It seems your guess was correct. I tested TraceSource instance with Trace.Refresh and it is updated. Very said news, since it forces me to create a single-tone object in the code while i have a built-in one. Hope t ...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
