Karin P's Q&A profile
Visual Studio Team System Creating Custom Control
Hi, I am very keen to see the working of custom control. Thanks to Naren for a detailed explanation on how the custom control works. But I am facing issues here. Hope some body helps me here.. I have followed the following steps 1. Unzipped the sample in http://blogs.msdn.com/narend/archive/2006/10/02/How-to-use-Custom-Controls-in-Work-Item-Form.aspx to my working folder 2. Built the sample. 3. Copied the dll and the wicc file to C:\Documents and Settings\All Users\Application Data\Microsoft\ Team Foundation\Work Item Tracking\Custom Controls and also to C:\Documents and Settings\prash\Local Settings\Application Data\Microsoft\Team Foundation\Work Item Tracking\Custom Controls . 4. Now I wit imported the Bug-CustomControl.x ...Show All
Smart Device Development Comparing 2 images
hi all, I want to check whether the 2 images are same or not. Wht can b done Should i read the content of the image, coz, i have to compare if the user have rotated the image left or right. Any help would b greatful. Thanx in advance. Ilya Tumanov wrote: You need to compare image sizes. If not the same, images are different. Then compare all pixels one by one. If they are not the same, images are different. Of course it works only for identical images, won't work for similar images. If you figure out how to compare two similar images reliably, I would suggest filing for a patent immediately as current methods (probably also patented) are not that good. could ...Show All
Visual Basic counting letters in a textbox?
Is it possible to count the number of letters in a textbox OR label e.g >textbox1.text = "thesister" would return a value of 9 letters is this possible TextBox1.Text.Length counts both letters and numbers, to count letters only : Dim Letters As String = "abcdefghijklmnopqrstuvwxyz" , TempIndex As Integer , Count As Integer = 0 For TempIndex = 0 To TextBox1.Text.Length - 1 If Letters.LastIndexOf(TextBox1.Text.Substring(TempIndex, 1 ).ToLower) >= 0 Then Count += 1 Next MessageBox.Show(Count) ...Show All
.NET Development Enlisting an Oracle database connection throws an AccessViolationException
Hi, I use .NET 2.0, Oracle Express Edition 10g Release 2 (10.2.0.1), and System.Data.OracleClient. I wrote a resource manager that implements System.Transactions.IEnlistmentNotification. The resource manager itself is enlisted as a volatile resource in Transaction.Current using Transaction.Current.EnlistVolatile(resourceManager, EnlistmentOptions.EnlistDuringPrepareRequired); Within IEnlistmentNotification.Prepare I want to enlist a new database connection. If I resolve the data source in my connection string I get an AccessViolationException: "An unhandled exception of type 'System.AccessViolationException' occurred in System.Data.OracleClient.dll Additional information: Attempted to read or write protected memory. Th ...Show All
SQL Server SQL Server 2005 Everywhere Edition with Sql Server Management Studio Express
Can I use SQL Server 2005 Everywhere Edition with Sql Server Management Studio Express If not, what do I need to access sdf file Thanks Currently you can use SQL Server 2005 Edition to access the .sdf file or you can use VS 2005. In future we will be integrating SQL Server Everywhere with SQL Server Express as well. Thanks Sachin ...Show All
Visual Studio Express Editions adding to a text file
I am using streamwriter to write lines of text to a text document as follows: Using sw As StreamWriter = New StreamWriter( "C:\Documents and Settings\User\My Documents\Doc.txt" ) My problem is that when I use this, text that was in the document is overwritten. Can I use streamwriter, or something else, to add additional lines of text to an existing document Thanks Just use this one, similar like yours: Using sw As New IO.StreamWriter( "C:\Documents and Settings\User\My Documents\Doc.txt" , True ) sw.WriteLine( "last line" ) End Using ...Show All
Visual Studio Tools for Office Cannot access assembly from end user computer
I am creating a simple excel application and saving the assembly on a network folder. When i try to access this from end user's machine i get the "The Current .Net Security policy does not permit the customization to run. Do not change the security policy in your computer. ...." 1.I have ran caspol.exe and granted full trust to the assembly on the end user's machine. 2. When i look at the details of error, it shows the dll is loaded from correct network folder. 3. I have also verified in Framework 2.0 configuration it shows my dll under Local Intranet_Zone. 4. The solution works correctly on my development machine. I am using Visual Studio 2005,VTSO 2005 and Framework 2.0 Thanks in advance for helping me with this. Sorry my ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Any one use Mac Book Pro to develope XNA program ?
I want to know is it ok to install window XP , directx , XNA , C# express on Intel Mac Book Pro I'm not sure if anybody has booted WinXP on Apple hardware via Bootcamp and tried out XNA. Assuming that the graphics hardware supports Shader Model 2.0, I can't imagine it wouldn't work, but that configuration hasn't been tested. ...Show All
SQL Server Design of 'age' ( dimension ??? )
my reports are run over a period of time of certain dates, let s say : Period 1) DateStartPeriod1 - DateEndPeridod1 Period 2) DateStartPeriod1 - DateEndPeridod1 Period n ) ..... The subject is born in DBORN, so when i need to rollup to the age at the end of the period 1 it is going to be DateEndPeriod1 - DBORN and the same when the second date is used, i.e. DateEndPeridod1 - DBORN. QUESTION : How do i model this in Analasys services In other words how do i explain AS that when i use Period 1 on the columns i want the age DateEndPeriod1 - DBORN on the rows I tried to use calculated memebrs AgePeriod1 and AgePeriod2 ... something like MEMBER AgendPeriod1 as 'DateEndPeriod1 - DBORN' but it does not seem to work. ...Show All
SQL Server Create DTS PACKAGE programmatic
Hi guys..!! i am working on Dynamic creation of DTS-packages in C#.NET 2005(sql server 200) but i not must create package in Sql Server. but i cant... can i do any ideas thx... but this source not contain code for vb or vb.net no problem is writing vb or vb.net problem is "how to create programmatic (dynamic) DTS-Package in dotnet " thx... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Languages supported
I'd like to know which programming languages XNA supports. Thanks in advance for your answer Don't hold your breath waiting for official support for VB. XNA works with Visual Studio already and there's still GSPro coming down the pipe sometime, so I wouldn't expect them to have much time for integrating other languages into GSE. ...Show All
SQL Server Is lineage more trouble than it's worth?
Very often during dev. I add processes that don't change the metadata of a data item (for example a new sort) yet the linieage id is changed. This causes lots of headaches down the pipe. If metadata of a data item is not changed in the pipe, why is the lineage id changed If lineage is not smart enough to figure out when some metadata was actually changed, should it be made smart enough Or optional Ken kenambrose wrote: <<the column in the output is not the same column as in the input>> I guess it depends on your definition of "the same". If a column has exactly the same name and type, to me it is "the same". The fact that behind the scenes, way down in the bow ...Show All
Internet Explorer Development Customizing Toolbar in IE7
I am having a small problem. I have TWO search boxes on my browser.. One for Google toolbar, and the one that was originally there on IE7... I set my default to google. I cannot find how to get rid of the original search bar (to the right of the address bar) and just keep the google toolbar search box.. There is no option that I can find to just have the top row be an address bar..Any suggestions.. I cant even tell google toolbar to take away its search box, it is automatic.. It is ridiculous to have TWO search boxes on the toolbar.. Anyone know a way I've tried everything I know.. Thx JP John said, "BUT if you have to live with two search boxes....." BUT why should he have to The optio ...Show All
Architecture To Pranshu (slightly off topic)
Hi Forum Does it make any sense to build a design that supports more than one physical seperation. I'm making a web application and I need to make it secure and scalable. I can see an idea in making it possible to physically seperate the presentation layer from the business layer. You can put the presentation layer in a DMZ. Does it make sense to make it possible to physically seperate the business tier from the data tier What requirements would justify such a design I'm making a web application that is to run on a web farm in a hosting center. There is not reqirement that the data tier is to run on there other side of the planet. I'm thinking mostly about security. I know that making physical seperation has a perform ...Show All
Visual Basic Loops
Hi. How would you run a loop for when x is odd versus even Would you use an if statement and then nest the loop in it Thanks for any help. Dim x As Integer = 7 If x Mod 2 > 0 Then Dim iLoop As Integer For iLoop = 0 To 10 Console.WriteLine("Looping...") Next iLoop Else Console.WriteLine("No loop.") End If ...Show All
