Ravindra Patil's Q&A profile
Visual Studio Events in DSL Elements
Hi, I started by making a simple DSL solution and customizing property values (i.e define a combo box to display possible values for a property and another "customization" to open a form where I collect several data). Now I would like to define a type for a property, something like "Collection" where I can save the data I collect on a form. I didn’t understant the info on MSDN about "Domain Type Descriptor" and "Property Paths" . Any example How do I handle the mouse click and double click events on a DSL Element Thanks, DevDiver Hi, As far as I understand and can read from the posts on this forum, reference-type collection properties are not yet sup ...Show All
SQL Server Installing sql express
When I run the install script, I always get a warning that the hard drive (space ) won't support the install, but I have installed successfully with the new tools etc. and I still have 20 gigs left on my laptop. Why is this warning given thx, Kat Do you recall that the original warning you saw was on the dialog where a bunch of other checks were being run Items such as memory, processor, pending reboot, and IIS state If so, than based on the error you found the DiskFreeSpace SCC check probably failed. To validate this, take the following steps: Click on the Start Menu, then "Run". Type "wbemtest" then enter. When the program starts, click on "Connect". In the topmost text box, ty ...Show All
Windows Forms Bound Text Box not Updateing Underlying Data Set
In ASP.NET 2, C#, I am trying to determing whether a user has changed the data in a form's text box. The text box is bound to a DataSet as follows: this.txtCOPK.DataBindings.Clear(); this.txtCOPK.DataBindings.Add("Text", ds, "invcusth.copk"); The change is checked as follows: foreach (DataTable table in ds.Tables ) { foreach (DataRow row in table.Rows) { row.EndEdit(); } if (ds.HasChanges()) { MessageBox.Show("Changes"); boolChanged = true; } } Whn I type a new value into txtCOPK, the snippet above works correctly. If I put the change in programatically as below, the correct value shows up in the text box and the TextChanged event fires, but the DataTable ...Show All
Software Development for Windows Vista Conversion of XPS :: ArcSegment to GDI+?
Hello, my aim is to simulate an ArcSegment from XPS using the GDI+ library. In XPS, an ArcSegment is defined by the startPoint and endPoint of the arc, as well as the two values of the radii of the whole ellipse, along with a rotation angle and 2 other values to determine which arc to choose. In GDI+, we can add an arc to a GraphicsPath object using the following method: AddArc( const Rect & rect , REAL startAngle , REAL sweepAngle ); where rect is the bounding rectangle of the ellipse containing the arc. MY QUESTION is this: How do you convert from XPS::ArcSegment to GDI+::Arc I thought about finding the bounding rectangle of the ArcSegment as a starting point, but I end up with 2 quadratic equatio ...Show All
Internet Explorer Development error signature hungapp
Hello everybody My computer is very slow and freezes, sending out this message: Error signature sz AppName: iexplore.exe sz AppVer: 7.0.6000.1644 sz ModName: hungapp sz ModVer: 0.0.0.0 offset: 00000000 What do I have to do Your help will be GREATLY appreciated! Is this relates to SQL Server or Reporting Services Anyway have you scanned your machine for any Viruses and I guess this could be a missing file problem, fyi http://support.microsoft.com/kb/276393 check this out. If this relates to IE only then better to check under IE forum section too. ...Show All
SQL Server Can't see a New Data Driven Subscription link
Hi: I have SSRS 2005 standard but can't see the New Data Driven Subscription link so I am not sure how to create it! Please help.. Thanks. ...Show All
SQL Server Which Server
Hi Guys, I'm a beginner with Access and I set up a small database for a local charity project with a backend, front-end over a network drive. The database works well except that when too many people have the database open (there could be up to 6) at the same time it runs very slow. Someone said to me that if I put the tables on a server on one of the computers then it would improve the speed of the database but I would still like to keep the front-end as Access. Can anyone tell me if this approach would be a solution to my problem and if so which server would suit my needs, remembering that money is an issue Hi Lars, By default, SQL Server Express Edition installs with local connectivity only. ...Show All
Visual C# Enum versus Domain objects
hi all, I have an enum (see below) which stores various titles: public enum Title { Mr, Mrs, Miss } When my form loads, it populates a combobox with these titles straight from the enum. The user of my application can either select a title from the combobox or can type in his/her own title (into that same cbo box). i.e. if that title is not available in the list. I want a good way of being able to store this title on the Individual object as a property. This property cannot be of type Title enum because if the user types another title, it will be a string. I then want to beable to attach logic to this property (if need be). For example, if the Individual.Title=Title.Mr then .... else .... etc etc. I don't want to com ...Show All
Visual Studio 2008 (Pre-release) ListBox/ItemsControl DataTemplate issue
I have a ListBox with a DataTemplate as follows: < ListBox x:Name = " procList " ItemsSource = " {Binding} " > < ListBox.ItemTemplate > < DataTemplate > < TextBlock Margin = " 10 " Text = " {Binding Path=Identifier} " /> </ DataTemplate > </ ListBox.ItemTemplate > </ ListBox > This works fine, i.e. the DataTemplate is applied to my items as expected. However, if I use an ItemsControl instead of the ListBox, i.e.: < ItemsControl x:Name = " procList " ItemsSource = " {Binding} " > < ItemsControl.ItemTemplate > < DataTemplate > < TextBlock Margin = " 10 " Te ...Show All
Visual Studio Team System Build freezing?
I have run a build a few times now, and it is freezing. I am running a custom installshield task that I have wrote. I have to build about 12 merge modules using the ISSABld.exe, it gets through about 6 of them and then while building it freezes. Does anyone know why this happens Thanks. It seems like something isn't wrong ... this is what I do run process. wait for process to exit print output to screen print completed exit class So it seems like this is all it printed out while the process was running...seems like it just quit processing. ...Show All
SQL Server The attribute key cannot be found - two cubes - different results
I am working with a cube that was built by someone else. I reverse engineered it to create a project and I am trying to re-deploy it in a development area. I keep getting the ‘The attribute key cannot be found: …’ error on a fact table key. When I use a SQL script to check if there are any missing keys in the dimension table they are all there. I have tried dropping the dimension from the cube and adding it back and changing the DSV from table to Named Query. Nothing fixes the problem. As a test I created another project and included only the fact table and the ‘problem’ dimension and I was able to successfully process the cube ! ! I would rather not ‘ignore the errors’ ...Show All
Visual C# StrongNameIdentityPermission
I tried to protect my entire assembly by using StrongNameIdentityPermission at the assembly level using Request Minimum with the following code [assembly: StrongNameIdentityPermissionAttribute(SecurityAction.RequestMinimum,PublicKey = "002400....")] But this did not work even when both the assemblies had different strong names.Can anyone tell me where i have gone wrong.Thanks If the clients have full trust, the StrongNameIdentityPermission will not help. See http://blogs.msdn.com/eugene_bobukh/archive/2005/05/06/415217.aspx ...Show All
.NET Development webparts
Hi there, I'm quiet new here so i have a little question. I installed visual studio 2005 and started building websites. i succeeded in making a webparts page and if i run it from VS2005 it works perfectly. But when i move the files to a IIS server with ASP.NET 2.0 configured, i see the webparts but i cannot control them like choosing minimize or close. Even the displaymode can only be watched and chosen to BROWSE. Does anyone have an idea why and how that might occurs Thank you, Frank Aerts Frank, you should post your question in http://forums.asp.net . Anyway.... to see all the webparts features you have to be authenticated.... maybe you're accesing the web site as an anonymous user. How are you configuring aut ...Show All
Visual Studio Show All Files button in Solution Explorer doesn't work.
Hi there, I need to show files in solution explorer. These are not in project exactly but they exist on hard drive (like bin and obj directories in C# projects) . In MPF sources (I mean ProjectNode.cs) we can see that code: /// <summary> /// Handles the shows all objects command. /// </summary> /// <returns></returns> internal protected virtual int ShowAllFiles() { return (int)OleConstants.OLECMDERR_E_NOTSUPPORTED; } /// <summary> /// Unloads the project. /// </summary> /// <returns></returns> internal protected virtual int UnloadProject() { return (int)OleConstants.OLECMDERR_E_NOTSUPPORTED; } That is interesting fact - methods UnloadProject() and ShowAllFiles() are the ...Show All
Internet Explorer Development IE7, OE6 Printing problems with headers
Having an intermittent problem printing To: From: CC: Subject: Attachments: headers on emails. Usually happens with larger emails or emails with large attachments or emails that have been replied to or forwarded from other people. Have installed Generic/text printer and sent the email to this printer but sometimes the headers are still missing even printing this way. I have if I open the offending email and highlight just one or two words in the text of the email eg Dear John and then print the email using my HP printer (not as text on Generic printer) - the headers then print and so does the selected words. Don't suggest using Outlook as often we only print the first page of emails as we already have the rest of the email on file especial ...Show All
