Vishal_LogicaCMG's Q&A profile
Visual C# Getting what is after the Decimal place, in any number
hello people I am trying to get what is after the decimal place in any number for example 3.99939204820498, i want to get 99939204820498 i am aware of the % (mod) when i divide, but what about when i multiply 1458/365.25 = 3.9995646 (what ever the result is) i wan tto then get the 0.9995646 lets say i multiply the 0.9995646 by 12 = 11.90545654 (some number) now i want to get the 0.90545654 how do i do this in C# 2.0 i can use strings to sp ...Show All
Visual Basic How to append a line to its previous line in a text file?
Hi, everyone, I have a file with several lines, looks like this: 001 John Smith St.Louis MO 555-555-5555 002 Peter Johns St.Louis MO 555-555-5555 003 Jimmy Howard Chicago IL 555-666-7777 004 Tom Somebody Chicago IL 555-666-7888 005 Jane Smith New York NY 212-555-555 006 Mike George New Haven CT 203-555-5555 -------------------------------------------------------------- all the lines have the same information, but ...Show All
SQL Server SSIS Installation Problem
I tried removing and reinstalling SQL Server 2005 Developer Edition for three times, including "all-at-once" component installation and "component-by-component" and I just can't get Integration Services to install. Here is the setting: - I have WinXPPro SP2 - I had SQL2K and removed it - I installed SQL2k5 (as described above) I am getting the following error: Microsoft SQL Server 2005 Integration Services -- A component that you have specified ...Show All
Visual C# Computer LDAP path
I am looking a way to find out the LDAP path of a computer object. I found an example in vbs, but I don't figure out to translate this in c#. Does anyone got an idea how to do this Thanks. I post you the vbs code for your info. Public Const ADS_NAME_INITTYPE_GC = 3 Public Const ADS_NAME_TYPE_1779 = 1 Public const ADS_NAME_TYPE_NT4 = 3 sSAMAccountName = "domain\computername$" 'replace with the computer account with $ on the end Set oNT ...Show All
Visual Studio Team System Team Foundation Server December 2005 CTP Errors
Hi I'm trying to install the TFS Dec2005 CTP (both tiers on the same machine) and I receive the same error every time.. the problem is that i think it might be an error from the scripts included in the setup program. I have tried all the things that i've found on the forums. The configuration: Windows Server 2003 SP1, Active Domain, IIS 6, WSS 2.0, SQL2005 Enterprise, all required ports available, all the required users with ele ...Show All
Visual Basic What's the Difference between Visual Basic Express and Visual Basic 2005
Are there more commands Faster compiling Faster code I read that Visual Studio 2005 also has a 64bit compiler... does that include Visual Basic 2005 I understand that VB wasn't going 64bit - but that's a shame because MS is pushing us to move to 64bit. Well, we certainly need the compilers for it, don't we >Are there more commands Yes, there are more features. You can see a feature c ...Show All
Visual Studio Express Editions Stacks
I am working on an assignment for C#. As my name states, I am not a programmer and trying to learn how is driving me insane. This the assigment I am working on. I have the first part complete, but am trying to work on the extra credit. This is where I am having major problems. Any help anyone can give me would be greately appreciated. " Homework 2 Sausage Stack In this assignment you will work with t ...Show All
Visual Basic To VB 03 or VB EE, that is the question.
I have an application that was programmed in VB 5 (yes, Five). I purchased VB.Net 2003 a couple of years ago to update my application by adding new screens, illustrations and generally make it pretty. A few days ago, I decided to get started on my updates and I found out about these forums and have read about the different versions of VB. I am not much of a programmer, but seem to be able to get by, however after spending a week with VB.Ne ...Show All
Visual C# Questions about Objects in C#
1. Do we need to pass objects by ref, if we want to have the changes made in a calling function 2. And the same question for the objects passed by Remoting 3. Do we really gain performance in calling Dispose method of DataSet while leaving from a function(the dataset is no longer required) If yes, then what does the Dispose do there Is it freeing the memory occupied by the objects If yes, then basic definition of GC itself gone righ ...Show All
SQL Server Can SQL Server message other processes?
I'm a developer for a rich client application with a primary grid that should be refreshed when data is changed by other users. I loath to resort to some sort of polling. It would be really cool if there is a native way to raise an event on the client from a SQL Server trigger. RAISEERROR can send a message to the Connection's InfoMessage() event. But of course this will only send the message back to the user who made the chang ...Show All
SQL Server Updating database
Can someone please tell me what I am missing... I am trying to update a record with information a user types into a textbox. I am not getting any errors even when in DEBUG mode. But yet the Data is not getting updated. Any Help would be very much appreciated. T CODE: Protected Sub bUpdateSlsNum_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles bUpdateSlsNum.Click Dim myCommand As SqlCommand ...Show All
SQL Server Dataflow slows dramatically down after passing 1.6 million records ?
If i have a dataflow witch moves records from one OLE DB Source to a OLE DB Destination, the step slow down when getting above passing 1.5 - 1.6 million records.The Source is a SQL 2000 and the Destination is SQL Server 2005. the Package is run from a laptop with 1.5 GB ram What can i try to help it Use the Windows Performance Monitor (Administrative Tools-->Performance). In there, there is an IS object conta ...Show All
Visual Basic Problem unloading Form after next Form loads.
(VB.NET 2003 app.) I have a Login Form and when the user clicks the OK button and the password gets verified, the Main Form gets loaded. I am not able to close the Login Form when the Main Form gets Loaded. Or alternatively, when the OK button of the Login Form gets clicked and the password verification is over, the Login Form should close first and then the Main Form should be loaded. (As it usually happens in any application). Hi, K., ...Show All
SQL Server Unable to set Default Schema for a group
We're using Windows Authentication with our SQL Server. We've added a domain group to the SQL Server groups and would like to give it a default schema. The properties window is the same for users and groups but the default schema field is enable only for user entities. We cannot add a default schema to a group. Is this by design, a bug or a problem with our SQL Server installation Updated on ...Show All
Visual C++ Tiered library dependencies under VS2005
We have a project that is structured like this: Program depends on Library 1a which depends on Library 2a, Library 2b, etc. The dependencties for the above are set by right clicking each project and selecting Project Dependencies... and selecting the projects immediately below the projects in the dependency tree. If I modify a source file in Library 2a and then right-click on Library2a and select Build, it builds the library. ...Show All
