pAbLoPiCaSsO's Q&A profile
Visual Studio 2008 (Pre-release) WCF, MTOM & File Chunking
Hi, I have a WSE3.0 Web Service and a WCF Client. I'm trying to upload and download files using the WebService and MTOM. All works perfectly. I should now implement a progress bar showing the progress of the upload and download process. I have resolved this problem dividing the file in chunk of x bytes and sending with a cycle on another thread (using BackgroundWorker). Now I'm wondering: can I avoid the chunking stuff, send every file with a single call to the web service and still be able to monitor the progress of the upload process Thanks Marco have you looked the chunking channel sample at http://wcf.netfx3.com/files/folders/protocol_channels/entry3545.aspx , it's a channel layer ...Show All
Software Development for Windows Vista how much will this product cost
Hi. I love the sound of windows vista and i am going to buy this when it hits the markets ... but how much would this product cost ... and how will this benefit my gaming ... i am in the process of updating my computer and i was going to update to XP but i heard this artical that halo 2 will only be available for machines running on windows vista operating system .. Question 1 : how much will this product cost Question 2 : how will this benefit my gaming experience thank you >>dunnee<< I know that this forum is for developing but I also want to know what is the price for Windows Vista the Ultamite version if possible. Is there an actual price yet. If not I would please like an aproximate price. Thank ...Show All
SQL Server Suggestions on where to jump-start one's ability in Transact-SQL
Hi, Can some participants in this forum provide ideas on suggested training for somebody with a basic knowledge of SQL (started working in this field 6 months ago and still feel like a newbie beginner). I assume I should focus on getting T-SQL nailed down before delving into the SSIS piece of SQL Server 2005 Maybe there are a few companies that seem to give good practical knowledge and are located in the greater Los Angeles metro area Is it better to get certified through a 1 week or 2 week course via companies like Trainingcamp - does that really give you the practical skills to jump up several levels at one does at work Hope I can get some suggestions or direction on where I could best post this question for answers. Re ...Show All
SQL Server Locking in sql server 2005 & dead locks
Hi I know that SQL server 2005 takes care of Locking .... but is there any time DBA has to take care of this, If a dead lock occurs will SQL server resolve it I there any thing to be taken care or modified in configuration when migrationg from SQL 2000 to 2005 i had a few locking issues in 2000, think its because of index defragmentation,,not sure .. does index fragmentation be the cause for locking awaiting reply Thanks in advance......... Hi Thank you for your reply. Does SQL server takes care of dead lock automatically or do we need to configure anything in the default installation. Thanks in advance ...Show All
Community Chat JimmyWidgets
--- Original Post --- Hi everyone! My current project is JimmyWidgets, a widget program like Apple Dashboard, but for PC! You can even make new widgets in DLL format and post em on the online database! When I've made more widgets (I've only got 2 at the moment), I'll post it at www.jimmyware.co.uk . It's going to be open-source, so you can download the source from there too. Here's a screenshot: http://www.freewebs.com/robinjam/JimmyWidgets%5FScreenshot.jpg I await any comments/suggestions! (But please don't be too harsh about my efforts, it took me HOURS) P.S. A list of problems I need to fix: The online database currently lets you download the same widget twice, making startup time longer (because ...Show All
Visual Basic Refreshing the News Channel in the VS2005 Start Page
I have the option for the start page news channel still set to it's default ( http://go.microsoft.com/fwlink/ linkid=45331&clcid=409 ). I noticed that the dates of the articles were way out of date, so I changed the option (Tools | Options | Environment | Startup) for "Download content every" to a different number. Once I clicked OK, the Start page refreshed with the updated article list. I have noticed that this is the same situation on three different machines with VS2005 installed. That is, to get the latest articles, I need to manually adjust the "Download content every:" setting and then click OK. Shouldn't the articles list automatically refresh every time that VS2005 is restarted It seems silly that I ...Show All
Visual C# Speeding up pixel loops - speed of Math.Pow() ?
Hello, I'm writing a simple color corrector to teach myself C#, and have come across a couple of performance problems. First, I am using Bitmap.LockBits to loop through the pixels (this part seems fast enough!). The problem I am having is having to do if statements in the loop to clamp colors if they're out of range (0-255), and also it seems Math.Pow( ) is really, really slow (which forces me to do an additional if inside the loop, even!) Here's sample code (for blue, so this is repeated for red and green as well) for the math performed per pixel, per component: if (tmpBlueGamma != 1.0) { tmp = (float)((Math.Pow((double)(srcR[x * pixelSize] * toFloat), tmpBlueGamma)) * tmpBlueGain + tmpBlueOffset) * 255.0f; } else { ...Show All
Visual Studio Express Editions Refresh or invalidate?
Trying to sort out why my drawing does not redraw as it was, I have come across the following definitions, in the c# help system, which seem to contradict each other, and are a bit confusing, at least to me. Refresh --- Forces the control to invalidate its client area and immediately redraw itself and any child controls Invalidate method --- Forces the BehaviorService to refresh its adorner window. (sort of circular cross reference above, so I'll see what adorner class is about) Adorner class --- Manages a collection of user-interface related Glyph objects. This class cannot be inherited. Glyph --- The physical representation of a character in a given font. Characters might have many glyphs, with each font on a system potent ...Show All
Software Development for Windows Vista Digitizer pen is being picked up as a mouse
I'm using the Tablet PC SDK v1.7 and having an issue distinguishing between the digitizer pen and the mouse when it comes to CursorDown events and the like. I have an external usb digitizer (Aiptek T-8000U) with the Hyper Pen Usb drivers. I have found several examples on how to distinguish between the two, including used the tablets collection, and checking the results of a call to GetMessageExtraInfo(), but both seem to imply that the pen is no different than the mouse. Is this a problem with the sdk, or could it be an issue with the digitizer drivers Thanks, Dustin Hi Dustin: This is usually a problem with the digitizer drivers. Most external digitizers send mouse messages in order to maintain ...Show All
Internet Explorer Development is it possible to use prompt() with default IE7 settings ?
Hi, is there any way to display a prompt in IE7 with the default security settings If a page contains prompt(), this never works. The yellow bar at the top offers to 'Temporarily allow scripted windows' , but even if I choose to allow - my choice is ignored. After displayng the yellow bar, IE does not wait for the user to select but immediately processes the whole page. Then it does not reload the page if the user chooses to allow, and does not remember the choice - even if I manually refresh the page, everything works exactly the same way. It looks like IE simply does not do anything when the user selects to allow prompts, but why then it offers a choice at all Is this a bug, or there is some way to display a prompt without modi ...Show All
Visual Studio Express Editions Problems with Private Subs
I am lost (whats new)......Are not Private Subs within a single Public Class mutually exclusive from each other If they are not how then do you make them mutually exclusive Also, if you call a Provate Sub that you created ( i.e. Private Sub Clearand Off () .... which is used turn off and clear specific txtboxs, lbls, and checkboxes) in all the Private Subs that you have is the use of that Private Sub Mutually exclusive to the Private Sub you made the call from Please if I am not clear, let me know. LVB First, I understand the differences between Public, Private, Friend, Protected Friend, and Public. I know that elements in one private sub are accessible only from within the same class or structur ...Show All
Visual Basic Error tracking
Hi, I am currently doing a project using vb.net. i have problem with the program i write.. the output is correct but there are error message occur.. the error message is : System.NullReferenceException: Object reference not set to an instance of an object. may i know what is the problem.. Below is my code: Public Shared Function GetTAT() As ArrayList 'Retrieving data from SQL Server and calculate average TAT Dim i As Integer Dim sum As Integer = 0 Dim avg As Double = 0 For i = 1 To 12 Dim sqlMonth As String = "Select * from Ticketing Where DateClosed Like '" + i.ToString + "%'" sum = 0 Try Dim dsMonth As New DataSet Dim ad ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Microsoft.XNA.Framework.Curve
Hi, I was wondering if anyone had looked at or used the Curve Class yet. I am having difficulty working out how to use it, perhap anyone could shed any light. I was thinking initially that it is a beizer curve type class, but I can't see co-ordinate information for the control points. All I can see is that CurveKeys have a value and a posistion, presumably between 0-1. Is the value the "y" position on a graph and the x is the position. Has anyone any more information that I can read in to determine what to use a curve for. Kind Regards, Paul Kinlan www.kinlan.co.uk Hi Paul. I think the position is like the x coord and the value is like the y coord on a 2D cartesian system (I've haven't tried it yet, ...Show All
Visual C++ Visual C++ Path
Hey, I'm an aspiring C++ programmer and Ive so far learn't these things: - C++ Basics (Variables, Structs, Functions, All the console stuff) - Winsock (Most of the TCP and UDP stuff) - STL Thats what I've learn't so far. Now, Im wondering what else I need to learn before I can make games (3D Games mainly): I know I need Direct3D, DirectSound and the stuff I've already got. What else do I need to do Also, I would not only like to learn games but basic programming (making professional apps). Is there an internet list or could someone make me a quick one of topics i should Google or books I need to read. That would be great... Thanks, Daniel Hello, Well to that I will say, it depends on how serious you ar ...Show All
Software Development for Windows Vista regarding invokeworkflow
Hi, I have a workflow names 'FirstWorkflow' with following activities in the following order: 1)codeactivity1 2)invokeworkflow -> targetworkflow is 'SecondWorkflow' 3)codeactivity2 SecondWorkflow is like this 1)codeactivity3 2)codeactivity4 Now when I run the 'FirstWorkflow' like WorkflowInstance instance = workflowRuntime.CreateWorkflow( typeof ( FirstWorkflow )); output is like this: codeactivity1 codeactivity2 codeactivity3 codeactivity4 But I want o/p like this: codeactivity1 codeactivity3 codeactivity4 codeactivity2 That means my FirstWorkflow should wait until SecondWorkflow completes. Suggest me some good ideas Regards, Chakri. ...Show All
