tom_7's Q&A profile
Visual C++ More conversion from VC6 to VC 2005 errors
Hello, VC 2005 express is complaining about MessageBox, IsWindow, SendMessage commands did these go away or have been changed Thanks. Have you followed all the steps mentioned here :- http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ Specially, step-4 ...Show All
Visual Studio Tools for Office Setup problem
Hi, I have created one excel application through VSTO (installed in VS.Net 05). But I am not getting Pre-requisites as needed. I have done following things to prepare the system for office..... 1. To prepare the Office application and primary interop assemblies checks: I am not able to find this path...C:\Program Files\Microsoft Visual Studio 2005 Tools for Office Resources\VSTO2005 Windows Installer Sample; For that I have followed following path: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin (Is that correct....) Then I have used following command to check,,,,,,,, cl.exe -I "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include" /Oxs /MT /GS AppCheck.cpp But getting error that AppCheck.c ...Show All
SQL Server Export to Excel
Hi! When i export my reports with tables to Excel cells border style get changed for unpredictable reason. Some cells keep style i set in designer, some don't. Is there a reason for that\ way to fix this I do use RS 2005 with no service pack installed. I'll try to find and put somewhere the .rdl file for you. Also i experience different problem with Reporting Service when i user temporary tables( #tmpTable ) in a stored procedure. This problem also affects report designer. Should i post it here or start another thread ...Show All
Visual C# how to run a c# program in visual web devolper 2005 express edition
Im new to .net technology.I have visualwebdevoper 2005 express edion .I dont know how to run c# programs using this edition.could anyone pls help me Hi sri as far as i know Visual web developer 2005 express edition is used to develop web application . To run c# program you need to use Visual C# 2005 Express or you can take commando approach. ...Show All
Visual Basic Cant get the CPU with WINCECPU on VB .Net
Hello i have a big Problem i can't connect with the WINCECPU Detector to my DT-x10m10E it is a Windows CE4.2 Device with a ARMV4T Processor. I Hope somebody can help me. Thanks Now my Error Message: Informationen uber das Aufrufen von JIT-Debuggen finden Sie am Ende dieser Meldung, anstatt in diesem Dialogfeld. ************** Ausnametext ************** System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. at WinCECPU.Form1.GetArchForCurrentDevice() at WinCECPU.Form1.buttonRefresh_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) ...Show All
Visual Basic Sending emails with Blatt
Hello, Does anyone have experience in sending emails with Blatt (2.5.x) through SMTP To send emails to a SMTP server you simply need to use something like the following You'll need to import System.Net.Mail Dim client As New SmtpClient( "some smtp server name or ip address goes here" ) Dim fromAdd As New MailAddress( "trainsdse@hotmail.com" , "Thomas Smith" ) Dim toAdd As New MailAddress( "admin@avfire.com" , "Thomas at the Fire Dept." ) Dim message As New MailMessage(fromAdd, toAdd) message.Subject = "Here's the subject" message.Body = "Here's the body" client.Send(message) I'm not ...Show All
Visual Studio Team System Visual Studio Shutsdown Frequently
I have recently installed visual studio team system in my computer. And it frequently shutsdown when I'm working. I'm not sure why this is happening...for a qucik fix. I running this command devenv/resetuserdata in visual studio command prompt. And it will be working well for a day and then next day the same problem. It will start shutting down frequently. Any help is appreciated... Hi David, I have noticed somewhere in this forum that this might because of virus. So I installed Norton Antivirus software on my machine. Now my visual studio doesn't crashes and works well. Kalai ...Show All
Visual Studio Express Editions Memory / speed issues with loading text file into SQL express database
I put together a sub to stream a text file into a database using vb.net express and sql server express editions. The text file is about 1.5GB and consists of about 2 million rows which will be parsed into 122 columns. I setup the database with 123 columns, the last column being an autonumbered index. Each of the columns has a maxlength set to the width of the data in the text file, and I use that maxlength along with the mid function to parse the data. It all works fine, but I wanted to get some opinions as to the structure of the code to see if there's anything I could do to optimize it. It took about half an hour to load up 37,000 lines, which means I'd need to run it for a full day to get the file loaded. I also have 3 additional fil ...Show All
SQL Server Joining two tables
I imported two excel spreadsheets from excel to Access. Invoice Register 2005 table and Invoice Register 2006 table. These excel files were exports from peachtree. Each client can have multiple invoices in each of these registers. Each client though does have a unique client numbers but in these tables there are duplicate client numbers because off the multiple invoices created throughout the year. I created a query linking these two tables together and what is happening when I link the two tables using the Client ID numbers the invoices are listing more than once. Example there is a client with 3 invoices in 2005 and 3 invoices in 2006 (different invoice numbers) so in stead of listing six invoices for this one client there are n ...Show All
.NET Development DataSet problem
Hi, I found some really interesting problem and I don't understand it. As you can see in the documentation, DataSet class is a descandant of the IListSource interface. This interface has the System.Collections. IList GetList() member. But if you try to compile this code: DataSet ds=new DataSet(); IList iL= ds.GetList(); you get this error: 'System.Data.DataSet' does not contain a definition for 'GetList' How can this be Hi, As Ilya shown above the IListSource interface can be accessed by casting the dataset to the interface. GetList is not available directly because the Dataset class implements IListSource explicitly. From msdn: A class that implements an interface can ...Show All
Visual Studio Tools for Office VSTO 2005 SE Problems...!!!
Hi everyone! I installed recently the VSTO 2005 SE in my computer. Also I have installed VS2005 Professional. My question is: Why I don’t have the office projects' 'Word Document', 'Excel Document' an so on installed on the Visual Studio 2005 Instead, I have only the adds-in of this ones. Can Anyone tell me wich installer(s) I have to download in order to get this kind of projects (I mean 'Word Document', 'Excel Document') Thanks for any answer. Geez.... It's very difficult to me to change the Visual Studio 2005 version from Professional to Team System. Well... this job will be out of my plans.. Thank you so much for your answer Cindy. Greeting from Ecuador....!!! ...Show All
.NET Development Accessing Microsoft Project from .NET
I don't have much experience using Microsoft Project. Is there a way to read/write from/to Microsoft Project file from a WinForms .NET application Can somebody point me to any article I need to read data from multiple Excel files, consolidate the data and write data to Microsoft Project file. Any ideas Suggestions Thanks Basani Hi, This sample is exactly the opposite than what you need so it can help you to build your application very easily http://www.codeproject.com/csharp/PrjXlsRpt.asp Requirement stuff for your work, more references: Install PIAs for MS Project. Refer the link for this - http://msdn2.microsoft.com/en-us/library/aa159923(office.11).aspx Then refer the following lin ...Show All
Visual Studio Tools for Office in a new form i want to open the msoutlook mail to window
in a new form i want to open the msoutlook mail to window in my vb.net windows application i need to open the msoutlook mail to window the size of the form will be 1016,350 Does the following work for you -- objOutlook = New Outlook.Application Dim objMailitem As Outlook.MailItem objMailitem = objOutlook.CreateItem(Outlook.OlItemType.olMailItem) objMailitem.Subject = strSubject objMailitem.Display() ...Show All
Visual C++ overwrite
Hi, I have a problem when I compile a project: It asks if I want to overwrite a file... asks "yes/no/all" and nothing happens and an error occur... so I want to know what is the option in settings where I can choose to overwrite the files I use Visual C++ 6.0 yamobe wrote: It asks if I want to overwrite a file... asks "yes/no/all" and nothing happens and an error occur... That's too vague. What does the error say The answer to your question is probably one of the following: You are experiencing a bug in VC6. This application is however not supported anymore, so you will have to work around it somehow. Try asking people about it in the newsgroup noted ...Show All
Visual C# Set and Remove access(delete) permissions to a folder.
Hi, My requirement is something like this. I am supposed to create a foler and have to check whether it already exists or not. If exists then delete the files from the existing folder and for that I need to check for the permissions(for ASPNET user) to that folder. and when files are deleted set the permissions back to the folder as it had earlier. Skeleton would be like this- void DeleteFilesFromFolder() { Get the access permissions for ASPNET user if(!Granted) { Give him/her the premission to delete the files from folder } Delete the files Set the permission back to the folder } Any idea how to do it in C# Regards, I am using this code.. string strFolder = Direct ...Show All
