coolerelf's Q&A profile
Visual C# HowTo Verify Tape Drive has Media Inserted
I am trying to write a utility that will check if the tape drive has media in it, and then run a backup script. Does anybody know how to, or could point me in the right direction on how I could do this DriveInfo class does not show the tape drive, so that won't work. Thank you in advance! Try to check it here..public joe got some useful info related to drives. Yes, we reffered for our USB related issue. hope this would help yo ...Show All
Visual Studio Team System Error received when attempting to Upgrade from RC Beta3 to RTM
I have been attempting to upgrade from the RC Beta3 version to the RTM version of VSTS, however, when following the instructions sent step for step, I get the following error: ERROR: Error connecting to SQL Server. Make sure to verify SQL ports are accessible and TCP/IP is enabled. See upgrade documentation for more info. Error - An error has occurred while establishing a connection to the server. When connecting to SQ ...Show All
SQL Server Installing SQl Server 2000 (2k) on Media Center
Hi, hope someone can help... I'm trying to install SQL Server 2000 on my XP Media Center laptop and keep getting the "this operting system is not supported message" Any ideas Many thanks.... Figures.... I'll try and install the Express version of 2005 and see if I can get by with that ...Show All
Windows Forms Button with submenu
Hi, Where can I get button with submenu like in toolbar Thank's Alexei Hi, I have the combobox with checkbox as part of my utilities library. It does what I want. Thank's Alexei ...Show All
Visual FoxPro import from excel
how can i import an excel sheet with huge text on some cells... i try it, but the character field is only 254 chars size, i did try to create a table and then append the big text cells to memo fields, but they remain empty... thanks for the help !! I wrote this a while ago to convert an excel file to a foxpro dbf... its need some cleaning up but it should give you a good start. Dave * * FNXLSTODBF * ** *FUNCTION TO C ...Show All
Visual C# Shrinking "if" statment
Hi All, I wonder if any one know how to Shrink "if" statment. like we can do if function ( the plus / minus sign in the left side ). It's make me crazy, because I have a lot of lines of code inside the bracket. AND if this option is exist , it's will be very useful. I don't want to use the #region Options. Please Help BOAZ. Thanks Karen, It's work - Please insert it t ...Show All
Visual C++ the end of binary file
Hi all, I'm using fstream object to read a binary file, but I don't know if it reachs the end of the file, because the eof() function doesn't work for binary files. I always read one more time from the file. That is to say, if I just write one int value to the file, and then I read it. but as a result, I entered the following loop two times. I know the read() fuction consider EOF as a valid content, but I have no&nb ...Show All
.NET Development System.Data.dll targets another processor warning.
Hi, i'm trying to maintain a VS sln that contains multiple projects which are a mix of native C++ and C# code. Right now i'm trying to port things over to the 64-bit plaform while trying to maintain a single codebase. I'm getting the following error Referenced assembly "System.Data.dll" targets another processor when i try to cross compile the code to generate 64-bit binaries on a x86 platform. Is it safe if i turn of thes ...Show All
SQL Server SSRS Installation & Configuration
I have installed SSRS and is trying to run it from the client machines. I am getting this error below. NOTE: If you run the SSRS Report Manager on the server it runs fine. Reporting Services Error ...Show All
SQL Server Error: The value was too large to fit in the output column "colName" (60).
Hi All, I'm trying to transfer data from DB2 Database to SQL Server 2005. Well, i used the OLE DB Source, the Data Conversion Component and the OLE DB Destination component. I have five Data flows with this configuration above. But I am receiving an error message from one of them. Please check below the error message: "[Source Table TARTRATE [1]] Error: The value was too large to fit in the output column "ADJ_RATE_PCT&qu ...Show All
Visual C# Using GetFiles
I want to retrive all the files in a directory of certian types (.bmp, .jpg, .gif) etc etc. But I seem to only be able to pass in a single filter to the function, is this by design filesInDirectory = Directory.GetFiles(PictureDirectory, "*.jpg"); Works fine but: filesInDirectory = Directory.GetFiles(PictureDirectory, "*.jpg;*.bmp"); Does not work correctly at all, Is there any way to do this, without calling multiple times and joining arrays ...Show All
Visual Studio Team System How to replace Unit Test Template code
I have created a new MyUnitTest.cs file that want Visual Studio to insert when I run the Create Unit Test (or Add New Test -> Unit Test) Wizard. In other words, I want to replace the code which is automatically inserted by the Unit Test Wizard. Since I do not want to create a whole new test type or need to impliment the IWizard interface, I thought I would be dealing with just a file-replacement exersize. Based on reading a few articles i ...Show All
.NET Development problem to connect at imap server
hello l wold like to connect at a imap server but i can not i trie in dos "telnet imap.mail.yahoo.fr 143 ' but i lost to connect if anyone have solution please help me thanks As noted above,please verify there is a server listening at that port/address pair. To verify you could try pinging the server. If you cannot ping the server either there is not server listening or some intermediate software/device is blocking th ...Show All
SQL Server I want make table 4 like this one in SQL server 2005
I Have 3 table Like this: Table 1: Name = Tbl_Mian_code M_Code Master_Code Master_Name Main_Type Main_Gruop Main_Txt 1001 1001 Bank 01 01 1002 1002 Cash 01 02 1003 1003 Good's 02 01 Table 2: Name = Tbl_Mian_code Id_2 Main_Code Sub_Code Master_Code Master_Name Sub_Txt 1 1001 0001 1001 0001 Bank_Visa ...Show All
SQL Server Moving SQL2000 to SQL2005 - COM+ Transaction Issue
I am trying to move an application that is currently using SQL2000 to SQL2005 Production environment: Server1: Win 2000/SQL2000 Server2: Win 2003/IIS/COM+ & ASP Trying to move to: Server1: Win 2003/SQL2005 Server2: Win 2003/IIS/COM+ & ASP The problem is that when a COM+ control tries to start up a transaction I keep getting the following error: error '8004d00a' : New transaction cannot enlist in the specified transaction ...Show All
