Ahmed Basha's Q&A profile
.NET Development How to do a programmatic update of table
Assume a table called Test with three columns and n rows: ID integer identity primary key UpperLimit integer V1 integer Test is part of a SQL Server 2000 database on a server. I want to read and update the table using the following algorithm for i = 0 to n-2 test(i).V1 = (test(i).UpperLimit + test(i+1).UpperLimit) / 2 next test(n-1).V1 = (test(0).UpperLimit + test(n-1).UpperLimit) / 2 How w ...Show All
.NET Development How do I access messages in an Exchange mailbox using .NET
I need to create an app that regularly checks an exchange 2003 mailbox, process any emails it has (storing the parsed details in an SQL 2000 DB) before finally deleteing the emails. Problem is I haven't a clue how to go about communicating with Exchange and most of my experience is with VB 6. This app will be written using VB.net 2005 Can anyone help You would want to use either the POP3 or IMAP4 protoco ...Show All
Windows Forms LIB's in a Windows Form?
Hi folks, I'm just wondering if it's possible to add a LIB to a Windows Form project I want to add Shlwapi.h, shlwapi.lib so that I can access the useful functions: PathAddBackslash PathIsDirectory PathRemoveFileSpec PathRemoveBackslash PathFileExists PathFindFileName etc.... Is it possible I can't seem to figure out how to add a LIB and just adding the .h causes a whole mess of problems. Any ideas Hi ...Show All
SQL Server Need help in grouping ....
I want to display car reviews by authors.... a car may be reviewed by multiple authors.... but the latest entry should be displayed... the older enteries will not be displayed.... the following is the query [code] SELECT CarReviews.Date AS Date, CarReviews.Company AS Company, CarReviews.Name AS Reviewer, CarMake.MakeName, CarModel.ModelName, & ...Show All
Smart Device Development CreateFile
I'm new to this sort of stuff so please bear with me I am using C# to do this but importing dll's and functions. So I apologise if this is the wrong forum to post but I am you are able to help. I've imported Coredll.dll so I can CreateFile(), WriteFile(), and CloseFile(). I can get a handle to the COM3 serial port. When I write file, I get the error 1359 which is internal error. But have no idea why. It seems to send beams anyway ...Show All
Visual Studio Express Editions Problems Installing C# and Visual Basic 2005 Express Edition
I'm trying to install manuallly the two products in subject with no success. I downloaded the ISO images as specifyied in http://msdn.microsoft.com/vstudio/express/support/install/ , then I extracted files using IsoBurner but, when I run setup.exe, after a few seconds appears the message: "A problem has encountered while loading setup components. Cancelling setup". I installed Visual Web Developer 2005 Express Edition ...Show All
Visual Studio How-to: create a custom tool that runs directly against a model file
The T4 engine that ships with the DSL tools gives you a flexible way to generate text output based on the contents of a model by running a custom tool against a template. However, in a production environment, you may not want a user of your designer to have access to the template. You might prefer the user experience to be more like that provided by the Microsoft dataset generator, where the custom tool runs directly against the mod ...Show All
Windows Forms Printing Multiline Textboxes
Hello I am developing smart client application and I have a problem with printing out textboxes output. I have two columns of the multiline textboxes on a panel. They have word wrap set to true. The panel is my main working area and the content of the panel is printed on the A4 format. In Print_Page function I am iterating through the panels collection of the controls. Then I cast control to TextBox type and print out their text property using ...Show All
Visual C++ how do I delete this posting?
I don't see any delete button! I only said that because my posts regarding shell programming keep being deleted, I don't know how you say that in english but je tournais seulement ma mesaventure en humour... didn't mean to make things worse Yacine Benahmed ...Show All
Visual Studio Team System Create a custom web based bug tracking tool for VSTS.
Hi all and happy new year ! Hope 2006 will be a great year for VSTS. Before the holidays, I've been asked to look(most probably create) for a web based bug tracking tool for VSTS. I've googled a bit and found teamplain ( http://www.devbiz.com/teamplain/ ) but this seems to be more of a web interface of the entire VSTS. I'm just interested in allowing our customers to enter bugs using a simple web form. Now, I'm aware that I can creat ...Show All
Visual Studio Express Editions about Install asp.net 2.0
I am working on asp.net 1.1(VS2003) ,can i keep both s/w on a my system. Both means asp.net 2.0(Express Edition) and asp.net 1.1. is there any special procedure. Thanks Mukesh ...Show All
Windows Forms Communication between Pocket PC and Web Server with SSL
I need use SSL to show my Secure Web Site on a Pocket PC without any interrupted message form. I put one root self sign certificate on Web Server and with the AddRootCert Program I install the same on Pocket PC. But when I try to show ...Show All
Visual Studio Express Editions how connect a Visual Basic express edition application to an Oracle database
Hi, the title of this message, says quite everything I want to know. I'm developping a human ressource tool and the database I have to use has been developped with Oracle 9i. And I don't know how to connect my application made with visual studio 2005 express edition to Oracle Tkanks everybody -) Google is your friend http://oraclevsmicrosoft.blogspot.com/2004/12/connect-net-application-to-oracle.html This particular bl ...Show All
Visual C# Video + Audio Confrence, Need Help
I want to develop a chat application where one can do video and audio conference, kinldy guide me how to do it, and show me the links where i can find help for Video and Audio Client Server programming in C#. Thanks For this, you need DirectShow, which is part of hte platform SDK. www.codeproject.com has a few samples in C# for video display and capture. ...Show All
Visual Studio Express Editions Problem Installing "...The error code is 2908"
I downloaded and been trying to install vc++ 2005 express more than 4 times.. and it always stop and msg me that error (see subject). I've already use the uninstaller. Also downloaded the iso file ... , error still keep on popping up Heres the other error msg: Error 1935.An error occurred during the installaion of assembly 'msddsp,Version="8.0.0.0",ProcessorArchitecture="MSIL",FileVersion="8.0.0.0,PublicKeyToken="b03f5f7f11d50a3a", Culture ...Show All
