dave68745's Q&A profile
Visual C# ExtractAssociatedIcon not working well for some extensions (ex: .XML)
Hi, I am using the Icon.ExtractAssociatedIcon to retreive the icon associated with some file extensions. While the code works generally fine, it does not return the expected Icon for some extensions, say .XML for example. I have also tried the Interop route (using the WIN32 API SHGetFileInfo, etc...), and it does the same thing, which I find quite logical. I suppose this is an issue with Windows more than .NET. Has any one fixed this Thanks Do you have a specific case that is causing you problems I am having no problem. Any icon displayed by Windows Explorer is working using Icon.ExtractIconAssociation . Here is the code I'm using for a simple WinForms app containing a text box, button to browse and a picture box. ...Show All
Visual Studio Guidance Package Visual Studio 2005 Project Template not installed on Win XP Service Pack 2
Hi After installing the GAX and GAT, I don't see any of Guidance Packages in my New Project dialog box. I've tried the installation process as stated in software factory documentation of Enterprise Library Dec 2006 CTP. Can anyone help me Thanks Ethan Hunt Hi Ethan, Sorry it took me a couple of days to get back to you. I'm afraid I've virtually ran out of ideas... :-( I've checked with other teams that are developing guidance packages and have installed .Net 3.0 and they're not having any issues. It's very weird that your installation finishes ok without any errors at all but there is not a single trace of GAX being installed on your machine... no files... no reg entries... Btw, have you had success installing it on ...Show All
Visual Studio Tools for Office ThisApplication_Startup not being called - ie. plugin not loading
I have written an outlook plugin using VSTO. The plugin loads fine and works great if the user clicks on the outlook icon. On the other hand, if outlook is started via automation and then outlook is opened, the plugin does not load. These cases are described below. When the user signs on to windows xp with activesync set to run on startup. ActiveSync syncs with outlook by starting it through, AFAIK, automation. Now when the user opens Outlook by clicking on the outlook icon, the plugin is not loaded. Another example is when the user has Outlook closed and they click on an oft file on their desktop, and then open Outlook, the plugin is not loaded. Please advise. Thanks. ...Show All
Software Development for Windows Vista CallExternalMethod: Ambigious match / Overloaded methods
Hi, I think we have found a bug in the designer for CallExternalMethod activity. We have an interface which is used by the CallExternalMethod activity. This interface has two overloads: public Task CreateTask( Guid ParticipationId, DateTime StartDate, DateTime EndDate, string TaskName, string PageLink, string TaskDescription, Rop.Data.PlatformDatastore.TaskData. Types TaskType) public Task CreateTask( Guid ParticipationId, DateTime StartDate, DateTime EndDate, string TaskName, string PageLink, string TaskDescription, Rop.Data.PlatformDatastore.TaskData. SavedAnswerset subjectAnswerset, Rop.Data.PlatformDatastore.TaskData.Types TaskType) When we select in the CallExternalMethod activity instance the interface and ...Show All
SQL Server Proper format of BufferTempStoragePath
Hello, I have one package that seems to have continuous problems with memory. As of right now it loads a little over 1 million records. I tried leveraging the property, BufferTempStoragePath, but I don't seem to have the right path name. What sort of path do you put there File Folder If it is a file, what sort of file should it be... text, dat, xml If someone could point me in the right direction it would be greatly appreciated. Thanks. PS: Below are the error messages I am getting: [DTS.Pipeline] Information: The buffer manager detected that the system was low on virtual memory, but was unable to swap out any buffers. 4 buffers were considered and 4 were locked. Either not enough memory is available to the pipeline because not enough is i ...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 during process load The program '[5080] My First Project 1.exe: Native' has exited with code -1073741515 (0xc0000135).[/code] Can anyone tell me whats wrong // My First Project 1.cpp : Defines the entry point for the console application. // #include "stdafx.h" ...Show All
Visual Basic Visual Studio Adding a Web Reference over VPN: "Unable to connect to the remote server"
I have a VPN setup with a remote server and I can browse to it and see a web service successfully, but when I try to add a web reference inside of visual studio i get the following error: "Unable to connect to the remote server A socket operation encountered a dead network" so the network connection is over a VPN, connection is perfect, yet visual studio does not connect over the vpn.... what gives Hi, I would check, a) The network settings, connection strings etc. b) Try an IMPLEMENTS command or an IMPORTS command, something to do with networking. If your VPN is using VmWare have you tried contacting support for VmWare If your VPN is also using a router you may need to ch ...Show All
Visual Studio Express Editions How to compile a .cpp file in Visual studio
Hi, I have recently downloaded Visual Studio and have no idea of how to compile .cpp file using Visual Studio. Suprisingly the help menu offers no help. It would be very much appreciated if someone could tell me how to do this. hello Re: How to compile a .cpp file in Visual studio I am going to mark this thread as answered since you have not followed up with any further information on your problem as requested for over a week - I assume you solved the problem yourself or one of the suggestions in this thread helped you solved the problem. If you have a solution you could post it so others can find it. If you do not have a solution then please submit further details and then mark the thread as un ...Show All
SQL Server How do I use sq_addmessage?
I have samples of the format for adding the message, but how do I actually get it into the database I tried adding it through Add Stored Procedure, but that didn't work. Do I save it into a text file If so, then what Using the stored procedure should be enough, did you try to call the messages you created using the RAISERROR with the appropiate number you created make sure, as this is a recommendation of Microsoft, that Message number should be above 50000 to make sure they don’t and won’t interfer with any predefined numbers. You also have to make sure that you first do the english version of the message as this is required to insert any other languages for the same error number (but this should be prin ...Show All
Visual Studio Team System Using VSS Converter for individual file(s)
I had a quick question about vssconverter. My conversion stalled due to some network issue and vssconverter kept giving network or TFS errors (I forget the error number) when I tried to continue and do an incremental conversion. I then hacked the Conversion database to drop info. about the file it was choking on and viola! it continued somoothly. Now I'm left with that one file I need to check in. I created a temp folder in VSS and linked that file and then changed my settings file to use this folder with the target of the original location. Now, when I run vssconverter it keeps giving a TF60099 error (which basically states that mappings do not match) because it tries to do an incremental conversion. How can I reset the conver ...Show All
Windows Forms Form style/control
How can i do something like this: http://img7.imagevenue.com/img.php image=29013_control_122_442lo.jpg Group information with option do retract and expand items. Thanks Hi, please go through the following thread. hope this helps. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=310839&SiteID=1 thank you, bhanu. ...Show All
Visual Studio 2008 (Pre-release) How can i hook windows messages in WPF?
I want to use WM_COPYDATA to send some data to my WPF application. How can i do this or is there another way for sending data to WPF application Should have thought of that. Thanks of the support. ...Show All
Visual Studio Express Editions browse for files in MFC C++
Hi there, I have been searching possible ways to put browsers for the files on my user interface that i am designing in MFC using c++. When i press the button " Browse" there will appear a dialog box and i will select the files..and press again a button on this dialog box to write the path of those files into a list file..can anybody help me many thanks in advance.. Eyup hi nobugz, You are right, i should have posted this thread to visual c++ section..because i am using microsoft visual c++ 6.0 it's my mistake sorry i am new..i am gonna post this thread also there.thx. ...Show All
Visual Studio Team System what's the solution for inserting reference data?
as we know many reference tables need data inserting before the systme run so in the DB projects, what is appropriate way to manage the script of inserting reference data The best approach is to add the reference date insertion to the Script.PostDeployment.sql script, whch is found under the Post-Deployment folder in the Solution Explorer. When you build and deploy the database schema, the post-deployment script will be run and insert the specified reference data. ...Show All
SQL Server Execution Log Sample Reports - Job Failed
I am trying to install the samle execution log reports provided with SSRS. http://msdn2.microsoft.com/en-us/library/ms161561.aspx When I try to install them on our development server everything goes fine until I try to start the job (step #13 in link above) "Execution of job 'RSExecutionLog_Update' failed. See the history log for details. When I view the history I get: "Executed as user: WILWHAPP\SYSTEM. The package execution failed. The step failed" From the error provided I'm guessing this is a security issue. I just don't know what and where I should change something. Any suggestions ...Show All
