tasker1986's Q&A profile
Visual Studio File, Save As fails with a managed Language Service
Allen Denver's RegEx Language Service sample (see gotdotnet, http://www.gotdotnet.com/workspaces/workspace.aspx id=2c0db3c9-a3bd-4116-bc1f-6c84a898e034 ), is registered against .foo files. When a .foo file is loaded, then File, Save As... doesn't work. A message box saying "The operation could not be completed. The parameter is incorrect" is shown. This is on the RC build. This also happens with the Language Service I'm trying to write. It works fine with the Xml Language Service. Anyone know what I need to implement in a manged language to make File Save As work Mark. I found the answer. You ne ...Show All
Visual C++ Unmanaged void* to .Net System::Array
I have an unmanaged C++ class representing a 2D matrix. It holds a pointer to a block with the actual data, and fields indicating the number, size and type of the matrix elements. Like this: public class UnmanagedMatrix { public: void * block; long rows; long cols; int type; //refers to an enum of possible types - char, long, double, etc. long sizeOfBlockType; ... } I am writing a managed wrapper to use this class from within .Net with a member pointer to the unmanaged class in the usual way: public __gc class ManagedMatrix { private: UnmanagedMatrix __nogc* pM; ... } I need the wrapper class to get and set the unmanaged block ...Show All
Visual Studio report viewer newbie
hi, i'm a newbie in using report viewer and having a tough time now building a web app in c# and asp.net.. hope someone can help me on this. i'm using VS2005 and RS2005. i've tried looking at the sample RssNewsReader but i have problem running it. error message : Could not find type 'RssNewsReader.ChannelInfo'. i think this is because i don't have system.ComponentModel in the reference and i don't have this dll file in my system as well, therefore i could not add it in. i tried looking at sample in odetocode website but the sample wasn't built using VS2005, so i encounter problems changing the syntax. can so ...Show All
Visual C++ Browse Info File in Visual Studio 2005
Hello All, I had Visual Studio 2005 installed, and created and built a Project, and the browse info file myapp.bsc is generated too. But where can I set this browse info file in the project It seems VC++8.0 is quite different than VC++6.0 in regards to browse info file, and I can not figure it out. Please help.. Thanks a lot, Melvine Browse information consists of two pieces: the sbr files (for each cpp file) and bsc (the overall bsc file). The sbr paths can be set in Project Properties -> C/C++ -> Browse Information -> Browse File (/FR /Fr option ). The bsc path can be set in Project Proper ...Show All
Visual Basic Special Directories
Is there a way to find the path to a users start menu (in order to install shortcuts). I tried special directories but I couldn't find it. Thank you. The following will get you the user start menu Function ReturnUserStartMenu() As String Dim DirInfo As System.IO.DirectoryInfo = System.IO.Directory.GetParent(My.Computer.FileSystem.SpecialDirectories.Programs) Return DirInfo.FullName End Function This is using My.Computer.FileSystem.SpecialDirectories.Programs which gets you the users Start menu Programs Folder ...Show All
Visual Studio Popup dialog in DSL
How can an popup dialog box be displayed in DSL. if suppose i want to display a popup dialog for locating the WSDL of an webservice then can you please tell me how can i popup the Webservice Locator Dialog box in DSL .where in user enters the url of webservice and try to locate the webservice, later gives the web reference of web service. We want to implement same functionality where a dialogbox popup is displayed and user enters the data. please let me know on above quieries. Thanx for the help. Kiran, You have several options to make this happen. For example you can add a custom com ...Show All
.NET Development HELP Required in Webservice access by C# Client Application.
Dear All i am accessing a webservice from a C# desktop application. i have included the web reference in this application for my webservice. The webservice is running fine and easily accessable from the IE. but when i access it from my client applicaiton it gives me an error for The request failed with HTTP status 401: Access Denied. well it sounds like a pretty easy error to update, that i should check my webservice rights n all. i have done that. i didnt find any errors my end, or may be i am not much aware of the types of configuration required. please help me out with this. okay 1 thing. how to i get this error. ...Show All
SQL Server Connecting to Sybase
Hi, I am assuming someone has had success connecting to Sybase from SSIS. I am having trouble. And I freely admit naivety when it comes to something like this. :-) I installed dbConnector 6.01 which has a Sybase connector as a part of the package. I then tried to create a connection manager for Sybase using OleDb, but it was not an option in the list of OleDb connections. So, am I correct in assuming that I need to use ODBC If so, is there an OleDb Sybase driver that can be used with SSIS Any help in using SSIS to connect to Sybase would be appreciated. Thanks, - Joel So we are trying to do s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Ways of Rendering mouse cursor in directx9
I'm trying to build a GUI using directx 9. I find that rendering mouse cursor is something different from the main rendering process. It needs to have higher priority to make cursor looks "smooth" even when main rendering process's frame rate is low. Others give me some advice, but I'm not sure which is better. The following are the ways I figure out. 1. Using windows mouse cursor. It's fast but in full screen mode it failed. 2. Drawing cursor in seperate thread using windows GDI. The cursor is just blinking. 3. Drawing cursor in seperate thread using directx. I don't know how to do that. Should I share the same d3d device or ...Show All
Visual Studio Need Grandtotal at the start of the page
Hi, I am having 3 sub report. All my sub report will return amount field. I am adding all these in my main report and printing at the end of report. But this grand total i need to use in the sub report . Is it possible to calculate the grand total before execution of my report ...Show All
SQL Server Getting "extremely complex query" error when using xml data type parameters
Good morning, I am trying to figure out, and understand, why I am receiving the error that I am when I use xml data type parameters. If you look at the proc below, I have a proc with 8 xml data type parameters. When i call this proc adn pass in the values for the parameters, I recieve is the following: The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Sup ...Show All
Windows Forms JIT
I have tried to bind som data to at windows form from sqlserver 2000 in th new visual studio 2005 beta. It works ok but when I try to change the data a window displays saying unhandeld exception has occurred...Update requires a valid updatecommand when passed DataRow collection with modified rows. The details of the error looks like this I have tried to enable the JIT in both the machine config and later in app.config - nothing works. See the end of this message, instead of this dialog box, for details on invoking just-in-time (JIT) debugging. ************** Exception Text ************** System.InvalidOperationException: Update requires a ...Show All
Visual Basic Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael I was told by two different Microsoft employees that Visual Studio 2005 Express Edition was the right version of Visual Studio 2005 for me to use for all of my needs including access to ODBC and MySQL data. They emailed me a link with a comparison of all of the different variations and features of the different versions of Visual Studio 2005. I am trying to remember now, but I think it included a chart with bullets or check marks and comment ...Show All
SQL Server Errors in High-level Relational Engine and OLAP storage Engine
Hi all,, Could someone help me out and explain to me why my two fact tables process successfully but the process still fails when i try to process the cube. This is the detailed error message. Ronald <Batch xmlns=" http://schemas.microsoft.com/analysisservices/2003/engine "> <Parallel> <Process xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "> <Object> <DatabaseID>FirstCube</DatabaseID> <CubeID>MSCPROJECT</CubeID> </Object> <Type>ProcessFull</Type> ...Show All
.NET Development Dynamically loading DLLs in ASP.NET
Hello, We would like to be able to change the business components (in DLL) of our ASP.NET (VB) web site without resetting our application. One solution that is/seems possible is by loading the business DLL in a second application domain and unloading/reloading the DLL in that domain. This approach however comes with a severe performance penalty due to the marchalling that occurs with each call over the application boundary. Using a web service is another alternative, but is also much slower then using a DLL loaded in the same application domain as the web application. Due to the load and nature of our application this performance l ...Show All
