Fluxtah's Q&A profile
Windows Forms Background image for datagrid
I need to set a backgroung image to my datagridView object. I am aware that there is no such property , but however i desperately want it. Does any other 3rd party GridView , provide this property It's probably too late to help you Arun, but I've managed to do it with this bit of code (although it does flicker a little, especially if scrolling): Code Snippet public partial class ITVDataGridView : System.Windows.Forms. DataGridView { public ITVDataGridView() { DoubleBuffered = true ; InitializeComponent(); } public ITVDataGridView( IContainer container) { container.Add( this ); DoubleBuffered = true ; InitializeCom ...Show All
Visual Studio 2008 (Pre-release) Synchronous and asynchronous support under one service
Hi, I have a question. From the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=290651&SiteID=1 I understand that WCF supports both synchronous and asynchrnous under one proxy. There was a reference to http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/cpref19/html/P_System_ServiceModel_OperationContractAttribute_AsyncPattern.asp for more details but I think that page is gone or something, all I can find is the first page introducing windows sdk. So here's my problem. I'd like to make a service that supports both synchronous and asynchronous but have no idea as to how to get around to it. If anyone knows a good tutorial or material for this issue, please tell me how I can accompli ...Show All
Visual Studio Express Editions Still Problems Muting
i was givven this code a day or so ago to mute the computer .... i have tride and tride and tride but cannot get it to work Public Class Form2 Private Sub PictureBox1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click My .Computer.Keyboard.SendKeys(Keys.Volumemute) End Sub this is the link to the Orig post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=531900&SiteID=1&mode=1 I glaced quickely at the subject program. It seems to be a game that connects to a remote database. It didn't run on my PC. Question doesn't a 'sendkeys' statement in a sub need some way to identify the process that it is trying to send keys to Exper ...Show All
Visual C++ I want to create a shared memory for my program.Can you give me the example for doing this ?
I want to create a shared memory for my program.Can you give me the example for doing this Thanks you for your help. If you go with "shared sections" you may want to read this as well: http://blogs.msdn.com/oldnewthing/archive/2004/08/04/208003.aspx ...Show All
SQL Server Msg 8621: The query processor ran out of stack space during query optimization
I got the above error when I tried to execute the following query delete from BUSINESS_ASSOCIATE where ba_name is null As you can see the query isn't exactly complicated. What the table does have is lots of dependancies. I got SSMS to show me all the dependancies and there are literally hundreds (maybe thousands - I'm not going to count them all) of dependant tables and i suspect that is what is causing the problem. So what do I do about it This is a valid data-model (industry standard in fact) but SQL won't let me delete data from this table and that's a huge problem for me. Any advice about how to progress would be welcomed. -Jamie Jamie Thomson wrote: Hi guys, I sure can. ...Show All
Windows Forms How to change the default form
I created a form in a seperate project in my solution called "BaseControls". The only thing the form does is it has a gradient background. The only way to use the form right now is to create a windows form and then go into the partial class and change the inherits Winows...forms to my BaseControls.frmGradientSteelBlue. Is there a way to set it so I can just add the form thru the Projects Add New Item context menu. Is it possible to put it into the Visual Studio installed templates Thanks, Phil Hi Phil! The short answer is, yes. You can create both your own project templates (e.g. you might create a project template that already includes a reference to an assembly which contains your ba ...Show All
.NET Development Edges of .png image in the scene are white
Hello I have inserted a .PNG image into the scene, but the edges of it are white. How to repair it Thanks ...Show All
Visual Studio Tools for Office I think I am not clear.
Hi I have a schema ,that has several elements, some of which are of type image (xs:base64Binary) what I want to do is to 1) open a word document 2) attach this schema to Word 3) add the elements from schema into word document ( of course the the image elements too) 4) Then I want to save the document as as *.ml and *.xslt 5) then I will use this *.ml,*.xlst and an *.xml to recreate the orignal document so that the xsd tags are replaced with values from xml ( including the image) Now the tag line is I can perform the above mentioned steps for elements other than those of type image. Can anyone please tell how to add images in the word document from xml. is there any problem with xs: base64binary or images have to added some other ...Show All
SQL Server Array of Value
I'm learning T-SQL, and I want to know what are the various ways to represent an array of values. For example, I might like to have an array of record IDs, which I feed to an "IN" clause. My guess is that such an "array" would be implemented by using a RecordSet. If yes, thats good - but what are the other ways (if any) If no, then what other kinds of variables or parameters allow me to do something like that >>Is that not a common/popular thing to do << Funny way to put this. Common Yes. Popular Yes. Natively supported in SQL Server Nope. The "classic" paper on the subject is here: http://www.sommarskog.se/arrays-in-sql.html You can do it with a table variable, but sadly, you can ...Show All
SQL Server Rename a linked server
I have an app that has some stored procedures running queries across a linked server. In our development environment, the linked database is on a box called 10.xxx.xxx.xx. In the production environment, the linked database will be on a server called something else. What I want to do is have the linked server in the development environment named the same thing as the linked server in the production environment, so that I won't have to change the stored procedures when migrating the project into production. SQL Server 2005 isn't giving me the option to rename or alias the linked server, though. Is there anyway to do this so that I can have the linked server named the same thing on the two different boxes and not have to change the sp's ...Show All
.NET Development how to the content place holder when using Master pages
I had a problem with Cotent place holder, can I resize it or place it proper way is there any way to do this pls reply................ The location of the Content place holder is determined by the master page being used. These controls can be located like any other controls on an ASP.Net page. Use the properties of the tag within the Master page to control the CPH. If you have any other questions or would like an example let me know, Tomas ...Show All
Visual Studio Where are Studio 2005 Help Files?
I have VS 2005 Pro and SQL Server 2005 Dev installed. My problem is that the VS 2005 help topics/table of contents does not show anything related to VS. It only shows SQL 2005 subjects. I have been to the help manager, after finding out online about it, but it only allowed me to add Reporting services documentation. I have reinstalled VS 2005, with the Repair option to see if that would fix it, but to no avail. How do I get the help topics for VS to show up Thanks, Chris Hi Chris. The likely reason for this behavior, as Frank mentions, is that the MSDN Library is not installed to the local machine. Check to see if there is an item in the Start Menu under Programs/Microsoft Developer Network/MSDN Lib ...Show All
Visual Studio 2008 (Pre-release) COM loading failure using impersonation
Hello, I have a Windows Service that hosts a WCF Service, which calls functions in an external assembly which calls a 3rd-party COM component via a COM server. The WCF Service requires impersonation on calls from a client and when I use the service everything works fine. I have domain admin privs, so this isn't too surprising. However, when I test the service while logged in as a non-admin user, the COM component on the end of the call chain fails to load. I'm assuming this is because the user being impersonated on the remote machine does not have sufficient privs to remotely load a COM component. Is this correct I really don't have any idea how to configure this so it will work with any arbitrary user. Could someone point me in t ...Show All
Software Development for Windows Vista Graphic rendering
I am using MS Access 2003 (SP2) on Vista business, i have some graphs which have there rowsource updated with SQL. The problem that i am having is that the graph does not paint, if i click the graph and then click somewhere else then it paints. If i overlap 2 charts then the top chart paints correctly. I have tried to requery, repaint but lo luck. Is this to do with double buffering on vista Any ideas Regards I have recently come across this problem when my customers started using my Access XP application on Vista. I noticed that the last reply was posted on the 12 of February. Therefore I wonder if there is a solution to it, maybe an update of Vista from Microsoft that I don't know of. Does ...Show All
Windows Forms Code for Synchronizing datagridview/listbox and textboxes
Hi, I'm just getting started with C# and Windows Forms and as a learning process i want to create a simple application that will display certain fields from a table in a DataGridView and the remaining fields in textboxes below the DataGridView. What i'm having a problem with is synchronizing the DataGridView and textboxes so that when i click on a row in the DataGridView the textboxes get updated. I'm just not sure where to get started with achieving this. I've read in the MSDN library about "Ensuring Multiple Controls Bound to the Same Data Source Remain Synchronized " and some information about the CurrencyManager class, change notification and stuff related to that but either i'm not understanding the examples or they are stop ...Show All
