Namza's Q&A profile
Windows Forms Non Modal Form and Modal Dialog Form
Hi, I have a 2 non modal dialog forms Form1 , Form2. and a modal dialog form Form3. From "Form1" i am invoking another "Form2" since "Form2" is a non modal dialog form i can have any number of instance invoked from "Form1". from "Form2" i am invoking Modal Dialog form "Form3". Suppose i have 2 instance of "Form2" and from one of them i invoke "Form3" from screen unless until i close "Form3" i cant go to another instance of "Form2" but if i go from task bar or (Alt + Tab) to other instance of the "Form2" it shows "Form2" but i cant perform any operation it gets hanged. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can .FX files have multiple RenderTargets specified?
Hi all, I've taken a shader from nvidia's website called "post_bloom.fx". I am finding shaders are a bit of a black art and find it difficult to work out what parameters need to be set or not by looking at the .fx file. I get the whole post-processing, screen-aligned quad thing and have a simple example with 2 parameters working (turns the output to black and white) but I'm trying to understand a more complex scenario. One thing I am unsure of with this particular shader is that it seems to require multiple render target parameters setting... texture SceneMap : RENDERCOLORTARGET texture DepthMap : RENDERDEPTHSTENCILTARGET texture DownsampleMap : RENDERCOLORTARGET texture HBlurMap : RENDERCOLORTARGET texture FinalBlurMap : R ...Show All
SQL Server Installing on a Domain Controller
One last question ( for today)... The recomindation to not install SQL express on a Domain Controller. Is there a specific technical reason or is it just the general don't use the DC has a Terminal server / sql server / application server line of thought The reason I ask is we have been using SQL 2000 on a W2k3 server configured as a DC as well as for Terminal Services. (yes I am aware of the security risks) but in a small network with 5 or less ft clients and 30 thin, I can't justify a seperate DC and App server. Kay Hi Sven - do you know if this problem has been fixed, and if so, how to make it work on a DC I'm in an environment where I need it to be installed on my Windows 2003 DC, and the install ...Show All
SQL Server Cannot see the Colums in the "design view" of Queries SQL 2000 and MSAccess 2000(adp)
Cannot see the Colums in the "design view" of Queries. All i see when i want to design a new query is *columns This happens in only one database, in other databases using same server i can see the colums and can tick them to view then in the query. In enterprise manager i see all the columns. Using SQL 2000 and MSAccess 2000 I'm not sure what your exact problem is. Are you saying that in SQL Server Enterprise Manager that all the columns are not displayed in the design a table view Are these SQL Server tables or have you connected a remote server to Access Buck Woody ...Show All
Windows Search Technologies WDS is slowing down System Performance
Hi guys I’m hoping you can help me I already posted on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1111995&SiteID=1&mode=1 but thought that this would be the better forum to post this too. The user I am working with has WDS installed but is having quite a bit of performance issues and this is a newly bought and installed desktop. When we look at task manager it is the searchindexer.exe that is taking up all of the CPU power and disk writes. The user has Windows XP and Office 2003 I checked the client’s computer and currently he does not have any anti-virus or backup software installed but he does have running in the system tray and startup VNC server, Trillian, HotSync, Adobe Photo Downloader, ...Show All
Visual Studio Team System VS 2005 IDE Create SQL Store Porcedure like 2003 IDE
I use to have an option within the 2003 IDE to generate SQL Stored Procedures, however using the new 2005 IDE and SQLDataSource I can only generate dynamic SQL stagements or refer to existing Store Procedures. Can 2005 IDE generate SQL Stored Procedures If so how I have looked through the MSDN library and How to's for this. Doug DrDrain - Are you trying out a CTP of the new Team Edition for Database Professionals If not, you may want to look at this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=833748&SiteID=1&mode=1 . If you aren't using "TEDP", I may have to redirect your post to the forum for the existing VS2005 database features unless someone on our team also happens to be familiar with t ...Show All
.NET Development String.Compare with Unicode characters
I am trying to sort a list of Greek Unicode strings, but I can't get the .NET framework to correctly sort or compare the accented vowels. For example String.Compare(" "," ") // or String.Compare("\u1f00","\u1f30"); always returns 0 and String.Compare(" ","α") always returns -1 regardless of the Culture information (current, invariant, Greek) I use in the other arguments of the Compare function. Is there a way to make the first comparison return a negative number Did someone say my name :-) The answer to this question can be found in the following blog post: The city elders won't give this string weight, either (aka On being consistently dea ...Show All
.NET Development Where is Sysem.ServiceModel?
I just installed VS 2005 with version 2.0 of the framework. I'm attempting to work through a WCF example. I don't see the ServiceModel in the AddReference list. Is this a 2.0 or 3.0 component So, if I understand correctly do you have to install both the SDK and orcas to get VS 2005 to recognize the System.SystemModel .dll in the AddReference screen I installed 3.0 framework and it still does not show in the list. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. New 2D Xmas Themed Game
I have written my first ever XNA game, it is a Christmas themed 2D game. It is called Elves Revenge, and screenshots and gameplay demo are available at http://www.errolian.com Full details of the game and the downloads (game, plus source code) are at http://www.errolian.com/2006/11/22/3d-buzz-xmas-game-coding-contest-elves-revenge/ Hi Glenn - Quick question. Can you elaborate a little more what is wrong with the post I am not trying to be smart or anything I really don't know. I gathered from some other posts that it was encouraged to post things you have built or your experiences with XNA and just want to make sure that I follow the guidelines of posting on this forum. Thanks! Don ...Show All
SQL Server ADOMD and XML/A
Hi, I got the following from a Microsoft Technet Chat - "The advantage of XML/A over ADOMD is the thin client. ADOMD requires PTS and ADOMD installed on all client machines while XML/A would only require an XML parser." Now say, I develop an asp.net application which would use adomd.net to get cube data, and will also run mdx queries. I host the asp.net page on my server, and allow it to be accessed by remote users. My server itself contains all the necessary cubes, and other components like adomd.net, etc. My question is, if you want to run the asp.net page hosted on my server, (via HTTP), will it be necessary for you to install the adomd.net components on your local (remote) machine also (Actually I dont ...Show All
.NET Development only last value is sent
I was wondering if anyone could tell me why it only appends the last row of data in my listbox to my xmlserializer to write it to my xml file....the infomation comes in the listBox but only the last row of data is written to the xml file.....why is that and how would i go about fixing that...any help would be great! empinfo info = new empinfo(); string connect = System.Configuration.ConfigurationSettings.AppSettings["connstring"]; SqlConnection sql = new SqlConnection(connect); string cmd = "Select * From Employees"; SqlCommand scmd = new SqlCommand(cmd, sql); sql.Open(); SqlDataReader dr = scmd.ExecuteReader(); if (dr.HasRows) { while (dr.Read()) { //s ...Show All
Visual C++ error C3641 - invalid calling convention
Hi all, I'm new to VS2005 C++ / .NET and I've inherited some code that requires porting to VS2005 C++ .NET. I get the following error when compiling with clr/pure: error C3641: 'CWThread::Redirector' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe The relevant offneding class code is: //The method to cast the inheriting classes Run method to the required type. static DWORD WINAPI Redirector( LPVOID Arg ){ CWThread* ThreadPtr = (CWThread*) Arg; return ThreadPtr->RunWrapper(); } //Wrapper method for the Run method DWORD RunWrapper( void ){ TVoidPtr ResultPtr; //Call the run method R ...Show All
Visual Studio Team System Unit Test Wizard on WPF based Window and User Control
Hi, I am trying to do auto generation of unit test cases for my WPF based project using the VSTE Unit Test Wizard. However, when I tried to use the wizard it seems like it displays only the project's namespace without any of the classes. In effect it doesn't generate any of the test cases for the project at all. Is there a patch for Visual Studio Team System to allow me to auto generate test cases for my WPF based projects Thanks and Advance. Regards, Alex Hello Alex, Unfortunately test generation for WPF projects is currently unsupported. We will be addressing this issue in future versions of Visual Studio. The current workaround is creating your test stubs manually. Thanks, David Gorena Elizondo ...Show All
SQL Server Programming SQL Express
Hey, i have an installer that places ms sql express onto a machine. thats is fine. i want to create a post setup application that runs after ms sql server is installed. what for example i want to do is be able to create a user and have the DB allow remote connections. i can provide instructions for a 'peon' to make the required post setup changes but i want to see if i can cover that with an application. thanks Charles Rezsonya hey, anyway you can show me a script that would change the server to allow tcp remote connections what application do i run to process the script ...Show All
Visual Studio Team System TF31001: Team Foundation cannot retrieve a list of the team projects from Team Foundation Server
The detail of the error is: The Team Foundation Server returned the following error: The request failed with HTTP status 502: Proxy Error ( No data record is available) I only get this error when I try to connect from my development machine. If I connect from the server itself, I connect fine. Any ideas Apologize for the same. I was actually in hurry that's why i typed so fast and went. Anyhow your problem got solved. Good ...Show All
