Pandurang Nayak's Q&A profile
Visual Basic Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring I experience the same problem from time to time. No idea what causes it, but would like to know! VS2005 Pro Ed. Carl ReneeC ...Show All
.NET Development How to refrence any avalible version of a assembly?
Hi, we have a problem in our company and we can’t solve it. We have an application that uses the Oracle Data Provider (ODP). But when you move the application to another computer that has a different version of ODP (newer version) installed the application doesn’t work, because it is trying to reference a assembly with a specific version and that does not exists... I was going trough the MSDN and some books, and discover that you can manually redirect assembly with: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly&g ...Show All
Visual Studio DSL and XMI interchange format
Hi, Good day! I have a general question regarding the interoperability between Microsoft DSL tools and other general purpose modeling tools that supports UML/XMI. On one hand, since UML could be customized towards different domains/platforms through UML profiles, we can view such UML Profiles as DSLs targed for different domains/platforms. More importantly, such DSLs are defined through standard UML and could be imported/exported through XMI format. On the other hand, Microsoft DSL is defined through DSL designer definition (dsldd) format, which is based on the Microsoft Data Framework (MDF). I know that UML Metamodel (UML superstructure) i ...Show All
Visual Basic visual basic Label number as a variable
Is there a way to assign a variable to a label number for i = 1 to 10 label(i).Text = Name next i or something like that Bruce You can build an array of labels, or use the Controls collection already on your form to look for labels ( you can identify them by name or the Tag property, if you set it ). If label was a list into which you'd passed the 10 labels you want to set, and Name was the text you wanted to put on all the labels, the code you posted would work. ...Show All
Visual Studio 2008 (Pre-release) the "New" operator in VB 9 LINQ
The documentation claims you could do this Dim ConstructorType = Type.GetType( Test.receiver.@classname ) Dim ConstructorArgs = _ (Select a.Value() From a In Test.receiver.argument).ToArray() Dim Instance = New(ConstructorType)(ConstructorArgs) But I am getting this error D:\Program Files\VB LINQ Preview\Bin\TestType.vb(17) : error BC30182: Type expected. dim o = New(t)( new object(){}) ~ when I tried to compile Imports System public class Duck public Sub Quack() Console.WriteLine("Quack,quack..") end Sub end class class TestType Shared sub Main() 'dim d as new Duck 'd.Quack() dim t as Typ ...Show All
SQL Server Full-Text Search / User Instances
Is there any documentation on using full-text search with user instances Is it even supported We just spent quite a bit of time adding support for user instances into our application. It solves a number of problems for us and we're very happy with how it works. But I wouldn't have done it had I known about the FTS limitation. Please tell me there is a chance of this changing at some point ...Show All
Visual Studio 2008 (Pre-release) DLINQ vs. NHIBERNATE
We are right now in the process of evaluating an ORM tool for our enterprise application. I initially suggested DLINQ, but people were also interested in NHIBERNATE (a port of the popular HIBERNATE ORM tool in the Java World). I downloaded NHIBERNATE and am in the process of evaluating it. I see that it has a lot of features, but unfortunately there is no in-depth documentation or books on the same. I would like to know the roadmap of DLINQ and when its next update is expected. Also, if anyone has done comparision of DLINQ with NHIBERNATE, do let me know as I do not want to reinvent the wheel again. Srinivas Sampath You state ...Show All
Visual Studio Express Editions Text Vertical Alignment (Button)
Hi, I am working on a button. But now I have a problem to align the text vertical. The text is too high or too low in the button that makes use of 2 lines. Now I’m using the following code: if ( strpos( strLabelWhenActive, "\r\n" ) < 0 ) strLabelWhenActive = "\r\n" + strLabelWhenActive; This works when the button makes use of 3 lines. How is it possible to solve this vertical alignment problem Any button you put onto a Form should default to having its text centered vertically and horizontally. To change this just go to the properties ...Show All
.NET Development AspNetAccessProvider not working
Hi All, I'm trying to use the AspNetAccessProvider starter kit offered by MS for download, but I can't get it to work. I followed the instructions from this post ( http://forums.asp.net/898415/ShowPost.aspx ) to the letter but still I get errors. I compiled the dll with a pro vs2005 as SampleAccessProviders.dll (read somewhere that the c# express edition wasn't enough to compile it) but when running the website I get the following error: Error 72 Could not load file or assembly 'SampleAccessProviders' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from ...Show All
Visual C++ rand() not being random!!!
OK An other problem which I really need assistance with I'm using srand to generate random numbers out of a range BUT i always get the same sequence of numbers!! But I notice the problem come from rand() i tried to create a new project with only this : #include <ctime> #include <iostream> using namespace std; void main() { srand(time(NULL)); cout << rand() << endl; cin.get(); cin.ignore(); } rand() does give me 7880 - 7920 - 7934 - 7946 as time goes. I even tried closing VS completly and try again, i Get approximatly the same result. What's wrong ! Like i Said, i do ...Show All
Windows Forms trivial combobox problem
Hello, I have 2 tables. Clients [FirstName, LastName, ..., TownID, ...] and Towns [TownID, TownName, State, Postcode]. In the Clients form, i want to have a combo box that lists all [TownName + State + Postcode] from Towns table and which is also bound to TownID of Clients table. Thanks Thanks Joe, It works now! Here is the code: &nbs ...Show All
Visual Studio Team System XML report doesnot show excluded and absent messages.
Hi all, I have an FxCop project with certain active, excluded and absent messages but while I save the report, the excluded and absent messages are not saved in the XML. Only active message are saved. The option in project default for excluded and absent messages are checked still the report doesnot contain excluded and active messages. I want all the messages in the report. Please anybody help me in solving the problem.Thanks in advance. Although the Project default's show that excluded and absent messages are checked, can you check the actual Project's option (Project -> Options) Regards David ...Show All
Windows Forms Staging QA and Production Release for Click Once -- One Solution
Here is a paste of my word doc -- Note the images did not go through Problem Out of the box ClickOnce deployed applications do not support the concept of staging across various environments from both a server side as well as on the client desktop. This document will demonstrate the following: · How to setup your ClickOnce projects to have the ability to deploy across development, qa, and production environments · Allow a given client the ability to have all 3 or more environment builds on the same machine (Currently each install of a new environment will overwrite the previous install) · To ...Show All
SQL Server ErrorCode and ErrorColumn in Excel Destination
I am exporting records with errors to Excel using the Excel Destination tool. The ErrorColumn is a numeric. How do I find out which column it is While it's fairly easy to add an ErrorDescription column on top of the ErrorCode, it's NOT so easy to add an ErrorColumnName on top of the ErrorColumn numeric ID value, because of all the ifs ands and buts that determine whether the column name is readily available or not. (For example, did the preceding component have synchronous or asynchronous outputs, and so forth.) You can run your error output through a Script Component and try looping through the columns in i ...Show All
Visual Studio Team System Team Build Install Issue
We are having an issue with the Team Foundation Build Server installation for the RC. The required TFS Service account for TFS and TFS Build we created is a local account (not domain). Team Foundation Server allowed the use of a local account during installation. The build server needs to use the same service account used by TFS, but does not allow you to supply a local account during installation. I used my domain account just to complete the installation. After completion I went into the service and changed the service account back to the local TFS Service that was used for Foundation Server. When I try to execute a build it fails with th ...Show All
