Tommix99's Q&A profile
Connected Services Framework Should Active Directory be a Domain Controller or in a different domain ?
MCSF uses Active Directory to store user details. 1. But does it need to be in a different domain or a domain controller 2. Can I just install AD and point MCSF to store users there Regards, Sachin I think you are talking about ADAM. That doesn't work with CSF. Active Directory Application Mode Active Directory Application Mode (ADAM) is a directory service designed to meet the needs of organizations that cannot rely solely on Active Directory to provide directory services for directory-enabled applications. While Active Directory offers many benefits for managing network infrastructure, organizations often need a more flexible directory service to support directory-enabled applications. ADAM is a Lightweight ...Show All
SQL Server Problem while deploying Report on server
Deploying to http://localhost/ReportServer Deploying data source '/Report Project1/cnt_SDS_REQUEST'. The Report Server Web Service is unable to access secure information in the report server. Please verify that the WebServiceAccount is specified correctly in the report server config file. I found the issue(s) First off, there were 2 application pools created by our Network Admin that were both configured for the same virtual Directory. This was causing me issues with the deploying issue. Second, They were both configured for either LocalSystem or NetworkService which would always tell me that I didn't have access to execute them. Once I stopped one of the 2 application pools and ensured that the Web service Identity matched the ap ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can you copy alpha channels from textures?
I have a texture that needs to have a different mask (transparency) depending on what mode I am in. Is this possible I have only seen documentation on adding a mask at design time, and not dynamically. I read a previous thread on rendering from texture to texture, so I know that is possible, but I am wondering if I can just choose a particular channel or not. The best approach would probably to use two separate textures at the same time, one for your color data, the other for the alpha information. In your pixel shader you can then look up into both the textures, and combine the results. That way you just have to swap which texture you set for the alpha data, much easier than messing around with rendertarg ...Show All
Windows Forms status strip no longer visible after form resize
I have a form with a status strip docked at the bottom When the form is resized (i.e. New Size(x,y) the status strip is no longer visible at the bottom of the form. How do I correct this When I do the resize, it is simply Me.Size(x,y) the form starts with a size of 610,635. the StatusStrip appears okay. the details are StatusStrip size = 604,22 StatusStrip localtion = 0,581 Doing Me.Size(456,477) the strip disappears. I added some Console output code. When I do Me.Size(456,477) the StatusStip details become StatusStrip size = 450,22), so that is within the form width StatusStrip location = 0, 423 the new image on the form is 450x413, so it should be visible. The statusStrip Y pos i ...Show All
SQL Server Migrating a db from SSE 2005 December CTP to SSE 2005 Release Version
I have a developer who built an application using the SSE 2005 December CTP and I would like to bring the db's into the official SSE 2005 released version. I have attempted the following: 1. Create the db's in the released version, detach and re-attach the CTP db's. I got an error telling me they were incompatible. 2. Installed CTP version on one server, backed up the db's and then attempted to restore the db's on another server running the official released version of SSE 2005. Got an error attempting that too. 3. Installed the Management Studio for SS 2005 Developer edition thinking that I could connect to the two seperate instances of each server and like I could in EM 2000 run the transfer wizard to move the db's and data from ...Show All
Visual C++ Hide console window
Hi, in my console application i want to exit the console and switch to a windows form. opening te form works fine, but the console window is disturbing at this time. how can i hide the console window or do i have to create a windows forms project instead thanks in advance! Hi, I have a dialog based application coded in VC6 without MFC and I got the same problem (console is always showing) but I can't find a way to hide it. I tried different /subsystem switches (windows, native, console) and even removing the /subsystem switch. The console window appears even before entering WinMain. I think the previous posts were for VC2005 and I can't find were to chage those settings (except for the /subsystem switch). ...Show All
SQL Server special problem with Access
I have try to take all our table from access to SQLSERVER 2005 But not all works, so is there away where i can not import a table from access but link a table from access to my SQL. I know it is the wrong way, normally sql is the backend, but i can't get all to work when i use my sql as backend, so if i can connect me to access from my sql and link some tables regards Alvin You can create a linked server to the access database using the Jet driver. See the linked server section in the BOL (with an access database example) for more information. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms PrintDocument Spooling problem
Hi, We have a sony photo printer which doesn't like more then one image spooled before the last one has finish printing. I notice when I develope my test application for printing. When i go printdocument.print() it sends all images to the printer in one go. Our printer has very low memory I think it rejects excess images if it cant hold it, hence the extra images dont get printed. However if I use Photo Printing Wizard in XP, it prints it out fine. Monitoring the print queue i notice the wizard send one image at a time, wait for the printing to start then send the next image. Is there anyway I can do this in VB.NET 2005 Works fine in print preview and other printer i am trying it on. Just does ...Show All
Visual C# Switch Case or If else Statement (Best Practice)
Hello Guys, I have a DataTable which has some 30 rows, I need to populate someuser fields with that information... What I'm doing is : Say DataTable Info; foreach(DataRow r in Info.Rows) { if(r[0].toString() == "something" { } else if(r[0].tostring() == "else") { } // This thing goes on for another 28 times..... } What is the best way to do this kind of thing, swicth statements or if else is good....I'm looking for best practices here.. Normally I would say to use a switch statement because the C# compiler can optimize this and therefore a switch statement is in 99% of the cases better than an if-statement. But something else, you say t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Windowed rendering troubles
i need to run my app in windowed mode with vertical synk, but if i will set d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_ONE; then app work with 60-70fps, compare to my monitor refresh rate is 100fps, if i will set D3DPRESENT_INTERVAL_DEFAULT then app work with 300fps, but eat 100%l cpu time, how to fix this problem and get window rendering with correct framerate I've done a test on a sdk sample (Progressive mesh) in which I've enabled vsync. I'm afraid I can not notice what you're describing. So to me it means that it is dependent on your configuration. Could you confirm using an other driver or an other card I think your driver is wasting some time converting/copying back bufer ...Show All
SQL Server Executing Packages on SQL Server MSDB from Visual Studio Project
I created several packages (MyProjectPart1 - MyProjectPart9) which I execute on the server directly(right-click package in integration services and execute). These packages alI deployed the server with logging and configuration files. Before deploying I edited the configuration file (changed all dependent file names and sql server name from default on my workstation to those unique to the server I'm deploying it to) and then ran the manifest file which pushed it onto the server. I then ran the packages from the server an it ran beautifully. I then tried to build a package which executes all the packages in the correct order (by adding 9 execute package tasks). The dependen files are on the E:\temp folder on the server. I have included t ...Show All
Windows Forms Getting a handle to a control on a form
Hi I'm new to the C# development area. I've got different forms with different controls on it, the forms are either mdi parent or child forms. What i would like to know is the following. 1)How do i get a handle to a control on a form. The control was added earlier in another class, now in this class how do i get a handle/control of it. 2)To do step 1 do you need to inherit from the class that created the handle on the form 3) Sample would be great. Thanks in advance :) Hi Rizwan thanks for the response. This is what i mean, i have a class that makes a form through code, the form has buttons and some text boxes. Then i run another class that does certain things, opens another form. Then from within this class ...Show All
Visual C# Why i can't locate exceptions to specific code file and code line within vs.net2005?
In fact, I’m not sure whether this is my problem or vs. net’s problem. There is a solution which migrated from vs.net 2003 and includes several class library projects and a web project. When I build this solution, there are some exceptions appeared in Error list. But, some of them which related to the web project just have error id and the error description but without file/line information. This kind of error info makes me can't locate exception to specific code line. That’s real difficult to do debug works. Anyone ever know the same situation like that Anything I can do to solve this Thx. can't here post some sample images from out of this forum anyway, u can find the sample image here: http://illusions.zo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using multiple passes in same technique
I'm trying to render two separate models (x-files) with the same shader-technique but each with a different pass. Is this possible I tried this but keep seeing the rendered objects rendered with the first pass. Correct, that's why i tried something like: if (e.CurrentTechnique.Name.Equals( "Effect1" ) && pass.Name.Equals( "Pass_1" )) To separate functionality to different passes (to no avail though ;)). The reason for my question is that i'm trying to streamline the output from RenderMonkey to XNA. That went pretty good until i encountered that i n RenderMonkey you can select different models to passes and so assumed that this also could be done with XNA. Thanks for the ...Show All
Windows Forms Trouble updating SQL database from vb.net 2003
Hello im new to vb.net 2003 but have used vb 6 for years and dabbled with 2005. A program that would usually take me a few hours to make i am on day 5, 4 and a half of which have been trying different ways to get it to update, and not one of them will post the information back to the SQL 2000 database I am actually going insaine. Please Please can somebody help me!! The best i can get out of it is this error. " Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information " I have googled it and come up with the fact the primary key isnt set right, but i still cant get that to work. Here is the peices of code that are relevant. Dim strSQL As Str ...Show All
