RK79's Q&A profile
Visual C++ OpenGL library integration problem
Hello there! I have the Visual C++ 2005 Express Edition. At school, we use VS 6.0, therefore, my projects should work on that platform as well (btw: are there compatibility issues between the two ) Now to my problem: I have downloaded the glut library from on of my teacher's site, the same that we use in school. The copied the glut.dll in the Debug folder, under my project, and the glut.h and glut.lib and glut.def under the same folder as the rest of the .cpp files. Now, when I do this at school, it all works out nicely, but here, I get an error message like this: <path>"/glut.h(137) : fatal error C1083: Cannot open include file: 'GL ...Show All
Visual Studio Team System Beta2: Cannot create a Team Project
I am not able to create a new team project. I'm logged in as a domain user with local administrator membership. On the last screen of the wizard I get this Process creation failed with error: "Initializaton failed for plugin(s): "Microsoft.Pcw.wss"" Here's the log content: 04/22/2005 01:48:54.478 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://syd-3rtest:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 04/22/2005 01:48:54.478 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0 seconds 04/22/2005 01:48:54.509 | Module: E ...Show All
Software Development for Windows Vista DwmEnableMMCSS
Does anyone know what this function does HRESULT DwmEnableMMCSS( BOOL fEnableMMCSS ); http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/ShellCC/platform/shell/reference/functions/dwmenablemmcss.asp DwmEnableMMCSS() tells the Desktop Window Manager to participate in the Multimedia Class Scheduling Service (MMCSS) scheduling algorithm. MMCSS is a special form of schedule priority that's described here . When called with TRUE, the DWM registers itself as a process that participates in MMCSS. When called with FALSE, it stops participating in MMCSS and returns to just being a ...Show All
Visual Studio Express Editions Registered 5 Times Visual Web Developer Express but no Product Key
Hi Folks, I downloaded Visual Web Developer and have been trying it out, it's great so far. I also downloaded VB Express afterwards . I registered VB and got a Product ID which I copied and pasted like the instructions said. I never got a Product ID for VWD Express. I registerd immediately after installing. I either overlooked the Product ID copy and paste when I first registered or it wasn't available. I have since done the Help > Register Product about 5 times. I get an email but haven't been led to the page with the Product ID. What do I have to do to get the Product ID for Visual Web Developer Express Many thanks for yo ...Show All
Visual C++ simle form in c++
CODE bool InitWindowApp(HINSTANCE instanceHandle, int Show); int Run(); LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR pCmdLine, int nShowCmd) { if(!InitWindowApp(hInstance, nShowCmd)) { ::MessageBox(0, "Failed to create Window!", "Fail", MB_OK); return 0; } } bool InitWindowApp(HINSTANCE instanceHandle, int Show) { WNDCLASS wc; wc.style = CS_HREDRAW | CS_VREDRAW; wc.lpfnWndProc = WndProc; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = instanceHandle; wc.hIcon = ::LoadIcon(0, IDI_APPLICATION); wc ...Show All
.NET Development ViewState breaks W3C validation
Greetings all. With ViewState by default is stored as hidden variable _ViewState in a <form>, unfortunately many form pages will break W3C HTML validation ( http://validator.w3.org ). This is because undescore is not permitted as the first char of an input field id. To use the good bits of ViewState (ie populating and setting the initial value of fields, hiding or shows divs) is it possible to do either: 1. Rename "_ViewState" to "ViewState". 2. Shoving ViewState into (perhaps) Session (the payload isn't changed much - not what we're after just here). Basically, I looking to either change the hidden f ...Show All
Visual Basic When using a Splash Screen, you can't cancel the Application.Start
I have Splash Screen selected in the Windows Application Framework properties of a VB 05 (RTM) project. I've put the database initialization code in the Application.Startup event handler (in ApplicationEvents.vb) and the Splash Screen will display fine while it's connecting. But if I can't connect to the database, I want the application to shut down. But when I set Cancel = True in the Application.Startup event handler, the application doesn't close. The Splash Screen just sits there forever. From what I gather, the Splash Screen will stay open until the Startup Form has been fully initialized. But if you c ...Show All
Visual C++ Importing MSMQ Com into C++
Using Visual Studio 2005, I have a C++ Win32 (dll) project that needs to use message queueing (MSMQ). In trying to import the COM interface to MSMQ, I use the statemement: #import "mqoa.dll" This seems to have a positive effect, since the presence of the statement causes the IDE (Intellisense) to automatically complete MSMQ statements and declarations as I type them in. However, when I compile, I get the error: 'c2653: MSMQ ...Show All
Windows Forms Simple Data Binding to a CheckBox Control
I must be missing something. I am writing an application in VB.NET and have been using the following code to bind textbox controls on my form to columns in my dataset (gdsBookList): txtBookName.DataBindings.Add("Text", gdsBookList.Tables(0), "Book_Name") I have a datagrid listing the records that is also bound to gdsBookList and as the user clicks a row the&nbs ...Show All
Visual Studio Express Editions Problem in VS.NET 2005 Beta 2 after installing SQLExpress Sep CTP
Hai ...., My VS.NET 2005 Beta 2 was working fine. After I installed SQLExpress September CTP, VS.NET 2005 Beta 2 stopped working i.e. it started to give me errors. When I try to create a new application, it gives me project creation failed error. I don't what went. May be anyone can help me solve this issue by looking at my installation procedure. 1. First I uninstalled .NET Framework 2 Beta 2 2. Then uninstalled tool for Compact framework, which is version 1.03. (I d ...Show All
Visual Studio 2008 (Pre-release) Calling type extension method recursively
Hi, Does anyone of you know if it's possible to call a type extension method recursively. Example public static IEnumerable < RegistryKey > GetSubKeys( this RegistryKey registryKey) { IEnumerable < string > registryKeyNames = registryKey.GetSubKeyNames(); foreach ( string registryKeyName in registryKeyNames) { RegistryKey registrySubKey = registryKey.OpenSubKey(registryKeyName); yield return registrySubKey; GetSubKeys(registrySubKey); } } I don't get any compiler or runtime error but the inline GetSubkeys(...) isn't doing muc ...Show All
Visual Studio Team System One big team project, or Eight small ones?
Hi.... I'm just getting my feet wet wtih TFS, and have general questions. We have a small team which work on web applications on eight different internal web sites. Each web site constitutes one project. Everyone involved have the same responsibilities in each of the eight projects. So, while getting things setup (and of course I want to use source control) with TFS, should I make one Team Project, or eight Team Projects If I make it into one team project, can I deploy only one web sites at a time, or do I have to deploy all eight I want to take advantage of the shelving, branching and labeling features. Thanks! Forch ...Show All
SQL Server Query on Custom source Component
Hi in the acquireconnection method Using the below statment I can get a connection Object oledbConnection = cmado.AcquireConnection(transaction) as OleDbConnection; from the connection object I can get the connectionstring from the object by calling oledbConnection.connectionstring() property which will have all the details like DataBase, UserName & other Inofrmation but there is no password Info. How to get the password Information, I need that information since I will use that info to make OCI calls to fetch the data from the Oracle database in m,y custome source component. any help is much appriciated thanks i ...Show All
Visual Studio Express Editions MOdules/Functions
Hi, Could anyone explain me the difference between a function and a module and aan example or way to difference them in VB.NET Thanks. A function is an executable routine, which has intputs and returns a value.... It might look like this: Protected Function Add (byval Val1 as integer, byval val2 as integer) as integer return val1 + val2 end Function This function return the sum of val1 and val 2. Functions can be included in both classes and modules. The primary difference between classes and modules is that a class is instantiated and a class can be run with multiple insta ...Show All
Visual Studio 2008 (Pre-release) QueryExpression.Lambda() problem
I recently watched this video with great interest and tried to do the same as Anders when he creates dynamicly a filter expression that he passes to the Where method of his Customers Table. So there is my code : using System; using System.Collections.Generic; using System.Text; using System.Query; using System.Xml.XLinq; using System.Data.DLinq; using System.Expressions; namespace LINQConsoleApplication1 { class Program { static void Main( string [] args) { NorthwindDataContext dc = new NorthwindDataContext (); dc.Log = Console .Out; ...Show All
