chantit's Q&A profile
SQL Server Dynamic Scripts
I've found that SSIS does not work well with running small dynamic scripts ... For example, I have scripts that need be created via dynamic SQL. I want the dynamic SQL to be created using variables in SSIS. The ways around this are to create small temporary stored procedures that I can create in the SSIS package at run time that have dynamic SQL in it - and execute it with the variables as my parameters. Does anybody else do this, or ha ...Show All
Visual Studio Express Editions Slow screen redraw
I am in inexperienced programmer who has an application that displays many (50-60) controls on a form. The application is a production planning system, that requires many controls displayed on screen (1 for each job qued on individual machines) Whenever the form is re-draw, it is painfully slow, I have set the doublebuffer ControlStyles etc, but are unable to fix the issue. This issue is running on a P4 2.8GHZ / 500MB PC. Can anyone ...Show All
SQL Server Event Notification Syntax Error
Hi I have a simple question regarding event notification in sql 2005. I keep up getting a message indicating a syntax error when trying to execute the following script. I also tried with [ instead of '. CREATE EVENT NOTIFICATION NotifyCT ON DATABASE FOR CREATE_TABLE TO SERVICE 'NotifyService' Msg 102, Level 15, State 1, Line 4 Incorrect syntax near 'NotifyService'. I cannot find any error in my syntax. Please help Thanks ...Show All
Visual C# typedef in C#: Visible in separate projects
I saw that you could get around the absens of the C++ typedef feature by using: namespace NameSpaceCS { using Handle = System. Int64 ; or using Handle = System. Int64 ; namespace NameSpace CS { But this is only visible in one file. How do you make it visible in other projects. I have added the reference and the using NameSpace CS ; in my other project but it still seems to ...Show All
Visual Studio 2008 (Pre-release) LINQ install fails (May CTP)
Hi, When starting the installer, I get the message: "Cannot find a valid Product to install LINQ with" and then tells me that I need a version of Visual Studio 2005 installed in the next dialog. I do have Visual Studio 2005 Professional (German) installed and I never had such problems with other previews that involved VS 2005 (e.g. Orcas). I believe that the problem is related to the german language version of VS 2005 since th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX or Managed DirectX ?
Hello, it's my first post here ;) I've been developing in DirectX for several years (using c++). I am thinking if it's worth to move to the "managed world" I can do everything in c++ and directx but creating apps in c# and mdx is much faster and simpler. What is your opinion Is it huge performance penalty making 3D games in c# and mdx SirMike wrote: Hello, it's my first post here ;) Welcome SirMike wrote: ...Show All
Visual C++ Integrating PSDK with c++ express..
hello ppl.. i checked the video on how to integrate PSDK with c++.... the problem is when i goto tools->options->projects and solutions->vc++ directories... i dont hav a option to add directories.....neither can i see what directories are alrready installed......any suggestions..... thx in advance in the dialog the first line in the list of directories is empty. Click on it and you will see ...Show All
Visual Studio Team System Reporting for Team System only works for Admin account
I've installed Team Foundation Server on an active directory domain. Out of the box the reporting services did not work, but I managed to get it working for the Administrator group. Ofcourse I would like to give "normal" users permissions to view the reports. The actions I have done so far: - I've enabled Integrated Security on the connections of the reporting services - I've added account throughout SQL Server for the group th ...Show All
Visual C++ LNK2020/LNK1120
NEW TO C++ AND CANNOT GET THRU FIRST PROGRAM-"HELLO WORLD" BECAUSE OF LINKER ERROR MESSAGES AS FOLLOWS: HELLO1 error LNK2020: unresolved token (0A000015) _CxxThrowException HELLO1 error LNK2020: unresolved token (0A000017) delete HELLO1 error LNK2020: unresolved token (0A00001A) strlen HELLO1 error LNK2020: unresolved token (0A00001B) free HELLO1 error LNK2020: unresolved token (0A00001D) memmove HELLO1 error LNK2020: unresolved token (0A000028) ...Show All
Visual C# How find duplicate in DataTable
i want that my program automatically search all rows of dataTable, using a single column, if only this column values are duplicated then display these rows in a dataGrid, how can i do, could you tell me please. You can use the Select method of a DataTable or walktrough all rows. But i think it is easy to query all duplicated values. Take a look at this article. ...Show All
Visual Studio Team System Problem adding / removing servers from the DomainProjectPicker control
I have an issue related to adding servers to the list of servers provided by the DomainProjectPicker control (Beta 3 Refresh). Basically, if you remove a server you cannot seem to re-add it during the run of the application that launches the control. You need to restart the application in order to add the server back... Here are steps to reproduce it: create a WinForms app that shows the DomainProjectPicker control from a button handler ...Show All
.NET Development How to change screen resolution in C#
How would I go about changing the screen resolution The thing is that I'm not using directx... Hi, There is no managed class available for doing this. You will need to use the Win32 API call ChangeDisplaySettings. Here is a explanation and code sample for doing this: http://www.codeproject.com/csharp/CSDynamicScrRes.asp Regards, Vikram ...Show All
Microsoft ISV Community Center Forums Future of VBA (and VBScript)?
We developped a number of tools in VBA or VBScript, sometimes using COM objects, and the large compatibility of VB, VBA and VBScript was certainly nice. We would no mind moving to .NET (the framework API being quite interesting), but it is not clear what is going to be the future for VBA and VBScript. Can we expect a VB.NET"A" and a VB.NET"Script" Hi Simon, You might want to check out the Visual Studio Too ...Show All
Visual C++ [ATL] does ATL has any collection tool lik CMap in MFC?
like the title... DavidShen wrote: oh, really thx! this is really complicate! how could i relate list and CAdapt before i learned CAdapt list is an STL collection, whereas CAdapt is a ATL class. They don't really relate to each other. If you are using ATL, it may be a good idea to use the ATL collections whenever there's one available that does what you want. ...Show All
Smart Device Development Updating UI from thread: Control.invoke()?
Hi, I'm experiencing some difficulties writing my first application for pocketPc. The program should run on a dell axim x51v with windows mobile 5.0. (I'm using vs2005 professional.) The application uses threads to write messages (from the program itself and streams) to the screen in a listbox (lstStatus). I know how to add items to a listbox (which is quite trivial), but I can't figure out how to do this from within a subthread. Here's some cod ...Show All
