williambeaker's Q&A profile
Visual Studio Express Editions I want that my form will be stretch for any size that the user want??
Hi, In the property of the form I change: autosize => True Autosizemode=> GrowAndShring but when the application run and I shrink the form it doesn't stretch to the new size and I lose details from the right and down of my form. What more I need to do Regards, Yaniv It is a large topic, I'll try to be brief. Set the form's AutoSize = false, AutoSizeMode = GrowOnly. Drop 4 labels on the 4 corners of the form, a textbox in the middle. Set the labels' Anchor property to the corner they're in, the textbox to left,right. Run and resize the form and observe. You can use the Dock property to make a control always fill with width and/or height of the form. For m ...Show All
.NET Development Adding string value to front and end of xml databinding expression
This maybe drop dead simple but it's had me stumped. Now I'm going in circles. I have an aspx page (vb.net 2) and using an xml databinding expression as follows - all is working well: <asp:Image id="img1" runat="server" ImageURL='<%# XPath("@mediaUrl") %>' > Instead of keeping the whole url in the datasource I wan't to just store the file name and then build the ImageURL value as follows (excuse the syntax - for explanation only); ImageURL = "~/images/" & <%# XPath("@mediaTitle") %> & ".jpg" So it's a question of how do I combine thes three parts into one string I've tried every combination of single and double quotes I can think of, however I still get a tag error except in the following case where despite getti ...Show All
Visual Basic Interaction between VB user interface and C.
Hi. i m dveloping an application in which an LDAP server is involved using VB and C. I want to know how VB user interface interacts with C and vice versa. Eagerly waiting for the reply. Thanks in advance. If you are using Vb 6.0 please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=551512&SiteID=1 Best Regards, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Making the mouse visible
I am trying to make my mouse visible, and I tried doing what it says to do in the Faq. However, when I try to do "Game.IsMouseVisible = true;" it gives me the error "An Object Reference is required for the nonstatic field, method, or property 'Microsoft.Xna.Framework.Game.IsMouseVisible.Get'. What do I have to do to display the mouse Try put the this .IsMouseVisible = true ; inside the protected override void Initialize() { this .IsMouseVisible = true ; } ...Show All
SQL Server SQL 2K DB ATTACH PROBLEM
Regarding SQL Server 2000 Enterprise Edition, I get a message that the DB I am trying to attach does not have an entry in the sysindexes table and if I try using the copy wizard, it cannot even see the db as one of its source files. Before any of this happened, I physically copied the file from another SQL instance's data directory to a new one but I did not first detach it. I don't think that was necessary because the instance and it services was not running at the time. Should it turns out that this is the whole problem, is there anything I can do to make SQL Server see this database so it can be attached I replaced my primary hard drive and re-installed Windows and SQL Server on it. I then installed my old hard drive with my old Window ...Show All
SQL Server Info on VLDB (Very Large Database) scenarios?
So, the boss asked how Sql 2005 does with VLDBs (Very Large Database). Can someone, anyone, point me in the direction of some reliable, relevant information related to Sql 2005 and VLDBs I'm having a tough time finding anything with numbers, Gigs, Terabytes, stats... case studies, etc. Thanks. http://www.microsoft.com/sql/prodinfo/compare/wintercorp-survey.mspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do you pronounce XNA?
Is it X-N-A or is it Xee-na Just as it seems to fit somehow, the forum name should be "Game Technol o gies: XNA Build" ;) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiuser games?
Just curious... but has anyone used XNA/C# to develop MOG's or even MMOG's Jim Perry wrote: Nick Darnell wrote: One should never say never...but you do lose 15-20% performance moving to C/C++ to C#, possibly more depending on your code, and memory consumption is going to be a lot comparatively speaking. If you're seeing that kind of performance hit, your code is very poorly written. C# performance is maybe 1-2% slower in some situations. In some situations it's actually faster than C++. Or it could be that your C++ code is poorly optimised! The trouble with these comparisions is they only tell you the relative performance of a given scenario, and assume that both language ...Show All
Windows Forms Help with manual scaling of controls comprable to using AutoScale and changing Font size
Hi, I have a form in C# .NET 2003 and I have the AutoSize property set to true. I set the AutoScaleBaseSize to System.Drawing.Size(5,13) - which is approximately MS Sans Serif 8.0F. So, my form is expecting an 8 point font and all is well. I also have to deal with 10 pt font at times. When this occurs, I set the Forms Visible property to true and the form and all controls scale as I expect (x, y, width and height). At some point in my application, I need to be able to do this without setting the forms visible property to true (I cannot re-show the form at this point, the user would get a view they are not supposed to see). Here is what I have found online and it is not giving me the exact same answer as what the auto-scale does durin ...Show All
SQL Server Management Studion Express alongside full-blown Management Studio?
Is it possible to run both Sql Server Management Studio: Express and full blown side by side I am developing with the full blown product but would like to test Management Studio Express on the same box. Is this possible Thanks Eric Hi ! For a full and realistic test, I would put them not on the same machine, as you can’t be sure in which way the big brother will interfer with the deployed assemblies. Just deploy it on a dedicated test machine to do your tests. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with MDX 2.0
I have been programming in Managed DirectX for some time now and my programming has been coming along nicely. Recently, however, I am having considerable trouble with the new Managed DirectX 2.0. The most infuriating thing is that i have no idea what the problem is, my code compiles fine and there are no runtime errors and the device will present. My problem is that it wont render any verticies. Here is my source code: PresentParameters pp = new PresentParameters(); pp.IsWindowed = true; pp.SwapEffect = SwapEffect.Discard; _device = new Device(0,DeviceType.Hardware,this.Handle,CreateFlags.HardwareVertexProcessing,pp); this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true); _buf = VertexBuffe ...Show All
Windows Forms User control with some parts drawn translucent
Hi, everyone! I'd really like to hear (or read ;)) some help on solving my problem. I want to create a custom user control. I'd probably derive it from Control class, I want to draw everything on the control by myself (it's actually not going to be really complicated). The problem is that I want to draw some kind of a shadow that drops onto the background of this control. Obviously, it has to be translucent. And I would maybe make some other parts of the control translucent. So I tried to draw the shadow using brush colored as Color.FromArgb(100, Color.Gray), for example. I do my drawing in overridden OnPaint method. This did NOT work. I started to look for the solution on the web. Everything I found was one method of creating such a beha ...Show All
SQL Server MDX query for displaying all the dimension in a row
I have cube which have 6 dimensions. I want to display all the dimsion members in a row . Can anyone help me with the MDX query for the same e.g. suppose the dimension are dim1, dim2, ............. Now I want to retrieve data in the form of table as Dim1.........Dim2...................Dim3............Dim4............... Val1..........Val2....................Val3...............Val4................ Is there some way to inner join the data in MDX as in Sql. I mean just like we have inner join in SQL is there any MDX equivalent e.g suppose we have three tables A,B,C and these three are related through primary foreign key relation ( A conatins the refernce for B and B in t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. F14 XNA Game with Full Source
Well here it is. I finally got my first game into a releasable state. Screenshot, video, and full source available after the jump. http://aroganworld.blogspot.com/2006/09/f14-xna-game.html I couldn't have done it without the great help from this forum (and all those xna sites). Let me know what you think. I tried it out. It didnt build at first due to this error: Unable to find manifest signing certificate I found this solution when I did a search: "To solve, I went to the "Signing" tab of the project properties and unchecked "Sign the ClickOnce manifests". Good luck! " Anywhoo, that fixed that problem and then the game build fine, and ran well. Good job & than ...Show All
.NET Development .net framework 2.0 and sql & vwd installation driving me to drink-or worse!
PLEASE can someone help me, i'm lost in world i don't understand, and time's running out! I was merrily building my database in access, then discovered it's no good for the web application i need, so installed .net framework 2.0 and sql. Then discovered visual basic after watching a snippet, so downloaded that too, and then came accross Visual web dev. which seemed like a great idea. greedy i know, but i am new to this database and developing. In order to test the db app, as it will act 'live' i installed IIS. this sent things wonky (at least i think it was this), and instead of uninstalling IIS, i stupidly uninstalled ecerything else in the wrong order and have now buggered up my .net framework 2.0, as it will neither uninstall, nor ...Show All
