Vanio Benetollo's Q&A profile
.NET Development "The schema returned by the new query differs from the base query" error
Hello, I have been trying to create search queries: 1) Click on the xxxTableAdaper. 2) Choose a table 3) Name the FillBy field 4) Type in the SELECT fieldname FROM table WHERE field=@key 5) Click OK. Then always I get "The schema returned by the new query differs from the base query" error. Something is fundamentally wrong Any idea Thank you. Athena I'll be m ...Show All
Visual Studio Team System There seems to be some (to me) wierd behaviour in the generated unit tests...?
Hi I have a class which has a static property of a static enum type defined within the class. I have generated a test project and a test class for this, and everything was going well. However, the generated unit test for this property fails at run time with a System.MissingMethod exception when you try and set it (using the accessor class for the enum type). I removed the DebuggerStepThrough attributes on the accessor class i ...Show All
SQL Server How to invoke C# code from SSIS? Can we script in C# for Script Task?
How to invoke C# code from SSIS Can we script in C# for Script Task thanks With the introduction of VSTA which supports C# for scripting, will SSIS support C# i.e. will it upgrade its script engine to VSTA ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Please help, trying to get directx up and running in a managed project of c++
I only added the references of Mocrosoft.Directx and direct3d but when I try to compile i get errors: c:\Projects\Orbital Calc\Physics.h(40): error C3635: 'Microsoft.DirectX.PrivateImplementationDetails::IDirect3DDevice9': undefined native type used in 'Microsoft::DirectX::Direct3D::Device'; imported native types must be defined in the importing source code and so on... do I need to include any libraries or includes I thought I could just ...Show All
Visual Studio Express Editions ReportViewer control in VB 2005 Express Edition
i've just installed ReportViewer.exe for VB 2005 express, but i still can't find the ReportViewer control from the Toolbox. is this ReportViewer.exe same like the ReportViewer Add-in for Visual Web Developer Express Thanks. hi, what i know is that report viewer for vwd, not vb EE , at the top of this forum in FAQ thread there is a post about reporting you can see it hope this helps ...Show All
Windows Forms Windows Service OnStart()
Ok..i have a listener that i have written as a windows service. However the OnStart method must return to the operating system once the service's operation has begun and it must not loop forever or block. Therefore I cannot call my function (re ...Show All
Visual Studio Express Editions Installing VB 2005 Express Edition with Visual Studio.Net
Hello, I currently have visual studio.net 2003 installed. I would like to install visual basic 2005 express edition on the same laptop and I'm wondering if this will cause a problem I need the express edition to get a jump start on a class that I need to create. Does the latest beta version expire Any advise would be greatly appreciated. Thank you. We do actually test VB 2005 side by side with VS 2003. ...Show All
SQL Server DTC problem
I have a master package that executes a series of sub packages. The sub packages run in a series with OnSuccess precedence constraints between them. The master package is run from a SQL Agent job. When I run the master package without setting TransactionOption = Required at any level they all work fine. However when I set TransactionOption = Required at the master package level (and Supported from there downwards) the first package in the ser ...Show All
Visual C# Threading - ActiveX Events/Objects
Hi, I have a threading problem that drives me absolutely nuts and I don't know what to do: I'm using an ActiveX object and subscribe to one of its events. Whenever I execute the method that drives the event, a couple events are triggered. The event response holds an ActiveX object which I need to work with. What happens now is that whenever the event response returns it runs on a different thread. I want to store the event response activex ob ...Show All
Visual Studio Installing and securing visual studio 2003
I got hit by the gdi exploit in june so I want to ensure my new write of visual studio 03 is completely secure this time. These are the install options Ive used: as you can see its just the C++ options installed - Im a novice programmer still learning C/C++ and I dont need any of the advanced compilers or programs installed. Ive 3 questions so far: 1. It says on the visual studio download page that there is a Microsoft Service Pack 6 for Vi ...Show All
.NET Development Using Session state to store objects
Hi I want to save an object, and make it available over several pages. So far it seems the best way for me to do this is to use sessions. However I can't find a way to store an object for the duration of a session. Below is some of the code Fragment of Method 1 SearchResultCollection ownerResults = Code to return SearchResultCollection Session[ "ownerResults" ] = ownerResults; Fragment of Method 2 SearchResultCo ...Show All
Visual Studio Express Editions accessing attribute of the object in the objects' arrayList
I have arrayList of objects and want to assign a value to an attribute(string) of object which is in arrayList I tried for (int i=0; i < arrayListofObj.Count; i++) { arrayListofObj[ i].string= maskedTextBox8.Text; } But it doesn't work. thank you For future reference 'it doesn't work' is not very helpful. Instead, try posting the error me ...Show All
Visual Studio Tools for Office Anybody have sample code of how to access the blocked Senders list in outlook 2003?
Just starting my search and have found a few old threads but wonder if there is a way to do this using the new VSOT for outlook Want to create a toolbar button that allows me to add a domain to the block senders list. Thanks. KFrost, You are in luck: it is stored in the registry, so you can just use the Microsoft.Win32 namespace and create an instance of RegistryKey and other types to manipulate the registry. Where is the ...Show All
Visual Studio Tools for Office Problem with Canceling Outlook application opening under .Net?
Hi, I’m having problems while canceling outlook opening under .NET, using VS.Net2003 & outlook2003. In my project I added a reference to the ‘Microsoft Outlook 11 Object library’ and created a new outlook application with the following line: Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application(); Once the above line is executed, there is an attempt to open a new outlook ap ...Show All
Visual C++ LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
Hi. when I run Batch Build .... Deleting intermediate files and output files for project 'Sampler - Win32 Release'. Deleting intermediate files and output files for project 'Sampler - Win32 Debug'. --------------------Configuration: Sampler - Win32 Release-------------------- Compiling resources... Compiling... StdAfx.cpp Compiling... Sampler.cpp SamplerDlg.cpp DisplayDlg.cpp Generating Code... Linking... LINK : warning LNK4089: all refere ...Show All
