Angel Rom's Q&A profile
Visual Studio Express Editions datagrid
how can I clear a DataGrid without clearing Columns Dear breceivemail, By the info you have provided, have you placed a datagrid item onto your form and have populated it with data from one dataset or table and you now wish to use the same datagrid for another dataset or table. Am I right or just barking up the wrong tree. Scott ...Show All
Visual C# Having only one process running
Basically, this is what I am trying to do: When a user runs the app, the first process is created, however, when a user then attempts to run the app again, rather then a new process be created, I want the the new process to recognoize that there is a process already running, and to tell the existing process to spawn a new window (form) and then die. At this point the existing process spawns a new window (form) and life goes on. I believe the basics of spawning the windows (forms) are through the use of Threads, and I have the basics of the forms being created correctly, and the and keeping the process alive through the life of the different threads, but, I can't figure out what I need to do to get the 2nd process to not run and instead use ...Show All
.NET Development using with try-catch or try-catch-finally ?
What do you use using statetment or try-finallly With the using statement... what is the best way to catch a exception Now, i'm using a try-catch-finally for the connection and using for the commands, dataadapters, datareaders ... etc.., but i don't know if is the best way. Regards. When disposing a connection it automatically closes the connection. You can verify this with a tool called reflector that shows you the code from .NET. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Software Development for Windows Vista Drag n' Drop files in Vista RC1?
Dear all, I find a very strange issue in Vista RC1. If we wanna add "requireAdministrator" in the program, (Ref http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/AccProtVista.asp ) The program will still fail to get the "WM_DROPFILES" message from Vista. Does anyone have the same problem ...Orz Best Regards, Shuyang p.s. The following is my manifest < xml version="1.0" encoding="UTF-8" standalone="yes" > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="Microsoft.Windows.XPStyle&q ...Show All
Community Chat Add dictionary function to Windows Desktop search
I am into design of interface to improve "users' experience" in using a software. I was studying the 2 Desktop search from both side, Microsoft & Google. While the great engineers of both company create a great product, I see that both are now offering a common function. As we know, Desktop search primary objective is to capture users for the search engine and the functionality of easy-search in our desktop is just additional functionality to ensure web search is readily available. What else the great engineers from Microsoft can add to Windows desktop search to ensure it is selected over the other competing desktop search My suggestion is to add dictionary that will be available even the users are offline. As we know, millio ...Show All
SQL Server Subscription Failing in Wizzard Foe SQLMobile ?
Hi, Need a little help on this one.... Using SQL Server 2005 and attempting to create the SQL Mobile CE example Publication and Subcripion. I was able to successfully create the publication on the main server engine but when trying to complete the wizzard for the SQL CE Database subscription I receive an error. The Subscription fails using the wizzard with the following credentials: Publisher: LAPTOP PublisherDatabase: SQLMobile Publication: SQLMobile Subscriber: SQLMobile HostName: InternetUrl: http://localhost/SQLMobile Web Server Authentication: Anonymous PublisherSecurityMode: Windows Authentication I have also created the Snapshot folder that is shared. Here is the error I get when cli ...Show All
SQL Server Visual basic calling a DTS Job
I am working on a Visual basic program and wanted to know if someone can help me. Is it possible to save the file you are creating with DTS in a user defined place instead of where the DTS job specifies I can create a DTS job, but are having issues getting VB to call the job. Any help with that would be great as well. ...Show All
Visual Studio Team System How to automatically create workitem when Team build fails?
Hi, How to automatically create workitem when the unit test fails/ incomplete code coverage during Team build Thanks... The workitem for build fail is only created when the compilation step fails, check this article to check when the tests are failing in a build: http://blogs.msdn.com/aaronhallberg/archive/2006/09/21/764951.aspx ...Show All
SQL Server How to match a Count Measure in Process Partition component in SSIS?
I have a facttable, and it point to a Partition. In Process Partition component in SSIS, it ask to match the columns of the facttable to the Partition's Measures. I try and found all the Measures need to be point, or it will cause a mistake. But the quesiton is , I have a Measure which counts the num of rows. What column of the facttable I need to point to it Thanks. You're wellcome. Please see my another report: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=939317&SiteID=1 bug report: Agent JOb Step forgot it's option I dount that's a very bad one. Please have a check. ...Show All
SQL Server subscriptions are failing
My data driven subscriptions are beginning to fail on a regular basis. I am using RS2000. Three types of errors are occurring - 1.) the Excel attachment is not sent or 2.) I get an invalid email error even though the email is correct or 3.) "The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database." In all cases these subscriptions have been running successfully for months previously. When the failure involves a missing attachment or invalid email address, the problem goes away when I create a new subscription using the same subscription table information. In the case of the missing user name and passwor ...Show All
SQL Server MSSQL 2000 -> 2005 - Schema stuff?
Hi All, I imported a database backup with no problems. I can view the data using the Studio. However, I noticed that all the tables are now pre-appended with a Schema name. This also applies to Views. How do I get 'rid' of this as my application doesn't know about the Schema and claims that it can't find the Tables and Objects I'm referenceing in the web.config. Thanks, -Alon While schemas are new in SQL 2005, SQL 2000 had the same basic idea (at least as far as calling the objects). In SQL 2000 objects had owners, and these were prefixed infront of the table name. In most cases dbo was the owner. Take the application account that is logging into the database. Change it's default schema to the schema t ...Show All
SQL Server Multiple Publication on the same database
Hello, I want to create one more publication on a database (SQL Server 2005) that is already a publisher and has subscribers. The subscribers of the second publication will not be inserting new records so I will mark the articles (tables) as download-only. Is there anything extra that I should take into consideration Are there any side effects of this process Thanks in advance. SilentOceaner. You can refer to a similar thread to see if it helps: Merge and Transactional from the same server http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=768828&SiteID=17 Note you are also allowed to have 2 merge or 2 tran publications on the same db/table. Thanks, Zhiqian ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where can I make a DDS?
I downloaded that XNArcanoid game to start honing my game making skillz but I am having trouble finding how to edit or make my own dds files. Is there a program I need or am I just dumb http://www.getpaint.net/ Paint.net has a plugin that lets you save as dds. Haven't tried it though. http://paintdotnet.12.forumer.com/viewtopic.php t=1637&sid=b95f46fce7a88b24131b0a2b86e2326b It also easily lets you save to png. You can either erase the background when starting, or use the magic wand tool to erase the part you want as transparency. ...Show All
SQL Server *Complex* Grouping in View - help needed
Hello, I am having difficulty to find the right SQL query to create a View as i illustrate below. Senario: Criteria Table Idn Key1 Key2 Key3 TagId 1 A C B 100 2 A NULL B 200 3 B D NULL 300 Data Table DataId Key1 1 A 2 B SubData Table SubDataId DataId Key2 Key3 1 1 C B 2 1 Z B 3 1 X B 4 2 D Z And below is my expected Vi ...Show All
Visual Studio 2008 (Pre-release) How to add forms in dockpanel(Framework 3.0)
Hi there, I wanna add forms in a dockpanel, with the sense to have dockable windows, like, as we have toolbax, properties window, output window in VS2005. These are hidable, closeable, moveable, etc. How can this be made with forms in a dockpanel using framework version 3.0 -Good day- You can't add forms to the dockpanel, instead you need to recreate all the functionality of the forms. For example: inherit you dockable window from the HeaderContentControl, add Thumb, override OnMouseDown\Up, OnMouseMove of the header to change the locations, add close, hide buttons etc... ...Show All
