12345x123456's Q&A profile
.NET Development SMTP and gmail using SSL time out while sending file
I use the following code to send and email with an attachment it works when sending a small attachment at 300 MB but when trying to send 4-5 MB file et times out. so my question is, doanybody knows why public void SendEmailSsl( MyMailMessage msg) { try { System.Net.Mail. MailMessage mm = new System.Net.Mail. MailMessage (); mm.From = new System.Net.Mail. MailAddress (msg.EmailFrom); mm.Body = msg.Ema ...Show All
Visual C# Implementing a File System
Hello everybody. I need to implement a filesystem on a diskette, with operations such as format, copy files, directories, etc. I need to implement my own FS architecture, so I need a way to access directly the data blocks on the diskette. How can I do that Another option that I had was using linux, since all devices are treated like files, I would only have to open, read and write to the file /dev/fd0, but I thought it w ...Show All
SQL Server Job Execution Error - Please Help
I have started having a problem with my SQL Server 2005 SSIS system and it has become a nightly event. What is happening is that sometime in the evening before 7:30 the server gets into a state in which any SSIS job that attempts to run, fails. The error message that SSIS reports is: An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "Could not bulk load because SSIS fil ...Show All
Visual Basic "hello world" won't run
I am a newbie who just downloaded visual web developer 2005 express on my xp home system. It installed without errors as far as I can tell. Is express really stripped-down, and they don't tell you what is missing Like this "hello world" program example: I can't paste the example page here, Right-click WON'T LET ME! Anyway, the page says "create visual basic console application project". The closest I could find was a ...Show All
.NET Development Using XPath 'contains' function
Hi! I'm having a problem using the 'cotains' XPath string-function and the problem is that it is case-sensitive. I thought of using the 'lower-case' XPath stringfunction in order to compare attribute values converted to lower case against a search pattern which is also converted to lower-case. The problem is that I don't know what I need to do in order to use the lower-case function from within my XPath query. An example: Instead of using t ...Show All
Visual Studio Can't uninstall MSDN Library for Visual Studio 2005 Beta
A while back I installed Visual Studio 2005 Team Suite Beta 2 Version on my laptop and used it. I now have the latest Visual Studio 2005 Professional and I want to install it but I can't. MSDN Library for Visual Studio 2005 Beta will not uninstall. I've tried just about everything but everytime it goes through the uninstall process at the last possible moment it "rolls-back" and dosn't perform the uninstall. I'm stuck. I read through m ...Show All
Visual C# Why are some method names prefixed with a '_'?
Why are some method names prefixed with a '_' I understand that this is a naming convention but what is it supposed to represent void _createSearchFolderMenu_Click( Microsoft.Office.Core. CommandBarButton Ctrl , ref bool CancelDefault ) Thanks in advance, Dave Normally you shouldn't start a name with an underscore. In some languages that is reserved for compiler-defined symbols. In the case of autoge ...Show All
SQL Server Inserting rows concurrently (paralellism)
Hi there. I created a stored procedure that inserts rows in local server and 2 remote servers, inside a distributed transaction (emulating synchronous replication). Is there some way in T-SQL to do these 3 inserts at the same time I don’t want insert2 to begin after insert1, and insert3 after insert2. Thanks in advance No. Not if they are within the same transaction. If you want to do this w ...Show All
.NET Development How to connect to ODBC from VB Express 2005
I don't understand how to connect to a ODBC database from VB Express 2005. Here's my problem: When I go to add data source, I'm offered the choices of mySQL and another MS database on my machine. But no ODBC. To test the availability of my data, I opened Visual Web Developer and used the similar procedure: Add data source. There my data is listed in the selections box and when I add it, I can read all the data in each table. So it appears ...Show All
Visual Studio Team System Team foundation server Dual server set up - Rebinding the data tier to the app tier
Hi, I have installed datatier on a windows 2003 system and after that i installed app tier on a VM ware system. While installing i gave data tier as computer name on which i installed data tier. Now that i want to install the data tier on the vm ware installed system, ,how do i rebind the app tierwith the vm ware data tier. Please let me know, if any one has worked in this direction.... There is a command line admin too ...Show All
Visual C# Installation
I have used and seen many programs where there is no need for an installation process. I've used and seen many programs to where I download and the program just opens how. Can anyone tell me how to accomplish this No install means the machine running the exe has all the files\dependencies installed already...(if any are needed) With Net 2.0....the computer will need the framework installed...not much you can do. ...Show All
SQL Server view ignoring order by - used to work in sql 2000
This works fine in SQL 2000, but not in SQL 2005 I have the following view: CREATE VIEW [dbo] . [viewServicesAll] AS SELECT TOP 100 PERCENT dbo . services . serviceID , dbo . services . serviceDescription , dbo . services . accountCode , dbo . accountCodes . abbrevName FROM dbo . services INNER JOIN dbo . accountCodes ON dbo . services . invoiceAccountCode = dbo . accountCodes . codeID WHERE ( dbo . services . ...Show All
Visual Studio Express Editions Let's go to work on an FAQ for this Forum
The concerted work that goes on here in really impressive. I'm also thinking about a mass mailed note I received from S. Somesegar, corporate VP of Microsoft development. He said that MS Engineers were not alone in building VS2005. Customers had a lot to do with it to make it as neat as it is. Continuing in that vein, I though it may be a contribution to see if we can't put together an FAQ that will take care o ...Show All
Visual Studio Tools for Office add text to anywhere in MS word document
Hi, I created app to send form data to Word. Its working properly. But now I want send that data anywhere in the document. For example begining, end and center. Here Im not talking about align text. Acctually I want send those data to certain palces. Please Help me Hi, I'm not entirely clear on your scenario here but in general if you want to associate regions of your document with data then the best way to do this is using either V ...Show All
Visual Studio Team System 'Synchronizing' Test Classes
When unit testing is there anyway to get the classes to execute in order What I have is two separate test classes each testing parts of the same database. In each class I have a ClassInitialize and a ClassCleanup, in the initialize I create and populate a test database and in the cleanup I tear the database down. What seems to be happening is that I get a running order something like Initialize - class A Test Test Test Initialize - class B Test ...Show All
