ajit_patra's Q&A profile
SQL Server Using expressions in other expressions in SSRS 2000
All the other reporting tools i've used have the ability to give the result of an expression (formula or calculation) a name (or load it into a variable) and include it in another expression (formula or calculation). I can't find this functionality anywhere in SSRS 2000, does it exist Thanks. You can create either a calculated field ( http://msdn2.microsoft.com/en-us/library/ms345330.aspx ) or a textbox that ...Show All
Windows Forms Getting Notification when a Controls Screen Position is Changed
I need to get notification when a controls screen position has been changed, the only case that I am not able to handle is when the controls screen position is changed due to the user moving the window. I've tried catching the Move and LocationChanged events for the form itself (using MyControl->TopLevelControl += gcnew System::EventHandler (...) but I only get the event when the window is initially constructed. Am I approaching this the righ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does DirectX have the OpenGL equivalent of Display lists?
As the subjects asks, is there an equivalent feature in DirectX Basically I want to just render about 200 spheres most of which will be the exact same copy of each other. Drawing each sphere independently of each each other gave quite poor performance in OpenGL until I used Display lists which enabled me to save a fixed set of drawing commands and just call the display list instead of redrawing the sphere each time. ...Show All
Visual Studio Express Editions Connecting to SQL database from within Class Library
Hi there, I am trying to connect my ClassLibrary to a SQL database. I've already added a new datasource (named PatientsDS_new) to my database, I've let VB copy it to local project etc. . The database contains a table (names patients), which is imported too. This is also the table I want to perform actions on. Now the problem is that in 'form applications', i can select a row like this: Dim row As patientsDSx.patients_1Row = Me .PatientsDSx.p ...Show All
Windows Forms How to delete a selected row from datagrid (Winforms).
Hi I have datagrid populated and one column contains checkbox, and i have a button outside the datagrid, whenever i click this button based on the selected checkbox. I want to delete selected row from the database. Please in winforms not in W ...Show All
Software Development for Windows Vista Is WF right solution for high-throughput OLTP?
We are considering re-implementing the core of our OLTP (on line transaction processing) app using WWF. Having worked with WWF for awhile now, I've concluded it meets our needs very well for flexible loosely-coupled messaging with contract-based binding of endpoints. One area still concerns me, that's performance. Our input to the WF from host is a message object, and we pull the modified object back to the host a ...Show All
Windows Forms Losing events in MDI forms (1.0 vs 1.1 framework difference)
I have an MDI parent form with two mdi children. Each MDI child has two textboxes on it. On version 1.0 of the framework, if you switch from one form to the other and then tab to the next textbox, a 'LEAVE' event is ...Show All
Windows Forms Windows Server 2K3
Hey all, I was wondering... I want to make a folder in my C:\Inetpub\wwwroot file so it will be available for internet access. BUT, i want it so when you try to access it, a password box appears. I got that far by adding permissions to the folder, but no password i enter ever works, is there a way to set actual folder permissions and make it so when you try to access the folder through a website, you need the password to continue Thank ...Show All
Visual Studio Express Editions Newbie: tyring to use numbers in a textbox
Ok, I am kind of stuck on how to accomplish the following: I am using 8 texboxes that will contain only numbers (ranging from -50 to 50, no decimals) Textbox 1 will contain the sum of all of the other texboxes. I can fill the other 7 textboxes with the numbers, but how do I add them together, and make it so that text box 1 will constantly add the sum of the other 7 text boxes (incase the values change later) Thanks in advanced. ...Show All
Visual Studio Macro to switch on XML documentation?
Hi, Is it possible to create a macro that iterates through all projects in my solution and switches on the XML documentation flag I can't find a way to have XML documentation switched on by default. (Do you ) My dozens of solutions each contain dozens of projects and it's a pain having to go in to the project properties of each solution and switch XML documentation on. I would like to open a solution, execute a macro and have the res ...Show All
Visual C++ Calling constructor from another constructor
In C# you can call a contructor from another constructor like this: class Test { Test() : this(0) { } Test(int i) { } } Is there C++/CLI syntax to accomplish the same (for a managed class of course) Bekas wrote: In C# you can call a contructor from another constructor like this: class Test { Test() : this(0) { } Test(int i) { ...Show All
Windows Forms transparent labels
I have a control with a graphic. I put some labels over it, and set the background to transparent. This doesn't mean the graphic shows through, it means the background color shows through. Do you know how to get a truly transparent background o ...Show All
Windows Forms Password input ?
This maybe dumb but I have to ask; Is there a dialog in .NET I can call up to do password entry Windows app only not web app! I mean something like InputBox but that has the text box in the dialog show up ### or such instead&nbs ...Show All
Visual Basic ListItem unavailable
I am not able to use the ListItem Class in my VB 2003. When I try to declare an instance of ListItem as follows, it is not recognized. Dim objListItem As ListItem Is there something I am missing Error message is: "Type ListItem is not defined". In any case, when I am declaring, ListItem does not appear as one of the types. I tried to import the namespace "system.web.ui..." but the 'ui' bit does not exist ...Show All
Visual Basic accessing form controls from other forms
I have one win form1 and i want to access another windows form2 from my first win form, I was told that accessing other controls in other forms like this Dim fm As New Form2 fm.textbox1.Text = "hello there" is not a good programming practice...is there another way of doing this.... I'm not sure why that is not considered *good practice* but other than using an instance variable to access the form and then its propert ...Show All
