Monscheuer's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Reading compressed textures
Hi, I have been working on a small 3d project for myself and i was wondering if anyone can help or point me in the right direction. Im trying to read in dxt compressed textures, i have been reading about the format in msdn and have been looking for some source code or tutorials on how to read these formats in. Im using C# and MDX i have posted the the source code that i have been playing with so far, this is to read a DXT1 compressed image. If anyone has some sample code, links or a better way to go about this please let me know. Thanks for any help, -Dave // CODE SurfaceDescription s = t ...Show All
Visual Studio 2008 (Pre-release) Xbab applications not running from the internet
Hi there, I am trying to run an xbap application from this URL http://www.valil.com/winfx/Valil.Chess.WinFX.xbap (other xbab apps from the internet are not running either e.g http://www.charlespetzold.com/wpf/JeuDeTacquin/JeuDeTacquin.xbap ) IE 6 gives me an error message and wont let me run the app even though I have added the site as a trusted site. It runs if I get the source and compile and run it locally. It looks like a security issue. Can some one kindly tell me what I need to do get the app running from the internet The detailed error info is as follows: Startup URI: http://www.valil.com/winfx/Valil.Chess.WinFX.xbap Application Iden ...Show All
Visual C# How to add image collection in design mode?
How can I add image collection in design mode i need something that will look like the ImageList.Images property only that I need to the whole pictires in the list and not shrink them. thanks in advance I want to built a control that has array of pictures(among other things) and i want to have the ability to add picures to it from the design mode just like the ImageList.Image. but if I include ImageList it won't save the pictures(only thumb of it, but I want the whole thing) ...Show All
Visual Studio Team System Connecting to TFS failes
Hi, I have one server which exposes TFS to the Internet via HTTPS and it requires a certificate. I have two client-computers, one can access the TFS, the other can't. The one that failes shows the following output, when using the following commandline in a folder that has a workspace associated with this server: Commandline: tf get /recursive /noprompt > tf_get.log 2>tf_get_error.log Error: Team Foundation Server server.com does not exist or is not accessible at this time. Technical information (for administrator): Client found response content type of 'text/html', but expected 'text/xml'. The request failed with the ...Show All
SQL Server URGENT:spsbackup.exe gives logon errors
I am trying to Sharepoint Portal server with sql2005 on the normal everyday transactions everything works fine. However when we try to run SPS restore cannot we keep getting this error. This is VERY URGENT as we are trying to deploy a new site but cannot until issue is resolved. 'TWIG\Administrator' has already been given dbowner rights to all databases and can run backup but not restore. Error Message: Login failed for user 'TWIG\Administrator'. [CLIENT: 192.168.1.8] Surely someone has tried this these are two very popular applications but unfortunately there is nothing in the sps site or sql2005 to help with this issue ...Show All
SQL Server One SP that gets data from two DBs
Hi all I have two diffrent DBs (on the same server) and i need to run a query on both. can any one give me an example, please. thanks kob_kob You can simply reference tables in other databases by using a 3-part name. Ex: select * from pubs.dbo.authors If you want to do this at run-time then you need to use dynamic SQL. But the approach is pretty much the same. ...Show All
Windows Forms Image acquisition through VB .NET
Hi! As a VB .NET developer, I am going to acquire image from scanner and have it as an System.Drawing.Image in my program. As there are nothing about such task in the .NET Framework, I have to use an API. I have also read somethings about "Technology without an interesting name (TWAIN)" and "Windows image acquisition (WIA)". How can I do that Which API is proper I am much obliged to you for your assistance. Regards! M.Sadegh Samiei There are several image scanning components available from ISVs, some of which are listed here- http://www.windowsforms.net/ControlGallery/default.aspx Category=27&tabindex=1 ...Show All
Visual C++ __security_error_handler
Hi all, when i link my app against msvcrt.dll, it always notifies me that (german!) 'Der Prozedureinstiegspunkt "__security_error_handler" wurde in der DLL "MSVCR80.dll" nicht gefunden' this means that __security_error_handler was not found in MSVCR80.dll - the manifest looks like this: < xml version = " 1.0 " encoding = " UTF-8 " standalone = " yes " >< assembly manifestVersion = " 1.0 " xmlns = " urn:schemas-microsoft-com:asm.v1 " > < dependency >< dependentAssembly > < assemblyIdentity name = " Microsoft.VC80.CRT " processorArchitecture = " x86 " publicKeyToken = " 1fc8b3b9a1e18e3b " type = ...Show All
Visual C++ Linkage C, UNRESOLVED LINKER ERRORS.
I wanna use Linkage C in my code in visual Studio 2003 , when i add library file in Tools/Options in Lib section (in these case my library is C:\WINDDK\3790\lib\wxp\i386) I get linker error ! that can not resolve some things. test error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function "unsigned int __stdcall ATL::_AtlGetThreadACPThunk(void)" ( _AtlGetThreadACPThunk@ATL@@YGIXZ) test error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 test error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 test error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in funct ...Show All
Visual C++ OLE DB Connection problem with Crystal Reports 9
I have a C++ application that was implemented as OLE DB provider. When I create a report using Crystal 8.0 or 8.5 using OLE DB I connect to my application (it is displayed in the list of OLE DB (ADO) providers) and generate reports. When I try to do the same with Crystal 9, I have a problem: As well as in Crystal 8, I select to create a new connection, select OLE DB and select my application as a provider, select the data link file where I list the login and password information, then press "Next" and am gettiing stucked with the "Data Source" dialog. My provider does not support the data source and with Crystal 8 and 8.5 I connect  ...Show All
Smart Device Development Can not convert CCeSocket to WM 5.0
Hi all! I have a problem on WM 5.0. Anyone can help me. I have a project on Pocket PC 2003 and I use CCeSocket class to connect to the NET. Now, I want to convert this project to Window Mobile 5.0. I use Visual Studio 2005 IDE to convert it but VS 2005 not supports CCeSocket class. On the msdn documents, they say that CCeSocket encapsulates CAsyncSocket. I've replated CCeSocket by CAsyncSocket but the application still can not connect to the Net. I debug step by step and when I use connect function of CAsyncSocket, it is not successful. I get the error with the function GetLastError() and the return is WSAEWOULDBLOCK error "The socket i ...Show All
Visual Studio Express Editions Visual Studio Installation Express
Have just installed Visual Web Developer Express with SQL Express. Seemingly successfully Running the program for the first time and creating a "personal website" a suggested produces this error on attempting to view the newly created site " The file "\\fs01\Users\robin\My Documents\Visual Studio 2005\WebSites\WebSite3\App_Data\Personal.mdf" is on a network path that is not supported for database files." My PC is part of a W2003 domain and the My Documents folder is redirected to the User's home network drive. I don't want to change this. How do I place the database on a local drive Any hel ...Show All
Windows Forms Clipboard Screenshots
Hello, I'm looking to use the clipboard in my application. I see it can load images and text, and I was curious if it can load the currently present screen. Essentially, what I want to do is if I copy a control like the datagrid, do a screenshot. Is that feasible/possible Thanks. I tried this: Private Sub MainForm_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyUp If (e.Control) Then If (e.KeyCode = Keys.C OrElse e.KeyCode = Keys.X) Then My .Computer.Keyboard.SendKeys(Keys.PrintScreen.ToString()) End If End If ...Show All
SQL Server Log Shipping vs database mirroring
Hi Mvps: Whats the major difference between Database mirroring and Log shipping . I did read few differences but was told when it comes to applying the transaction logs on the secondary server , DB Mirroring has a diffferent methodology. Is that right . Please clarify. Thanks Database mirroring is functionality in the SQL Server engine that reads from the transaction log and copies transactions from the principal server instance to the mirror server instance. Database mirroring can operate synchronously or asynchronously. If configured to operate synchronously, the transaction on the principal ...Show All
SQL Server differential database backup query
Hi, I'm not 100% sure if my problem can be fixed but any help would be grateful, what I'm trying to do is discover what data in Great Plains is getting held in what tables in sql server. My idea was to take a back up of the current database, add a record and then compare the back up to the current system and get the differences. Does anyone know if this can be done. Thanks in advance. Jim You can try to run a trace on the GreatPlains tables/Stored Procedure to find out what you need. ...Show All
