haba's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Dream Build Play today?
Well it's just gone 9am UK time and as it's the last day of January I assume that the Dream Build Play website will go live today Roger Klado wrote: I have decipherd the Morse code. It reads as follows: Your morse code has a pretty good compression rate... ;) <snicker> ...Show All
SQL Server datatype map - Native ODBC driver
Hi, Our software uses native ODBC driver and Visual C++ 2003 to communicate with SQL Server 2005. SELECT xml_schema_namespace(SCHEMA_NAME(schema_id) ,name) FROM sys.xml_schema_collections. SQLDescribeColW returns -152 as the datatype for the column in the above select statement. However, I’m unable to find a preprocessor definition for -152. The datatype looks like an nvarchar. Is it an nvarchar Where can I find the definition for this datatype I have discovered similar problems while bringing back SQL_VARIANT types. The returned subtype of a SQLVariant comes up with -16 and -25. I cannot find definitions for these sub types either. Any help is appreciated. Regards, Venkat ...Show All
SQL Server sql 2000: how do i get the sp_helprotect resluts in a query
something like this: select * from sp_helprotect but that gives me an error Thanks An alternative approach would be to use the code listed below. The output from sys.sp_helprotect is inserted into a temporary table which you can then use in your own queries, useful if you want to perform JOINs or if you wish to manipulate the data. Chris IF OBJECT_ID ( 'tempdb..#tmpResults' ) IS NOT NULL DROP TABLE #tmpResults GO CREATE TABLE #tmpResults ( [Owner] NVARCHAR ( MAX ), [Object] NVARCHAR ( MAX ), [Grantee] NVARCHAR ( MAX ), [Grantor] NVARCHAR ( MAX ), [ProtectType] NVARCHAR ( MAX ), [Action] NVARCHAR ( MAX ), [Column] N ...Show All
.NET Development NetworkStream.Flush() disabled at NET 2?
Hi! My program sends more than one msg at a time, and I wanted to avoid the reciever to recieve it as one msg, eg: server.send("123"); server.send("abc"); the reciever would get "123abc". <<<<<---- not wanted ! I tried to use Flush() but it seem not to be working, plus, in the function description it's says something like "This method is reserver for future use."...... Any suggestions good people Hi, I have a little bit diferent problem. I need to send a message to a server and receive a message on the same connection. The server is not mine, I don't have access to its source code. If I close stream and reopen the TcpClient I can do that for ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3rd Party Software and 360 deployment
Howdy, One of my friends asked me an interesting question the other day. Will 3 rd party software’s be able to deploy to Xbox 360. After reading about Torque X my auto response was yes sure they can. Although after looking and digging some more I am not so sure. Without full 360 support and being not being able to testing everything myself I am left with some hanging questions. Will support for 3 rd party software deploying to 360 ever be released or would this go against the very idea of the creators club. As well I am not really sure if this correct but I believe that 360 binaries are basically the same as windows binaries and can be created through some means in .Net Framework if that is the case would this process eve ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can I load *-x files with UV textures?
First hello. I'm trying XNA and I'm so happy with its 2D features but, I have been looking for a method to load *.x files (with 3D graphics) and I have not found anything. If you can help me... Thanks a lot! As I suggested to shrrrt, It may be better to take the SimpleMesh and SimpleMeshRenderer and merge them into a single class. Heads up on using the .swm converted from .x Load the textures into a texture array. Texture2D [] Textures remove the 64.0f scaler when filling the buffers make Draw() render each batch (dont forget to set the textures (material name) ) ...Show All
SQL Server Permissions grants, denies don't take effect
Hi, I'm trying to grant/deny object permissions in a user database using Enterprise Manager and query tool without success (for ‘public’ role and individual sql logins). I’m not getting any error messages. Permission changes just don’t take effect. Although, there are few objects, which already have permissions granted and I'm able to change permissions for these ones. How can I change the permissions What are the actual denies that you are trying to set. Did you verify that they appear in the system catalog (server_permissions, database_permissions) Have you tried applying the denies using TSQL: DENY Thanks Laurentiu ...Show All
Visual C++ MMC Snapin in VC++
hello I need help to create icon in MMC snapin, in Resourse two bitmaps are created. one 16 color and another 32 color, whn i expand the result pane or Scope pane Item i need am icon representing the result in Result pane and Scope pane. Any help or code in VC++ will be appricated Thanks I'm afraid the question is outside the scope of this forum. The C++ Language forum deals with the VC++ 2005 language, compiler, and linker -- but not the use of third party or platform libraries and technologies. While most borderline issues are answered, and followed up, a great deal of these off topic questions are simply not given their fair attention. The reason is that many of the people here are specialized in their field, ...Show All
Windows Forms How to best update program
Hi My program consists of a exe-file and several .dll-files. To install the program I've created a setup-project. If I later on updates my files (exe and/or dll), how should I implement the update-routine 1. Make another Setup.exe (uninstall / install) 2. Manually copying the files Kind Regards The recommended way to update an application deployed with a Visual Studio setup project is to rebuild the project after incrementing the setup project's version and setting RemovePreviousVersions to true. ...Show All
.NET Development Typed DataSet Class not exposing its members
Hi all, I've made a Typed DataSet and create 2 DataTables manually. I added few columns for them and a relation between them. The ParentDataTable has a primary key which we can call Id and that field also is contained in the child parent. This field is the one that creates the relation between both tables. If I get to the code, I can declare a variable of the Typed DataSet type, but when I call for the methods, it does not show me those methods. I think it is not being generated so, I can not access the class members, like typed tables and row collections. I'm Using VS.NET 2005. Does somebody knows what it may be the problem thanks in advance Luis Diego Rojas Excelsus ...Show All
Internet Explorer Development IWebBrowser2:Navigate() Err under IE7
Hi, This is an IE7 specific issue since it's been working fine so far under IE6. If I try to use a URI using http or https protocols on a C++ app using the Navigate method, I always get the same error: Cannot find "https://domain/path" Make sure the path ot internet address is.... Note that using the file schema works just fine (ie file:///c:/test.html) Any help would be much appreciated, Thanks in advance, Fundamentally, this is by-design; navigating on another thread is not permitted and could lead to all sorts of problems. Obviously, the error experience is something that needs improvement. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Boolean property naming.
Normally in the .NET framework "Is" denotes a read-only boolean property, but in many of the XNA classes it is used on almost all boolean properties. Shouldn't XNA stick to the .NET naming conventions I know it is not in the class naming guidelines but most of the classes in the regular framework use the "Is" prefix solely on read-only properties. I think this could be confusing/misleading. ...Show All
Smart Device Development Windows Mobile using SSL Certificates
Here's the overview of the problem We have an Exchange 2003 Server running SP2 to enable use with the Windows mobile 5 solution (for testing). To enable the Mobile handsets to communicate with the server we have added an external ip address to the e-mail server. This address is configured onto the local handset and using the Remote push and Active sync software its able to scyncronise with our E-mail upon our server. Before we go "live" we would like to enable the SSL using the servers current Certificate. I've tried copying over this cert onto the handset manually but when I syncronise the handset it says that i have an Invalid certificate common name in teh host field. (Support code 0x80072F06). Do I need to re-create the Cert ...Show All
SQL Server Batch Jobs
Is there a forum, documentation, link, or anything that talks about batch jobs, what they are, how to create them, run them, etc Basically, everything I need to know about batch jobs thx, Kat Hi Jens, I've been working with version 2000. Running a batch job to me is different for instance than running a proc (I think)... typically a batch job runs overnight because it takes a long time. I'm not sure what the definition of a batch job is. I believe it is a script that is run that takes a long time. Any ideas Kat ...Show All
Connected Services Framework Could not find the CSF-Administration-OU Organizational Unit in Active Directory
I am trying to install CSF 3.0 on a machine joined to my domain. I choose Complete install, and leave the Optional Top Level OU box unchecked. I've also tried manually creating the CSF-Administration-OU in AD, but I get the same error. Am I supposed to have SSL Certs pre-installed before running CSF install This is from the MSI log: Property(C): SetCertificateList = SESSIONWEBSITECERTIFICATE,IDMWEBSITECERTIFICATE,PMWEBSITECERTIFICATE,PIWEBSITECERTIFICATE,SCWEBSITECERTIFICATE,NPWEBSITECERTIFICATE Property(C): DEBUG3a34 = 34 Property(C): DEBUG1a34 = 34 Property(C): SetSqlComboBoxSet = 1 Property(C): ORGDESC = CSFHOSTINGORGANIZATIONDESC Property(C): ERROR = No SSL Certificates in Certificate Store! Property(C): ERRORTRACE = &nbs ...Show All
