Puspak's Q&A profile
.NET Development .Net Remoting in a soft realtime system
Hello everyone I've read the excellent book "Advanced .Net Remoting" which states that the really safe option for communictation over multiple machines is SingleCall SAO:s. I'm a quite experienced C++ programmer, but I'm thinking of switching to .Net/C# instead, since so much comes free compared to C++. .Net remoting is most appealing to me since it would save me a lot of time, but only having SingleCall SAOs kinda suckswill take the edge of it. A regular socket server would work quite well instead. The solution is basically a queue system where clients pick the best item from the queue and handle it (it should then be removed from the other clients, but will still exist in the server and in the client app that handles it). Clients can tag ...Show All
Visual Studio Tools for Office Right Click Event on Email Item
Right now i am trying to edit the right click menu of outlook 2003 using VSTO. also i want its events so that i can do some necessary work becore the right click menu. Any help regarding this would be appreciated. Ryan Gregg - MSFT wrote: With the body, you can add items to the context menu only if the user is using WordMail for their e-mail editor, and then only by adding items to the command bars for the context menu in Word. Ryan, this no longer works in Outlook 2007. Create a new message and try this in VBA: Set doc = Application.ActiveInspector.WordEditor Debug.Print doc.CommandBars.count You'll get an error that the member isn't available in email. This is a surprising step backwards, given all t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNADominos - Initial release
Just thought I'd post my first release of XNADominos. Its a port of a DX app I wrote a while back mainly as a learning experience. Next release will include source and an editor. Anyway, binaries and screenshots can be found here: http://andyq.no-ip.com/blog/ cat=4 Andy Hopefully it will when ATI release some decent drivers as my dev machine is currently running Vista and the default drivers work better than the current ATI ones with the downside that there are no option sto customise (or that I've found yet). Also, no idea whats going on with the FPS when the app is minimised. I don't do any special handling so probably when nothing is drawn, the draw loop completes very quickly (a guess). ...Show All
Visual Studio 2008 (Pre-release) There was no channel that could accept the message with action
I am using the UDP Transport sample from the RTM SDK, with a tiny mod to make it use the same socket for both receive and transmit. I am doing a WS-Discovery test tool for the devices we build. I have implemented Probe/ProbeMatches as a request/response, and it works fine. Because there is more than one ProbeMatches response possible to the Probe (from different devices), I want to divide my code into a one-way transmitter for the Probe, and a one-way receiver for the ProbeMatches response(s). When I do this, I keep getting the exception message (in the trace file) "There was no channel that could accept the message with action... followed by the ProbeMatches action (which is http://schemas.xmlsoap.org/ws/2005/04 ...Show All
Visual Studio 2008 (Pre-release) WCF and HTTP Get
Hi all, I've spent a very frustrating few days trying to figure out how to do HTTP GET calls to WCF services. In particular, I eventually want to be able to have a javascript call a URL, passing parameters and getting results in JSON format for a WCF AJAX service. I know I'll need to write a custom encoder for my message format, and I don't _think_ I'll have trouble there. So all I want to be able to do at this point is make a GET call to the method, and see the raw soap packet for now (ala the old ASMX webservice support for GET) 1) I've read that "WCF HTTPTransport supports GET out of the box" but I can't find an example of how to actually do this or format the URL to call one of my service operations. 2) I've read the " ...Show All
Visual Studio How to Enable "unmanaged code debugging" in VSPackage
My package is using some external COM objects which are written in unmanaged C++. I need to step into this code using the check box "Enable unmanaged code debugging" under my solution settings. However, developing a package requires that devenv.exe is run and after enabling the flag above and starting the debugger, a dialog box says, "Debugging information for 'devenv.exe' cannot be found or does not match. No symbols loaded. Do you want to coninue debugging " Has anyone figured out how to 'Enable unmanaged code debugging' while developing a VS Package Grem Hi Grem, You can safely ignore this message. It's just the debugger telling you it can't find debug symbols for the devenv.exe binary. You can also avo ...Show All
Windows Forms accessing controls from inherited windows form
I hope I am posting this question in the right place... The problem I am having is that all of the UI elements belonging to an inherited windows form are accessible and editable through the VS2005 Properties window except for the ToolStrip and StatusStrip belonging to the base form. I can access them programattically but I can not edit them through the designer which makes it difficult to add items to the tool and status strips. Is there an easy way to make the inherited controls editable with the properties window A breif explanation is that I am developing an application where I will have several windows forms with the same UI elements but each form will obviously be manipulating a different set of data. I created a class called ...Show All
.NET Development PageBreak Issue
Hi, I am trying to create an excel xml using xslt and am having an issue with adding certain xml input components after the pagebreak. As an e.g ..here is my input file : <ROWSET> <ROW> <SECURITY_NAME>AUD/USD 07/19/2006 DEUTB-L</SECURITY_NAME> <TRANSACTION_TYPE>BUY FORWARDS</TRANSACTION_TYPE> <TRADE_DATE>06/14</TRADE_DATE> <SHARES>92400</SHARES> <COST>69348.97</COST> <PROCEEDS>68063.23</PROCEEDS> <GAIN_LOSS>-1285.74</GAIN_LOSS> <GPS_TXN_ID_CODE>200606150E1P0001</GPS_TXN_ID_CODE> <REPORT_NAME>CHCLM</REPORT_NAME> <ACCOUNT_CODE>250</ACCOUNT_CODE> <ACCOUNT_NAME>STRATEGIC GLOBAL FUND: P ...Show All
Visual Studio Tools for Office VSTO 2005 SE: one assembly for Office 2003 and 2007?
Hi, can I use VSTO 2005 SE to create one Add-In per Office application which supports the versions 2003 and 2007 in one single assembly I would like to query the given Application object which type or which version of a type it is to e.g. create a ribbon element in Word 2007 or a command bar in Word 2003. How would I set up my dev machine if I want to develop for Outlook 2003 and Outlook 2007, as it is not supported to have both versions installed on one machine -- SvenC This is an Outlook only issue. I guess it is because of MAPI which is partly installed in system32. So both Outlook versions try to put stuff there and the last installed version would break the MAPI subsystem for the former inst ...Show All
Visual Studio XSLTransform: Specify at least one xsl file?
hello i try to generate a documentation using the September CTP version of Sandcastle and a batchfile. The batchfile code is taken from different examples found in the www. copy "E:\Codes\myfile.xml" "C:\test_sc\working\comments.xml" MRefBuilder "E:\Codes\myfile.dll" /out:reflection.org XslTransform "C:\Program Files\Sandcastle\ProductionTransforms\AddOverloads.xsl" reflection.org | XslTransform "C:\Program Files\Sandcastle\ProductionTransforms\AddGuidFilenames.xsl" /out:reflection.xml .... running the batchfile leads to the error message that I shall specify at least one xls transform file.Could anybody help me I think it is a very small thing but I can see it ;-) ...Show All
Software Development for Windows Vista Vista removing wrong routes when deleting an interface
Hi everybody, my company distributes a product which contains a virtual ethernet adapter. The driver for this adapter responds to DHCP requests by the OS with DHCP responses, so Windows sets up some routing entries by default, in particular a default route since the DHCP ACK specifies a gateway. When I disable another adapter, Vista deletes all the routes on our adapter , leaving its interface non-functional. Deleting the interface can be done by either deactivating another LAN connection or by hanging up a dial-up connection. Here is the output of netstat -nr after the computer has just restarted: =========================================================================== Interface List 21 ...00 e0 f5 ba be 01 ...... Teles Virtual Puls ...Show All
Smart Device Development How do I get he APIs for Virtual Earth
My company would like to include a link to Virtual Earth in our software (we currently use Google Earth). How can I get the APIs and nessasary information to do this What do you want to do with VE Take a look at this page that includes the CF application that uses VE. http://www.viavirtualearth.com/vve/Gallery/VEMobile.ashx ...Show All
.NET Development Could not get information for 'Students.DataSet1'
Hello again, I am trying to add a new data source on my project which is a simple form that will search a database of students through theyr IDS number and return their name. Visual studio 2005 can "see" the database and table that I need but when I add a new data source, since there is no current data source for my project, I get the following error. An error occured while creating the new data source: Could not get information for 'Students.DataSet1' What could be the problem Thanks in advance, Yiannis. Hi, Check it up, this may help http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=117164&SiteID=1 ...Show All
Windows Forms CausesValidation = false; doesn't work
Hi, I'm using Visual Studio 2005 with C# and there have been several posts on related matters but none seems to address this: I have several textboxes on a form and validate each one with a 'Validating' function using an ErrorProvider. When I click the 'Cancel' button on the form I want to be able to move from a textbox with invalid entry without having validation occur. I've set the 'CausesValidation' on the 'Cancel' button to false, but the validation of the textbox losing focus still occurs when I click on Cancel. Apparently this was a bug in VS2003. Is it still a problem Or am I overlooking some obvious solution Thank you. JohnF Here's the Validating function: private void naTextBox_Validating( object sender, ...Show All
Visual Studio Tools for Office Outlook 2003 Offline
I am still using Visual Studio 2003, have not upgraded to 2005 yet, so I don't know if I am posting this in the right place. Anyway, I am trying to send e-mails from Outlook, under different profiles. I can get the system to switch to the selected profile, but the e-mails just sit inside the Outbox until I open Outlook as the user for the profile. When I check the status of the Outlook Namespace object during my program it says it is offline, even though it connected to the profile fine. How do I make my Outlook application connect to my exchange server so it is not offline.....Here is a sample of some of my test code. Dim oOApp As Microsoft.Office.Interop.Outlook.Application Dim oONS As Microsoft.Office.Interop.Outlook.Na ...Show All
