Andres_Ghelarducci's Q&A profile
.NET Development Problem to connect to AD
I'm not sure this is the best forum to ask the asnwer because the problem is hard to surround... I have a web application using Forms Authentication and doing the authentication by checking in AD. I will also retrieve some other information from AD on the user or its group. Then I have some unit tests that will use the application by generating some HTTP GET / POST web request. Each night, my application is built on the Team Foundation Server and all the tests are run without any problem. But when I run my tests on my local machine, I have some error when I try to do the authentication. The exception is "The server is not opera ...Show All
Visual Studio How to set the tooltip for the shapes and connectors?
How can I set the tooltip for shapes and connectors Thanks. I have a similar question - see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2377745&SiteID=1 I want to use a tool tip for my connnector that shows some info from my Domain-relation ship. But I can't figure out how to get a reference to the domain relationship from the GetToolTipText() function.. Any ideas ...Show All
Visual C# DirectX suddenly not working properly
Few weeks ago I wrote the code that uses texture and it worked ok. But, due to slowness of my WinXP I reinstalled windows, again the XP, and installed MS VS .Net and a DirectX SDK. But, this time my code hangs in the texture constructor. Same thing happens with the sample code that goes with the DirectX programming book, which also worked perfectly before. I also installed MS VS .Net on my other partition, in Win2000 and it again does not work. Please gimme some hint what could it be and what to do. Thanx in advance, Milos Looks like you either have an old version of the directX sdk, or the referances in yo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Stretch texture
Based on the following code that uses a Sprite and Texture to draw a textured square... _sprite.Begin( D3D.SpriteFlags.AlphaBlend ); _sprite.Draw( _texture, new Rectangle( 0, 0, (int)_width, (int)_height ), new Vector3( 0.0f, 0.0f, 0.0f ), new Vector3( (int)_left, (int)_top, 0.0f ), Color.FromArgb( 255, 255, 255, 255 ) ); _sprite.End(); ...I am confused as to what part of this code I can change to stretch my texture horizontally or vertically. According to intellisense, the call parameters break down as follows: the texture (obviously), the area of the texture that ...Show All
Visual C++ Manifest Issue
I just ported the project from being a Visual Studio 2003 to 2005, and for each project I do it, I lose the manifest! Manifest is enabled in the compile process and it is commented in the resource file, but the windows are UNAFFECTED. Works fine in 2003 and creating a NEW project and using the manifest works fine. What is wrong Eretria-chan wrote: I just ported the project from being a Visual Studio 2003 to 2005, and for each project I do it, I lose the manifest! Manifest is enabled in the compile process and it is commented in the resource file, but the windows are UNAFFECTED. Works fine in 2003 an ...Show All
Visual Basic Visual Basic 2005 Question for Calling Another Program
Hi All, I have a question I'm trying to figure out - I'm writing a simple little VB app where I want to have a button or some type of action that when activated, it will call another application. I can get this to work, however, I need to be able to use switches with my application and that is generating an error when I try to run my app. The following is the code I'm using (I'll use notepad as the sample program I'm trying to run) Dim test1 As String = "C:\windows\system32\notepad.exe" System.Diagnostics.Process.Start(test1) This works and will start the notepad app but if I use something along the lines of the ...Show All
Visual Basic Datagridview Row selection Style
Hi Is there any way to change the selection curser I have to use a full row selection in my application and now its a blue line and i would like to have something a bit more discret.. I dont know if cursor is the best word.. In vb6 i think it was called the selection fill style. A simple example which I think should show you how to chnage the cell formating. Public Class Form1 Private Sub DataGridView1_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting e.CellStyle.BackColor = Color.White e.Cell ...Show All
Visual Studio Express Editions Display the combo box text as a tool tip text...
in c#.net my combo box has got large text.....can we display the text on mouse over event....in the tooltip text like.... example : in properties window if the text is not is visible area, then it is displayed as tooltip text.... plz help me soon hi, many Thx Anson its working now i made a mistake first time i put this code in a user control which didn't work, now i just put this code in a class and its working very well many thx and sorry again ...Show All
Windows Forms Duplicate component name 'iDKontaDataGridViewTextBoxColumn'. Component names must be unique and case-insensitive.
This is the error, which makes me cry. Everytime i work with datagridview, it makes this error in time. I remove every problematic Columns, but it doesnt work. It seems that designer sees something that no longer exists . For instance iDKontaDataGridViewTextBoxColumn was removed from the designer part of the class. ANd designer still says, that it is there. What may be the sollution of this I would like to continue my work without removing whole tab pages of my forms. Please help. Tnanx for every help. I'm getting the same problem - it is very strange, isn't it. I've tried cleaning and rebuilding the project, and manually deleting ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting rendered graphics (quickly) from the card
I had a thread about thins some days back, but for some reason I can not write into it now. I am faced with the task of rendering some graphics with directx and then copying that graphics into another card which generates a video signal. I need to feed it a new frame 25 times a second. The size is 720*576 The rendering does not have to be any faster that this. I have tried two methods of geting the pixels, and both are much too slow. One takes 500ms for a frame and the other 1800ms. I need a time below 40 for this to work. I post the two methods below. Perhaps someone can provide input as to what I need to do. I might add that ot ...Show All
Smart Device Development deployment to mobile device
Hi. Sorry, I did not know where to post this exactly Just installed VS.NET 2005 with .NET 2.0. I have a smartphone device (C500/SMT5600) and I cannot seem to deploy the application to it (a simple "hello" app) It fails to connect: All attempts to connect to the deployment target at port 5655 have failed. Addresses attempted: 127.0.0.1. The device security configuration may have disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Connect to device failed. Now, I can successfull ...Show All
Windows Forms PostFilterProperties on a Form ParentControlDesigner
Is it possable to filter the DrawGrid SnaptoGrid GridSize on a form is this the right designer public class MyFormDesigner: ParentControlDesigner protected override void PostFilterProperties(System.Collections.IDictionary properties) { properties.Remove("DrawGrid"); base.PreFilterProperties (properties); } [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] protected override bool DrawGrid { } oops, it should read base.PostFilterProperties ...Show All
Visual C++ How to convert string to byte array?
How can I convert any string (containing not only numbers) to array of bytes in VS2005 (for storing in Registry as binary) If you mean any string, that it may conatin also binary (i.e. 0x00 bytes) than base64 would be a gould emthode to code the binary byte sequence into a string. Look at http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclib/html/vclrfbase64encode.asp But note the RegSetValue supports also REG_BINARY. So you can directly write any binary data to the registry. http://msdn.microsoft.com/library/en-us/sysinfo/base/regsetvalue.asp http://msdn.microsoft.com/library/en-us/sys ...Show All
SQL Server TFSWarehouseDataSourceView is missing
urgent: When trying to process the warehouse (TFSWarehouse) manually using the analysis services (in the sql server management studio) the following message is shown: TFSWarehouseDataSourceView is missing. I doublechecked and there's no TFSWarehouseDataSource in the "Data Source View" subdirectory. how can I restore or create this datasourceview I've got the schema of this datasourceView: <Create xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"> <ParentObject> <DatabaseID>TFSWarehouse</DatabaseID> </ParentObject> <ObjectDefinition> <DataSourceView xmln ...Show All
SQL Server Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
No wonder Microsoft is giving it away for free. It’s not worth anything. I am very disappointed in this version of SQL server. I decided to start learning VB so I downloaded and installed VB 2005 express edition and SQL 2005 express. I tried to build a personal website using the starter kit. I kept getting the following error message, for which I have seen numerous postings on this forum. “Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.” I went out and bought the Standard version of VS 2005 thinking there may be a feature that the free exp ...Show All
