oceanhai's Q&A profile
Visual C++ reading emails
say i wanted to read emails and check how many there are on an account by accessing a pop3 server, what class/namespace would i use to do that and exactly how please provide some examples thanks in advance Check this articles http://www.codeproject.com/useritems/Pop3MailClient.asp ...Show All
Software Development for Windows Vista Possible but difficult?
I had windows XP installed on a partition, i created a new one for vista but now having deleted the XP partition I want to make the vista partition larger but am unable to do so, is there any way of resizing the vista partition I have tried in the storage section of computer management, but no joy, i can shrink or expand any other partition but not vista. Problem might be that it's in an extended partition, and the free space is before the vista partition not after, if this is the problem, does anyone have any options for a more comprehensive description (and screenshots) please go here: http://www.danielbyrne.net/blog/ p=5 Thanks in advance! Dan Have you tried Partition Manager programs like: Partiti ...Show All
Visual Studio Express Editions webcam recording
i already have made a webcam viewer (live), but now i want to go a little further and record. how do i do this simple as possible please! ...Show All
SQL Server Formatting Header Properties
I am trying to format the border style in the header one of my reports in Reporting Services. I want to be able to make the bottom border gradient, fading from left to right. Has anyone beeen able to do this with custom code Thanks in advance! ...Show All
Visual Studio Express Editions TextBox Question
Is there a way to only allow integers to be entered into a textbox I would think that this would have to be checked after the data is entered. Please advise. yes there is. you can use the keypress event on the textbox then do the checking, if its not a numeric character then handle it. Example: 'textbox keypress event if Char.IsNumber(e.KeyChar) = false then e.Handled = true end if ...Show All
SQL Server SQL XML Bulk Load XSD Problem - Can't get field to go into Database
HI, I have inherited an application which used SQL XML Bulk Load to insert multiple XML files (Same Structure) into our Products Database. However we now have a requirement to insert a country code into every row in the ProductDescription table. I have got this information in our xml but am struggling to get this to move into the ProductDescription table I keep getting an error saying that the field does not exist in the database even though I have added the field into the ProductDescription table (CountryCode is the field name) , can anyone help me I am assuming this is a syntax error, I'm still getting to grips with this but I need to get it sorted asap. Also I have a need to put an identity column in the same table in order to ord ...Show All
SQL Server Creating a local SQL Server Compact Edition DB
Hi All ... I'm setting up replication for the 1st time following the steps in the Books Online to get it up and running: ms-help://MS.SSCE.v31.EN/ssmmain3/html/5a82aa7a-41a3-4246-a01a-2b1e4b2fdfe9.htm. Anyhow, I get down to the section labeled - Create a new SQL Server Compact Edition database and am having a problem. I open SQL Server Management Studio as instructed. I click Connect and then am supposed to select SQL Server Compact Edition - yet can't find that option. And, yes, I've installed Compact Edition on my development laptop. So, how do I get this option so that I can create the local DB for Compact Edition and continue development UPDATE: Ok, duh moment, I have SQL Server Management Studio ...Show All
Visual Studio 2008 (Pre-release) Receive timeout
Hi! I can create a simple WCF application. In service I write: [ ServiceContract ] public interface IPhotoGet { [ OperationContract ] Image GetPhoto( string name); } ServiceHost svcHost = new ServiceHost ( typeof ( PhotoImplement )); svcHost.AddServiceEndpoint( typeof ( IPhotoGet ), tcpBinding, @"net.tcp://localhost/photo" ); svcHost.Open(); And in client I write: IPhotoGet photoGet = ChannelFactory < IPhotoGet >.CreateChannel(tcpBinding, new EndpointAddress ( String .Format( @"net.tcp://{0}/photo" , tbAddress.Text))); Image result = photoGet.GetPhoto(tbPhotoName.Text); pbResult.Image = result; When I try to execute method GetPhoto, which m ...Show All
Visual Studio Express Editions VB 2005 Exp - Running exe file on other PC
Hi, I was triyng to run my application on other computer and when I start the exe file, the following error ocours: "To run this application, you first must install one of the following versions of the .NET Framework v 2.0.50.727" What can I do Regards, Pedro I also had this problem.. but after installing .NET Framework 2.0 i get a message that says me that an error has occured and the program has to shut down. I don't know what to try next... The program is supposed to work on a lot off other computers to, so installing VB 2005 express on this computer to isnt an option. Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to get XNA Game Studio for VS2005 Team Suite Edition????
Where to download it waruwaru wrote: Where is the line between "hobbyists", "indies" and "professional" Professionals write AAA games for a living, have an established presence in the industry and usually agreements with publishers and companies like MS to get dev kits. Indies might (rarely) make a living at game development, but they're usually more in the casual games market and you likely won't see their games on store shelves. waruwaru wrote: Where does it say Live Features won't be available to GSE And why can't they use Live Features Q: Does the XNA Framework include the ability to use Xbox Live A: The initial release of the XNA Fra ...Show All
SQL Server Capturing ISS Log data
I am quite new to Reporting Services and need some help figuring out why i can't correctly capture the referrrer information in the IIS Logs. As far as i know when you run the data extraction tool provided with RS it copies the logs into the staging db, from there it then copies all the data into the WSSFact table in the actual db. I thought that if i entered a URL into the referrer table that when it populates the WSSFact table it would check to see if the referrer URL matches any of the entries in the referrer table and if so enter its id, otherwise enter the id for No referrer. This seems to work fine for all existing entires in the referrer table but it ignores the new one i have added. Does anyone know if there is something else that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. rotated text
Hi all, I'm trying to rotate a text by certain degrees. I tried doing it by using 'Mesh.TextFromFont' method. Before calling 'Mesh.DrawSubset' method i changed the world matrix. The problem I'm having is that I have to scale the mesh to the size I want it to be, but when I do that the text looks really bad, really really bad (depands on the amount of scaling, ofcourse). How can i solve this problem I didn't found a way to set the size of the mesh. I tried doing it using 'Font.DrawText' method, but I couldn't rotate it Is it possible Please, don't send me to the SDK example I've already viewed it and did not manage to solve the problem. Thanks. You could use Font.DrawText to render to ...Show All
SQL Server Error in database mirroring
Hi, when I tried to mirror database giving principal and mirror server names every details I am getting the error 'Database mirroring is disabled by default. Database mirroring is currently provided for evaluation purposes only and is not to be used in production environments.To enable database mirroring for evaluation purposes, use trace flag 1400 during startup.' How to user trace flag 1400 during startup Since I am newbie Kindly guide me with step by step procedure. thanks Hi Shobha, Database Mirroring is disabled by default in SQL Server 2005 and is enabled in SQL Server 2005 SP1 . Therefore, I strongly encourage you to download and install SP1 by following the directions at https://www.microsoft.com/sql/sp1 ...Show All
SQL Server DDL Extraction
Does anyone know how to pull DDL create statements out of a SQL Server 2005 EE database for existing objects I'm mainly concerned with indexes and constraints. If possible I can create the statements myself if I can get all of the information out of the databse. Thanks in advance Hi, you can either use the SMO class libraries to use the Script() method on the objects or the GUI of SQL Server Managment Studio which does the same things behind the scenes. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Weird backface glitch
I'm not sure what's going on here; I wouldn't be surprised if it's just my video card. But has anyone seen this before cellphone_rendering_bugs.jpg That's a series of screenshots I took as the model rotated... the original model in Maya has all its normals facing the right way. I exported it as an FBX200611 model. I'm (unfortunately) using a Compaq Presario with an NVIDIA GeForce 6150 LE video card. I thought it might have been a matter of the near/far draw limits being too far apart and the Z buffer lacking the precision to draw this relatively small area properly, but I turned it down to 1.0 -> 100.0 and it still happens. Any thoughts Well, this isn't a good sign; DirectX Viewer crashes immediately ...Show All
