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

Software Development Network >> Keith Newton's Q&A profile

Keith Newton

Member List

Philippe Stancu
Tdotsoulja
redfish
olloemre
Taylor Meek
Ravel
nic101
Sam_2
Rothariger
archimed01
dreamer60
Eudi
REspawn
hellborg
BioGeek
Nick Darnell
Robert3234
windpuffs
Darrell Norton
velkan
Only Title

Keith Newton's Q&A profile

  • Visual C# EventLogEntry.InstanceID

    hello, i'm a freshman on C#... things came up on reading the column value, EVENT of "event viewer" on Windows systems. i got the int64 enum by EventLogEntry.InstanceID but seems it's value in 65535 on tool of "event viewer". how can i get it just like what i see on event viewer. thanks a lot Richard Ahh I see where you're getting at I believe. EventID is the actual value that you want but it is deprecated. However EventID is actually InstanceID with the top 2 bits masked off. Therefore if you take the InstanceID and mask off the top 2 bits you'll get the EventID as shown in EV. entry.EventID == entry.InstanceID & 0x3FFFFFFF Michael Taylor - 7/26/06 ...Show All

  • SQL Server Unable to Modify or Add in SQL Server Management Studio

    I've imported some databases into 2005 Analysis services from 2000 and processed them successfully. But, I'm unable to modify any of the cubes. I also can't add any objects in a database. It lets me create a database however but I can't create the objects. For example, when I right click on the Cubes folder, the only menu item I see is Refresh. When I right click on a cube, there is no Modify menu item. Can anyone help me achieve getting the ability to create and modify Thanks, Rob The documentation seems to be inacurate then if this is the case. I read the following when I'm in the Cube Designer page of the of the SQL Server 2005 help. The following table describes the methods you can use to edit a cube in eith ...Show All

  • Windows Live Developer Forums Installation of Windows Live Messenger

    when i tried to upgrade yesterday to windows live messenger i get an error that says : error writing files to c:\ program files\msn messenger\wvm9vcm.dll.verify that you have acces to that directory. can someone please help me fix this thank you ...Show All

  • Visual FoxPro Create New tables in existing DBC in specified directory or path

    I have never used Foxpro before until now. I am able to create a set of stored procedures to create two new tables from existing tables for reporting purposes in a DBC. I am using Visual FoxPro 9.0 for working. What I am trying to achieve: I want the client to execute a stored procedure which will create the two new tables in the same directory (or path where this database currently resides). Issue: The tables are generated successfully but the physical files reside in the wrong path. For example: there is a DBC in Z:\DATA\ABC\ and all the tables are in this path. I want to create the two new tables for this database and make sure the physical files are created under the same folder. Attempted: I have been able to get the client t ...Show All

  • SQL Server XML DOM Document

    Hi, I created some DTS packages in sql server 2005 and this morning I am getting errors. I am able to open the packes to edit. Following are the errors: Error 1 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Unable to instantiate XML DOM document, please verify that MSXML binaries are properly installed and registered. E:\SCRIPTS\MCDMS_Scripts_System_Test\MCDMS_Load_Key_OCRepair_Extract_TST.dtsx 1 1 Error 2 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Unable to load from XML. E:\SCRIPTS\MCDMS_Scripts_System_Test\MCDMS_Load_Key_OCRepair_Extract_TST.dtsx 1 1 Error 3 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Error loading a task. The contact information for the task is "". This happens when ...Show All

  • .NET Development .NET encourages poor coding?

    The more I look at .NET error handling, and how to deal with it, the more frustrating it gets. Take this class for example.   It has a single boolean property.   You have to know on which side of the call an error will be raised… by the caller or the callee… well here’s a prime example.    Say you have to read data from somewhere like a text file and you cannot ensure the format of the data is proper.   Well, you cannot depend on a property to check that data for you if you strongly type the property. Read the orange comment to see what I mean, and please let me know how you deal with this situation since to me it appears to require horrible program design.     Public Class ...Show All

  • .NET Development control serial port with a aspx web form

    Hi How can i control serial port with a aspx web form without using ActiveX. Is it possible Regards ...Show All

  • SQL Server sql connection string

    hello, im trying to prepare vb8 apps but i cant make a connection from different computers on network to database file location. i am using this connection string, is the ADO connection on dbfile name different from SQL Data Source=.\SQLEXPRESS;AttachDbFilename=\\server\database\inventory.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True and i got these error message The file "\\server\database\inventory.mdf" is on a network path that is not supported for database files. An attempt to attach an auto-named database for file \\server\database\inventory.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. thank yo ...Show All

  • Gadgets I need help.

    I tried making a sidebar gadget recently. I used codes from JavaScriptKit.com to do so. Everything went well untill I tested it out on my computer.  A screen popped up saying "This is not a valid gadget packet." I'm pretty new to creating gadgets, so what does this mean, and could someone help me make it real Here's my code: <body>The Date is:<script> /*Current date script credit: JavaScript Kit ( www.javascriptkit.com ) Over 200+ free scripts here! */ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday"," ...Show All

  • Visual Studio Express Editions Very simple help needed

    I apologize for asking this but I couldn't find any help. I wanna put a button on my form that will assign a number to a frame, it needs to be uneditable by the user but editable by the computer. I need to put something like a frame in there. I've looked up and down the list in my copy of 2005 Visual Basic Express Edition but I couldn't find a frame control to put on my form, so what do I choose you may wish to look at this: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=903&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=747347&SiteID=1 there have been some powertoys developed to print a form - check it out and see if that helps. In .NET, to print, the ...Show All

  • Visual Studio Multiple fields in the "Value" of textbox

    Need a small help. I need to combine the values of 2 different fields from 2 different datasets in the "value" of the text box. value looks something like this: =Fields!Application.value & " Passrate:" & Fields!Pass1.value Application is from one dataset and Pass1 is from another dataset. both these datasets are added to the report. But there is an error and it doesnt allow me to do that. Hi thanks for the response. Yes i did try this option. It is not resolving the field names. This was original expression in the "resource" textbox: =Fields!Application.Value & " Passrate:" & Fields!Pass1.Value I also tried, =(Fields!Appl ...Show All

  • SQL Server capture delta

    how can I capture delta in SQL Server 2005 to refresh base tables in a data warehouse When you install SQL Server, by default it will also install SQL Server Books Online, the product documentation. Try looking "SCD" up in the index, it has an entry "SCD transformation". This will take you to the "Slowly Changing Dimension Transformation" topic. Here is the online link as well- http://msdn2.microsoft.com/en-us/library/f8849151-c171-4725-bd25-f2c33a40f4fe(SQL.90).aspx There are products out there that can read a transaction log, Apex SQL, Red-Gate, Lumigent all have them, but I think they are all interactive tools, rather than a way of capturing and replaying the statements. You could use SQL Trace (Pr ...Show All

  • SQL Server Process won't die

    While troubleshooting a problem with a web app having intermittent problems, I'm looking at the database as the cause.  I made a backup of the database.  Afterward I noticed a process in Activity Monitor using that database with 2 open transactions and a green check icon that won't kill (it says "Cannot use KILL to kill your own process. error 6104"); this process was not present prior to the backup.  The process User shows my login (using Windows authentication and my domain account or while logged in as SA) and the Application is SQL Server Mgmt Studio.  The host is the server name.  Status is runnable. I stopped and restarted SQL Server and SQL Server Agent using the Windows Services Console, not the SAC ...Show All

  • .NET Development How to get versions of services/programs running on another system?

    Hi, I want to get the versions of the services/programs running on another system. Does any body have any idea as to how it can be done.I thought of using SNMP.However I am not sure of how to use it thanks in advance, nhd Thanks for the reply. But i think we need to do some configurations in order to get the WMI working.. right I want to know whether we can get that information using SNMP.I know SNMP will return information regarding the process/services running.But does it return the versions of the services ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Beta 2, rendering 3d model

    Hi, I've just installed XNA beta 2 and trying to follow help section "How to: Render a Model". I've used some random space ship model I found on my harddrive, which I can view with model viewer. Problem is that I can't see it when I run my test program. Can anyone please point me to the right direction what might be wrong You can find code in help under Programming Guide\Content Pipeline.. only differene I've replaced model with my own. Thanks, ErnisJ Ok, never mind, solved the issue.. Looks like model I was using has some incompatibility issues, just tried with airplane model form Direct X SDK media folder all works fine. Btw, which 3d modeling programs you are using which are 100% compatible ...Show All

©2008 Software Development Network