grnr_r's Q&A profile
Visual Studio 2008 (Pre-release) VisualBrush of an Expander after expanding/collapsing
Problem: When I create a visualbrush of (an initially) collapsed Expander (with no explicit Height set) The "first" render of the visualbrush will render the header only. After I expanded and collapsed the expander back. The visualbrush renders the header AND the whitespace the Expander control took when it was expanded. It "remembers" the height someway. Is there a way that the visualbrush only renders the header again I prepared a little test xaml to show the problem. Just expand and collapse the Expander. The rectangle will be different from the original one. <Window xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xa ...Show All
Visual C# Get window handle
Hi All, Is there any possibility of getting the handles of all windows which are present in the taskbar. I need to track down which window is being closed and display a message stating the file name of the closed window. In the above case, i can take only the process as such. If i am opening 3 doc files, will i get only one handle and moreover, how i can track from my windows forms, which external application is closed. For example, if i have opened a txt file. When i'm closing this txt file, a message must be displayed in my windows application stating that the file is closed. Is it possible to do ...Show All
SQL Server Creating Graphs in access on a click of a button
I need to create graphs in access in a lick of a button all the data will be in the sql transfered from the access. If anybody did this before ar having Idea please let me know I was talking about the Report Wizard in Microsoft Access. SQL Server does not have a report wizard. For SQL Server, you want to investigate installing SQL Server Reporting Services, it will let you create very nice reports inside Visual Studio against SQL Server. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Weird backface glitch
I'm not sure what's going on here; I wouldn't be surprised if it's just my video card. But has anyone seen this before cellphone_rendering_bugs.jpg That's a series of screenshots I took as the model rotated... the original model in Maya has all its normals facing the right way. I exported it as an FBX200611 model. I'm (unfortunately) using a Compaq Presario with an NVIDIA GeForce 6150 LE video card. I thought it might have been a matter of the near/far draw limits being too far apart and the Z buffer lacking the precision to draw this relatively small area properly, but I turned it down to 1.0 -> 100.0 and it still happens. Any thoughts I think that looks correct, unless I'm missing something. The ...Show All
Visual Studio Team System Build script
Hi! I have VSTS4DBPRO project (and bunch of other projects - SSIS, SSAS, C# - in my solution). And i need to create sql script wich should create database using my custom installation tool and supplied (by user of that tool) database server name, database name, physical layout (database files names and paths) options (assume that database has finite filegroups). Any workarounds how I must build my solution to achive desired result How could I get this by VSTS4DBPRO Andrey Makarov wrote: Hi! I have VSTS4DBPRO project (and bunch of other projects - SSIS, SSAS, C# - in my solution). And i need to create sql script wich should create database using my custom installation tool and supp ...Show All
Smart Device Development How can i add check box in data grid
Hi I need to add check box in data grid control or any other display control. I am using .net Compact Framework 2.0. Please tell me how can i do that If it is not supported then how this problem can be solved Regards http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx ...Show All
Visual C++ Compiler/Debugger output giving incorrect line numbers
A file within a project I'm writing is giving incorrect line numbers in the compiler output, and also it is debugging at the wrong place. ie. the compiler output shows an error at line 1847, which is actually on line 1848. It also affects debugging: the debugger shows you're at line 1900, but the code being executed is actually at 1905. The further down the file, the worse the difference in line number becomes. I've tried cleaning the project and re-building from scratch, but this has not worked. The code this first occurs on is straightforward, nothing hard for the compiler to parse: bool CProxy::ProcessReinviteFromSwitch(CTransaction* p_pTrans,CSIPPacket* p_pPacket) { string l_sIPAddr; unsigned int l_unPort; ...Show All
SQL Server About Webservices Task
My httpconnection is http://**/get_picid.php wsdl I can not find "name","type","value" options in input page of the Web Service Task Editor dialog box followed by books online and how to define if my input are variables ...Show All
SQL Server Microsoft Association mining algorithem + ASP.NET 2.0
Hi I am working on an academic medical project. I have created PATIENT table PATIENT_ID NAME | CITY DISEASE table DISEASE_ID NAME | and Relationship table[FOREIGN KEYS]PATIENT_DISEASE PATIENT_ID DISEASE_ID I am using Microsoft association algorithm [SQL Server 2005 BI Studio] to find association between PATIENT CITY --> Associated DISEASE. I will be entering dummy data into these tables as this is academic project. I like to know can i be able to find the associated Disease/s with the PATIENT City with this algorithm such a way as soon as the user enters PATIENT City, assocaited Disease will be selected from the diseases table on web interface [asp.net ...Show All
Visual Basic How to add "ToDo", "Message" in the task bar?
I would like to add "ToDo", "Message", "Task List" ... in the task bar, how do i do it (I'm using VB 2005) Thanks. Hi, Cino, I think you mean that you want to add new keywords that get called out in the VS Task List -- am I right If that's the case, then here's the scoop: Just for the sake of completion, here's how to show the tasklist (which you probably already know how to do): From the menus, choose "View"/"Other Windows"/"Task List". In the dropdown in the task list, choose "Comments". At this point, you would normally see your TODOs, etc., in the list, which are any code comments beginning with TODO. But, let's say you want to add more ...Show All
.NET Development how to access the sql server running in the remote server thru the windows service
hi , i have a windows service which has the account property set to network service. i have to connect my windows serive to the Sql server . Please help me how to connect ...Show All
SQL Server T-SQL how to output to file system.
Hi There This is for Sql Server 2005 Express Advanced Services SP1. I have data in a varbinary(max) column in the database. I want to output this column to a filename to a directory on the file system. How can i do this I do not want to use CLR or SSIS. Thanx Question... Why are you converting the text file to a single blob You're result is a one row insert into MyTable which is not condusive to what your are trying to accomplish. To output it back "exactly the same", you'll need to convert the binary back to whatever format the original data was in. You'll need to break the one field (SINGLE_BLOB) back into multiple records before you output by looping through the BLOB a ...Show All
Visual Studio Express Editions VB application connect to folder in ftp help plz
Hi, does anyone know by any chance how to create an application using visual basic express edition 2005 that connects to a folder in an ftp (e.g. http://xposhadow.t35.com/videos ) and get the info. So basically when you run the application everytime, it gets all the files names in that folder and show them in the window and when users click on them, they are able to download them. I would really appreciate it if there were any programmers here that could respond to this question!! thnx in advance! Basically, rather than someone do the work for you, you can start by looking in the help files: specifically the DownloadFile method (in other words, RTFM). Then, when you have specific questions, post a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. need help..
im kinda new to xna and c# and when i tried to debug now i get some errors that i dont know how to fix lol. heres the errors i get this is what i wrote in: protected override void Draw(Microsoft.Xna.Framework. GameTime gameTime) { this .graphics.GraphicsDevice.Clear(Microsoft.Xna.Framework.Graphics. Color .Black); this .spritebatch.Begin(Microsoft.Xna.Framework.Graphics. SpriteBlendMode .AlphaBlend); this .spritebatch.Draw( this .mytexture, this .spriteposition, Microsoft.Xna.Framework.Graphics. Color .White); this .spritebatch.End(); base .Draw(gameTime); } and heres the errors: error 1 = Error 1 The best overloaded method match for 'Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(Microso ...Show All
Smart Device Development how to make a drawing area?
hi I was wondering if anyone have a link to a tutorial or knows how to implement a drawing area, where the users can draw (or have drawn comments) on a particular area in the form, and then capture that area and save it to a file (Or database) I'm not sure if OpenNETCF can do it, if so what should I be using Thanks alot Thanks for your code. I was wondering if anyone has C# code for that I tried to convert your example into C# and I had trouble understanding what you mean by pDrawWindow I tried calling the invalidate method on both the form and the panel but nothing comes up. thanks public partial class Form2 : Form { private ...Show All
