kilky's Q&A profile
Windows Forms Background thread accessing main thread controls
Hi, In my form load I am creating a background thread which listens on a particular port for some message. When a message is received, I have to refresh the form display for which I have to access some controls of the form's thread. When I try to access these controls I get a cross threading exception. Can someone please point out a workaround for this. Thanks & Regards, Kunal Here is an example: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconDevelopingMultithreadedWindowsFormsControl.asp ...Show All
Software Development for Windows Vista Beta 2-Lab 1: EventDeliveryFailedException
Not withstanding the Labs are possible not full-proof, can anyone explain what is going on when I try to say 'Reject' a previously 'Approved' report I'm getting this: An exception of type 'System.Workflow.Activities.EventDeliveryFailedException' occurred in System.Workflow.Activities.dll but was not handled in user code Additional information: Event "ExpenseReportReviewed" on interface type "ExpenseLocalServices.IExpenseService" for instance id "71708a60-d9a5-4dcd-b9fa-3ede9769a7eb" cannot be delivered. Cheers, Newbe here. Please forgive ...Show All
Visual Studio Team System UnitTesting in vb2005
Hi,, Can anyone tell me, how i can make a new application that contains my testclass.dll, so i can test and validate my tests from any location... -Meaning that i don't want to open VSTS to run the tests.. And i don't want to run the test from commandline either.. But instead in a new application or website from wich i can invoke and validate thise tests one by one. I found out that there is a namespace called: Microsoft.VisualStudio.TestTools.UnitTesting, wich i think is the right one to use, but how do i envoke and validate the tests Thanks you can also set up the environment variable beforehand, so you dont have to put in the f ...Show All
Windows Forms Load a user control using command pattern and back ground processing
I would like to know how I can load a user controls using command pattern and background processing. I also want to keep a list of all loaded controls to call them on the fly when I use a back and forward button on my menu bar. Please I appreciate if you send some samples. No. There hasn't been a lot of work on the Windows Forms team around the command pattern, so no samples. Sorry. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
SQL Server How to get schema name/ owner name ?
Hi, I have an application that uses SQL-DMO to list object properties. Due to user-schema separation in Sql server 2005, sql-dmo returns owner name as schema. How to get the owner name or schema name of an object using SQL-dMO Regards, Praveen SQL-DMO has been made backward compatible, and does not know the difference between a SQL Server 2000 owner-schema and a SQL Server 2005 schema. As we do not plan to expose SQL Server 2005 features in SQL-DMO, this will not be possible. In SMO the collection of schemas is exposed through which you can infer ownership. ...Show All
SQL Server RANK without counting null values
Hi all, Is there a way to use the RANK function without counting null values The statement below gives me a rank for each score, but it assigns a rank of 1 to empty values. What I want is that the empty values are ignored. I do want them displayed in the resultset, but with a rank value of null SELECT SubscriberNumber , PINumber , Score , RANK () OVER ( PARTITION BY PINumber ORDER BY Score ASC ) AS Rank FROM tblTemp Anyone Best regards, Joost Hi Joost, I don't think you can get a rank of NULL for the NULL scores. It is possible to ...Show All
.NET Development No connection cold be made.. Final resolution needed.
Now after all the technical issues are resolved, the socket is created, the parameters are set I am facing a fundamantal issue. I kind of suspected from the outset that this could be the case and now I actually hit the wall. I have a subscription to a stock information service which gives me an up to minute update of the market. I invoke this application which is a set of GUIs and try to tap into the actual PORT to divert the datagram tream to my database to process it my way. When the application is connected to the server (money.net in this case) and using, let say, port 2453 I CANNOT open a socket at this endpoint. I get an error mes ...Show All
SQL Server SQL 2005 Security
more info att http://www.microsoft.com/sql SQL Security Stronger. att Santos Martinez, MCSE, MCDBA IT Community Staff of Puerto Rico http://groups.msn.com/CommunityStaffITProsPuertoRico ...Show All
Visual Studio Trouble with Report Printing VS 2005
I am using VS 2005 and trying to show a crystal report (built in VS 2005) on a web page. While the report shows up, it is missing all toolbar images as well as charts. Also the print features don't work. Anyone having the same difficulty or know what might be causing this So yes. This fixes the problem. But isn't this a defect I should be able to simply create the Crystal Viewers virtual directory on my site and the viewer should automatically find the files. I'm having to set several properties on the Viewer control (like CSS Filename) as follows: ~/../crystalreportviewers115/css/default ...Show All
Visual Basic custom windows forms..
hii ppl.. i want to know how to create windows forms other then rectangular form (default) i have done that using transparency key property but that is seen properly only when moniter color depth is less then 24 bit..which is useless.. otherwise it's seen as rectangular form even on enabling tranparency key property.. i want to know how to create form like the one in apps like winamp etc.. Hi, here is a msdn article about that. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbtskcreatingnon-standardshapedwindowsforms.asp ...Show All
Visual C# Unloading an Assembly
Hello, I read in one of the Blogs that an Assembly cannot be unloaded. It has to be loaded into a AppDomain and then unloaded. I have tried that. Take a look at the following code. AppDomain newDomain = AppDomain.CreateDomain("NewDomain"); Assembly myAssembly = newDomain.Load(AssemblyName.GetAssemblyName(assemblyPath); After doing Reflection on myAssembly, I used AppDomain.Unload(newDomain); There are a some other statements in the CurrentDomain. While executing, Iam getting the following exception: 'System.Runtime.Seri ...Show All
SQL Server Changing DataTypes in an Excel Data Source
Hello. I'm importing some data from an excel file to sql server 2005. I created an Excel Data Source inside my Data Flow Task but it is assuming that the source columns DataType is double-precision float [DT_R8]. It isn't, even though some rows may containg numeric string in the column's cell. If I go to the Data Sources advanded editor, and modify the data type property of the column, SSIS complains the the error output and the source output are not of the same DataType. If I try to change the error output's data type in the advanced editor I get this error: "Property Value". The deailed error states: Error at MOVIM 04 ...Show All
Visual Studio Where can I find ANY information about sourcesafe 2005?
Hi, I've been trying to find information about Visual Sourcesafe 2005, but it doesn't seem to be anywhere on the MS web site! Is there a web page for it anywhere All I can find are a million links to the previous version, sourcesafe 6, which we already use. Please help! Thanks. http://www.google.com.au/search hl=en&q=%22sourcesafe+2005%22+site%3Amsdn.microsoft.com&meta = ...Show All
Windows Live Developer Forums Pushpin Onclick Event?
Hi has anyone managed to handle the on click event of a push pin yet because i cant find any events for such a thing You can tell something happens because (in IE at least) you can hear the normal "tick" noise just like when you click a link, when you click on a pushpin, I need to be able to handle this even so I can action the users click on the pushpin Just in case any one else has had this problem or anyone can give me a better method than the one I have used. To catch when my users click on a pin (and i no this is not perfect) i have combined two other events that are available t ...Show All
Visual Studio Team System how to get Visual Studio 2005 Team Edition for Software Testers
Hi, all, 1. I want to know whether if I could download Team Edition for Software Testers from http://msdn.microsoft.com/subscriptions/ no matter it's RC ,Beta or evaluation version. 2. My company is MSDN Enterprise , how should I get Visual Studio 2005 Team Suite TKS! Romi I believe you can download the 180-day trial version of VSTS Team Suite from MSDN. Frank points to the correct page about the transition plan for MSDN Enterprise. To get Team Suite, which includes every role, you'd have to either purchase it separately or transition up to the appropriate MSDN Premium level. For Current MSDN Enterprise s ...Show All
