Marc Tomlinson's Q&A profile
Visual Studio 2008 (Pre-release) Generate Proxy class with MSMQ
I have a server class in a console application project, the app.config file is: < services > < service type = " ServicioWCF_MSQM.CalculadoraService " > < endpoint address = " msmq.formatname:DIRECT=OS:.\private$\MsmqTransactedQueue " binding = " msmqIntegrationBinding " bindingConfiguration = " CalculadoraBinding " behaviorConfiguration = " MatchAllEndpointBehavior " contract = " ServicioWCF_MSQM.ICalculadoraQueue " > </ endpoint > </ service > </ services > < bindings > < msmqIntegrationBinding > < bi ...Show All
Visual C# Any good examples of how to use Applications settings
Hi, I'm trying to use Application settings to persist the size of a window between sessions in c# Express. I've tried following the help files but it's all way too complex - I can work up to comlpex once I've got something working! Does anyone know if there is a simple 'how to' anywhere, covering the basics What code do I need to add (to save ) What are the steps in the designer Many Thanks for any help Baffled The most painless and simple example of this is at: http://www.microsoft.com/uk/msdn/events/archive.aspx#section_p5 Go to the Winforms and and Smartclients section and view the preserving appl ...Show All
Visual Studio VSS in VS not working - no options under Plugin...
Hiya, Ok, I will try to be brief. I am having a problem with getting Source Safe 2005 to work within Visual Studio 2005 on my office Box. Not only is there no Source control file menu item, but the Tools|Options|Source Control|Plugins dropdown list is EMPTY. When I first installed VSS and VS, I got the option for Microsoft Visual Sourcesafe, but not Microsoft Visual SourceSafe (Internet), which is how we are set up to run. The same version of VSS works from my laptop and my home PC... no problems from either. The only difference about this box is a RAID-1 as a primary boot drive, but that shouldnt have any impact on this at all. ...Show All
Visual C# context menu objects
hello, I was wondering if it was at all possible to use objects in context menus, not just text. i.e., I want to have an object that has a text value (.text) and a number value(.num). The text value is what would be displayed in the context menu, but the number value is what I would act on in my event handler. Thank you for any help. Consider using the MenuItem.Tag property. It is of type Object and can store anything you want, including a value. ...Show All
Windows Forms how to insert string "ALL " in combobox (while trying to retrieve column which is of date datatype)
hi, Ii used data table to retrive column which is of datatype date from database, when i try to insert string "ALL" as first index it doesn't takes, dim brow as DataRow=dt.NewRow brow(0)="ALL" dt.rows.InsertAt(brow,0) Please help me I assume you are using the combobox to supply criteria to perform some query. Typically, criteria is applied only if a value isn't supplied. .. text = " for text boxes/value is null for combos. so, given table is mytable, field is datefield, desired format is mm/dd/yyyy and you are using SQL Server, fill your combo with: ...Show All
SQL Server How do you export SQL 2005 Maintenance Plans?
I am in SQL management studio right now and I have created a maintenance plan. However I see no way of exporting that maintenance plan so I can install it on another SQL 2005 server. I would normally expect to right click on my maintenace plan and have the ability to import or export, that feature is not there. Infact I have found that there are a lot of features missing from management studio, in general it lacks a lot of the right click functionality that use to be in enterprise manager which is a shame, it saved a lot of time. Is there some place to script this maintenance plan Is this possible ! ! ...Show All
SQL Server Import objects from SSAS to Business Intelligence Development Studio
Hi all, Could anyone tell me how I can use Business Intelligence Development Studio to browse or even modify data source views, cubes, etc. on SSAS created by means other than the Studio Thanks, hz Two ways: 1. BI Dev Studio online mode: Start BI Dev Studio . File->Open->Analysis Services Database. 2. Create new project based on the live version of the database. Start BI Dev Studio . File->New Project and choose project type "Import Analysis Services 9.0 Database" Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual C# How to zip files using C#
Hi guys, i was wondering if there is any form of API found with the .NET which allows a develope to zip up the files nedeed pls See http://forums.microsoft.com/msdn/ShowPost.aspx PostID=106888 ...Show All
Smart Device Development files on remote computer?
Hi. Wondering if there is a way of retrieving files/directories etc... using the .NET classes I would like to retrieve this information on my remote computer (local computer which has the mobile device connected to it) I can connect using tcpclient but when i try to get a list of files/directories using: string [] theFiles = Directory.GetFiles("\\ComputerName\drive$"); I get an IOException. However the IOException does not give me any error messages, no innermessage or message! It's just "IOException" Is there a way to do what I want running .NET Framework 1.1 (WM2003SE) Thanks! what do you mean "sometimes it can/can't" ...Show All
Visual Studio Team System Web test comments
I like the idea of comments in web tests. Is there any way to include these comments in the results It would make it far easier when reviewing the results if this were possible. Maybe in the next release (wish list) Thanks, Tomk Hi Tom, unfortunately there's no way in the current version. Hopefully next rev. We also want to make it clear which requests were from the test and which ones were redirects. Thanks for the suggestion! Ed. ...Show All
Windows Forms install windows xp HELP PLEASE!!!!
look, it says so here http://support.microsoft.com/default.aspx scid=kb;en-us;316941#XSLTH3141121122120121120120 yes, its a legal copy. this is a windows xp updgrade cd...so it would have to know that i have an earlier version of windows, right and i have already tried the full format...same thing happens this is a windows xp update cd...so it would have to know that i have a version of windows, right Then if you don't have a copy of Windows ( not this resource CD you found ), the copy is not legal for you to use. Update CDs are sold cheaper on the basis that you own a previous OS. ...Show All
Windows Forms MDI Child closed but MDI parent think other
Hi, I have strange problem that the mdi child are closed but when I open new mdi child I see the buttons of previuos MDI childrens. I checked and found that no reference in MDI parent to MDI child. Why this is And how can I solve it Thank's, Alexei Hi, If you defined the child form as a variable (say its name is FrmChild ), use this method before show it : FrmChild Variable = New FrmChild ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MC2 Editor
I can not see the MC2 Editor being part of the XNA project. When I build/rebuild MC2 the editor files are not updated. What do I do wrong or How can I make changes and updates to the MC2 editor Correct, the editor project is not part of the XNA build projects because Visual C++ Express cannot build them as they require MFC. If you have Visual Studio Standard or Professional you can build the project with no problems. In the Source\Editor folder you will find the projects for building the editor code. Compile both of these: EditorMFC.vcproj and Editores.vcproj and you should be set. Thanks! ...Show All
Visual C# GMT to BAH time
I have an ready-made application which saves which saves all times in GMT format in the SQL Server and i need to get the time in my application in my time.. for example, if a call made on 15:30:25 it will be save in the database as 12:30:25 but i need to read it again as 15:30:25. My time is usually +3 GMT but is it a good way to just say +3 or maybe GMT has a different times in Summer or winter I am not sure.. Hi there, I believe that you are better off not just saying +3 hours because, as you have hinted at in your post, there are considerations such as daylight savings which will impact on the hour differential from GMT ...Show All
Windows Forms EnableVisualStyles and NotifyIcon bug
When Windows XP visual styles are enabled, if you use ShowDialog() on a form in response to an event raised by clicking on a NotifyIcon or a popup menu from a NotifyIcon, you get a SEHException when the form is closed. Has anyone else noticed this If so, how do you work around it Ok, the images are now an embedded resource  ...Show All
