mexmsdn's Q&A profile
Windows Forms Smart Client and DLL searching
Hello, I am working with a smart client application and it works fine. When I access it through web I get following IIS log: 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo.exe.config 403 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo.exe 304 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo.DLL 404 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo/SmartClientDemo.DLL 404 04:52:22 127.0.0.1 GET /AsyncWebServ/bin/SmartClien ...Show All
Visual Studio Tools for Office Programmatically insert a TOC entry and define outline level ? (solved)
Hi, I am able to insert a TOC entry field programmatically, but I don't know how to insert the options such as : - outline level - suppresses page number - multiple table Here is my code : object oTCType = Word.WdFieldType.wdFieldTOCEntry; object oTCText = "\"" + title + "\"" Word.Field subdocTCField = this.Fields.Add( Application.ActiveDocument.Range(ref oTCStart, ref oTCStart), ref oTCType, ref oTCText, ref oTrue); Thanks in advance for your help. Hi Lex If you insert the TC field using Fields.Add then you have to include the ...Show All
Windows Forms Win XP style in designer window of VS.Net 2003
I've read many solutions how to get xp style controls in my programs by using a manifest file, but is there anyway of viewing them in the designer as well, so that i can see what my form will look like in the designer, and not having to run it each time to see what its going to look like Cheers Thanks. Lazy as I am, I looked around for a VS.Net 2003 devenv.exe.manifest and found a couple. None of them worked. Essentially they differ in the assemblyIdentity element's version attribute value. I then tried both the version number for devenv.exe reported in the file properties dialog ("7.10.3077.0 ...Show All
Windows Forms How to Extract the Date From Datetime
In dt variable I have - 6/9/2004 2:36 PM I want compare it's only date part i.e. 6/9/2004 with today's date How should I do it The DateTime (structure it seems) supports the property Date for this purpose, several other properties exist. Take a peak on the help on DateTime! ...Show All
Visual Studio Team System counter set
Hello, I added "local" as the "add computer " for count set during the Load test wizard since I am going to watch the result in my local system, and I added a plug in. I got error message "Error occured running test.(Computer 0109) could not run load test 'LoadTest1' on agent '0109':LoadTest abourted by LoadTest Plugin" Could any one pls give some clue how to fix this error The Loadtest1 passed when removing the plugin file. Thanks, Jasmine This plugin aborts the load test, so the error you are seeing is expected. If you are trying to write an example plugin to see how they work, comment out the line that aborts the web test and ...Show All
Software Development for Windows Vista Problem with product activation for Vista build 5219
Hello, I have just purchased Windows Vista Ultimate Edition build 5219, I have a problem with the installation. The code is incorrect. The code is: GKFV7-F2D9H-QKYXY-777P3-4M73W Please help me! Send please a massage to my E-mail. boyekroeze@hotmail.com Ahh, how did you purchase Windows Vista It is not for sale and is only available to a select group Technical Testers, TAP, and MSDN subscribers. Its possible your activation limit has been reached. http://spaces.msn.com/members/adacosta ...Show All
Software Development for Windows Vista Passing interface references to activities
I have a large COM system service for which I have generated .NET metadata for use by managed clients. I have created a sequential workflow. In the workflow host, I create the COM server and want to communicate its interface pointer to activities in my workflow so that they can use its services. I am using Data Activities at present, which requires that the objects passed between host/workflow be serializable. But I don't want to serialize the entire COM service...I simply want to have the interface reference initialized in my host and passed to each client. What alternative ways are there to do this, and what's the best way to do this ...Show All
Visual Basic 'Flat' Tabs
How do you make a Tab Control's Tabs look 'flat', like VB 2005's tabs You might want to check the below link. I seem to recall some flat style controls there: http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49 ...Show All
Microsoft ISV Community Center Forums Working with Outlook Public Folders from Excel
Can anyone point me in the direction of some example code Instead of sending an e-mail which has a large attachment to a distribution group, I want to post it to an existing Outlook folder. The code will be placed inside an excel workbook, which creates the attachment file. Thanks in advance Many thanks Brenda, I had got as far as creating the item in my Inbox which was driving me mad, ...Show All
Smart Device Development VS2005 Smart Device form designer fails
All VS 2005 Smart device applications form designer fail to display forms - receive following error: Unable to cast COM object of type 'Microsoft.VisualStudio.DeviceConnectivity.Interop.ConManClass' to interface type 'Microsoft.VisualStudio.DeviceConnectivity.Interop.ICcServer'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{EA537AF4-2226-4D26-BBC0-9CF3A82749A5}' failed with HRESULT: 0x80004002 (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))). at Microsoft.VisualStudio.DeviceConnectivity.Interop.ConManClass.GetDatastore(UInt32 dwLocale) at Micros ...Show All
Visual Studio 2008 (Pre-release) Modal Dialog Window Always Being TopMost Window Relative to the Parent Window
Is there anyway to make a dialog window appear always on top of the parent window If you change the dialog windows ShowInTaskBar property to false and you switch applications and then switch back, your application becomes unusable. The parent window hides the dialog window and you effectively can't do anything anymore as you can't get to the dialog window. I know there is a TopMost Property that I can set, but that makes the window the absolute top window (i.e. appear on top of every window open). How would I go about making the dialog window the topmost window relative to the parent window Thanks, Kevin ...Show All
Visual Studio Express Editions ListBox's and FaceValue
private void Cards() { Random shuffle = new Random(); //Putting Cards in Human Hands for ( int count = 0; count < 5; count++) { int card = shuffle.Next(deckHand.Items.Count); humanHand.Items.Add(deckHand.SelectedItem = (card)); deckHand.Items.RemoveAt(card); } } This is for a cardgame. There are two listboxes, one called deckHand and the other called humanHand. So what I 'm trying to do is get the face value of an entry (say the word/string, and put it into the humanHand ListBox, but it 's just giving the Index value (0 to 24)... after that happens it deletes the entry fr ...Show All
.NET Development problem of port for remoted object hosted IIS
Hi there I try to do something, it makes my head in, I try to host a remoted object in IIS(done no problem) Now I would like IIS to listen to another port than 80 so in web.config I tried : <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall" type="Server.Hello, Hello" objectUri="Hello.soap" /> </service> <channels> & ...Show All
.NET Development usercontrol in HTML and run it in TOMCAT
hi... I have the following problem, thought u could help me out. i have a C# usercontrol and want to embed it to a html page and RUN IT IN TOMCAT3.2.3 webserver. In HTML page, if i give the clsid=GUID then i am able to see the usercontrol in my local machine where i developed the usercontrol and able to in the intranet. also, i am not able to view the usercontrol on my machine if i give the fully- qualified name as ( http://localhost/myfolder/mydll.dll#namespace.classname).But Its working fine in IIS on either way. I think this is something to do with TOMCAT. hoow do i get arnd this.. Pls give me a solution. Thanks, yusuf ...Show All
Windows Forms TableAdapter Update Error
I made a TableAdapter and use ObjectSource to bind it to GridView, when I insert new rows it works OK, but when I try to Update or Delete it gives me this error: ObjectDataSource 'RegionObject' could not find a non-generic method 'Update' that has parameters: RegionDescription, original_RegionID. Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44 Thanks Alaa Bhr Software Developer Hi, Could you check your *.xsd file See if the update queries available in your tableadapter has these kind of arguments. If not try creating it... cheers, Paul June A. Domag ...Show All
