LeeH's Q&A profile
Visual C++ problem in explicit linking of DLL
I have made a sample Win32 DLL(not MFC) without using .DEF file(I do not have to include a header file thus).To test that i have made a sample application.It loads the DLL using explicit linking(using LoadLibrary() and GetProcAddress()).To make it work I copied the dll to the folder of the exe.Now, the dll is being loaded(the handle returnd by LoadLibrary() is not null).But the GetProcAddress() is returning a null pointer.I have run the dumpbin ...Show All
Visual Studio VSLangProj and EnvDTE in VS 2005.
Hi, I am updating a existing VS 2003 add-in to VS 2005 addin. I am using the dll "VSLangProj" assembly. But unfortunately I couldn't debug the appliction in a machine having VS 2005 (Not having VS 2003) only. I am getting a FileNotFound exception (System.IO.FileNotFoundException: Error while loading file 'EnvDTE, Version=7.0.3300.0). One of my project is using VSLangProj and it is depen ...Show All
Visual Studio Team System Adding new project alerts?
Hello, I'm a s/w program manager. I would like to have TFS send mail alerts to team members when I create a new task for them. I would also like to have TFS send a mail to me when they mark a task complete. None of the out of box alerts seem to fit this bill. Is this possible to set up, if so how Many thanks, Jon Hi Jon The team members should register for the project alerts. If you check the ...Show All
Visual Studio Express Editions No symbols loaded.
[code]'My First Project 1.exe': Loaded 'C:\Documents and Settings\Cody\My Documents\Visual Studio 2005\Projects\My First Project 1\debug\My First Project 1.exe', Symbols loaded. 'My First Project 1.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'My First Project 1.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown duri ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Memory Management of unused code
Hi. I have multiple objects controled by multiple classes. To ensure the classes are only there when i need them (i.e.they are only created when the level that they exist on is loaded so as not to clutter memory with unneeded objects) however. It just dawned on me that all these classes have associated functions (of course). So how is it possible that when the first of a perticular object created with the new operator knows to load in the compil ...Show All
Visual Basic Add APP Setting, when adding a reference to .DLL
I am creating a .DLL which will comunnicate with a WebService to reports status and errors. What I would like to do, is have the .DLL ask the parent application, for an Application.Setting for the HOST Webservice. Thus so it can be determined by the application that is using this DLL. Is there a way, that I can code the DLL to automatically add the Application.Setting data line, when I link the DLL in via References in the VS2005 IDE I ...Show All
Windows Forms Search through PDF, TXT and HTM files .. regex
Hi, I'm quite new to .NET, I have a directory with sub folders with hundreds of TXT, PDF and HTM files, my current task is to extract all numbers builded in this way 000000-000 (I figure out that reg ex for it will be: ^([0-9]{6}[\ ...Show All
Visual Studio Express Editions Tabcontrol helps
Can anyone tell me how to show tabpage by click a button I means when i on tabcontrol page1 then click next button it will show to tabcontol page2. If can plz show the code. thanks assuming that we have a tabcontrol as tabcontrol1 tabcontrol1.selecttab(tabcontrol1.selectedindex+1) where 0 is the index of the tab. With tabcontrol.selectedindex+1 we select the next tab. You can choose to write -1 to select previous tab too. This should ...Show All
SQL Server does not install SQL Query Analyzer
Hi, I am developing and application in pocket pc windows mobile 2003. I have added a reference to System.Data.SqlServerCe.dll but when i deploy the application query analyzer doesnt seem to install. Any help please cheers, michael Hi, Sorry... for info I am using CS VS2005 and SQL Mobile. Thank you. michael ...Show All
Visual Studio Express Editions linking error after installing VC++ express beta 2 with PSDK
I am testing an empty Win32 project as suggested in 'http:/lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx' but it results in the following error: ------ Build started: Project: test2, Configuration: Debug Win32 ------ Compiling... stdafx.cpp Compiling... test2.cpp Compiling resources... Compiling manifest to resources... Linking... LINK : fatal error LNK1104: cannot open file 'shell32.libole32.lib' B ...Show All
Visual C# Developing web apps using VC# Express?
Hi. Is it possible to develop web applications using Visual C# Express Edition, or will I need the full Visual Studio 2005 product for this If not, is it possible to code the project as a windows forms project in VC# Express, and then copy the project to a Visual Studio 2005 machine and compile it as a web application Thanks! /Anders (newbie) The language is not a problem, you can use C# or VB. If you used Vis ...Show All
.NET Development IComponent
I can't seem to find any good examples using IComponent that explain exactly how to use it. Does anyone have any good pointers to soemwhere that shows good ways to use it from the help. . . "This interface supports the .NET Framework infrastructure and is not intended to be used directly from your code. " If you need I component, you should just inherit from Component, and override any methods you want to change. ...Show All
Visual Studio Express Editions VC++ Project Settings: Common Language Runtime not loaded
Operating System: Windows 2000 Professional System: Visual Studio Express Edition Beta2 Language: C++ Location: Tools -> Options -> Projects and Solutions -> VC++ Project Settings ERROR: Common Language Runtine not loaded. You cannot change Build Options if the Common Language Runtime is not installed Other information (possibly irrelavent): Platform SDK for Windows Server 2003 SDK SP1 DirectX 9 SDK (April 20 ...Show All
SQL Server New To Databasing
I have just a general question that I was hoping to have answered about the SQL Server Express edition software. I was looking at the data types that you can select from while creating tables and was wondering about other types of data that it can support. I wanted to find out if it supports audio files as one of the data types. I know from MS Access its a OLE object datatype that supports audio files. Is SQL Server Express even capable of handl ...Show All
Visual Studio Express Editions textbox_gotfocus event to event handler
I have been building an app to learn and make my life easier some day. I have way too many text boxes on it now and want to be able to handle some of the events for all the text boxes using a single sub. Can this be done Have been poking around with the addhandler stuff, but no luck as yet. In VB6 I might have built a 'real' large array of textboxes but this didn't seem possible in 2005, might have missed something thou.... TIA stubs ...Show All
