vijil's Q&A profile
Visual Studio Tools for Office Who knows the purpose of the 'ApplyShutdownFix' Outlook property ?
Who knows the purpose of the 'ApplyShutdownFix' Outlook property, which is not documented When I set its value to false, the Outlook shutdown is longer than as usually. I post this message because I develop an addin that uses inter processing communication between the Outlook addin and some other .NET applications. To communicate, I use AssignHandle / ReleaseHandle. My bug is that Outlook crashes on shutdown because I am not able to release the assigned handle before its shutdown. When the Outlook "Shutdown" event fires, Outlook seems already closed and my ReleaseHandle arrives too late. I have posted questions about it on this thread : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=863522&SiteID=1 ...Show All
Visual C++ dot net framework for unmanaged code
Hi, Could anyone please confirm if one needs to have dot net framework 2.0 to run a application built with Visual studio 2005 with unmanaged code in CPP. I compiled the code on one machine which has Visual studio 2005 and it has dot net framework 2.0 installed. the code i am compiling is unmanaged and is written in CPP. I want to run the built executable on another machine which does not has dot net framework 2.0 (the machine has dot net framework 1.1 installed) Can i just simply install Microsoft Visual C++ 2005 Redistributable (CRT Library) and make it run on the target machine Thanks in advance. Regards, Alex Farber wrote: Program written in unmanaged VC++ 8.0 doesn't require .NET Framework. It needs VC++ ...Show All
Visual Basic The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Hi, a Visual Basic 2005 project was saved on a USB memory. Then it was copied to the hard disk. When trying to open the project from the hard disk, it is not possible to load some forms and this is the message that appears: Errores al cargar el disenador. Los errores se citan a continuacion. Algunos errores se pueden corregir volviendo a generar el proyecto, otros puede que requieran cambios en el codigo. The specified module could not be found. (Excepcion de HRESULT: 0x8007007E) Ocultar en System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) en System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) en System.Windows.Forms.AxHost.Create ...Show All
Visual C# Typed Dataset - No generated code?
I'm using the designer(s) to create a typed dataset in Studio 2005. I get an XSD and an XSS file but get no 'cs' file or 'designer.cs' file. The 'Show All Files' option in the solution explorer is dimmed but seems to be 'turned on' because I can exclude a file and still see it in the list. There are no complaints from the wizard. I searched the C: drive thinking maybe the generated code got placed somewhere else by mistake. Nothing. I've tried this a couple of different ways including using a fresh project. I am pretty sure that this was working just fine at one point in time. The only thing I've done to the environment since then had to do with the ASP.NET AJAX Beta and the CTP for the same. Any ideas ...Show All
Visual Studio Team System How we can call perticular server api's by using unit test ?
How we can call perticular server api's by using unit test how we can write the code for that api's and also how we can parameterized. pls send me some sample example how we can call the api's into unit test. Hi, You can create a unit test for each test case you wish to automate. A unit test starts as an empty function in which you can write whatever code you want. From the Test menu, select New Test and Unit Test. Pick the language of your choice (C#, VB, MC++). If you don't already have a Test Project it will create one. The unit test file starts with a namespace and a test class. You know it is a test class because it as the attribute [TestClass]. Inside it are the test methods, also attributed with [TestMethod] for id ...Show All
Windows Live Developer Forums Changing cursor on map
My client has requested I change the cursor when my 'Add Pushpin' button is pressed. Seems like a reasonable request, but being a Javascript novice I'm not sure how to do this. Seems that map.style.cursor = x should work, but no luck. Suggestions I'm in this boat also. Is their a "proper" way to do it My hack is currently: document.getElementById("MapDiv").childNodes[0].style.cursor = "crosshair"; and then document.getElementById("MapDiv").childNodes[0].style.cursor = ""; when i'm done. John. ...Show All
Visual Studio Tools for Office Export SQL table into Excel...
Hello there, does anyone know some easier way to export data from datatable to excel I'm using some foreach loop to write data cell by cell... It's working ok, but CPU usage is on 100% and a half giga of memory is used.. So, the question is: Is there any way to cut whole table and paste it to worksheet Or is better way to transform table first to XML and then decode into excel So folks, any good idea THX Hi. The reason for the bad performance here is the large number of interop calls when you are setting the value of one cell at a time. You can optimize this by setting values on blocks of cells. As an example, if you need to set the values on a 5x5 area of cells, you can do it like this: Excel.Range cellRange = sheet.Range[ s ...Show All
Windows Forms How i can remove W32.Blackmal.E@mm
Dear all i have symantec corporate 7.0 Eddition. But my antyvirus cannot remove this viruse. now my whole network is infected blackmal.e@mm viruse. can any one suggest me what should i do. or i shloud go for any other antyviruse.. This viruse is creating winzip_tmp.exe files in every system. Please help me.... Thanks Real I'm sorry but your post here is off-topic...please see the following link for Virus up[dates and removal tools: http://www.symantec.com/avcenter/global/index.html Thread will be locked and then deleted. MSDN Moderator ...Show All
Software Development for Windows Vista Any licensing required using WWF?
Hi All Had this question in my mind before making a sw product out of WWF for my business. Have around 50 licenses for VS 2005 Developer's Edition. Now creating some workflows in new sw products. Download WWF Extensions for VS 2005. These extensions have the WWF Debugger & the WWF Designer in them. Do I need any additional license to use these Extensions in my products. Thanks VK Hi Vishal No you dont need any additional lisence for that ! , moreover as WF is integral part of .NET Framework 3.0 you can leverage it without having to purchase any other lisence (same as .NET Framework 2.0 and .NET Framework 1.x ) If you also have some questions in mind regarding usage of WF as ...Show All
Commerce Server Virtual directory problem
Hi This isn't really a Commerce Server question but I thought others might have had similar issues. We are currently running our commerce server site as http://xxx.xxx.xxx.xxx/StarterSite/ prior to going live. We want to run the site as http://xxx.xxx.xxx.xxx/ so I wondered what the best way forward is I've tried using pup to package up the site, but the databases weren't created correctly on XP (yes I know its got problems) when I installed it on my own machine. Given that it doesn't change all the name instances of "StarterSite" I can't really risk installing it back on the same machine (as a new website rather than a virtual directory of the default website) in case it messes up the site. Any help would be hugely a ...Show All
Visual Basic Windows Media Player VB 2005
In VB6 I could set a timer and use "currentPosition" and "SelectionEnd" to move Windows Media Player through a array of songs, one after the other. ie, IF Me.AxMediaPlayer1.CurrentPosition >= Me.AxMediaPlayer1.SelectionEnd Then intSongPlaying = intSongPlaying + 1 Me.AxMediaPlayer1.FileName = strSongs(intSongPlaying) End IF How can I do this in VB2005 HELP!!!! Thanks This worked for me using WMP V10: With AxWindowsMediaPlayer1 If .playState = WMPLib.WMPPlayState.wmppsStopped Or _ .playState = WMPLib.WMPPlayState.wmppsUndefined Then intSongPlaying = intSongPlaying + 1 .URL = strSongs(intSongPlaying) End If End With ...Show All
.NET Development List<> with unknown type
I have something like this: public List<MyClass> GetItems { get{ return (List<MyClass>)GetList(); } } public List<MyBaseClass> GetList() { List<MyBaseClass> lst = new List<MyBaseClass>(); Type typeOfProperty = EvaluateType(); // List<typeOfProperty> -- does not work //... AddItems // return (typeOfProperty)lst; -- does not work return lst; } How can I create a List with the unkown type List<typeOfProperty> is not possible Or how can I cast the list from <MyBaseClass> to List<MyClass> Because return (typeOfProperty)lst; also doesn't work. Ok it seems i have given not enough information, here the conrete Code as I implemented ...Show All
SQL Server with new hard drive- Error 3: the system cannot find the specified path
Installed SQL Server 2000 Enterprise trial a week ago on XP Pro. Installed new Seagate 80G HD; used Seagate's utility to copy old C: to new drive as new boot drive. All seems to work fine, except, when booting up, SQL server doesn't start. When I try to start it manually I get the following: Could not start SQLSERVER service on the local computer. Error 3: the system cannot find the specified path. 1. What could be wrong 2. How do I fix it Hi, Thanks for the message. When you say the original post that said the answer... I can see that but what it didnt say was the registry key, which is what I was after... but in turn doesn't help me. The problem I am experiencing is slightly different upon refle ...Show All
Visual Studio Error: SharedContentComponent: The shared content item 'methodTopicTitle' could not be formatted with 1 parameters.
I got this error running Sandcastle Semptember CTP: ... Info: SharedContentComponent: Loaded 179 shared content items. Info: ResolveReferenceLinksComponent: Instantiating component. Info: ResolveReferenceLinksComponent: Indexed 82647 reference link targets. Info: SaveComponent: Instantiating component. Info: Loaded 11 components Info: Building topic R:Project Info: Building topic N:Electrolux.Compiler.Collections Info: Building topic T:Electrolux.Compiler.Collections.MemoryItem Warn: SharedContentComponent: Missing shared content item 'Methods'. Warn: SharedContentComponent: Missing shared content item 'Constructors'. Warn: SharedContentComponent: Missing shared content item 'Properties'. Info: ResolveReferenceLinksComponent: ...Show All
Software Development for Windows Vista InvokeWebService through State Machine Workflow
I am trying to Invoke a WebService through State Machine Workflow. for this I tried to Raise an event by passing an Xml Document as an argument I am getting the following error Type 'System.Xml.XmlDocument' in Assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable. But the XmlDocument Which I was passing is already Serialized in my UI. Anybody can help me out in this problem.. Actually the class System.Xml.XmlDocument is not marked as serializable. You should look into passing it as a string or file name, or other serializable type. Thanks, Angel ...Show All
