bchidester's Q&A profile
Visual C++ Managed method in native class
Is possible to have a managed method within a Native(un-managed) class within a \clr project E.g. class myClass { public: #pragma managed void myMethod(void); }; I get an error when attempting to compile above about #pragma managed must be used at global scope! Is there some way to achieve this If not, why not Thanks in advance. In a nutshell Brandon. I have since resolved this problem, exactly as you have stated. Thanks. ...Show All
Visual Studio how to locate the chapter in the help table of contents associated to the current visited page
Sometimes I find a page by searching in Index in the .NET help system. But after, I want to locate that chapter or section in the table of contents. How do I go, pls, from the current page in order to find its link and place within the chapters in table of contents. Best regards Jeremy, Ignore my previous msg, found it! (my head WAS spinning) Thanks PMB ...Show All
Smart Device Development installing .NET CF 2.0 on a Pocket PC
hi how do I install the CF 2.0 on a Pocket PC it's currently running Windows Mobile 2003 SE thanks, well, i try to uninstalled from 'Control Panel', however, in my ppc, .net cf 2.0 still exist I use this way to check: http://msmobiles.com/users/1/archives/2005.4.20_19046/netcf2.gif does it have any affects when I using vs.2003 to write code because I think I am just gonna use cf 1.1 at the moment as I don't have vs.2005... ...Show All
Windows Forms yes/No column in Datagrid??
Hi In Windows datagrid, one of the column is a boolean column, in which, user don't want to see True/False. They want to see Yes/No. Similar, kind of requirement is when another column is bind with a checkbox. They don;t want checked or unchecked box in the column. How can I display just Yes or No in Boolean column in types of cases Please ...Show All
SQL Server Lost tables and Stored Procedures after installing SP!
I installed SQL 2005 SP1. After the installation I cannot display tables that were created with SQL2005. Tables that were created with SQL2000 still display. Updates to the SQL2000 tables do not display. The Stored Procedures that were created using SQL2005 do not display. This is true of the original .mdf file as well as backup files. I uninstalled SQL2005 and re-installed it. No change. The file size is the same as the backups so I think the data is there I just cannot display it. I am logged in on a local version as dbo. Any suggestions LitePipe, Not sure what's going on, but I'm going to move this thread to the Tools General fo ...Show All
SQL Server Suspend All Transactions for a Split-Mirror Backup Strategy?
We currently use a split-mirror backup strategy for our Sybase database, which has a "quiesce database" command to suspend all transactions. By quiescing the database before splitting the mirror, we suspend all transactions to ensure we get a stable backup of the environment. It works very well for us and I'm trying to understand how we could implement this with our SQL Server 2005 DB. (I'm aware of SQL Server mirroring and that there are other ways of possibly backing up the DB. In this post however, I'm only interested in how I would make the split-mirror strategy work if I wanted to pursue it. I'm trying to avoid paying for software that ...Show All
Smart Device Development GPS-Enabled devices that run .NET
I want to develop my first application for mobile devices, but I'm a little confused. I want to write an app that reads the GPS location from a phone. First, which GPS-enabled phones are in the market that I can write applications for using .NET compact framework What's the difference between SmartPhone, Windows Mobile, etc Is there a standard API for getting GPS location from a phone Thanks, Laura I believe the only one available at a moment device with embedded GPS is HP iPAQ hw6515. It's not a phone, but Pocket PC Phone Edition, however. Yes, there's manage API to access GPS starting from Windows M ...Show All
Microsoft ISV Community Center Forums tja, noch ein test...
Started by thomas woelfer at 02-14-2005 11:06 AM. Topic has 0 replies. 02-14-2005, 11:06 AM thomas woelfer Joined on 02-14-2005 Posts 5 tja, noch ein test... ... nachdem die letzte nachricht verschwunden ist :-) WM_TESTING thomas woelfer d.i.e. cad und statik software gmbh ...Show All
Visual C++ "ocscpy" depricated. What replaced it?
Trying to compile a .cpp file with this statement (the file was downloaded from an MSDN website for C++ Samples) ocscpy((*p_si1)->m_rgSymbol, p_si2->m_rgSymbol); I got an error message: Warning 2 warning C4996: 'ocscpy' was declared deprecated I could not find ocscpy anywhere in MSDN. Any clues as to where to get a replacement Thanks I believe you can use ocscpy_s instead of ocscpy. The strange thing is that I didn't find any help for ocscpy in msdn which is strange. I will contact the doc folks for that. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Console App blows up when I try to publish it. (GenerateApplicationManifest path too long)
My console app was working perfectly in debug mode through the IDE, but when I went to publish it for deployment on the server, out of nowhere I got 2 messages and an error.I am using DAAB 2, and I have the common, data, data.configuration DLLs referenced. I have another app which is a VSTO app, which after much effort works fine. I compared my config files and they virtually identical, so why am I getting the messages on 1 and not the other. (Deployment is a real SOB). Anyway, I I got 2 messages and an error as follows. Any ideas would be extremely helpful. I have also posted the top of my app.config file. Message 1 Could not find ...Show All
Visual Studio Deploy in Production
Hi, I have created a small .net application which uses Crystal Reports(bundled Version).I have everything working on the development server.I have a webset up project & my .net project in a solution.Now I want to move the whole application to production.What should I do The production server just has .net framework installed. So I cannot created solution.If I just copy my projects to production will it work Thanks, Sudha Hi, I copied the websetup.exe to production server and executed it there.It went through.When I say http:\\webserver\projectname it gives me this error Configuration Error Description: An error occurred during ...Show All
SQL Server Failed to generate user instance and Cached Domain Login....
I am having trouble with the " Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. " message however I believe my circumstances are different that what I have found in any posts about this subject. I use a laptop computer for development on my domain at work (I am in admin group on that domain). I have worked for several hours today on a project and logged off my network and then hooked my computer up at home. I log onto the machine again when I get home and log on normally, with a cached domain logon and I am unable access the datab ...Show All
SQL Server Memory Error: Dimension Processing on Analysis Services 2005
Dear Anyone, We have a live server with an 8GB of memory. This box is used by SQL Server 2005 and Analysis Services 2005. We recently encountered the error below. We cant place head or tails to whats causing it. Can anyone please enlighten us Memory error: The operation cannot be completed because the memory quota estimate (1999MB) exceeds the available system memory (1996MB). Thanks, Joseph Is this 32bit machine The error you are seeing indicates that Analysis Server wasn't able to obtain memory required for processing operation. If you are on 32bit machine, make sure you have /3GB swtich in your boot.ini. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a HBITMAP from a LPD3DXBUFFER
Creating a HBITMAP from a LPD3DXBUFFER First of all is this possible Below is my current code with the annotated space where this transformation is required. HBITMAP MyClass::ScreenGrab() { //RenderTargetSurface. IDirect3DSurface9* pRenderTargetSurface = NULL; //DestinationTargetSurface IDirect3DSurface9* pDestinationTargetSurface = NULL; //DisplayMode D3DDISPLAYMODE d3dDipMode; //HBITMAP that will be the return of the method HBITMAP hbm; if (m_pd3dDevice == NULL) return NULL; &n ...Show All
Visual C++ EVC++
Hi... I am currently working on embedded vc++ and I have created a mfc single document exe application .Now in the resource I add a dialog box and also in the menu I add a new menu button.On pressing it I want the dialog box.For that I have added a command handler to the toll bar.Now what should I write in the command handler for the dialog box to be executed . Basically I completed the steps given in this site: http://www.justppc.com/evc2.shtml However I was not able to get the dialog box to run and I know I must add some code to the command handler I would recommend contacting the folks at www.justp ...Show All
