Ranu's Q&A profile
Visual Basic About Visual Basic 6
Hi VB'ers i just wanna know if for how long Microsoft if going to provide support(technical) or to sell Microsoft Visual Basic 6, is VB6 gonna be obsolute soon thanks -- http://blogs.msdn.com/msdnsubscriptions/archive/2005/11/18/494716.aspx ...Show All
SQL Server messages aren't getting through after backup / restore on a different server...
after restoring a database and regenerating keys, I'm trying to queue messages, and they're all hanging out in sys.transmission_queue with the following message: An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission. I can't find any documentat ...Show All
SQL Server Select Error in Case
I am getting a syntax error and not sure why near my select. I want to bring back fee1 if the 2nd When is true CASE WHEN Len ( c . FeeSchedule ) < 3 THEN CONVERT ( int , c . feeSchedule ) WHEN Len ( c . FeeSchedule ) > 3 THEN SELECT fd . Fee1 FROM FeeScheduleDetails fd where c . feeSchedule = fd . code AND m . original BETWEEN fd . LowLimit AND fd . HighL ...Show All
Visual Studio Team System Error While connecting to Team Foundation server
I had a working version of the team foundation server running on Windows 2003 OS. Now I am getting an error "The request failed with http status 503 : service unavailable ". I searched various forums for the resolution. The solution that I got was 1.restart the TFS website in inetmgr (or iisreset) 2. Restart the TFSScheduler service in services.msc This does not seem to work. I would appreciate if someone could give a solu ...Show All
Visual Basic Variable X is used before it has been assigned a value.
Likely easy question, but the solution evades me: When I write a sub to retrieve data from a data source using a DataReader object, I code it as such (this is an abbreviated sample): Dim conn as new SqlConnection("myConnectionStringGoesHere") Dim cmd as new SqlCommand("SELECT * FROM Employees",Conn) Dim dr as SqlDataReader Try conn.Open dr = cmd.ExecuteReader() Do While dr.Read ' Process the data as appr ...Show All
Visual Studio Express Editions Urgent Help Needed : Cmoiling c# or JAVA class files in VS.net2005 Visual C#
In VS.net 2005 C# the compiler class has been made obsolete. Is there any other class with which i can compile my .cs file. I want to compile .java file through VS.net 2005 visualc# code.. How can I do that... How to execute that Please help me at the earliest. hi, i don't know but you can take see mono project http://www.mono-project.com/Main_Page hope this helps ...Show All
Visual Studio Refactor Encapsulate field repeatedly
Hi. I have an object with more the 100 fields. I wonder if there is a method to automate the process of encapsulating those fields. I'm just too lazy to do "Right-Click -> Refactor -> Encapsulate Field" for 100 times if i select all the fields and do "Encapsulate" then only last selected field is encapsulated. Any suggestions on this Thanks. Hi, This is not supported in the shipped co ...Show All
SQL Server Data Source passwords in Config Files
Anybody find a sound approach to being able to store DataSource connection information in a configuration and be able to access a Data Source that requires a password for login Storing it as a configuraiton in the DB is not an option, as you require the pw to access the DB that would store it. Can security be applied to an environment variable Registry Anyone successfully use the registry to store configuration values ...Show All
Software Development for Windows Vista looks like i'm the first...
i'm interested in InfoCard, but nothing here... Take a look at wcs.netfx3.com in the coming weeks - this is the community website for Windows CardSpace (i.e. what was InfoCard). Lots of content is on the way - US TechEd this week notwithstanding! If you have questions that are unanswered there, then this forum is a good place to ask them. ...Show All
.NET Development Need an Answer!
I've looked everywhere on msdn and can't get an answer to the most basic question about jscript. Here is the question: Which development environment in the .net framework allows you to code and debug in jscript! It's NOT Web Developer 2005 -- that one only let's you use VB and C#. Is it ASP.Net There are some very vague references to this, but I can't tell exactly what the environment is. There is much talk about jscript in the MS .NET fra ...Show All
Visual Basic VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. ...Show All
SQL Server Row_Number function in WHERE clause
What is the reason that you cannot use the results of the ROW_NUMBER function in a WHERE clause I can achieve the results that I want by using a derived table, but I was just looking for the exact reason. I have my speculations that it is because the results of ROW_NUMBER are applied after the rows are selected and filtered, but I'd like something definitive. Thanks a bunch in advance. That would be the exact reason. The ROW_NUMBER funct ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting rendered graphics (quickly) from the card
I had a thread about thins some days back, but for some reason I can not write into it now. I am faced with the task of rendering some graphics with directx and then copying that graphics into another card which generates a video signal. I need to feed it a new frame 25 times a second. The size is 720*576 The rendering does not have to be any faster that this. I have tried two methods of geting the pixels, and both are much too slow. On ...Show All
Visual Studio 2008 (Pre-release) Why will LINQ fail ?
Microsoft tries to helping object developers to close the gap between the relational world and the object world.And they call this " object modelling approach " Dlinq. Using " custom business entities " in enterprise programming with Dlinq might seem the best thing after " sliced bread " but it isn't. For my part I have written my Mappers and used commercial OR/M tools. They mostly provide the same thing. __Read the table from the datab ...Show All
.NET Development Discard changes made to datatable columns of a Dataset?
Hello, I have a windows form with several text boxes. OnLoad, I use a DataAdapter which calls a SQL sproc to retrieve it's info. The sproc returns has 3 select statements so when all is said and done, the dataset ends up with 3 tables. (table, table1 and table2) Next I use databindings.add for each of the textboxes and bind them to the appropriate column in the appropriate tables. The textboxes are readonly by default and I have an Edit ...Show All
