Kobingo's Q&A profile
SQL Server SQL Server 7.0 maintenance plans and job server access.
I have a legacy system running SQL Server 7.0 SP4, and it is automatically backed up using a SQL Server Agent maintenance plan. Unfortunately this has stopped working (no change was made to SQL Server), and I do not know why. The message that appears in the Event Viewer Application Log is... SQL Server Scheduled Job 'DB Backup Job for DB Maintenance Plan 'eChange DB Maintenance Plan 1'' (0x5F4E8115DCF5B843B83FAE6AFD48DFEC) - Status: Failed - Invoked on: 9/26/2006 4:00:00 PM - Message: The job failed. The owner () of job DB Backup Job for DB Maintenance Plan 'eChange DB Maintenance Plan 1' does not have server access. The job is owned by a domain account which is a member of the Administrator's group on the server, and until now ha ...Show All
Windows Forms DataGridViewComboxColumn Background changed to color Black !
Hi, I've a added a datagridviewComboxColumn to my grid that has datasource set to a list. The problem that I'm encountering is when I've selected and item from the combox and then move to a different row and select a different item from that row combobox. A solid black colour border around the cell and when you clicked on the combox dropdown button the background colour is back. What am I doing wrong Can someone help please . Your help would be much appreciated. Many thanks Sorry to wake up an old thread, but I'm experiencing exactly this probem, and I can't get round it. I also have an EditingControlShowing event setting the SelectedIndexChanged event, and the problem seems to occur when :- ...Show All
Visual C++ an existing efficient matrix multiplication algorithm?
Hello everyone, I am looking for an efficient way to implement matrix multiplication in C/C++. Are there any existing good ways The matrix is stored in an one-dimentional array. thanks in advance, George http://en.wikipedia.org/wiki/Strassen_algorithm ...Show All
Visual FoxPro use Getfile() to Return file name only.
Is there a way for GetFile() to return just the name of the file instead of the whole path I don't need "c:\myproject\file.dbf" all i want is "file.dbf" to be returned. Getfile() always returns the full path and filename. You can use JustFName(), JustStem(), JustPath(), JustDrive() etc to parse parts of returned full path. ie: lcFileNameOnly = justFName( getfile() ) ...Show All
Visual C++ Creating a DLL with managed types so it can be accesses from native "C" programs
I'm not sure if this is the appropriate forum but there doesn't seem to be a more appropriate one, so I'll post in here. I am building a .Net project, which will provide some functionality to a native program. I already completed the project but I am having synchronization problems with the approach I have taken (see this thread for more). So I decided to change the approach. Here is a brief description of the goal. The native program consists of two or three processes, built using LabVIEW, MS VC++ with MFC, and plain "C". The "C" process, named "vista" (no relation to the next Windows), is the one which provides the timing. My original approach was to have an OS event that was set by "vista" after it ha ...Show All
Windows Search Technologies Unwanted functionality
Hello. I'm running Office 2007 Beta 2 technical refresh, which prompted me to install Windows Desktop search to use the find feature in Outlook. to it's credit, the new search feature in Outlook is fantastic - I can't imagine running without it. However, WDS Has placed a magnyfying glass icon in the task area, which I cannot find a way to remove. I recently took the genuine advantage team to task for a similer problem (http://forums.microsoft.com/Genuine/ShowPost.aspx PostID=569249&SiteID=25): Task area real estate is a precious thing, even with Windows XP's ability to hide inactive icons. Am I overlooking something obvious, or is there no way to turn this off Also, Windows Desktop Search seems to have replaced the normal Start > S ...Show All
Visual Studio Team System Installation options for a NT4 domain
Hi, We have NT4 domain controllers and probably will have for the near future. So what options do i have to get VSTS installed and used for our development teams We have 25 developers all located in the same physical office. Cheers, Wes You will probably want to install using local accounts. The UE team system blog has some information on how to setup your user accounts here . Also, please note that the TFS Workgroup Edition is not required for this setup-- that edition is just a limited user edition that only allows five users to have permission to access the system at any given time. You can install any of TFS Workgroup, Trial, or Full Editions on a computer that is in a workgroup. Hope t ...Show All
Visual C++ VC8 LoadLibrary access violation
I am doing load library but getting access violation CString strModule(_T( "MyWatch.dll" )); HINSTANCE hModule = ::AfxLoadLibrary(strModule); DWORD dwErr = ::GetLastError(); //998 Access violation in one of the dependent module but when I preload them like HMODULE hModule0 = ::LoadLibrary(_T( "gadgetd.dll" )); HMODULE hModule1 = ::LoadLibrary(_T( "gridd.dll" )); HMODULE hModule2 = ::LoadLibrary(_T( "Mylib3_2d.dll" )); HMODULE hModule3 = ::LoadLibrary(_T( "Myclient3_2d.dll" )); HMODULE hModule4 = ::LoadLibrary(_T( "ot900asd.DLL" )); I am getting access violation in my module MyWatch CString strModule(_T( "MyWatch.dll" )); HI ...Show All
.NET Development Process Access in Frame work 3.0
Hi, Please help me regarding i am display image file from my local path in Image control. after closing the form i want to delete that image file from local hard disk. but it is giving the error. "The process cannot access the file 'c:\\11.gif' because it is being using by another process" even i am using Here "imgServiceUser" is Image control name on my form. imgServiceUser.Source = null ; imgServiceUser.ClearValue( Image .SourceProperty); can any one help how to end the process. Thank you very much. Vara GDI+ keeps a lock on the image file until you explicitly Dispose() the image object. Check my code in this thread for a work-around. ...Show All
Visual Studio FIREFOX.EXE errors while trying to run .ASPX files for VS 2005
I was using Firefox and then decided to uninstall it. But now when I try and run a .ASPX files it gives me an error "Unable to start program 'C:\Progra~1\Mozil~1\Firefox.exe'. The system cannot find the path specified." I believe that firefox must have installed their startup code for automatically running firefox.exe whenever I select an .aspx file. However, it appears to be specfic to Visual Studio's 2005 Enterprise edition. What do I have to do to fix this so I can run IE again from within VS 2005 thx, Marc Hi again, the solution for VS2003 above doesn't appear to work for VS2005 for some reason. I think that a registry entry was created to automatically to run Firefox when St ...Show All
SQL Server SQL Mobile 2005 NVarChar Truncation Problem?
I have a field in an .sdf database which is an nvarchar(350). I'm accessing the database using .Net Compact Framework 2.0 and have setup the SqlCeCommand as follows: SqlCeCommand command = this.conn.CreateCommand(); command.CommandText = "INSERT INTO Items (FeedID, Title, Link, Description, PublishDate) "; command.CommandText += "VALUES (@feed, @title, @link, @desc, @date)"; command.Parameters.Add("@feed", SqlDbType.Int); command.Parameters.Add("@title", SqlDbType.NVarChar, 75); command.Parameters.Add("@link", SqlDbType.NVarChar, 300); command.Parameters.Add("@desc", SqlDbType.NVarChar, 350); command.Parameters.Add("@date", SqlDbType.DateTime); command.Parameters["@feed"].Value = article.Feed; comma ...Show All
SQL Server Writing MDF to SQL Database
Hi, I've been searching the internet for hours and the code i'm finding is just not what i'm wanting to do. Heres the story, I have a database file "MyDatabaseFile.mdf" I am making a form when you click a button I want it to create the "MyDatabaseFile.mdf" in MS SQL Server. Is this possible if so how I it something like "CREATE DATABASE MYNAME ". I jsut want the MDF file i dont want the log file inserting or anything. Is there any tools out there that anybody can recommend that will help me with T-SQL Cheers, Rob Hi, MDFs cannot be created as a single files. A MDF always comes with a LDF files, which keep the log information and is responsible for transactional concistency. If you create a database, the da ...Show All
.NET Development XML DateTime serialization
Hello, I am upgrading a .Net Framework 1.1 application that uses an XML document and writes this document to a file. One of the fields in the document has the xml datatype dateTime. This dateTime is output in a format containing 7 digits for the fractions of the seconds (yyyy-mm-ddThh:mm:ss.sssssss+timezone). As the dateTime we use is only accurate to the minute, the seconds and fractions of seconds remain zero and are output as zeros. After compiling the application with the .Net Framework 2.0 this changes. If the fractions of seconds are zero they are no longer written to the file (the seconds are still written as 00). As we exchange this file with a business partner who requires the fractions of the seconds to successfully parse t ...Show All
.NET Development Extern DLL returns Struct ??
Dear All, To be clear: I never tried to access external DLL before, please kindly help, thanks! I have a RFID reader/writer which comes with a VB sample app and 1 DLL. I uploaded the DLL, VB6 Demo Program to: http://upload2.net/page/download/85QQgLnx7PVagMp/RRD-HEVM.zip.html The DLL could NOT be imported into VS2005 using "Add Reference" The (working) VB6 sample code to call the DLL: Public Declare Function DeviceInfo Lib "Prr8310lib.dll" (ByVal hCom As Long, ByVal Addr As Byte) As DevInfo The DevInfo is : Public Type DevInfo '// Sw_Rev As String * 50 ' Device Software Revision '// D_Rev As String * 50 ' Device Hardware Revision '// Hw_Type As String * 50 ' Device Hardware ty ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do you implement Fog into a scene?
Hi All, I have finally got some 3D up and running so things are whizzing about (which is always fun to watch... for a while, yeah I know, small things...) and I was wondering if anyone had any examples of putting fog into a scene. I tried last night and succeeded in turning all my meshes to white, not matter how far away they were from the camera. No matter what I did to the values, nothing changed. As always, any help is greatly appreciated. Cheers " As far as I remember, most good artists are versed in quite a few color schemes, of which RGB is not entirely the most important." On a phosphor based screen where the colours are composed of Red, Green and Blue elements and utilised by around 90% of all games ...Show All
