Software Development Network Logo
  • Microsoft ISV
  • .NET Development
  • SharePoint Products
  • Visual C++
  • Game Technologies
  • IE Development
  • Visual Basic
  • Windows Vista
  • SQL Server
  • Audio and Video
  • Windows Forms
  • Visual FoxPro
  • Visual C#
  • VS Team System
  • Visual Studio

Software Development Network >> Craig McGuff's Q&A profile

Craig McGuff

Member List

rwbogosian
Richard from Kent
svxtc
blackpuppy
BABSBINI
DotNetDave
Michael Per
JIM.H.
MLyons10
gokce
Sam Johnson
siaj
LoveCode
MDesigner
Feliner
elsamma
yzzid
MNDANG
Linda Cornerstone
Sam Gentile MVP - Solutions Arch
Only Title

Craig McGuff's Q&A profile

  • Visual Studio Team System Autofil fields

    I am trying to create a READONLY field that will have values automatically entered based on the value of another field. The following is what I did (I could not make it READONLY) but when I changed the value of the first field, the second value does not change accordingly. What did I do wrong, and how I can make the second field READONLY (putting the <READONLY/> tag at the end prevents the field from getting any value at all). <FIELD name="Severity Reason" refname="TP.Common.SeverityReason" type="String" reportable="dimension"> <HELPTEXT>Impact of Bug</HELPTEXT> <ALLOWEDVALUES expanditems="true"> <LISTITEM value="Browser Crashes" ...Show All

  • .NET Development how to record cpu time

    hello, i am trying to see how a method in my application does in terms of cpu usage. i have used performancecounter class objects to get the %values of the cpu usages, but dont know how to get the time the cpu takes to execute my method. if you have any ideas, please let me know thanks The easiest thing you can do it to use StopWatch class in System.Diagnostics... Call its method Start before calling that function and call Stop method right after the ending line of function. It'll give you what you want i.e result in Miliseonds, CPU Ticks using ElapsedTicks, or ElapsedMiliseconds properties.... I hope this will help! Best Regards, rizwan. ...Show All

  • SQL Server Table transfer errors

    Hello, I am trying to transfer a database from one server to another using the Import Export wizard in SSIS and I am consistantly getting this error on 2 different tables so far. - Execute the transfer with the TransferProvider. (Error) Messages * ERROR : errorCode=-1073451000 description=The package contains two objects with the duplicate name of "output column "ErrorCode" (79)" and "output column "ErrorCode" (14)". helpFile=dtsmsg.rll helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC} (Microsoft.SqlServer.DtsTransferProvider) This error message is beyond cryptic and when I click on the link it sends me to a web page the just tells me that there is no informat ...Show All

  • Visual Studio Express Editions Handling COMException errors.

    I cannot find much help with handling COMExceptions, that is i want to trap the error raised when a table is locked by ODBC and bring this back to the user, rather than have the program simply die. The line that throws up the error is as follows. DBRset.Open("SELECT * FROM NEWBAR WHERE DATERCVD > \"22/08/2006 00:00:00\"", DBConn, ADODB.CursorTypeEnum.adOpenDynamic, ADODB.LockTypeEnum.adLockBatchOptimistic, 1); Thanks for the reply scott. The "\" character is there to allow the " to be used in the statment. the SELECT works fine, the problem i am having is that if the table has been locked (due to its piss poor design by our IT Unsupport guy, who imposed locking the entire table rather than ...Show All

  • Smart Device Development Migrating Resources from eVC 3.0

    Hello, I am in the (hopefully) final stages of porting an eVC 3.0 MFC application over to Visual Studio 2005. The application is fairly complex but after about 20 hours of work I am now able to compile, link and deploy the application successfully. My problem is now with resources -- they don't seem be loading properly. None of my dialogs will load (DoModal() always returns -1) and attempts to load from the string table fail -- a debug ASSERT is raised. Strangely enough, the main form appears to load fine. I have spent considerable time searching for solutions to this, but most of the information on migrating resources deals with problems that occur before successful compilation. My resources compiled immediately -- I didn't chang ...Show All

  • SQL Server Monitor Jobs on SQL Server

    Hi, I'd like to know if I can monitor all the jobs in SQL Server 2000 or 2005 using SMO Objects. Specifically, I'd like to know if the jobs has been run, executed suceefully or not (recording to Log files). I also like to view/enumerate all the existing jobs. I'd like to know if all these are possible if I use SMO Object with Visual Basic.net.. If possible please give me sample code or web site so I can learn how to do it. Thanks for reading my post. Thanks for reply my post. Furthermore, can i monitor the jobs that has been run successfully or not by using SMO object for example, i like to have the SMO object to tell me if the jobs has run successfully or failed after a certain period. Thanks. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Running XBox360 games made with XNA GSE without XBox Live subscription

    Will it be possible to run games we make using XNA Game Studio Express on our own XBox360 without signing up for the XBox Live $99 yearly subscription Jim Perry wrote: It's probably a bit more complicated than that, but yeah, that's the basic idea I think. Requiring an XBOX 360 dev kit for commercial development does not exclude the possibility(which has been talked about by Microsoft) of an unrated area(if your 360 has any parental settings set, you will be unable to see it) on XBOX Live that would allow XNA Creator's Club members to post their creations for other people to download and play. Microsoft is only saying that an XNA Creator's Club membership is required to run things developed by ot ...Show All

  • Visual Studio Express Editions Trying to install VB Express

    Morning all I'm trying to install the above program from this address :- http://msdn.microsoft.com/vstudio/express/vb/download/ I have downloaded the .exe file (2.82MB) and tried to run it as well as just clicking on Open and run it that way.  It gets so far and then tells me I have previous Beta installations that I need to get rid of.  I have tried using the autouninstall tool as directed, but that just gives me a new window with the following text in it :- < xml-stylesheet type="text/xsl" href="C:\DOCUME~1\Richard\LOCALS~1\Temp\IXP000.TMP\issues.xslt" > <Issues><Issue><Name>Uninstall Visual Studio components</Name><Id>{BB69B4AB-619E-487f-B0C2-5ACD1AE5A9A0}</Id><Descripti ...Show All

  • SQL Server HTTP SQL 2005 Connection

    Hi! Can anyone help me in connecting to my sql2005 via http source. is this connection string possible "Provider=SQLOLEDB.1;Password=;Persist Security Info=True;User ID=;Initial Catalog=MYDB;Data Source= http://myserver ;Connect Timeout=1500;" with http data source Im trying to use a pivoting component ( http://www.datadynamics.com/Products/ProductOverview.aspx Product=DC ) which has problem with its connection when viewed by external clients. The connection string is not set correctly. We need a machine name or an IP address to access the SQL Server. You should specify Data Source=Machine Name; or Data Source=IP Address. You also need to ensure that there is not firewall between the comp ...Show All

  • Visual C# C# uses?

    what are some of the other uses for C# other than web apps, and database stuff are there any uses for it in the realm of network security, network administration and the like hardware Any ideas Thanks Hi, .Net is just a programming platform, it can be used for anything you can think up. You can check out the System.Security and System.Net namespaces for Security and Networking classes. Also there is now a .Net robotics framework if you like hardware: http://msdn.microsoft.com/robotics/ Mark. ...Show All

  • Visual Basic Command line not shell

    Hi, How can I execute a command like executing it from the command prompt through VB. I try "Shell" but it doesn't work. Hi,   I try the next two and they didn’t work, what I see in both of them is mysqldump (like a console) running the backup in side but they doesn’t create the file:   Process.Start( "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump.exe" , "--user=admin --password=a9078564 --host=localhost --databases MySQL VideoDB> C:\VideoDB5.dmp" )   Process.Start( "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump.exe" , "--user=admin --password=a9078564 --host=localhost --databases MySQL VideoDB> ""C:\VideoDB5.dmp""" ) &nbs ...Show All

  • Visual Studio Express Editions Hiding other programs

    Is there anyway to hide other program windows, for example lets say I'm on the computer using messenger and looking at hotmail while posting pictures on yahoo and don't want soemone to see what I am doing when they walk in, at that point I would press my predefined keyy and it would all "hide" posible or impossible I don't have any idea's but I need one before the end of the night so please shed some light. Average Joe That send keys thing sounds reasnable if I set my bar at the bottom to auto hide. that would work great. I have lost my code samples on send keys, I did something a while back with them but I forget how to use them. How could I use send keys to press windows button and d when b ...Show All

  • Visual Studio Project Items always == null

    I’m stumped on this one. I have the code below, the if (curPrjItem.ProjectItems != null ) is always false. ProjectItems is always Null. I'm trying to walk the solution, folders, and projects to find all of the web configs contained with in the projects so that I can later update them. Any ideas private void UpdateConfigFiles( AssemblyDirectory curAssemblyDir) { List < ProjectItem > configFiles = new List < ProjectItem >(); vs = this .GetService< DTE >( true ); foreach ( Project curPrj in vs.Solution.Projects) LoadConfigFiles(configFiles, curPrj); } private void LoadConfigFiles( List < ProjectItem > configFiles, Project curPrj) { ...Show All

  • SQL Server problem while creating an ENDPOINT

    Hi, I am trying to create an ENDPOINT in SQL Server 2005 database. My script is as below. I am unable to create this endpoint. It shows error as 'Incorrect syntext near HTTP' Script: /****** Object: Endpoint [GetEmployees] Script Date: 03/02/2007 22:21:26 ******/ CREATE ENDPOINT [GetEmployeesBINA] AUTHORIZATION [TIS-WORLD\Administrator] STATE=STARTED AS HTTP (PATH = http://tisserver:80/sql/shapeserv , PORTS = (CLEAR), AUTHENTICATION = (INTEGRATED), SITE=N'localhost', CLEAR_PORT = 80, COMPRESSION=DISABLED) FOR SOAP ( WEBMETHOD 'EmployeeList'( NAME=N'[AdventureWorks].[dbo].[GetEmployees]' , SCHEMA=DEFAULT , FORMAT=ALL_RESULTS), BATCHES=DISABLED, WSDL=N'[master].[sys].[sp_http_generate_wsdl_defaultcomplexorsimple]', SESSIONS ...Show All

  • Visual Studio Express Editions questions part1.........

    hi........ Q1. how can we synchronize the time in the server to my application do we need sql server on this i used only ms access as database... Q2. how can we set 2 applications related on each other........what i mean is, you cannot open/connect application1 without application2 open.... Q3. what is console all about what is the purpose is it related on application we made how to synchronize the time of the computer server to my application 'my database was access and i did'nt use sql server express either..... i'm sharing a folder containing the database access to connect to my application...... ...Show All

©2008 Software Development Network