KidVB's Q&A profile
.NET Development async web method calls being 'lost'
Hi, I am trying to prove the benefit of async calls to web methods over sync calls. I'm working in .NET 2.0/VS 2005. I have a desktop test app, looping round, and calling my web service thousands of times, e.g.: ... For i = 1 to 100 m_objService.TestCallAsync(myparams) m_objService.TestCallAsync(myparams) m_objService.TestCallAsync(myparams) m_objService.TestCallAsync(myparams) Next ... However, when i look at my service logs, only some of these calls have made it through to the service. When I run the same code synchrsonously (e.g. TestCall rather than TestCallAsync), i get the correct number of calls logged in my service. I assume that I am overloading my web service by firing off so many as ...Show All
Software Development for Windows Vista Outlook 2003 or 2007 RPC/Http using Vista
I use 1and1.com and a hosted exchagne account. My old machine (XP/Outlook 2003) could connect to the Exchange server using RPC/HTTP and a hotfix from MS. Now that I have upgraded to Vista, I am not able to get to the Exchange server. is there a simlar hotfix that will allow the HTTP tunnel or is there some config in Vista that will let me achieve this using Outlook 2003 Bonus, I have a copy of Outlook 2007 which I would like to upgrade to as well, but 1and1 does not yet support this, at least not in tech support. In thinking this through, this is actually a windows issus vs. outlook (I think) so if i can get vista working, then theoretically Outlook 2007 shoudl work as well. Thansk t.a. Sorry, I should have mentioned th ...Show All
Visual Basic SAPI 5.1 issues
sapi 5.1 is great, I've gotten it to talk to me now using this code: Dim Voice As SpeechLib.SpVoice Voice = New SpeechLib.SpVoice Voice.Speak( "hello world" ) only problem is, when i run this code, it freezes the entire app's movement until the text has been spoken...is there anyway to stop that from happening I have a video preview box open and it stops it dead. thanks! Hello, I tested the code, it works but each time I tell it to say something, It says like "Bla bla ...." instead of the phrase like "Hello world ...." Do you have any ideas Thank you. ...Show All
Software Development for Windows Vista Add Record failed in Access database
I have created an Access database. My application which adds record to the database works on xp.It failed on vista, but if worked under an administrators privileges. I don't known how to set the privileges of the database. Anyone have any idea Thanks in advance for anyone's help. ...Show All
.NET Development IrDA Connection Event - ManagementObject?
When Windows connects to an IrDA device then there is an icon in the Windows Statusbar - notification area (bottom right). The Bubble help show "Device is in range". Is there a way to capture this system event from within an application. I want to give an indication from within my application that an IrDA device is in range. I know that ManagementObject, ManagementBaseObject and ManagementEventWatcher are possible classes that could be used to capture system events. But I find these very difficult to understand and I do not know how to set them up to capture the "IrDA Device is in range" event. Any suggestions Thanks! The http://32feet.net/ library provides .NET access to IrDA (and Bl ...Show All
Visual C++ Is this a bug of MFC ?
When I create a SDI project leaves all settings default, I add OnSysColorChange function to CMainFrame, and add these lines of code below : CMainFrame::OnSysColorChange() { CRect rect; GetWindowRect(rect); TRACE("%d,%d,%d,%d,%d,%d",rect.left,rect.right,rect.top,rect.bottom,rect.Width(),rect.Height()); } After compiled successfully, I press "F5" to start Debug, then I right click on windowsxp desktop, then "Properties" -> "Appearance", everytime I changed "Color scheme" value, the SDI window rect would deflact 1 pixel, I can see it from the debug output window. Sorry for that, I mean the SDI window would recta ...Show All
Visual Studio Team System How to add custom counters to default graph in load test
Hi, I've a set of counters which I monitor when load tested and this counter set does not change. Is there any way to modify .trx file to show custom counters plotted by default I now see that only UserLoad, Requests/sec and AverageResponseTime are being plotted. Please correct me if I'm wrong.I'm assuming that the default counters to plot has been specified somewhere in the .trx file. I had a glance at the trx file but couldn't find the position to add my counter set. Any idea where can I specify the counters so that they are plotted by default when I open the .trx file Thanks in advance. You should not add them to the .trx. The .trx has the state for a specific run. If you want to add specific counters that are graphed ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Community Website
With the announcement of the XNA Game Studio Express (Beta) we decided to create a community site where everyone can post Games, Articles, Tutorials, Pictures, and more. We hope XNASpot will be a place where anyone at any programming level can come to learn more about XNA game development. One tutorial is already in the works. But we need feedback on what everyone would like to see on the site. Is there any specific tutorial, article, code sample everyone would like to see If you have a site or blog you would like us to link to please feel free to shoot us an email. Please let us know what you think. http://www.XNASpot.com Here comes a german community: www.dev360.d ...Show All
Windows Live Developer Forums Launching activity while passing data?
Hi, I'm wondering if it's possible to launch an activity and pass data to it at the same time For example, say http://messenger.msn.com/Resource/games.aspx appID=xxxx&additionaldata=blah would it be possible to do something like that How would my activity read this additional data For example, after creating the ActiveX control to launch Messenger, can I do something like: obj.data = blah obj.LaunchApp(...,...) and then from w/in the activity var x = window.external.Messenger.data Ideas/solutions Thanks, Lee ...Show All
Visual Studio Express Editions Need help in returning an array from function
Here is my function to bubble sort an array: int * bbs( int size, int * arr) { int temp; for ( int i=--size; i>=0; i--) { for ( int j=0;j<=i;j++) { if (arr[j]<arr[j+1]) { temp=arr[j]; arr[j]=arr[j+1]; arr[j+1]=temp; } } } return (arr); } In main program, I used this: int a[11]=bbs(11,a) to call the bbs function.( I already made the header). I looks up on msdn database and find out that I can not return an array from the function so I used pointer instead. However, I don't know how to execute this function after fixing it to what msdn suggested and the above implementation keeps giving me this error: error C2664: 'bbs' : cannot convert parameter 2 fro ...Show All
Visual Studio Team System Working in a Distributed Environment
Hi, I am a team leader in a project where in, a single web application is being developed by multiple developers. Now, I want it such as, the main project is placed on the server (including all the project files), and all the developers connect to the same project placed in the server through their respective Visual Studio 2005 IDE, and work on the same project. I have downloaded the VS 2005 Team System Trail, but I dont know how to do that. I suppose we used to do this exactly with Visual Interdev earlier. Please help me with this ASAP, this is very urgent. Thanks in advance Regards, Bhaskardeep Hi Paul, I got it right this time.....its up and running. I have seen there r lots of stuff here, like tasks and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GSE download numbers?
Can any download numbers be given out on XNA Game Studio Express I am wondering on how big the community might be. Generally speaking, Glenn, we don't share those numbers. I disclosed the 100,000 mark because I thought it was important to share the milestone on how many people have downloaded GSE in such a short period. ...Show All
Visual Studio Express Editions Need Help writing a program for cosine
I am in a computer course where we have to calculate an angle in radians and somehow use a factorial, taylor series. Were supposed to use a while or do while loop. heres what our debug should look like Enter number .23 Enter the number of significant digits 5 The cosine of 0.23 is 0.97367 Thanks for any help, Ben Hi, The series is:>> cos(x)=1 - (x^2) / x! + (x^4)/x! - (x^6)/x! .... Series can be seen on this site.>> http://en.wikipedia.org/wiki/Cosine The power and the factorial keep increasing by 2. I've used a boolean variable named toggle to toggle between True and False in the loop. This has the effect of flipping between doing an addition or doing a subtract ...Show All
Windows Forms Slow Form Rendering
Whenever I have 100+ controls on a form, the render speed is very slow. Even on a fast machine, I can still see the controls being drawn on the screen. Is there a way to freeze the screen and unfreeze it after everything is finished render Or is it a problem with the CLR and nothing can be done All the controls are added via the designer. Suspend and Resume layout ARE being called. In fact, the slow down happened AFTER form.show(), at that point all controls should have been created. ...Show All
.NET Development convert string to an io.stream
Hi I've got a text string which I need to convert to a system.io.stream. How do I do this (in VB.net - 2005) Thanks Bruce Forgive me if I make any mistakes, my VB is very rusty: Using writer As StreamWriter = New StreamWriter(stream) writer.Write(myText) End Using ...Show All
