antxxxx's Q&A profile
Visual Studio Express Editions MessageBox Issue
Hey, Still pluggin away here and learnin.....New question/error. When I attempt to use MessageBox.Show I get the following error: Error 1 'Show' is not a member of 'MessageBox'. I understand that it should work like: Result = MessageBox.Show(Message, Caption, Buttons) But it is not....Is this an Issue in VB Express How do I solve this Thanks in advance LDavis501 Prompt - Required. In quotes, or string variable MsgBoxStyle - optional, intellisense shows you the default value Title - optional, intellisense shows you the default value (nothing) Is what I see in intellisense. Also, using the syntax I recommended, intellisense will show you logical ...Show All
Visual Studio Express Editions process invisible
Hello, I have designed a program with VB express that when run from the .exe file, it runs as a process. I have prevented the program from showing in the taskbar when running minimised as I want the program to be invisible to the user. I used the form properties to do this. But now when I run it it shows up as a tab down near the start button on the desktop. How do I make it invisible when running in the background Note: I still want it to be seen in the Task Manager so I can shut it down from there. Also: Why is my program showing in the Task Manager as a process and not as an application Thank you for any help. Harvs. Hello, I have show in taskbar set to false and ...Show All
SQL Server Auditing Status of a Trigger in SQL Server 2005
I need to know when a DML trigger changes state (from enabled to disabled, and disabled to enabled). I **assume** this info is not in any of the standard SQL Server 2005 loags and find no entry relating to triggers being enabled/disabled. Therefore I also *assume* the best way to do this is create a DDL Trigger and populate a table when a trigger status is changed. Am I on the right track Has anyone done this Code samples/links to solution Is there a simplier way <i'm all about simple> Thanks in advance. Thats exactly the right direction, if you need a quikc sample for using DDL events, take a look at the DDL event definition in the BOL and perhpas at the slightly diff ...Show All
Visual Studio Visual Studio help example font
I have a problem with the font used for code examples in VS help. The font being used is about 5 times larger than the font used in the rest of the help page. I have an example below. This is the size of the normal text font used on the help pages. The code font size is shown below. public class TestClass { public TestClass() { } } The font then goes back to normal for non-example text... Hi Tilderss - do you have a URL for a topic that is behaving the way you describe This will help us determine whether the problem is with the topic or something that got messed up in your installation. Thanks! ...Show All
Visual Studio 2008 (Pre-release) Changing width and height of controls
Hi, I know that the WPF UI design practice is saying "...avoid setting the size of controls explicite..." and "...use min and max properties instead...". But there are scenarios when you need to set this properties. One example: The user has the possiblity to change the defined column width of the Grid (with an GridSplitter). When the application shuts down this value (columns ActualWidth) is stored. Now I get in real trouble if trying to set the width of the column with the new start and trying to apply this values. The width of the cell will be fixed and from that point will not react to any window or column resize actions... How should such scenarios be handled Is it possible to init the UI objects alr ...Show All
Visual Studio 2008 (Pre-release) Designing TabItems
When designing tab items it will not let me move the controls with the mouse to position them exactly where i want them. I have mess with the margin setting and tweak it manually which is very tedious. Is there a way around this Yes. Unfortunately that's a well known and infamous limitation in the current Cider CTP. Cider doesn't yet support custom controls in preview mode, although I understand that it will be addressed in the first Visual Studio Orcas CTP, expected in "early 1997" (according to an MSFT poster). You might want to try using the Expression Blend beta ( http://www.microsoft.com/products/expression/en/Expression-Blend/default.mspx in conjuction with Orcas. Expression Blend does ...Show All
.NET Development How can I save dataset as an xml file???
Hi I am trying to save the dataset as xml file (one row from the table).Saving xml is fine but it look like the following (the below is flat xml file without root nodes and child node) But I want the data to go under xml Root Node, child node, children node and so on. My question is How can I save the dataset as xml file with Root Node, child node, children node and so on Please help !!! Urgent!! < xml version="1.0" standalone="yes" > <MS> <SDLTID>1</SDLTID> <UTRN>303783jMJ</UTRN> <TransPropertyType>01</TransPropertyType> <TransInterestCreated>FP</TransInterestCreated> <TransEffectiveDate>2006-04-05</TransEffectiveDate> and so on..... ...Show All
Visual C# How to use c # to write shrinking algorithm?
Algorithm use c # language is described shrinking Can write the code example thanks ----------------------------------------------------------- --This is group of data ,Judge next number through these datas What method have ----------------------------------------- 1: 019 2: 484 3: 733 4: 313 5: 736 6: 255 7: 459 8: 558 9: 504 10: 735 11: 193 12: 035 13: 550 14: 814 15: 916 16: ...Show All
Windows Live Developer Forums API V3 SSLException - unable to find valid certification path to requested target
Hi, Has anyone successfully updated to adcenter API V3, it seems there is new certificate for the url adcenterapi.microsoft.com added to the certificate, I imported the certificate into my keystore but was getting the following error. PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException : unable to find valid certification path to requested target javax.net.ssl.SSLHandshakeException : sun.security.validator.ValidatorException : PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException : unable to find valid certification path to requested target at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source) at com.sun.net.ssl.internal ...Show All
Software Development for Windows Vista AutomationElements with no supported patterns
I'm attempting to automate one of our company's products, and I've run into a snag: I can get an automation element for all of the controls in the product, but many of the controls have no supported control patterns. IE: the menu bar and tool bar of the product have no control patterns supported, and no children. The product is built on .Net 2.0 windows forms, and uses primarily standard controls. Automation code will have to be done on the client side, as there are currently no plans to add server side support at this time. I've looked into the possibility of using client-side proxies for automation, but I'm not sure if that's what I need. (Especially since many of the controls in the product do have supported control patterns, and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem with content .x files on build.
I have a small xna application working. I can load an .X file, render multiple of them -great. Now adding another .X file (created identically, added the same way -[existing file, content] It throws up errors on the build. Is there some kind of caching taking place, or a pre-build action I should be doing Searching for the .x model name it shows up in both the ContentPipeline.xml file WITH TWO ENTRIES. Removing the extraneous entries from the /OBJ/ContentPipeline.xml doens't do anything, as it's regerenerted on each build. Where is it getting it from How do I fix this (error throw below) Error 1 Building content threw ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentExcept ...Show All
SQL Server Dynamic view
Is it possible to create dynamic sql views in Sql Server 2005 I have a requirement of having to change the Sql View depending on the user selection criteria. Is it possible No but you can create a stored procedure with dynamic sql kludge If you would change the view (with an alter view statement) what would happen when 2 users would hit the view at the same time (problem) sp with dynamic sql is your best bet (probably including a temp table, I don't know your requirements so that's tough to answer) Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All
Windows Live Developer Forums Adding new keywords and getting an error code -100745
Anybody have any idea what this error code is Hello, The error code: -100745 reads: Limit on the number of keywords for an order reached. Please feel free to contact me should you have any further questions or comments; or if I can be of assistance in any other way. Best Regards, Jason - MSFT ...Show All
Visual Studio Team System Create Unit Tests: default template & IDisposable
When using the Create Unit Tests dialog, the generated code doesn't properly call Dispose on my disposable class. Is there a way to modify the code template used by this command The style I've developed for dealing with this is to add a member variable to the test class for the target, and put initializaiton of it in a [TestInitialize ] method, and call Dispose in the [TestCleanup ]. This keep the [TestMethod]'s lean and easy to maintain, and the cleanup method gets called even if the test fails. Unfortunately we don't have code template that you described for test generation and I don't think there is an any easy workaround other then what you have done. What you have asked is a good suggestion and I would recomment ...Show All
.NET Development .NET Remoting - Server should forward an ObjRef from one to another client
Hello, I'm developing a client/server application by using .NET Remoting. Client- and server-activated objects works fine. But now I want to to create an object (e.g. StreamReader) on one client and send an ObjRef to the server. Then the server should forward this ObjRef to another client. Afterwards the second client should be able to use this ObjRef and read the file opened on the first client. The problem: in the configuration-file I have to specify the server's url, where the object can be found, but it's different each time. Is there any way to realize this Activator.GetObject takes as parameters a type and a URL and returns a proxy to that remote object. It doesn't matter where you take the URL from ...Show All
