Software Development Network Logo
  • Windows Live
  • SQL Server
  • Visual FoxPro
  • Visual J#
  • Visual Basic
  • VS Team System
  • Architecture
  • Visual C#
  • Game Technologies
  • Visual C++
  • Windows Forms
  • Smart Device
  • VS Express Editions
  • .NET Development
  • Windows Vista

Software Development Network >> gubbas's Q&A profile

gubbas

Member List

newvbee
Sid463
Dave_B
Jacques Woolston
Jitender Rawat
wendy_yfl
Ray Seppala
Grwilhelm
Terotech.Com Ltd
hollander67
infinitelylimited
Phani_tpk
teuneboon
jhnnym
jcbrooks75
Spyros Prantalos
jtwing
phokaia
Nobby
Deva_m
Only Title

gubbas's Q&A profile

  • Visual Studio 2008 (Pre-release) Can't install WinFX because of BITS service

    Well, I gave up on the december CTP, and trying to install on XP. So I've moved to Vista (build 5271) and getting this development environment set up is so far even more fun :) I can't even get the first part installed - WinFX runtime - it keeps stopping saying the BITS service isn't available. But I've checked and the service is there, running, and so are all of it's dependency services. No errors in the event log about any problems with the service. So what gives I just want to successfully install this stuff once and for all - do any others have these headaches or is it just me :) Hard to believe no ...Show All

  • Visual FoxPro a bit of array related confusion

    I am having trouble figuring out how you increment arrays. To illustrate what I mean, I want to show how easily it is done in Visual dBase. You declare a = new array (); then you can say a.add ("Andy Kramer"); the next statement might be a.add("Cindy"). You've got a one dimensional array with two elements in it. Naturally, array is an object. Here you've got AINS() which inserts an element in an array kicking out the last element which is a nasty surprise, I should say. How do you add an element to an array I want to add something to the LAST element, create (n+1)th element. In my particular task at this moment I will make do with ...Show All

  • Visual C# How to use Visual Studio 2005 with folder redirection?

    We have a number of developers using Visual Studio 2005 (C#) in a company where active directory/group policies is heavily used. We would like to know if there is any information on developing with VS2k5 where our My Documents folder is redirected to a UNC pathname on a server. Some of the issues we have encountered when trying this are: the default bin directory seems to always be set to be source code relative. This means we are transferring our binaries across the network. This has become a performance issue We are unable to develop command line applications. When we try to run the executable, we get an error that says you can ...Show All

  • SQL Server @@CPU_BUSY stops incrementing and generates "Arithmetic overflow occurred"

    I am using several globals including @@CPU_BUSY to log the performance of some stored procedures. It works fine on my dev server, but in production the value reported by @@CPU_BUSY on my production server has stopped at 134217727. And when I try to assign its value to a variable, it always generates an error. For example: DECLARE @FOO BigInt Set @foo = @@CPU_BUSY print @Foo generates Arithmetic overflow occurred. 134217727 Note that DECLARE @FOO BigInt Set @foo = 134217727 print @Foo works fine. I understand that when the value of @@CPU_BUSY reaches a certain point, its value becomes ...Show All

  • Visual C++ SOS:VC2005 B2 Express VC++ Directories Problem

    I downloaded and installed VC2005 B2 Express, I can't set "VC++ Directories". screenshot: http://member.netease.com/~lilong/temp/VS2005ExOpt.jpg is this bug this is a BIG PROBLEM!!   NNTP User wrote: ... 1. Create a directory "PlatformSDK" under "%ProgramFiles%\Microsoft Visual Studio 8\VC" 2. Copy the "bin", "include" and "lib" directory from the PSDK-installation into this directory. Then you do not need to change any config file. ... Thank you very much. I just encountered the same problem and found this thread. ...Show All

  • Visual Studio Express Editions Can Anyone Relate To This???

    Hi There http://www.geocities.com/tablizer/oopbad.htm Cheers Bronco Billy "Beer and Fast Women are Ok... No Cigarettes or Hard Liquor Allowed" "Good grief, that sounds simple but you have to interrogate a DNS to do this in a DLL and return that to Excel. That's hard stuff to do and there's very little info about it on the net." Wahoo.... and I found a complete and very professional DNS.REQUEST class on the net in C#. I built it and vb.net is doing absolutely beautifully with the DLL's classes. This isn't Fortran billy. you could appropiate some like this with a library but this allows me to s ...Show All

  • Visual Basic Toolstrip radio buttons

    I want to implement a set of radio buttons in a toolstrip (VB 2005 beta 2) I can set the checked state of the button which has been clicked because the event handler passes its id back; but how do I uncheck the other one when all I know about it is that it is, say, the third one along the toolstrip I want to write something like toolstrip1.button(3).checked = false but the toolstrip class does not appear to have a member called button or anything else useful! Nor do the buttons appear to be indexed in any way. yah..... I'll supply and example done with toolstrip buttons... Public Function AddNewToolStri ...Show All

  • Visual Studio Team System Deleting a Team Project

    Hi, is there any way to delete a Team Project created by me From Team Explorer exists the remove option but I couldn't find one to delete all the different parts of a Team Project (SCC, Project Portal, Work Items, etc). Is it possible Thanks a lot LucasC In VSTF Beta 3, I can not even find the deleteteamproject.exe file. Can someone confirm that it is supposed to be present, and if so, where I've installed the data tier, app tier, full client, and have searched on all of them, to no avail. ...Show All

  • SQL Server Trigger Not Firing

    I have build a SQL Trigger that fires on the update of a specific column; this works perfectly when I test using SQL or even the SQL Server GUI but when I do the update from .NET it doesn’t fire. I have a dataset that gets modified and then I call sqlDataAdapter.Update(Dataset) - the row is successfully modified in the database but alas - the trigger isn't fired. Any help would be appreciated. That is, which I assume that SQL Server is rather deleting and inserting rather than updating the row. Did you run the profiler to see what happens behind the scenes Could you please post some of your .NET ...Show All

  • Smart Device Development WebReference Change Static to Dynamic Setting not working

    I have a Web Reference in my code in which I want to change the URL Behavior from static to dynmaic.  When I do so nothing happens. I look in the app.config file hoping to see the url reference and nothing has changed. I also have checked the reference.vb file and it still is hard coded and not referencing the app.config file. Anyone know what is going on   Hasn't anyone else run into this problem   I am sure others have used this option before.  ...Show All

  • Visual C# Answer enable intellisense in web.config files

    Hi, We all know we can create web form and coding using designer and IntelliSense. I would like to know if we can do the similar things on web.config file Right now, I am typing everythng in this file. I believe there should be a way I don't know yet. Any advice is welcome. Karl In vs.net 2005 intellisense is available for web.config file.Another better way to edit  is using Asp.net configuration tool.you can navigate to this tool from website menu in the IDE. ...Show All

  • SQL Server stored procedure creation

    Hi I have created the stored procedure like this but i need the records generated by the following query should not be displayed and to be deleted anyone plz help me SELECT X.* FROM MyTable X INNER JOIN (SELECT lastname, firstname FROM MyTable GROUP BY lastname, firstname HAVING COUNT(*) > 1) Y ON X.lastname = Y.lastname and X.firstname = Y.firstname ORDER BY X.lastname, X.firstname USE testdb; GO IF OBJECT_ID ( 'usp_getallrec', 'P' ) IS NOT NULL DROP PROCEDURE usp_getallrec; GO CREATE PROCEDURE usp_getallrec AS SELECT lastname, firstname, salution, MAX(address) FROM MyTable GROUP BY lastname, firstname, salution GO SELECT X.* FROM ...Show All

  • SQL Server How would you archive a subset of your db if you had to?

    I have a database with 6 tables that are all joined together in one way or another. At certain points in time I want to take a subset of the records in one table(based on a criteria in that table) and 'catalog' them somehow along with the related records in the other tables. It's somewhat hard to explain. I want to preserve a point in time in the db so that at a later point in time I can reinstate the records as they were in the past. Is this even possible I thought one way to do it would be to create a view(with all 6 tables) that accepts a parameter and then exports all of the records that are returned into another table. Not sure how I wo ...Show All

  • Windows Forms ListView Select Sometimes Fails

    We have C# 2005 multi-threaded app. A background thread is processing data and periodically updating the contents of a ListView. Sometimes, the user clicking on a ListView item will not select the item (in the MouseClick event, ListView.SelectedItems.Count = 0). Initially we assumed it was because the background thread was in the process of updating the ListView. However, breaking on the first line of the MouseClick event reveals that the background thread is sleeping (although perhaps with the timing of the debugger, the background thread is still the culprit). What could cause clicking on a ListView item to not select the item ...Show All

  • .NET Development Keeping a service running

    I have an app that was originally written as a WinForms app that I need to convert to a Service. Most of that work is done, but I'm running into one last problem... The app was architected such that it creates N instances of a class. The class instances do all the work, and the WinForm app just listened to a particular event to give feedback. In the original app, the WinForm Message Pump loop kept the app alive, but now that its a service, it doesn't stay alive. IE, when the service starts, it creates the instances of the class, then exits. And once that main thread exits, the whole app exits. How do I keep the main thread alive I'm assu ...Show All

©2008 Software Development Network