ueqt's Q&A profile
SQL Server Creating "MODIFY" functionality on a SQLCLR object
CREATE ASSEMBLY uploads an assembly that was previously compiled as a .dll file from managed code for use inside an instance of SQL Server. What I want to do here is enable/create a "MODIFY" option on CLR-based objects in Object Explorer. Option is only supported for assemblies who's source code has been previously loaded into DB via ALTER ASSEMBLY Upon electing the option, source code gets displayed in editor. Users alters managed source User clicks the "Execute" button in the editor onClick of "Execute" performs following Alters managed source (not sure if this can be done in the system tables, may have to save .cs/.vb files out to file system first then reupload) Builds updated ...Show All
Visual Basic Abstract class and event raising.
For the sake of avoiding my complicated specifics, lets assume that I have an abstract class, Pet. From it I create two concrete classes; Cat and Dog. Lets say further, that I want to raise an event to tell the user when the dog or cat needs something. Seperately my event declarations might look something like. Public Enum catsNeeds litterBoxCleaned toBeKickedAcrossTheRoom End Enum Public Event catNeedsAttention( ByVal sender As Object , ByVal whatItNeeds As catsNeeds) And for the dog; Public Enum dogsNeeds toLickItsButt toChaseItsTail End Enum Public Event dogNeedsAttention( ByVal sender As Object , ByVal whatItNeeds As dogsNeeds) I would wrather defi ...Show All
Visual Studio Team System SQL Express now required?
In the previous CTPs I did not install SQLExpress and instead pointed to my developer edition installation. For this install I did not see an option to not install Express. I installed it with the CTP and then tried to change the instance reference after install and it doesn't recognize my developer instance of MSSQLSERVER Express is now required Susan My VS did not have Express installed. Actually I had to reinstall my VS today because I uninstalled it per the CTP directions then had to reinstall it when I tried to install database developer. I did a custom VS install and didn't install Express. When I installed CTP5 it installed Express without giving me an option to not ...Show All
Visual Studio Team System report stops showing data - warehouse not update
RTM TFS installed on combined AT/DT. reporting was working fine till a week ago, after that, i can still see the report, but there is no data. e.g. for "remaining work" report, even though we still have the same number of tasks, but the work item count (active/resolved/closed) are all showing 0. Report Generated: 8/23/2006 5:24:48 PM by xxxxx ; Last Warehouse Update: 8/14/2006 2:59:30 PM it seems the warehouse update has not happened since 8/14, event viewer doesn't reveal any obvious problem. how to kick start the warehouse update Another possible reason is that the Team Foundation Server Task Scheduler service was somehow stopped. That's the NT ser ...Show All
SQL Server Red X of death
I receive the Red X of death when I'm working with SQL Server 2005 community edition. Microsoft Money is causing this to happen. Whenever I move my mouse over an entry in Microsoft Money, I get an OutOfMemoryException and then all the windows in SQL Server 2005 community edition get a big red X. SQL Server 2005 community edition at that point is either not usable or it bombs on it's own. I wrote a budgeting application for my family's use and I was using Access with no problems, but then I upgraded. It's important for me to run queries while using Microsoft Money. Anyway, I'm looking for suggestions to keep this from happening. Here are the details. OS: Windows XP with Service Pack II (all patches installed) Microsoft Money 2 ...Show All
Visual Studio 2008 (Pre-release) api message
Hi any idea how to send to window api message with resizing Resize window is my target. WM_SIZING didnt work :-( Something like this: http://www.sturmnet.org/blog/archives/2006/12/07/custom-handling-of-the-non-client-area/ in wpf ...Show All
Visual Studio Problem building Managed C++ project with Msbuild that has multiple assembly references
I have a VS2005 solution that includes a Managed C++ project as well as several C# projects. The C++ project references several of the C# projects. All projects in the solution reference log4net.dll (as an AssemblyReference). My C++ project builds without any warnings using the VS2005 IDE. However, when I build the solution using MSBuild, I get zillions of warning messages such as: log4net.dll : warning C4945: 'LogicalThreadContextProperties' : cannot import symbol from '<some path>\log4net.dll': as 'log4net::Util::LogicalThreadContextProperties' has already been imported from another assembly 'log4net' For my managed C++ project, I set all references to be: Copy Local: true Copy Local Depencies: false Use Depend ...Show All
Visual Studio Express Editions Can C# create MMORPGs or online applications?
Im a newbie on the forums, forgive me if i already voilated any rules already but i'd need an answer about C#. I am currently wanting to design an MMORPG application that can handle Multiple connections from many comupter, and pretty much everything a RPG requires or has such as skills, partys, etc.The MMORPG would be a 2-D flat sytle game, such as an old Mario game, running left to right, climbing up and down .Also is C# really the program to handle this type of project, if not, what other program can i use to build my MMORPG project ~Thanks I really don't know about that as I said earlier I've never used it. try it, download it ...Show All
Visual Studio Express Editions How to convert string HexaNumber "0x09" to UInt32 type?
Hi, i need to convert String values that represent a Hexadecimal number in the format "0x3A" to UInt32, but it has to exactly in that format "0x3A". I need this because i’m making a program that sends values like a distance for example to a rowing machine that receives the values in Hexa. To send the value 400, i need to do for example: UInt32 [] cmd_data = new UInt32 [64]; // Send a 0x21 (CSAFE_SETHORIZONTAL_CMD) command cmd_data[cmd_size++] = 0x21; cmd_data[cmd_size++] = 0x03; // 3 bytes are coming next cmd_data[cmd_size++] = 0x90; // \ 400 meters cmd_data[cmd_size++] = 0x01; // / cmd_data[cmd_size++] = 0x24; // 0x21 Kilometers | 0x24 Meters // this is the infor ...Show All
SQL Server Summarizing members with the same name across dimensions
Hi. I have a cube in MSAS 2000 and I would like to create a calculated member which sums two members - each from a different dimension. Both members have the same name in both dimensions. Here is the MDX I tried and following it is the error: SUM({ [External Unit General Ledger].&[All].&[Cost of CPE],[Resource General Ledger].&[All].&[Cost of CPE] }) Error: Calculation error - unknown error Cost of CPE (Please note that member names are correct) Any ideas Thanks. You cannot put members from different dimensions into the same set. What exactly are you trying to sum here You could do ([External Unit General Ledger].&[All].&[Cost of CPE],[Resource General Le ...Show All
.NET Development Displays Excel worksheet in DataGridView
How can I bind an excel worksheet data to a datagridview Im trying to load an excel sheet with numbers to my form, im trying to get as much of a look and feel as excel as possible. Hi, What you want is to embed the speadsheet control that is part of Office Web Components: http://www.microsoft.com/downloads/details.aspx familyid=7287252C-402E-4F72-97A5-E0FD290D4B76&displaylang=en The .net datagrid is not a replacement for a spreadsheet. Regards, Charles ...Show All
Visual C# Capture Streaming Video
Hi, I want to create a program that is able to save a (unprotected) video file from a mms-server. I tried different ways to get the stream and write it to the harddisk but I failed each time. Is there a way in C# to do this Thanks in advance. I was thinking... I am now running the video using the Media Player object. But to get the data to view the video, Media Player has opened a connection with the server and is interacting with it. Is it possible to get the connection stream that Media Player is using, intercept the data send by that stream and safe it to a file while the video is playing ...Show All
Windows Forms autohide
can anyone please tell me how to implement autohide to a panel. like the ones that vs has for properties or toolbox for example. thank you I've implemented this in one of my projects using the Weifenluo docking suite. More info at http://weifenluo.bravehost.com/DockManager.htm It works just fine. ...Show All
Audio and Video Development Maximum code size of an application
Hi all, can anybody let me know what the maximum size for de xml + javascript code is Is the size of the pictures I'am using for my application also limited or can I use as many pictures as disc capacity is avaliable thx mikeret You can only have 64MB of data loaded at one time; that is one of the only really 'hard' limits. You can have more than that on the disc (eg, your 100MB example) but you would have to shuffle them in and out of memory in < 64MB chunks. Note that you can't copy things off the disc while video is playing from the disc, so you would need to pause the video or do something else while this was going on. ...Show All
Visual Studio Team System SP1 - confusion in my mind
On http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx I find mentioned two service packs 1. Visual Studio 2005 SP1 (includes SP1 updates for Standard, Professional, and Team Editions of Visual Studio 2005) 2. Visual Studio 2005 Team Foundation Server SP1 I was talking to a developer and asked if he had installed TFS SP1 (#2) on his client box. He replied that is was not necessary because he had installed Visual Studio 2005 SP1 (#1). Is TFS service pack (#2) included in the Visual Studio SP (#1) TIA, barkingdog The TFS service pack (#2) is only for the server piece of TFS The service pack (#1) is for the client versions including Team Explorer. If y ...Show All
