Nihar's Q&A profile
SQL Server Creating an update trigger for a multi-table view
I have a trigger on a view defined as follows: CREATE TRIGGER MyTrigger ON MyView INSTEAD OF UPDATE AS UPDATE MyTable SET field1 = inserted.field1, field2 = inserted.field2, ... FROM inserted INNER JOIN MyTable ON inserted.key = MyTable.key This is copied pretty much verbatim from various examples I've seen around (see Figure 2 on this page: http://msdn.microsoft.com/msdnmag/issues/04/01/DataPoints/ ), but it doesn't work ...Show All
Visual Basic Windows API in VB.Net
Dear All, Q1) In VB6, there are Win32API viewer for helping us to writing Windows API application. In VB.Net, I can't find that tools now. If I want to write some program with WinAPI, how should I do Q2) After installed Platform SDK, I can use the new and platform api in VC++ program. I want to know How to use them in VB.Net Thanks, Kevin Tang. http://visualbasic.about.com/od/usevb6/l/aa10 ...Show All
Visual C++ How do use conventional C++ Code with Visual C++
Goodday I cannot seem to create any programs with Visual C++ I am not getting anywhere the only program that works is Hello World: #include <iostream> using namespace std; int main() { cout<< "Hello World\n"; return 0; } Not even the test win32 application want to run and i did everything like you explained Please Help Peder Really Because for other hundreds of thousand of programme ...Show All
Visual Studio Team System How to: Customize the build reports
Hey there, I already know how to add lines in the build log file. But now I need to add information to the report that ends up on the project portal. I have read the SDK part about extending the Team Foundation Reporting Warehouse but I'm not sure this is what I'm looking for... Any pointers Thanks!!! If you want to add information that's already in the warehouse to the report, then you can just edit the report to include that. ...Show All
Visual C# How to make a form non-resizeable
Hi , I would like to fix the form size and make it non-resizeable. May I know which form properties should I be using Thanks Or u can set the Form's MaximizeBox property to false. so that there won't be maximize option for the form. ...Show All
Visual C++ Automatic closing of command window
I'm a bit of a noob when it comes to VC++ been trying to pick it up over the past few days through some interesting tutorials. Anyways....my problem should (hopefully) be a very simple one. Im trying out a couple of simple programs of the HelloWorld flavour (you know, the basics) and I'm compiling them through VIsual Studio 2005. The problem is that post compilation the command window just auto closes (thats command as in command.exe or cmd.exe ...Show All
Visual Studio Express Editions Good VC++2005 EE books?
Are there any books on VC++ 2005 EE to teach how to build win32 GUI applications using Platform SDK (Win32 APIs) Is the Win32 API the only way to build win32 GUI programs without MFC I don't think VC++ 2005 EE will become popular unless these two issues are resolved. Thanks in advance! VC++2005 EE is for students, it's not meant to be 'popular', or a comprehensive C++ tool. You can write winforms apps with ...Show All
Windows Forms Memory management question -> Form.Close()
Hello, In one of my winforms pages, I launch another form as follows Private Sub btnExtract_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExtract.Click Dim page As New ShowCourses page.Show() ...Show All
Visual Studio Team System Using MS Asynchronous Framework Application Block in Application
Hi All, I am developing a application with VS 2005 (ASP.Net, C#), SQL Server 2005. I have a very large data in sql server. For this I am trying to execute asynchronous call with using MS Asynchronous Framework Application Block. I successfully configure MS Asynchronous Framework Application Block in my application. I submit submit request to MS Asynchronous Framework Application Block successfully but when I click on get reqult butto ...Show All
Windows Forms two projects
i have two projects in my solution. how can i use a form form my 2a project They are two windows form project. I try to add reference from de 2a project to de 1a but a receive a msg , only dll or another thing , not exe files. thank you for your reply. I try to use another project with windows form's in my current project. I add a 2o project to my current project and try to use&nb ...Show All
Visual Studio Express Editions Email validation and javascript
hi all, i would like to use the error provider to check whether the input email is in valid type.....this is my code txtEmail.Text <> "\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Then epModifyMerchant.SetError(txtEmail, "Invalid email type") but this error occur even we input the valid email address..... and the other problem is it possible for us to add a javascript in visual basic project.......i w ...Show All
Windows Forms Thread::Sleep question
Hello, I've got a question about the Thread::Sleep command. I have a code which goes like so: private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { System::ComponentModel::ComponentResourceManager^ resources = gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid); &nbs ...Show All
Software Development for Windows Vista one workflow persisted and doing work in two hosts
Hi, Anybody has sample where workflow host has created instance of one workflow, then persisted it. Now other host gets instance of same workflow and passes some work to it e.g. host A creats instance of workflow A, and then runtime persists it. Host B now tries to load workflow A and provides some external event to start processing further... runtime in host B again persists the workflow. Provide some sample if anyone has it. th ...Show All
Software Development for Windows Vista Inside COM Server, IPartBase* methods are working, not IFixedPage methods
Hi, Calling methods of IFixedPage from Start operation of filter work ok, But callling IFixedPage methods from in-process COM server which is created inside the StartOperation are not working, (GetWriteStream) returning 80070057 (E_INVALIDARG). However, base class (IPartBase*) methods are working fine from the same com object. Any idea Thanks Hi Can I know in which build of vista this issue got fixed.   ...Show All
Windows Forms Extra complex data layout.
I'm currently facing quite a complex situation, I have 3 tables: Products Groups Stock Data Stock Data has an external key to both the other tables so that I end up with Products Stock Groups ID <- ID_Prods ID_Groups -> ID And it's pretty simple up to now The hard part is showing it like I want... Product Name Other Product Cols (except the ID which I me ...Show All
