Uri Kluk's Q&A profile
Visual Studio 2008 (Pre-release) SVCUTIL only generates config, no proxy class
First, let me set up my scenerio before I ask my question, because my approach to the scenario may be wrong to begin with: I have my Service Contract (interface) in a seperate DLL (MyContract.dll) than the Service implementation (MyService.dll) because I wanted to deploy the interface with the client (as well as the service) so that I can have the option to bypass the WCF Framework if my service is running on the same machine as the client. My intention is to "inject" (via spring.net or a strategy) into the client at runtime either the proxy dll or the actual service dll depending on the config. So, with the above scenari ...Show All
Visual Studio 2008 (Pre-release) Dec CTP Released, includes Orcas VS Designer
Beta Page http://msdn.microsoft.com/windowsvista/getthebeta/default.aspx WinFX Components - Dec CTP http://www.microsoft.com/downloads/details.aspx familyid=BD3BA2D5-6ADB-4FB2-A3AA-E16A9EA5603F&displaylang=en Windows SDK - Dec CTP http://www.microsoft.com/downloads/info.aspx na=46&p=1&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=2297BDC9-B5AE-4B8A-B601-EEF54A52867A&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f0%2f7%2f3%2f073d42b8-e2ba-4293-ad97-28365dc2d655%2f6.0.5270.0.9.WindowsSDK_Vista_idw.DVD.Rel_Update.img Tools for VS, including Orcas - Dec CTP http://www.microsoft.com/downloads/details.aspx FamilyId= ...Show All
Windows Forms High lighted row in datagrid?
Hi, In datagrid, how could i find that a row is high lighted (programmaticaly) You can use the DataGrid IsSelected(int rowIndex) method. for example, if you want to know if the second row in the data grid is selected you can use this function if (dataGrid.IsSelected(1)) { // the second row is selected in the grid. // } Hope& ...Show All
Visual Studio Problem using DTE80a.olb
Hi, I have migrated my code from .NET2003 to .NET2005. I used DTE.tlb, it gave me build error. However i got sudgestion from VSIP developer to use DTE.olb. But now I can see that this file is not present in VS2005. I used DTE80a.olb as I read in forums that this is just renamed form of DTE.olb. The build is successful but at run time, I get error CreatCustomeProject error at the time of clicking finish of Application settings page and project is not created. Can somebody tell me what is going wrong with DTE80a.olb Thanks There was a change to the tlb to use the name dte80a.tlb rather than dte.tlb. Can you give some more information abo ...Show All
Smart Device Development SDK Install Issues
I can not unistall or repair the Windows Mobile 5.0 SDK for Pocket PC. The msi thinks PPC is intalled but it is not seen by VS 2005. It gives this error when trying to repair the install: A network error occurred while attempting to read form the file: c:\Windows Mobile 5.0 SDK for Pocket PC.msi. I can not remove the install either. How do I manually unistall this product. VS 2005 does not see it and I can not work on existing PPC projects. Smart Phone works fine. Well I did think of that. The message does say there is a network error. So I have done the download about 5 times placed the ...Show All
Visual Studio Express Editions Get specific row value from DataTable
Hey there, I have a problem trying to get an specific row from a table. I'm using a DataSet that has several nums of tables created in runtime, but I need to get an specific row from each table, I'm using this code: Dim TablesResult As New DataSet 'then I call the function to store the tables into the dataset For Each Table As DataTable In TablesResult.Tables Dim Generic As Integer = CInt (Int((Table.Rows.Count * Rnd()) + 1)) 'And then here is where I need to select the specific row and get the value, 'the tables from the dataset just have one column!, Next Please help! Thanks! &nb ...Show All
Windows Forms Custom controls Docs
Hi, Where can I find docs about creating custom controls I mean, I need the reference that says how to interact with the object inspector and the form layout. Create that arrow on the right top corner of the control, and others... This is a nice tutorial about creating custom control: http://www.codeproject.com/cs/miscctrl/DividerPanel.asp about the right top corner arrow, it is called Smart Tags, this is more advanced and I would start with creating basic custom controls, but this is a link to create custom control smart tag: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=231447&SiteID=1 ...Show All
Visual Basic .NET 2.0 ComboBox
Curious about combo box in .net 2.0. I have quite a few item in the combo box list. I have AutoCompleteMode = Append And AutoCompleteSource =ListItems For example the item listed as below : Cameron AaRon Ddaddy Normally, we can scroll through all the item in the combo box in two ways. 1. mouse scroll 2. click on drop down button to select. Problem arised. Once I type "C" in the combo box, it autocomplete with "Cameron". when I do mouse scroll again, it won't let me scroll through all the three record above. It only show me Cameron. How am I going to fix this issue Try setting the DropDownStyle t ...Show All
Visual Studio Team System Team Projects and Product Releases
I interested in how people are handling releases in relation the team project. In other word, how do you handling moving from 1.0 to 1.1 or 2.0. The way I see it there are a few ways of handling this: 1. Keep everything in the same project. This seems like it would be a good idea as you would maintain a complete work item history thought the life of a product. But do we really want to Sure, 1.0 issues that are unresolved are good to know during 2.0, but what about 10.2 Seems to me like this could clutter up really fast. Of course the is the problem of what do to about work items you want to push to 2.0's timeframe even though you're ...Show All
Software Development for Windows Vista Windows Vista Icons PNG vs. Vector
Hi. Wouldnt it be better if you could have a vector file saved as a xaml file for each size rather then an image so youd have a 16x16 vector xaml file rather then having to save it as a png Hello, The drawback of this method would be a lack of compatibility with Windows XP icons. Actually the PNG-compressed Vista icon file format is compatible with XP because it includes the small XP image formats (48x48, 32x32, 16x16). To read more about Vista icons read our article . However, it would be a good idea to support XAML vector image instead of (or as an alternative to) PNG in the final Vista icon file format. Microsoft develop ...Show All
Visual Basic Cutting and Pasting Controls, and Handles clause (bug? or annoying quirk?)
I am currently working in Visual Basic and I noticed something peculiar, this does not seem like a VB problem, but rather a bug with Visual Studio. If you don't want to classify it as a bug then classify it as an 'annoying little quirk'. If you set up a control (like a button), and have a method that has a handles clause that references the button (like Handles myButton.Click), and then 'cut' the button out, the Handles clause is removed! If you later paste the control, of course the handles clause isn't put back. I found this out when I decided to add a TabControl and was moving a bunch of controls around. Now it doesn't make sense to me w ...Show All
Visual C++ I need help with a treeView thing...
What I need to do is to get each node of a treeView (called treeView1) and write their text values to a file all on different lines. I attepted it with this script and the line in red is wrong - what should I use ------------------------------------------------------------------------------- StreamWriter sw(label5->Text + ".vcf" ); int count = 0; int myNodeCount = treeView1->GetNodeCount( true ); System::String ^count_str; sw.WriteLine( "VFC" ); sw.WriteLine(myNodeCount); while (count < myNodeCount){ count_str = count.ToString(); sw.WriteLine(treeView1->Node ...Show All
Software Development for Windows Vista Problem generating default childs on custom sequence activity when embedding the workflow.
Hello. I have the following problem: I'm hosting the workflow on a win32 application, and I've extended the toolbox solution posted here, http://www.windowsworkflow.net/Downloads/Examples/Workflow%20Designer%20Control%20-%202005-09-24.exe , with the Beta1. I've created a custom sequence activity, in wich I can drop activities inside. I would like that when the user drops my custom sequence activity, a child activity is shown inside it by default, but I can't find how to do it... I've tried to add the childs to the custom activity overriding de OnDragDrop method of the SequentialWorkflow (I've inherited it). So I tried to do t ...Show All
Visual Basic How to halt a program???
Let say i have two program called program A and program B, i run program A, but inside program A, i use [call shell(C:\....\programB.exe)] at the 2nd line of my codes in program A, how do i stop program A at 2nd line, until i finished running program B then only continue execute the rest of the code from 2nd line in program A Please help, if you dun understand wat im saying above, u can ask ...thanks a lot!!! You can use Process.Start from process A to start process B. This method will return a new Process object. You can then call WaitForExit on the returned process object to block process A until process B is done. Best r ...Show All
Visual Studio Express Editions TableAdapter.Update does not save data
How can I save data entered in a dataset via the UI I tried the code suggested in the "VB Guided Tour", Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Me .AddressesBindingSource.EndEdit() Me .AddressesTableAdapter.Update( Me .SQLdbDataSet.Addresses) End Sub but all changes are lost when I restart the application. Thanks. I have the same problem in C# even if you don't use a tableAdapter but a sqlCommand object instead. Though affectedRecords reflects the correct rows affected. ...Show All
