Amherst's Q&A profile
SQL Server Error Relational and OLAP Engine
Hi Edward, What is wrong with my cube The dbo.Prescription table is in the data source view. Please advice Ronald You are receiving a message during processing of one of your partitions: 'Prescrition' The error indicates your server cannot find the source table for your partition. In the previous post I suggested you modify source table for partition 'Prescrition'. Have you tried it Did it work Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Sample Browser Oct2005 SCRIPTING sample PROBLEMS!!!
Hi. I'm trying to compile the scripting sample project. First of all VS2005 complains that it cant find any of the .h files i went through to program files and copied all the Directx SDK .h files into my common folder for the project, now it can see them but errors on fatal error LNK1104: cannot open file 'dxerr9.lib'. I assume it doesnt know where to look for the file. Can anyone help Thanks /dxstdafx.h / #define DXUT_AUTOLIB to automatically include the libs needed for DXUT #ifdef DXUT_AUTOLIB #pragma comment( lib, "dxerr9.lib" ) #pragma comment( lib, "dxguid.lib" ) #if defined(DEBUG) || defined(_DEBUG) #pragma comm ...Show All
.NET Development invalid operation exception
Hi, I'm very new to this and I would appreciate any help you might be able to give me. I am building a composite web service on my local machine. This web service is to be comprised of calls to two other web services, one on my local machine and one not. The web service I am trying to incorporate into the composite web service retrieves data from an SQLServer database. It tests fine; when I use a web application to test it, it also works fine. However, when I try to call it from the composite web service, it throws an invalid operation exception. I have set the credentials of the instance of the proxy c ...Show All
SQL Server Server Registration
TITLE: Microsoft SQL Server Management Studio Express ------------------------------ An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 41 - Cannot open a Shared Memory connection to a remote SQL server) (Microsoft SQL Server, Error: 87) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=87&LinkId=20476 ------------------------------ BUTTONS: OK ------ ...Show All
Visual Studio 2008 (Pre-release) how to add shapes to canvas
Hi can anybody know how to add any shape like rectangle , circle or line to canvas through programmatically at mouse cursor possition. thanx - Nagu Try this: XAML: <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:m="clr-namespace:TestWPF" x:Class="Window1" xmlns:IcoToImageConverter="clr-namespace:TestWPF" Name="MainWindow" MouseDoubleClick="MyMouseDoubleClickEvent" > <Canvas> <Button Name="m_TestButton" VerticalAlignm ...Show All
Visual Studio Problem with RemoveDir and MakeDir
Hi, I've got a simple MSBuild project that looks something like this: <ItemGroup><MessageFiles Include="..."><Out>...</Out></MessageFiles></ItemGroup> <PropertyGroup><IncDir>foo</IncDir></PropertyGroup> <Target Name="Clean"> <RemoveDir Directories="$(IncDir)" /> </Target> <Target Name="Build" Inputs="@(MessageFiles)" Outputs="@(MessageFiles->'$(IncDir)\%(Filename).h')"> <MakeDir Directories="$(IncDir)" /> <MsgToHeader MessageFile="%(MessageFiles.Identity)" HeaderFile="$(IncDir)\%(Filename).h" /> </Target> <Target Name="Rebuild" ...Show All
Visual C# Application running in system tray sending keystrokes
Hello, I would like to make a device that will control a couple audio apps that I use. I'm using the parallel port to do this and I've already got parallel port output and input down pat, but now I have a new problem. I was planning on writing a little app that would constantly poll the parallel port and send different keystrokes depending on what button was pressed. My question is this: Is Will the application still poll and send the keystrokes even when running in the background, or does it require constant focus of the form ...Show All
Windows Forms "Security error" with threaded app
I have an app that calls a Sub via the Thread class: Dim POPThread As New Thread(AddressOf ProcessPOP) POPThread.IsBackground = True POPThread.Start() The ProcessPOP sub creates a text file in the Windows temp folder (Path.GetTempPath). After writing some data&n ...Show All
.NET Development Exposing a collection class to COM
I'm trying to add COM backwards-compatibility to a .Net class. Mostly I have been able to use the COMVisible attributes etc. to publish interfaces to my .Net class that can be read from VBA etc. However I have a problem with exposing a parameter with type Collection<myobject> to COM: I get an error "Type library exporter encountered a generic type instance in a signature". What is the best way to handle this, and ideally have the parameter appear as a VBA.Collection object Should I create my own Collection class, and if so which interfaces do I need to implement thanks Steve COM does not su ...Show All
Windows Live Developer Forums How to "permanently" turn off Message History
For the past 18 months, I've been trying to accomplish one goal but failed -- I just want to turn off the Message History in my MSN messenger. I can go to Tools -> Options -> Messages and uncheck "automatically keep a history of my conversations". That sort of works... until the next morning when I log in to my PC, it's always checked again. I leave my PC on 24 hours a day. Because I have "Prompt for password when computer resumes from standby" checked, I need to log in again every morning. I'm using Windows XP professional. And the same thing happens to me with MSN Messenger versions 6, 7 and 8 beta. A ...Show All
Visual C# really stuck on a game idea...need help
Hellow to everybody. I was given this idea for a game but I am really stuck. The idea is the following: You're on a TV show and it is the final round. You have 3 doors in front of you. Behind one of them is the big prize. You point one door[for example door 2]. The showman opens one of the other doors and shows a consolation prize. This means that the big prize is either behind your door or the door which is remaning closed. My first question is connected with this "removing of the useless door". Which control will suit me best Also for example if the prize is begind door 2 and the user has pointed door 1 how automatically to remov ...Show All
Visual Studio Express Editions Timer
Hi, I have a ToolStripStaus Lable on my form which informs the user that the new account has been added to the database. I would only like this message to be displayed for a given time and then be removed, what is the best way to code this I could do this using a timer control, is there a better way to add pauses within code Any help would be appreciatted Me .ts1.Text = "New Account Created Sucessfully" Ron Nash I think it's best if you never think in terms of pauses but in terms of asynchonous events which is what a timer does. Here is how you might use a timer for y ...Show All
Visual C# MS, MVP feedback, question: casts / conversions -- some way to automate?
Is there some way to adjust the warning level and other compiler flags so that the c# compiler is 1) not so darned finnicky about expressions using mixed floating point and integer types and 2) actually performs automatic conversions more correctly than it does, like a 'C++' compiler some feedback on this also -- requiring explicit casts in so many situations is all downside, as far as I am concerned: Its very time consuming having to add all the (float) casts required now, and the casts make the code much harder to read. I find I code far more errors than I would otherwise because of the visual distractions added by all the pa ...Show All
Visual C# how to retrive the Application filename.exe
Hi! all I have found one of those words that gives 5 billion irrelevant search hits again How do I retrieve the Application filename.exe this gives the path too the Application filename.exe Application::StartupPath; I just need the rest that goes with it........ Thanks............ Remember I'm using VS2005 Pro C++/CLI managed,,, DOH!!!!!!!!!! on me How the heck did I miss that............. HAhahahahaha Thanks ...Show All
Smart Device Development enable emulator in vs 2005 connect to active sync
hi , how to i enable my emulator connect to the active sync The best way to sync with the old emulators was to setup and use tcp/ip, but activesync 4 no longer supports network sync, so there isn't a way (to my knowledge) to sync to the old emulators with activesync 4, unless you had a couple of serial ports and had a crossover cable between them. The real question is, why bother, unless you REALLY need to connect to a pre-2003se emulator I've given up on the old emulators entirely since they were such a pain to use (having to build for x86, etc). ...Show All
