Evan Mulawski's Q&A profile
Visual Studio Team System CA1706 problem
Hi, I have several user controls which I have renamed to conform to the FxCop rules under visual studio 2005. However when I run code analysis I still get informed that modules_uc_title_ascx is named wrongly. I've search for this word in my entire project and not found it and the results do not show which file this is occuring in. I tried suppressing this message on the user control itself but still shows. Why is this and how can I find it to fix it Ta Paul Hi Paul, sounds like you're running analysis over a website, is this correct In that case, is there a file named uc.title.ascx or something simular If so, please ignore this violation as the name is autogenerated. Regards, Jeff ...Show All
.NET Development WSE 3.0 and Kerberos with Windows Forms Client?
Hi. I'm trying out the QuickStart samples from the WSE 3.0 crew. I got them installed on my Server 2003 machine, logged on with my laptop and it works, with the ASP.NET client. But when i try the Windows Forms client i get this error message (same policy settings): System.Security.SecurityException: WSE594: InitializeSecurityContext call failed with the following error message: There are currently no logon servers available to service the logon request. at Microsoft.Web.Services3.Security.Tokens.Kerberos.KerberosClientContext.InitializeContext(Byte[] inToken) at Microsoft.Web.Services3.Security.Tokens.Kerberos.KerberosClientContext.InitializeContext() at Microsoft.Web.Services3.Security.Tokens.KerberosToken..ctor(String ...Show All
Windows Live Developer Forums WLM Addin: error 8013150a when i load my addin
Hello, I'd like to program an addin that will display a little window (winform) with few controls (buttons and text edits). Is it possible What is the simpliest solution to make this I'm using C# with visual2005. Thank you. R.P. Try this, shows options dialog with few controls. The form appears when you click in settings button or you type !menu in a conversation window. You talk about that === Edited by David_ES @ 12 Oct 2006 11:15 AM UTC=== public class ClassLibrary1 : IMessengerAddIn { private MessengerClient messenger; private Button aButton, aButton1; private ListBox list; private TextBox texto, texto1; public Microsoft.Messenger.MessengerClient messenger2 = new Microsoft.Messenger.Messen ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reading texture from a stream
Hi, im trying to find out if there is a way to read a texture from a stream, im reading from a large file which holds loads of texture files (DXT1 and DXT3 mainly), all the information about the texture is given and then you are given the texture data. So far i have been reading the data using a binary reader and unpacking the colors into A8R8G8B8 format to use when rendering. My question is since i know all the texture info is it possible to read the texture and use it in it's original format without the overhead of converting Thanks for any help. Have you tried TextureLoader.FromStream It should work as long as your textures use one of the supported formats. For DXTx DDS would be ...Show All
Visual Studio Express Editions Vb 2005 just keeps quitting
Hi All i am running WindowsXP Pro SP2 (.Net 1.0 / 2.0 and 3.0 framework installed) i have being using VB for a few years now. i was soo pleased when they released VB 2005 but i havce a problem. 1) I installed vb2005 from the microsoft's web site and installed it, then i went to created a new form it just closed the program down so i thought i would try loading the program again and creating a form but the same problem happend. i have disabled the SQL SERVER that can be accompanied which vb2005, would that cause a problem and make the program quit thanks alistair p.s this also happens with Visual Web Developer hi again i had a look in the Event Viewer but there was nothing to say that VbExpress caused a ...Show All
SQL Server How to create a RTF field ?
How can I save the text of a rich text box in a sql express 2005 datatable Of course I'd like to save the string and the format of the text (bold, color etc...). Which column type I have to use for this RTF field Thank you. hi, Thank you for your response. In fact, my problem was I directly bind the text property and not the Rtf property of my rich text box to the sql field. It's strange that the Rtf property is not available for binding in the designer so I have to code the binding ! Me .RichTextBox1.DataBindings.Add( New System.Windows.Forms.Binding( "Rtf" , Me .TbTextBindingSource, "colText" , True )) But now it's working ! regards ...Show All
Visual Studio Express Editions How do I convert .NET 2.0 Coding into VB 2005 Express Edition coding?
How do I go about understanding and converting the coding of .NET 2.0 into the coding that Visual Basic 2005 Express Edition can understand private void updateNumberLabel() { //we get index of first visible char and //number of first visible line Point pos = new Point( 0 , 0 ); int firstIndex = richTextBox1.GetCharIndexFromPosition(pos); int firstLine = richTextBox1.GetLineFromCharIndex(firstIndex); //now we get index of last visible char //and number of last visible line pos.X = ClientRectangle.Width; pos.Y = ClientRectangle.Height; int lastIndex = richTextBox1.GetCharIndexFromPosition(pos); int lastLine = richTextBox1.GetLineFromCharIndex(lastIndex); //this is point position of last visible char, we'll //use its ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how to copy the data to depth buffer
Hi, i am just a beginner, so please help me Actually, I try to copy the values in one ordinary texture to the depth buffer, how could I write the data into the depth buffer I see the usage of texture has one type "D3DUSAGE_DEPTHSTENCIL", but I don't know how to use it. I really appreciate if you could give me any suggestions. Thanks! You usually fill your depth buffer by rendering primitives that cover the required area at the required depth. What is the effect you're trying to achieve by copying texture colors to a depth buffer ...Show All
Visual C# private fields, public properties...why??
Why is it preferred to have private fields and use public properties to access and/or set the variable values Some of the books i have read do explain why...but only vaguely. Does anyboday know the real 'life threatening' type reason why we should do things this way Thanks add verastility to the list of reasons why. you could add a property to a class that takes a single type as parameter and the value off that parameter could effect several member fields. eg. foo.Position = "200,200" ; Position is a property of foos type that takes a formatted string, verifys the value and stores the result in the private field x and y. Oh and it fires an event to any listners that t ...Show All
Visual Studio where can I find documents related to User Interfaces please
I need documentation to implement good UI. Best Practices and performant and good UIs. Thank you You can find documents related to UI here - http:/ / msdn.microsoft.com/ ui/ Some good UIs - http://www.microsoft.com/windowsvista/features/default.mspx Anand.. ...Show All
Visual Studio Express Editions Need help with drawing
Hi. I am new to VB but have been working with it for a while. I need help creating a white board program. I'm trying to get it to draw wherever the mouse pointer clicks but am not sure how to. I know how to draw lines but only defined lines. Not lines that a user can draw for them self. If any one can help it would be greatly appreciated! :D -Dyson Here's some code that someone posted for drawing on the form. Maybe it will help. Imports System.Math Public Class Form1 Private m_Drawing As Boolean = False Private m_LastPoint As Point = Nothing ' Start drawing. Private Sub Form1_MouseDown( ByVal sender As Object , ByVal e _ As System.Windows.Forms.Mo ...Show All
Visual Basic Help with Opening text files and pictures in the WebBrowser.
I have been making a web browser. I made a menu, which has File > Open. It should open the Open Form form. In the Open Form from, there is a combo box and three buttons (ok, cancel, and browse). I would like to know HOW to get the URL in the combo box to load in the WebBrowser when I press Ok. I also need to know how to get a OpenFileDialog box to open when I press Browse, and then when I press the ok button (on the OpenFileDialog box), the combo box diplays the URL so that I can open it in the WebBrowser. I have tried DESPERATLY to find a solution!!!!! Any help is apreciated. THX, FSPILOT2006 fspilot2006 wrote: I would like to know HOW to get the URL in the combo box to load in the We ...Show All
SQL Server Reporting Services SP2 CTP "Select All" back in preview but not on web
Hi I've installed SQL Server Express 2005 SP2 CTP specifically because I require the "Select All" checkbox to reappear in multi-value parameters. This was successful in Business Intelligence Studio and when i preview the report the MV params have Select All options. However, when I deploy to the web the MV params do not have Select All options. Why would this be Regards Adam Whitehead Is this fixed yet Perhaps in the December CTP We really need "Select All" back in the web reports, not just in development. Adam ...Show All
SQL Server how to set column name dynamically?
HI chaps my scenario is that, i have a table in which i have column such as col01,col02,col03....col31 i want to retrieve the records related to that column by specifying the name dynamically (by using loop) as fist three character are same ( 'col ' ) and i have to do integer increment in last two character ( 01... 31). Is it possible that I can use variable for column name , if yes how or is there any other way to achieve this task waiting for your reply regards i have written the follwoing script DECLARE @CURRENTDATE DATETIME DECLARE @STARTDATE DATETIME DECLARE @LOOPDATE DATETIME DECLARE @NOOFMONTHS INT DECLARE @NOOFDAYS INT DECLARE @DAYCOUNTER TINYINT DECLARE @I INT DECLARE ...Show All
Visual C++ Abstract class object
i hav read in all books dat we cant create object of abstract classes.. . and reasons like they are too abstract to create an object.. .. i want to know more of these reasons why we cant create objects...... . . . . manish in above case comiler is having each information to create an object then why cant we create an object of above class .. good question :) in this scenario, YES! it has enough information to create an instance, but can compiler always feel confidence to do so or you may suggest the compiler to validate the abstract class and make a decision afterwards, again YES!, you can implement an compiler that allowing you to do this, but this is an contravention to the concept of abst ...Show All
