Sonmez's Q&A profile
Visual Basic cause validation, is it a bug
hi guys i am working in vb.net. i placed one button in a groupbox with cause validation properties false. but it not works, it works when i place outside of group help me is it a bug thanx in advance nitin I think you'll find that this is by design. The groupbox is a container control and it will allow you to change the behaviour of all the controls within it. Example - set the group box visible property to false. The groupbox and all the controls within it are now not visible. Try it with enabled property as well. You'll notice by disabling the groupbox - all the controls within are disa ...Show All
.NET Development Generating documentation for my XML
I work on an application that has a steadily growing number of configuration settings that can be specified in the application .config file. I would like to create documentation for this XML, similar to what I see in the .Net Framework reference (example : http://msdn2.microsoft.com/en-us/library/ms228256.aspx). Are there any tools (with the .Net SDK, NDoc, etc.) that allow me to generate XML documentation similar to what I see in Microsoft's docs Thanks, Andrew Brown Asset Management International Hi Andrew, If your configuration settings grow steadily with time, then you should consider using the Conf ...Show All
SQL Server Stored Procedures not showing
Well I am not sure if I am doing something wrong but after having created a stored procedure I did the following. I hit the parse script button to check the script, it came back fine. I then executed the script which completed fine. But to my amazement the procedure did not show. I hit the refresh button to no avail I stopped and started the server services. Then I tried to run it again this time it tells me that that it allready exists. Here is the sp any help would be greatly appreciated. SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: Shawn Jones ...Show All
Visual Basic Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : Private Sub PicBox_On_Click( ByVal sender As Object , ByVal e As EventArgs) If PicBox(x, y).Image = Tiles.picPerson.Image Then &nb ...Show All
Visual C# Developing Windows Screen saver with Flash movie file using C#
Hi Everyone, I am Mohan Giri. I am trying to develop screen saver with flash movie file using C#. Actually what i did is I used the Shockwave Flash Activex control in the form and called the movie file using the control. I wrote C# codings to stop the movie file running when Keyboard and Mouse events occurs. And I renamed the .exe fie into .scr and placed that file into system folder. But everything is working fine but it requires flash movie file and when we select preview option the movie file is not ...Show All
Visual C# static method inheritance
I am trying to derive a class such that I can reuse methods & operators from the base class. E.g., in the base class, I can write Base b1 = new Base(); Base b3 = 3.0 * b1; because I’ve written the ‘Scale’ method and ‘operator *’. (see below) When I try to do this in a class derived from Base, I fail utterly. The compiler hints that “an explicit cast exists; am I forgetting it ”, but I have no idea where or how to use it! I would prefer this kind of code Derived d1 = new Derived(); Derived d3 = 3.0 * d1; but the requirement to insert a cast would ruin the aesthetic ...Show All
Visual Studio Diferents Domain Models an Designer Definitions in the same project
Hello, It is possible to create more tha one dm an dd in the same DSLTools proyect to do different models during the debugging and after merge its wit T4 Thanks a lot! Rafael Cabedo rcabedo@dsic.upv.es Hi Rafael, It is not possible to create more than one dsldd file at present in a single project. Technically it is possible to create more than one dsldm file, as long as only one is pointed at in the .dsldd file (lets call that the "main" one). The other .dsldm files could be referenced by the guids of their substores in the main .dsldm file's Model.Extends property (which would be b ...Show All
Visual Basic Dynamically Changing Button Properties
I am writing an application where I have a 5x5 array of buttons that I want to dynamically update some of the properties. I have created all of the buttons in the editor and have given then names that reference their position in the matrix (i.e. btnGrid11, btnGrid12, etc.). Based on the button that a user presses, I would like to update the image that is shown. I would like to do this in a loop and the problem that I am running into is that I cannot figure out how to dynamically reference an existing resource. This is an example of what I think the code should look like. I was thinking that I could create a button resource ...Show All
SQL Server Migration Wizard Error
Hi !, The migration of OLAP cubes with aggregations to SSAS, generate the following error: "Another 'Aggregation' object has the '31 3314' ID." and then the migration process stops. The dimension structure is changed during the process and a posible solution is deleting all the aggregation before migration. But I would like to know if it is really a bug or there is a known reason for getting such error. Thanks in advance !!! Leandro I would definitely try make sure that any modifications are done in the test environment. Edward. -- This posting is provided "AS IS" with no warranties, and ...Show All
Visual Studio Team System Load Test Display
Is it possible to display where each user is during a load test My goal is to have code webtest that is similar to the following: display (User Login) <http requests> display (User Logged in As UserABC) <http requests> Then while running the load test I have created for the webtest. I would be able to see where each user was in the code with the display statements in a list. For example, User1 User Login User2 User Logged in As UserABC User3 User Logged in As UserABA User4 User Login If not that would be a nice feature. ~Todd There is no direct support for this in the current product. Howev ...Show All
Windows Forms Can I access the DataTable_ColumnChanged Event..............
Can I access the DataTable_ColumnChanged Event.............. of the child form from the parent form \ Thanks Yes. Parent form should see ChildForm.Datatable You should "AddHandler ChildForm, AddressOf ParentForm.ChildDataTable_ColumnChanged" in the parent form. Obviously you have to declare the ChildDataTable_ColumnChanged sub also ;) Doing this will attach an event handler for ColumnChanged events raised by that dataset. ...Show All
Visual C# C# 2003 code optimization?
I have written a Newton Fractal generator. In computing the Newton Iteration I included a switch to determine the order of the equation. See code snippet below: public Complex evaluate(Complex x, int order) { switch (order) { case 0: return (((((((A*x+B)*x+C)*x+D)*x+E)*x+F)*x+G)*x+H)*x+I; case 1: return ((((((8*A*x+7*B)*x+6*C)*x+5*D)*x+4*E)*x+3*F)*x+2*G)*x+H; case 2: return (((((56*A*x+42*B)* ...Show All
Windows Forms Click DataSource dropdown, get object reference error
As the subject says, everytime on 2 different machines every time I click on the DataSource dropdown I get a object reference not set to in instance of an object error. My control in question has a BUNCH of datasources, not that I manually added them but a 3rd party control just added a crapload of them, and if I double click inside of the combo it starts iterating through them, which does me no good since there are so many of them on this control, and irregardless, all of my forms are experiencing this bug now. I can use the menu item to add new datasources without a problem, but I'm still missing true designer support, and since the err ...Show All
Visual Studio Team System [1.32 BUG] AssembliesShouldHaveValidStrongNames false positive with .NET 2.0 assemblies
Guys, Not sure if this is a known bug or not, but I'm getting a false positive with the AssembliesShouldHaveValidStrongNames rule when analyzing signed .NET 2.0 assemblies. I am experiencing this only on the standalone FxCop 1.32 (not Visual Studio 2005 RC) and when using either the AssemblyKeyFileAttribute or using the /keyfile command line option (ie the Projects Properties -> Signing tab). The assembly has not been delay signed. What do you think Michael, I'm using the Release Candidate of the .NET Framework (v2.0.50727). I have attached and sent a repro to you. It is a simple Windows Applica ...Show All
Software Development for Windows Vista Sorry Need Help Signing Up To MSDN
I'm trying to figure how as a developer I can go about signing up to MSDN so I can download the beta of Vista How do I go about signing up to and paying for msdn to do this THANKS Please see: http://msdn.microsoft.com/subscriptions/ See How to Buy from the left navigation. ...Show All
