qrli's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. How much of a 3D engine will be included in the XNA Framework?
In the DX samples there are the samples framework. Will that be built upon or will there be a separate 3D engine included or downloadable - What I am looking for is some kind of scene graph - Lighting and materials - Shader loader, constant setter etc. I am guessing since Torque are releasing their engine for this we will not see a full featured engine included but will there be an embryo that is more than the DX sample framework Regards Joachim We're not providing a 3D engine as part of the framework, but we are providing several things that point in that direction: A much nicer effect API, along with our new Model class, makes it considerably easier to get graphics onto the screen ...Show All
Software Development for Windows Vista Convert TextBox to StrokeCollection
hi friends, anyone of you know how to convert a TextBox object into a StrokeCollection form. I tried it using the StrokeCollectionConvertor to convert a TextBox to StrokeCollection but it was giving an error which specifies that it is unable to convert a TextBox to StrokeCollection. I need this conversion so I am able to save the textbox into a file by calling function called inkcanvas.Strokes.Save method but before calling this function we have to convert TextBox to stroke or StrokeCollection. So, please help me... Hello Abhas: There is no way to convert a TextBox into a StrokeCollecion. InkCanvas.Stroke.Save will only save ink data. You cannot store text or controls in this format. Sorry to keep asking you to clarify. I've been ...Show All
SQL Server Calling SSIS packages from within a Script task
Hello, I was wondering if someone could point me in the direction of any sample code or documentation that allows you to execute SSIS packages from within a Script task In SQL Server 2000 DTS this was accomplished by instantiating the DTS.Package object and calling either the LoadFromSQLServer or LoadFromStorageFile method. I have not been able to find any similiar logic in the SQL Server 2005 SSIS environment. Any help would be greatly appreciated. Thank you, Gordon Radley I have tried as you explained. Nothing happened. I have a top package from here I call another package which contains only script task. In this script task, the package is called as below. ---------------- ...Show All
.NET Development Web Server File List
Hi :) Is anybody aware of the way to get a list of files and dris located on web server along with their headrs size , date modified etc.. oh, interesting! ;-) firstly, will this be executed locally on this webserver if so, take a look at the System.IO.Directory and System.IO.File and System.IO.FileInfo classes. otherwise, you could FTP into the web server and obtain the information that way using the FTP classes in .NET 2.0 If you can confirm my question, we can proceed further! Thanks! ...Show All
SQL Server Who can execute sp_adduser ?
I tried to execute the sp_adduser system stored procedure, but I always get an error saying that I don't have permission to perform this action: Msg 15247, Level 16, State 1, Procedure sp_adduser, Line 35. User does not have permission to perform this action. I've tried to execute sp_adduser with different users: one that is a member of the db_accessadmin role, the database owner, and even a member of the sysadmin server role. In all cases, I received the error showed above. Is there some problem with this stored procedure I know that SQL Server 2005 recommends using CREATE USER, to add users to a database, but I couldn't get it to work with a user name and a password as parameters (combined with CREATE LOGIN). ...Show All
Visual Studio Team System Question about Version
I downloaded and installed the Visual Studio 2005 Team Suite 180-Day Trial version. When I am installing, I see the SQL Server is Express 2005. But I find by Microsoft, Visual Studio 2005 Team Suite should be included Developer Version Which one should be original The setup for VSTS install SQL Server Express RTM version. I recommend not to install it and download the latest version from www.microsoft.com/sql . The developer edition of SQL is not part of the 180 days trial and the full version for that mater. If you have an MSDN subscription you can download that version from there. Good luck ET ...Show All
Windows Forms Error result returned from Resgen.exe
Hello. I have some kind of strange problem during compilation process. ------------------------------------------ Technical Info: IDE: MS Visual Studio.net 2003 Language: C++ (Managed) ------------------------------------------- The Situation: I have a simple windows forms project which contains a single form and some Janus UI components (Outlook navigator panel). If I compile the project with the Form1.Localizable property set to true it gives me the error message "Error result returned from 'Resgen.exe' " but if I make it false it works just fine. this problem disappears if I remove Janus Components. The Question: What's the problem and how I could solve it ------------------------ ...Show All
Smart Device Development Troubles automatically connecting to the net...
My internet app works fine when my Treo is connected to the dev system. When I pull it off, it doesn't see the connection. In order to prime-to-pump I need to launch IE. When doing so I get a balloon saying "Connecting to: Broadband access, Using : Cellular line". After that my app has no problem making the connection. So it would appear that there is an extra-special call I need to make to ensure connectivity. Anyone know what that might be you need to open the connection line. My code is as follows, it is used to open GPRS: CONNMGR_CONNECTIONINFO ci = {0}; PROXY_CONFIG pcProxy = {0}; DWORD dwStatus = 0; DWORD dwIndex = 0; HRESULT hr = S_OK; HANDLE hConnection = NULL; HANDLE hOpen ...Show All
.NET Development How to get Database information in ASP.NET
Hi, I am making a project which is very customizable and don't depend on any database. What we have planned is to get information of the particular database (server ip address, database name, database type (ms-sql, mysql, oracle etc)) at run time from the user. Now my question how can i get the tables and other information regarding that database in ASP.NET please help me out ... i am searching for it but can't get any clue. Since you are attempting to support several different database types you will probably need to use either the System.Data.OleDb or System.Data.ODBC library. In any case, the assumption here is that an OLEDB provider or ODBC driver is already installed in addition to any client software required to access the da ...Show All
Visual Basic How to get computer name
Hello How can I get my computer name Thanks Sorry for the delayed response. Here is a better example for you. This example encapsulates the API call for you in the MasterBrowserList Class. 1. Create a new class file for you project and paste this complete code: Imports System.Runtime.InteropServices Public Class MasterBrowseList Private Const MAX_PREFERRED_LENGTH As Integer = -1& Private Const NERR_SUCCESS As Long = 0& Private Const ERROR_MORE_DATA As Long = 234& Private Const SV_TYPE_WORKSTATION As Long = &H1 Private Const SV_TYPE_SERVER As Long = &H2 Private Const SV_TYPE_SQLSERVER As Long = &H4 ...Show All
SQL Server Problem with Linked Servers
I am trying to link a sql 2000 server to a sql 2005 Server. I setup the link to the sql 2000 box from the sql 2005 (x64, Enteprrise) box using SSMS. Both boxes have the same Windows domain account that I'm using for auithentication. (I also selected the Impersonate option in SSMS) When I run a simple query on the sql 2005 box referencing the sql 2000 box ( select * from sql2000Box.DBName.dbo.tblName) I get the error message: OLE DB provider "SQLNCLI" for linked server "sql2000Box" returned message "Invalid authorization specification". Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "SQLNCLI" for linked server "sql2000Box" reported an error. Authentication failed. Msg 7303, Level 16, State 1, L ...Show All
SQL Server Problem with creating directory by SQL server on a remote shared folder
Dear all, I now have 2 server, say serverA and serverB. ServerA has a SQL server and I am using a command in the SQL server to access the serverB. The command is: declare @command varchar(500) set @command = 'mkdir ' + '" \\serverB\abc\kevin_wong123 " exit' exec master.dbo.XYRunProc 'cmd.exe', 'c:\', @command where abc is a shared folder in serverB which can be accessed by serverA. However the output of this execution is "c:\> mkdir " \\serverB\abc\kevin_wong123 " Access is denied". It is possible to do this in command prompt. Does anyone know what's the problem of this Thank you very much!! Kevin If you want to use ressources within the network you will nee ...Show All
Visual Studio DateTime picker and the ReportViewer
Hi, I am running SQL Server 05 (SP 1 CTP) and Visual Studio 05. Is the reportViewer used for the Asp.net webforms supposed to have a working date time picker control I know that this was an issue on the beta 2 but I am still expericiencing the same problem. The date report parameters work fine on the preview but when displayed on the ReportViewer in a webform they don't work. I am running version 8.0.0.0 of the Microsoft.ReportViewer.WebForms Thanks, Mauricio visual studio was the problem for me. when I ran my report outside of visual studio, it worked great. So I can just ignore that error because it won't show up in production. I like those kinds of errors. ...Show All
Visual Studio 2008 (Pre-release) Events in DataTemplate in a ResourceDictionary
I'm trying to figure out how to handle the following situation: We have a page with some code behind that handles an Expanded event for an Expander. The Expander is defined inside a DataTemplate which is in a ResourceDictionary. I know this is not the ideal situation, but we need to use ResourceDictionaries for the DataTemplates because we need to be able to modify them without recompiling code. So the question is, how can I reference an event that is in the code behind inside a DataTemplate in a ResourceDictionary I've tried a few different ways, but none seem to work. I've tried putting the event as usual on the Expander - Expanded="TestExpanded". I've tried referencing the public method like you can for a command - Expan ...Show All
SQL Server Regarding Parameters
Hi everyone I have 3 questions regarding Parameters. When building reports in BI. 1 How can I change the way that my Parameters sort in the drop down ie: Ascending/Descending (The drop down you see when running the report) 2 How do I type in a Parameter in-stead of Selecting from a dropdown 3 Can I access a Multi-selected Parameter from custom code (If yes, How ) Because I need to display all selected Parameters.. Any help regarding this will be much appreciated, even if you can answer just one. Thanks in advance Gerhard Davids Hi, 1)Yor are getting parameters from query or Non queried,If you are getting from query,in that query use Order By. 2)Set the parameter Datatype as String.So you can type in a ...Show All
