magicalclick's Q&A profile
Visual C++ Help Me Please
Hi im learnig VC++ 2005 and something wierd is goin on with my compiler.. when ever i build and run my projects an error pops up saying "This Application Has failed to start because MSVCP80D.dll was not found. Re-installing the Application may fix the problem." but here is the wierd part the file MSVCP80D.dll is present in my C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c folder i can see it but how come VS is not detecting it and i even tried re-installing the software but it doesn't seem to work can someone please help me!!! Thanks neways thanks a lot u have really helped me out thank you.. could u suggest some websites where i can learn more about VC++ and ...Show All
SQL Server upgrade from 2000 MSDE to 2005 Express - Enable TCP/IP by default & Current Version of SQL running?
i am working on upgrading the clients and server computers from 2000 MSDE to 2005 SQL Express Adv. Plan to upgrade using the template.ini. i can find the version of sql server running on th server by @@version but how do i find the version of client connctivity components the computer has installed in order to ugrade 1. somehow i need to know whether to upgrade a client computer CONNECTIVITY COMPONENTS from 2000 to 2005 2. is there a way to enable tcp/ip in installation script of SQL Express THANKS is there a way to find the version of connectivity components a client computer is running if it is running 2000 then i need to upgrade if running 2005 then i dont need to upgrade ...Show All
Visual Basic Transfer Array from VB.net to C++ and Back
I am having a bit of a frustrating problem. I am trying to pass an array of unsigned short to a c++ .dll which the dll will populate and return. I have tried to convert it to a managed dll, but I am still having issues. The debugger in the vb.net side( 2k5) is returning 'getMeasurement' has a return type that is not supported or parameter types that are no supported for the below highlighted statement Any help/advice is greatly appreciated! Here is the code I am using: vb 2005 code Public Shared usSampleBuffer() as UInt16 Public Shared iResult as Integer Public Property bReadingStatus() as Integer Get Return iResult End Get Set (ByVal iHold as Integer) ReDim usSampleBuffer(256000) Dim lRoutine as New RoutineDLL.clsRou ...Show All
Visual C++ Controlling Mouse Movements
Hello everyone, I'm developing an interface where the mouse pointer is controlled by a user's eye-gaze. The original thread is here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=814312&SiteID=1 I'm controllingt mouse with these type of commands: INPUT Input={0}; Input.type = INPUT_MOUSE; Input.mi.dwFlags = MOUSEEVENTF_MOVE; Input.mi.dx = 300; //some vaues Input.mi.dy = 300; //some values ::SendInput(1,&Input,sizeof(INPUT)); My question is: what are Input.mi.dx and Input.mi.dy Do they represent absolute screen coordinates (I doubt it), or they move mouse pointer to the so many pixels in relation to current position If those values are not absolute screen coordinates is there a way to work with absolute coordin ...Show All
Visual Studio Team System How the web test plugin works
Hi, I have two web tests and both of them use the same web test plug in which gets the recordnumbers from local database table. I am using a select statement in the webtest plugin for data binding. Both the web tests use the same plugin. I get the recordnumbers from the select statement in the plugin. For example, the select statement returns record numbers A, B, C and D. So when do loadtest with both the web tests, i think each of the web tests work on A, B, C and D. Is that true If so, how can I make the web tests work on mutually exclusive data. i.e I want webtest1 to work on A and B and webtest 2 to work on C and D. How to achieve this Are there any resources on how the web test plugin work Thanks., ...Show All
Visual C++ C++ Win32 API - Simple Label Creation
Hi, i am new here, and i am trying to learn to program in the win32 api in c++. I have built a basic program, but was trying to familiarise myself with some common aspects. I was hoping someone could show me the code to create a basic label (static control). I hope this makes sense to you. I don't want it to do anything, this is a bit that i have already: //input box create hEdit = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "", WS_CHILD | WS_VISIBLE | ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL, 20, 50, 200, 30, hwnd, (HMENU)IDC_MAIN_INPU, GetModuleHandle(NULL), NULL); //--- So i basically want something like that, but just a label with a transparent background. How do i do this Please d ...Show All
Visual C++ compiling the "selected" project in dev studio 2005 - behavior change
Hi, We are currently in the process of moving from VC6 to VC8. We have several projects with houndreds of cpp and h files. One of the biggest complaints we get from the developers is the issue of "build selection" button and F7: Our solution is built from several projects, most are static libraries for the main project (the main project having dependencies to these lib projects). When working on the code, developers generally changes a few cpp's without needing to know which one is related to which lib project and in the end they would always compile the main project by pressing F7 or pressing the build - these would automatically build the 'active' project which was always the main project. all relevant libs related cpp's that had changed ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a simple 2D surface for bitmap display and vector points lines etc... Good example to start?
Hi there. I'm new to the forum but no to to forums so hopefully I know the ropes. I have been looking at converting our current GDI+ graphics window (a basic picture box with points and lines along with zoom in and out capability) to Direct X. I saw some great examples with Direct Draw but that is deprecated and one of the reasons we are moving to DirectX is to support vista since GDI+ is much slower with Vista. The bottom line, I need a very simple example to base some code on and I can't seem to find one. Any advice on a good starting point for a training session would be helpful. Thanks! core, If you install the latest DirectX SDK, you get the DirectX Samples (and samples browser) to help you with ...Show All
SQL Server Error in Transacitonal Replication - SQL Server 2005
Hi, I'm deploying tran repln between 2 SQL Server 2005 databases and when viewing the 'Distributor to Subscription History' see a error message: Incorrect syntax near the keyword 'where'. (Source: MSSQLServer, Error number: 156) On the subscriber, I don't see the snapshot being generated....Please advice. Raymond, Try the following (its not the exact table that I'm using, but the concept is the same) State char(2) PK County varchar(100) PK CountyID int identity Thanks, Eric ...Show All
Visual Basic Which form will get focus?
I am trying to find which Access form will regain the focus when I close the currently active form. Is there anyway to determine this These forums are for VB.NET questions. The VB within Access is Visual Basic for Application. VBA is a very different product from VB.NET and there are some other locations where youy will probably get a quicker and better response to your VBA questions. Y ou may find more assistance in following which specifically deals with VBA development. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=74&SiteID=1 Or if you are using VBA from within on of the office applications Office Automation: office.develope ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MechCommander2.proj file?
Hello again; I've notice there was a MechCommander2.proj file in the BuildProj subdir of the MechCommander 2 source sample. Where does this file come from Has it been edited by hand How is it used in the build process This project is the non-graphical version of the MechCommader 2 build script. It has the same functionality as the graphical version (Maybe even a bit more) and is used to show how MSBuild scripts are written and using XNA Build technology. ...Show All
Windows Forms Glass effects with .net
Well, this is really a comment and a question: I posted a sample on .net (windows forms) and glass using the Dwm functions to do frame extend, sheet of glass, full client blur, arbitrary client blur - on my blog ( http://philiprieck.com/blog/archive/2006/07/21/GlassForm.aspx ) Just one problem: Anyone know of a fix for the "must paint black over glass" limitation that doesn't resort to using a WS_LAYERED (aka transparency key) window Painting black isn't really a problem - it's putting winforms controls on top of it - the background and foreground gets all messed up. Any help would be appreciated. Thanks, Philip You'll probably have better success asking on a Winforms forum. Glass ...Show All
SharePoint Products and Technologies Delete Extended Web Apps?
Hi, I am trying to work out how you actually DELETE an Extended Web App For the life of me I cant see where it is! I have tried deleting the AAM mapping, and then I deleted the Web App in IIS (I know this isnt a good practice!) - the net result is that when I try and create another Extended Web App, with the same name and port, MOSS complains that one already exists! Can someone point me at the obvious Thanks Phil Go to Central Administration | App Management. Click the Remove SharePoint from IIS Web Site entry in the first section. On the following page, select the IIS site (zone) to "un-extend". You can also select to delete the corresponding IIS site. Hope this helps, ...Show All
SQL Server can datasets access sql server schemas
I have a database in sql server 2005. I have a schema called A. (Create schema A). THen I have several tables and procedures in that schema. Yet, when I update my reports to use the new tables with the schema name (select blah from A.table), I receive an error on the site that says "invalid object name 'A.table'" How do I get RS to understand my schema I'm using a sql server account as credentials for my data source. Thanks, -Lori User error. I was tired. My datasource was not being deployed, and the tables did not exist in the old datasource. Once I updated the report/datasource and re-deployed, I could see the tables. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distributing games with XNA runtime
So what's the best way to distribute the XNA framework with a game Just point people at the framework download on the Microsoft site Include the XNA framework installer with the game I was clicking around and found in the project properties-> "Publish" -> "Application Files..." options, I can set the publish status of Microsoft.Xna.Framework.dll and Microsoft.Xna.Framework.Game.dll to "Include", which copies the dlls with the game. Is this enough to get the game running on another PC, assuming Framework 2.0 is present and DirectX is up to date Thanks! Yeah, it's a shame the install process doesn't automatically include checks for the components you need. As Bapa said, ...Show All
