Muna's Q&A profile
Smart Device Development Error in calling webservice in win32 Smartphone application
Hi ALL, I am writing small application for Smartphone devices and i am using some webservice call. I'm using VS.net 2005 IDE to develop application, in my project if add web reference , it's automatically creating proxy class.. since i am new to this win32 application when i try to run my application i am getting following error. Error 1 fatal error C1189: #error : atlsoap.h requires Windows CE platform to have DCOM support or _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined. c:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlsoap.h 8103 Could you please anyone help me to solve this issue... Thanks , Jayakumar A ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange DX9 vertex glitch
As seen in these two screenshots, Glitch 1 Glitch 2 In reality, I don't know what's even happening to my vertices. This doesn't happen from the beginning of the program execution, it happens randomly during the execution about a few minutes into running it. Once it happens, it will happen more frequently and sooner during the program execution when I re-compile and run.I just don't have a name for this. It happens to a handful of random vertices. I would like to think my vertex buffer is being corrupted, but when I use the D3D Debug tools, the problem doesn't happen at all.For more information, the first picture contains geometry that is rendered directly to the screen. In the second, I'm rendering geometry first to a render target, and ...Show All
.NET Development Transfering large volume of binary data through the wire
Hi everyone, We have data reaching upto 100 MB.We are sending data in the form of byte[]. Which technology should we use in this case,for data transfer .I had used DCOM which was sufficiently faster.Both the server application and client windows application are written in .Net. (visual studio 2003 and .Net 1.1). we don't need to publish a webservice.Communication can be done through VPN. Remoting might not be useful in a scenario, where data reaches up to 100 MB,I don't know.Can we consider socket programming or should we stick to webservices. Any help would be appreciated. Thanks Abhi Remoting can be used to transfer 100MB data, however there a couple of things to consider: 1. Appli ...Show All
Community Chat Game Designing
I'm a Canadian citizen reside in Jordan , My son is 12 years old ,he has made a full online game (Designing and Programming ) which can be played all over the world live and it's now already live on internet , So kindly please advise me how to improve him . F.Y.I he has never study programming and Designing he is a student. Regards B. Mirza Hi again Bland, sorry I didn't reply early but i've been a little busy with a work project. It's obvious your son enjoys RPG, point and click games. I'd never heard of byond before now. I'd recommend that your son continue along the path of using generators to create games for the moment. a good one is AdventureGameStudio which allows you to create point-and-click games ...Show All
Visual Studio Express Editions Visual Basic Code for file system watcher
Hi, Is it possible to make continous monitoring of any change of data in Microsoft Excel file and send an specific signal to execute a program if there is any change If it is possible could you please send me the code for that. sure there is. you need to subscribe to the event you want to be notified of! take a look at this: http://msdn2.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx all the documentation and examples are right there buddy :-) ...Show All
Visual Studio Team System Feature request: T-SQL code formatting.
See feedback: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=232054 Question for Data Dude Team. Is "Visual Studio 2005 Team Edition for Database Professionals (CTP3)" correct version to feedback submitting No, we are not adding more functionality to v1.0 we are trying to ship this year, so we have to stop adding things, but there are things we will ship out-of-band on top of v1.0 before Orcas and before v2.0. -GertD ...Show All
Gadgets Bug #30 begin/endTransition can hang a Gadget, if the body size isn't changed.
Bug #30 begin/endTransition can hang a Gadget, if the body size isn't changed. Added to the known bugs list . This is actually a bug that was reported to MS in July 2006, but it was never resolved due to the lack of a simple Repro. There's a Repro and a Workaround. ...Show All
SQL Server sqljdbc DriverManager.getConnection Hangs after mirror failover.
When performing a failover the DriverManager.getConnection method never returns from it's call. I used a modified version of the test program included in the sqljdbc help file (below). If the principle server is server2 and a failover is performed, the program works just fine. If the priciple server is server1 and a failover is performed, the hang occurs. The sql servers are not on a domain, are in the same workgroup, have certificates setup between them. Sqljdbc version used is 1.1.1501.101. I rolled back to version 1.1.1320.0 and the DriverManager.getConnection exceptioned. Not sure if this is a setup issue or a common problem. Anyone have any suggestions or seeing similar issues Thanks - tc Version 1.1.1501.101 - Syst ...Show All
Windows Forms How can I emmbed a treeview control into DataGridView
How can I emmbed a treeview control into DataGridView Maybe this sample by Mark Rideout will help. ...Show All
Visual C# problem getting a 2nd event to fire
I have 2 objects, each with events. One, a Timer object, fires its event and the other, a Connection object I created, will not fire its event. The Code for the Connection object is below: using System; using System.Timers; namespace Ch12N01 { //make this protected or virtual so child classes could use it public delegate void MessageHandler ( object source, EventArgs e); public class Connection { public event MessageHandler MessageArrived; private string name; public string Name { get { return name; } set { name = value ; } } private Timer pollTimer; public Connection() { pollTimer = new Timer(100); pollTimer.Elapsed += new ElapsedEventHandler(TimerElapsedEvent); } ...Show All
SQL Server Transmission queue ?
Hi There I have sent messages and they are all sitting in the transmission queue with a blank status, why is service broker not trying to send them They are no errors in the sql log. BOL says this is blank when it has not tried to send the message Service broker is definately activated in the database. How do i force sql server to send anything in the transmission que I have no idea what is wrong or where to check Thanx HI Remus Thanx for all the help, that makes sense about the transmission queue. I have confirmed there is no duplicate service on the target instance, the error on the target side in profiler is that the message was not delievered because the security context could not ...Show All
Visual Studio 2008 (Pre-release) How to "Load data once" in Pagebased Application?
Currently I load data from database in the Constructor or in Loaded Event of a Page. But, when I navigate to another page and then navigate back, the data will be loaded again. How can I avoid this Thanks. Lauren Lavoie - MS wrote: Have you tried using Page.KeepAlive See http://laurenlavoie.com/avalon/191 for more info. Hi, I have tried "KeepAlive", but the Loaded Event of the Page is still invoked each time when Navigate back from other pages. ...Show All
Visual Studio Express Editions After program built, no wav file.
This is strange, I added a .wav file to my resources, and the .wav files plays fine when in running the program. But, when its built it just makes the normal "Beep" sound, instead of the .wav file. How come When I click on my project in the Solution Explorer, I then goto resources, and theres the file. And I choose "Add Resource" and then clicked from Existing one, and the choose the .wav file. Isnt that the right way And in the solution explorer, when I go into the Resource folder, the .wav file is there too. ...Show All
Visual C++ Asynchronous Sockets in C++?
Hello, I want to use asynchronous sockets in pure C++. Is there anyone to tell me how to do it or at least show me a basic example The external libraries are appreciated too. Thanks... I dont like MFC because the way it looks its Bugs it seems to me to messy wasting time. Where there is marvelous technolgies like COM and .NET I would prefer to use them alot in my projects. Because they look real OOP. If I have to prevent useage of .NET platform than I would still prefer COM and pure Win32 projects and still not MFC. ...Show All
Windows Forms How to bind the textbox in windows forms with the column in dataset?
Hi I have manualy created a dataset and datatable and created 2 colums. My question is How do I bind a control (textbox or control) in the windows form with colum in the datatable(manualy created) Advance thanks Vaish, MyCompanyTextBox.DataBindings.Add("Text", MyDataSet.Tables["MyTable"], "CompanyName"); MyAddressTextBox.DataBindings.Add("Text", MyDataSet.Tables["MyTable"], "CompanyAddress"); ~~Bonnie ...Show All
