ALahiri's Q&A profile
Smart Device Development 'System.Xml.Serialization.XmlElementAttribute' does not contain a definition for 'Form'
Hello, I'm getting the above error message in the generated client code for a web service. The web service is a JAXWS 2.0 and I'm generating the client part with VS 2003. What I found was that the Form property is supported in CF 2.0 but not CF 1.0. I need to use VS 2003 so I'm limited to CF 1.0. How to solve the problem Thanks Pls let me know if u were able to get it through. I am facing very similar problem. Trying to get JBOSS web service with .Net compact framework 1.0. Did u try upgrading to .net cf version 2.0 Regards Tapesh ...Show All
Visual Studio Express Editions Com port received data HELP
Hi...I am a noob...first and foremost. I am doing a school project in which I am using motors that run on RS232. My com2.writeline code works fine, however I am stuck on reading back on the port. Here is what I want to do: When the motor runs, it sets a bit saying it is in motion (RBo). I want to poll that bit until the motor turns off. I can do this by looking at the specific bit as a 1 or a 0. Or, I can look at the status Byte and go from there. I am completely new to doing this, and I would really appreciate any com port samples/examples that implement this, or a good code critique...again I am a noob. :) Here is my code so far: com2.WriteLine(Chr(130) + "WAKE " ) com2.WriteLine( "A=" + Acceleration2.Te ...Show All
Software Development for Windows Vista Building XPS printer driver on windows XP
Hi I want to use XPS printer driver on Windows XP. while installing this XPS printer driver on windows XP it's asking for some DLL files (ex. xdwmark.dll, xdcolman.dll). in WDk folder there is no such DLL that means i have to build this DLL from WDK building environment. when i am trying to build these dll from WDK's Windows XP build environment i am gettting following warning : [source path ] is not valid for the current OS target . can you help me how can i build these DLL for XP I am able to build these DLL from Windows Vista environment. but while printing from this d ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GetObjectByValue in XNA?
So, basicly I'm trying to port MDX 1.1 code to XNA . I have made quite good progress so far, but there are these lines of code, that I can't figure out how to do the same thing in XNA: MDX 1.1 int DxMagicNumber = -759872593; IntPtr unmanagedDevice = device .GetObjectByValue(DxMagicNumber); IntPtr unmanagedSurface = videoSurface.GetObjectByValue(DxMagicNumber); I tried to do some diggin and found this site: http://msdn.microsoft.com/directx/xna/migration/ - which was quite helpfull when porting the code, but I can't find anything related to this problem from that site. Is it even possible to somehow replace these lines of code with the current version of XNA I'm tryi ...Show All
SQL Server How to group this table??
Hi guys I need to aggregate a table to three different levels but I need the results in a single table. Here is the sample data IndicatorName DHBName PHOName Practice PracticeName Numerator Denominator ABC SAM a PracticeA QW 22500 22.5 BNN SAM b PracticeB SSS 22500 22.5 dddd JONES c PracticeC FFFF 22500 45 ssss Alter d PracticeZ QW 22500 22.5 rrrr Sam a PracticeA FFFF 52500 60 ABC GINI b PracticeA ASDFF 45000 45 BNN Hoe c PracticeD Tahunanui Medical Centre 45000 15 Now I need to group this ...Show All
Visual C# Detecting service pack?
How can I programmatically detect which service pack has been installed on the client machine This is helpful; but I'm not seeing anything that says it's detecting Windows XP Service Pack 1. How would I do that programmatically Thanks for the help. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Transformations: howto?
I've been playing around with XNA, but can't seem to figure out how to move, rotate and scale objects in 3D space. Can anyone point me in the right direction Thanks in advance. That's quite a bit to cover but I would start out by checking this tutorials thread. Probably would be the best place to suggest one too! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=690814&SiteID=1 ...Show All
Visual C# Interop.SQLDMO.dll Problem
hi everybody, i am working on register sqldmo dll but not registered on 2003 server. error= C:\Document and Settings\Administrator\......\Interop.SQLDMO.dl was loaded,but the DllRegisterServer entry point was not found. This file can not be registered. What can i do thx ok me too calling to COM with methods. working in my local.but not working on server.and was a error. and not working COM object when i calling to COM object(SQLDMO.dll) can i do ...Show All
SQL Server Database Synchronization IN Analysis Services
Hi, I am getting errors while synchronizing databases between two machines in my LAN using the SQL server 2005 Management Studio – analysis services’ synchronize option. After the XMLA script generated by deployment wizard from my cube was executed successfully. I kept my system as the Development server and the other system as the Production server. Then in the Production server’s SQL server 2005 Management Studio – analysis services’ synchronize option I gave source server name as mine and source database as the cube filename. Then executed the synchronize command and the errors appeared ( "peer prematurely closed the connection”; “error was encountered in the transport layer"). What is the reason for this REsult obtain ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I need to Load my own graphics format file --> Custom Importer
I need to Load into the content manager my own graphics format file, i already have the libraries to load this file and extracting it into a Bitmap Array , but i don't have any idea about how i can allow the content manager to load this info. I'm making a 2d videogame, my own graphics file format have a lot of extra information for each frame that it have, because of that i need to read this file extract the bitmap info and the extra info, off course i need that my Texture2D objects obtain the images from the bitmaps that i extract from my own file. something like that: **Solution Explorer --Content ----Textures -------MyFile.JKI Where MyFile.JKI is a file with my own graphic image format, i have the lib ...Show All
Windows Forms How to have no image for some nodes in a TreeView with an ImageList?
Is it possible to set some nodes within a treeview to have no image My treeview is bound to an underlying imagelist. I know that you can hack this by adding some sort of blank space image, but the imagelist constrains this to a certain size so you're left with a big space -- not ideal. JRQ wrote: You will have to use an owner drawn treeview if you need to do that. Thanks -- any websites or books that anyone can recommend for this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. hlsl file problem?
hi all, i fined flag effect fx file in internet, i tried use fx file in my game. But i can't draw effect in my display. Below is my source code, Hope somebody can help me fix this bug. fx file code ========================= string XFile = "flag.x"; // model int BCLR = 0xff000000; // background colour texture Tex0 < string name = "EuropeFlag.jpg"; >; // transformations provided by the app as input: float4x4 matWorldViewProj: WORLDVIEWPROJECTION; float4x4 matWorld : WORLD; float time: TIME; struct VS_OUTPUT { float4 Pos : POSITION; float2 tex : TEXCOORD0; }; VS_OUTPUT VS(float4 Pos : POSITION,float2 tex : TEXCOORD0) { VS_OUTPUT Out = (VS_OUTPUT)0; float angle=(time%360)*2; ...Show All
SQL Server XML into SQL tables with relationships
Hi, I'm trying to find the most efficient method of importing XML files into SQL Server using SSIS. The objective is to read these files created in a source directory and potentially there will be a large number of these created every second. I've experimented with the XML Source data flow task and been able to import using either the OLEDB Destination or SQL Server Destination.Using the associated XSD file These methods work well when there are no PK or FK relationships, i.e. the target tables are stand alone. However when I use a schema that has relationships I need to be able to import and be able to return the key then use this key to import into another table to ensure the FK relationship and so on..... From what I know ...Show All
Visual Studio Team System TFS and Enterprise Architect 6.1
I’m using TFS and Enterprise Architect 6.1 I have downloaded and installed Microsoft Team Foundation Server MSSCCI Provider Version 1.1 I opened up my EA project and configured the source control to use TFS. It found the server and prompted me to choose a folder to place the EA project under. I did so and everything worked fine. I then deleted the EA project from my local machine/folder and removed the folders from source control and repeated the process. However, this time when I choose TFS as the SCC provider and then clicked Save, I selected the server but I did not get a chance to choose a source control folder for my EA project. It just automatically filled in the project folder from the last time. When I c ...Show All
SQL Server Cannot Connect Remotely to HTTP EndPoint
Dear all, I appologise that incarnations of this topic have been posted several times on this forum, however I cannot find a scenario that is the same as my own so I've resorted to starting a new thread. I can successfully create and connect remotely to an HTTP EndPoint on my Windows 2003 machine using Integrated security, the administrator username and password via my static IP address. I have read that Windows XP SP2 supports HTTP EndPoints, and it would be much more convenient for me to be able to create EndPoints in XP, and connect remotely. I have created the endpoint like so... CREATE ENDPOINT sql_tvr10 STATE = STARTED AS HTTP( PATH = '/sql/tvr10', AUTHENTICATION = (INTEGRATED), PORTS = (CLEAR)) FOR SOAP ( WEBMETHOD 'Stor ...Show All
