Mongsreturn's Q&A profile
Visual Basic VB.NET broken..
Steps Background WAP Project. Add Designer support 1. Add new item to layout 2. Item sometimes added to designer, sometimes to .vb file. 3. Do somthign with item say Item.Text = "rubbish" 4. Remove item from layout 5. Compile NO ERRORS 6. Run code CRASH as the item does not exist but does in the designer file. 7. Spend forever tring to find these run time bugs!!! Problem: Deswigner support is BROKEN, and not determinestic, partical Classes are fundermetaly BROKEN!! They can exist without an assocaited resource and the useless VB.NET compiler will not find them.. Ray, We'd like to work with you to resolve this issue. Can you consistently reprod ...Show All
Visual Studio 2008 (Pre-release) Help with TextBlock formatting ('padding' between the font & the bounds of the TextBlock)
Hi, Im trying to create the visual effect of some white text within a solid blue box, where there is a uniform padding between the text & the blue box. I have been trying to to do this using a TextBlock and setting its foreground & background. If you require a tiny amount of padding around the text (which I do), you'll notice the 'default font padding' above & below the text scuppering your plans for a nice 1 pixel blue uniform padding all the way round the text (see below XAML) <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <TextBlock Font ...Show All
Smart Device Development Icon problem
Hi all, I have been on this problem for ages! Im trying to create an icon yet am getting some errors. I think shows that the problem lies because I use the Compact Framework. I have read that the Compact Framework only supports the Icon constructors that accept Stream objects. Therefore, I need to create a Stream object with the file name that I wish to open and pass this to the Icon constructor instead. Can anyone guide me on how to code this As I am new to System.IO.File & FileStream classes as well as the Icon class. The code I have is shown below.. Thanks! K9. //Code Begin VectorStyle Style = new VectorStyle ( new IVertexStyle [] { new IconVertexStyle ( new Icon (SAMPLE_DATA_DIR + "..\\ ...Show All
Windows Live Developer Forums "Virtual Earth supports open GIS standards"
hello all impressive work on VE4! from this article: http://www.gcn.com/online/vol1_no1/42541-1.html Can you describe what GIS standards are supported Is it just GeoRSS I've looked through the entire API, the WinForms Ghost example code and the GlobeControl assemblies themselves and I couldn't find any WMS/WFS etc. support. Is this coming in the future maybe How about KML I love the API and the fact that you can get under the hood using standard DX coding and that there's a PlugIn framework available. How do you see this working in the real world PlugIns are loaded on the fly from web sites kinda like ClickOnce deployment cheers brian flood http://www.spatialdatalogic.com/cs/blogs/brian_flood cool stuff dunca ...Show All
Visual Studio Express Editions Master Design
I want to add a Master Design if it is possible because I want most of my forms to look the same but most of the time I get it wrong Is there a Master Design or Frames which I can use - If so, please tell Thanks in advance. INHERITANCE: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vblr7/html/vastmInherits.asp Create a MasterForm and then let all of your other forms inherit form the masterform... Pulbic Class FormX Inherits MasterForm ... End Class ...Show All
Game Technologies: DirectX, XNA, XACT, etc. BitmapFont updated for Beta2
It looks like the useful BitmapFont class was finally updated for beta 2. Check it out! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX10 asm
actually I can't use Vista for make test in DirectX10, can please anyone post here an fx file with vertex,pixel and geometry shader and the relative compilation in asm using fxc10. I need to see it for a project that I've in mind thanks Could you please tell us more detailed what your a looking for In general a disassembled D3D10 shader doesn’t look that different from a D3D9 shader. Anyway all you can do with a disassembled D3D10 shader is to look at it or let it parse from another program. But most of the information you can get from this can be obtained more easily with the shader reflection interfaces. ...Show All
Visual C# Delegates calling overhead
Hello, I need to retrieve the value of an object’s property but the member property is not known at compile time e.g. I have object of Type Foo with properties FirstX, SecondX and ThirdX. So instead of having multiple if-else statements then having x = foo.SecondX (depending on some condition) , now I have something like x = pfoo.X where pfoo is simply a type that dynamically maps to a set of properties on Foo. The X property on pfoo is nothing more than an open instance method delegate that explicitly supplies the hidden first argument as the instance of Foo. Here is how pfoo looks like: class FooMapper { private Foo foo; private TypeUtility<Foo>.MemberCallback<int> x; public Foo Foo { ...Show All
Visual Studio Express Editions VB Express and SQL question...
Hi, I am a new programmer and so I was following a guided tour about creating my first database from this address... http://msdn2.microsoft.com/en-us/library/6147aah4(VS.80).aspx The directions say this: "In Solution Explorer , select the FirstDatabase.mdf node" but the firstdatabase.mdf isn't there. I followed all of the directions to the letter. I tried looking inother places but with no luck. Can anyone give me some pointers please Open a cmd window (MS-Dos Window) If the prompt doesn't say C:\ enter in cd .. until it does. Then enter DIR/S FirstDatabase.mdf and let me know what it says. ...Show All
Visual Studio 2008 (Pre-release) Authenticating to Proxy and Service destination with username password.
Hi, kennyw blogged about this a while ago http://kennyw.com/indigo/143 and i seem to be running into this problem. As 'proxy authentication' and 'service authentication' use the same credentials store i cannot log on to the service with username/password credentials and log on to the proxy with different username/password credentials. I am running into this problem by several clients who try to access our service. The current implementation of this in WCF is very limitting to me, how should i go about to fixing this problem Jusy for your information its not acceptable to use the same username password combination at the service and proxy (as this involves 2 different companies.) Hi Sajay, T ...Show All
Visual Studio SourceSafe automation and branch information
Using the automation interface (VSS2005), how do I get the information displayed in the 'Paths' tab on the properties dialog for a branched file Programmatically parsing the output from "ss.exe PATHS ..." is unreliable at best. Chris, Unfortunately, I don't believe this is exposed by the automation interface. As you've probably noticed, IVSSItem.Links will return shared items but not items where the share link is "broken" (branched). The only branch information I could find in the public API was the IVSSVersion.Action property, which will return "Branched at version" where appropriate. Obviously this could only be used to find branches if you knew the names of the branched r ...Show All
Windows Forms Dynamic Filling of TextBox AutoComplete not working
Hi guys, i would like to fill the textbox autocomplete stringcollection "on the fly" while typing. i don't want to fill the collection while initializing, 'cause it's too much data: the sql server-table has about 100.000+ rows. the filling takes too much time and the "autocomplete-popup-find-something-box" itself is getting too slow, too. my configuration: .NET-Framework: 2.0.50727, System.Windows.Forms.TextBox TextBox-Properties: AutoCompleteSource: CustomSource; AutoCompleteMode: Suggest i tried several different things... 1. i did put this code in the “TextChanged”-event, but i think it's 'too late' there: private void textTiteUltTest_TextChanged( object sender, EventArgs e) {   ...Show All
SQL Server Does Replication Use Compression?
Does SQL Server replication impliment any kind of compression It seems to me that this would be very helpful for congested WAN links and costly merge replication. Hi Joshua, Here is a direct quote from book online http://msdn2.microsoft.com/en-us/library/ms151740.aspx Does replication work over low bandwidth connections Does it use compression Yes, replication does work over low bandwidth connections. For connections over TCP/IP, it uses the compression provided by the protocol but does not provide additional compression . For Web synchronization connections over HTTPS, it uses the compression provided by the protocol and also additional compression of the XML files used to replicate changes. For more information about ...Show All
SQL Server SQL Server 2005 SELECT MAX function for multiple columns on the same record
Hello, I am trying to figure out how to use the select maximum command in SQL Server 2005. I have already created a database and I have it populate it with multiple fields and multiple records. I Would like to create a new column or field which contains the maximum value from four of the fields. I have already created a column and I am trying to figure out how to use a command or SQL statement which is entered into the computed equation or formula in the properties for this field/column. Any help you can provide will be greatly appreciated! Thank you, Nathan Hi, Since you are using SQL Server 2005, you can try the unpivot solution(in the previous link, it was for avera ...Show All
Windows Forms TaskPane Problem!!!
Hi everyone... I've downloaded a sample of TaskPane from de MSDN Controls Download section, the sample works perfectly, I've added the TaskPane library to my C# 2k5 project and !! sorprise!! in desing time an error message has appeared.. the error says "Code generation for property 'CaptionBlend' failed. Error was: ''BlendFillTypeConverter' is unable to convert 'Microsoft.Samples.Windows.Forms.TaskPane.BlendFill' to 'System.ComponentModel.Design.Serialization.InstanceDescriptor'.'".... Here it is... and I'm really disconcerted about it... Please Help!! Thanks Ok... I’ll try When I'm adding labels, textboxes and other controls (and often changing Name properties to this controls), sometimes the error that I've written bef ...Show All
