Dato0011's Q&A profile
Visual Studio 2008 (Pre-release) WCF and REST based Web Services - Queries
Hi All, I had been through the articles and blogs for .NET 3.0 (formerly Indigo and WCF). I have few doubts and need more info to get a head start on WCF. I am planning to use REST based Web Services using WCF. Performance for me is critical issue since I will have to pass fair amount of Data Sets across the Services layers (using DTO pattern here) Can someone give some hints for me to kick start on how to begin building Web Services using REST pattern leveraging WCF Also when we use WCF what would you suggest 1) ServiceHost to host Windows Communication Foundation endpoints within application domains. OR 2) Hosting the Service in IIS With what binding would it be faster ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Overlay invalid pixel format exception
Hello, I'm currently using Direct 9.0c. The "overlay sample" (http://www.gamedev.net/community/forums/topic.asp topic_id=359319) works very fine on a PC with ATI Radeon X300. But the same code is unable to work on Intel 82852/82855 : I get the "DDERR_INVALIDPIXELFORMAT" exception with the message "pixel format was invalid as specified" and crashes the application. What shall I do Could you be more explicit I have no idea where to find this rasterizer in the SDK Do you have a sample code to use it Thanks ...Show All
Visual C# How to shut down using Visual C#
I create this windows form, i wanna create a button then when clicked, it will shut down the whole computer. Hi, use System.Diagnostics.Process.Start("Shutdown", "-s -t 10"); to shut down the system. reffer: http://forums.c-sharpcorner.com/F_ShowMessages.aspx ThreadID=22968 -Thanks Mahesh ...Show All
Visual Basic problem in transferring files to Unix box[Resolved]
When i transfer a .txt file to a unix box using the microsoft internet transfer control , i am getting "CONTROL + M " on each line . This means that the transfer was not proper . This is my code . Code: Dim b() As String Dim strURL As String Inet1.URL = "ftp://ip address" Inet1.Protocol = icFTP Inet1.AccessType = icDefault Inet1.UserName = "root" Inet1.Password = "Compaq" Inet1.RemotePort = 21 Inet1.RequestTimeout = 100 Inet1.Execute , "PUT C:\hosts.txt /in/tmp/hosts" Is there anyway to transfer the file in binary sars got the solution ... i was using vbcrlf for carriage return .. unix doesnt support that ..it supports vbLf .... so i changed it and i ...Show All
Visual Studio Who can tell me the detail limitations with Crystal reports for vs2005?
Hi,all I got the message "Integrate Reporting into Server or Web Applications What's included within Visual Studio .NET, C#Builder and Delphi 2005 A Crystal Reports .NET reporting component is built into Visual Studio .NET, C#Builder and Delphi 2005. This bundled component is designed to let you develop and test server or web applications. Although you may deploy your applications using the component, it is best suited for an internal pilot within a workgroup. If you exceed the throughput limitations, the component will throw an exception error (this case does not apply to Visual Studio 2005 users). Learn more about how to scale your application ." from http://www.businessobjects.com/products/reporting/cr ...Show All
SQL Server SSIS doesn't read all input rows
Hi *, I'm trying to import a flat file with ~3500 rows into a SQL-DB. SSIS extracts only around half the rows. It leaves out every 2nd row. Anyone had this problem before Thanks! I would suggest that your file has different field terminators i.e. some lines are carriage return and line feed and others are just line feeds. If you open the file in hex editor i..e textpad, you should see 0A0D (I think its that way round) for carriage return line feed. What is creating the file ...Show All
Visual Studio Express Editions ms agent
anyone know of tutorials or a text reference for using ms agent with .net / visual studios I am wondering if its possible to deploy it with an application I make or if the end user would have to already have all the agent things installed, which would really limit its use. Hi there goto http://www.microsoft.com/msagent/dev/docs/default.asp Well I guess you can supply the agent along with ur installation ...Show All
Visual Studio Team System Restoring Documents from Document Libraries
Hello I have two questions about the document libraries on sharepoint / in team explorer of visual studio 1) is there a way for restoring documents in the document library. also if there is a way to restore a complete deleted library. if so, where do i see the deleted 2) is there a way of receving alerts when something on the documents has changed or has been deleted. in the project alerts i can't find anything like this thanks for your help thank you for your answer. but this sounds very complicated to be done. anyway i tried to use http://mindsharpblogs.com/todd/archive/2005/10/06/719.aspx as solution, at least with these libraries you can exactly achieve what i wanted, at least on the sharepoint websi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D racer problem (collisions)
Hi im trying to make a very very basic 3d racing game. Basically, ive spent hours trying to work out how to detect whether my rocket (the car) has left the side of the track or not. I cant work out how to properly use bounding boxes/bounding spheres in 3D and i dont understand how that would even work with a track with bends etc. Here is my source code for you to download and try and understand what I mean. Any help is really appreciated. EDIT - http://www.sendspace.com/file/6pcunk http://www.megaupload.com/ d=G6CLZF70 Or if someone could just explain how to go about working out whether the car has left the track or not What fuctions you should use or whatever. OK thanks for the help. However im not sur ...Show All
Visual Basic Read method problem with Store Procedure
Hello. A question please. I created a class wich contains a read method on a file. This read method uses a store procedure to read information. My problem is : How can I do a read method that executes a different store procedure depending on the received key. I'd want know what is the better way to do that. Any ideas.... Thanks... Note: the read method receives an objet (class) parameter, one of its properties is the key. I'd want that my method decides what store procedure it uses. The class contains a method. This method receives parameters. This method executes a store procedure. This Store proc do a read on a file. This Store proc has a "Where" condition. I need to send a ...Show All
Visual Studio Team System Prefast defectsum.txt?
I'm trying to produce the "summary results file" mentioned here: http://www.microsoft.com/whdc/winlogo/drvsign/dqs.mspx I understand this summary results file to be named DefectSum.txt. However, I haven't been able to find any sort of documentation on how to go about producing this file. Indeed, searching for "defectsum.txt" on google produces 0 results. Am I mistaken about the name of the summary results file, or is there something I'm missing Could defectsum.txt just be the output from the "prefast list" command, as opposed to the xml output Thanks. Are you using Prefast from Visual Studio, or Prefast for Drivers from the Windows Driver Kit DefectsSum.txt is only generat ...Show All
.NET Development Empty String Being Passed
I have a stored procedure that sends cdo mail, and the sp has a parameter that I can pass a semi-colon separated list to that specifies the attachments for the e-mail.....The e-mail has always worked for me, and when I pass it the attachment parameter from query analyzer it works fine, and it has always worked when the procedure is called via .NET. The problem is that recently I have .NET dll that I created that passes a long list of attachments to the sp, I tried the values from query analyzer and they worked but when I pass them from .NET the sp says the parameter value is blank. There are no errors, it just seems to be not accepting such a long parameter string even though the value is shorter than the parameter length (in both the sp a ...Show All
SQL Server How to determine date/time message was placed onto Queue?
I need to determine the actual date/time that a message was placed on the queue. In my "activated" procedure I want to log this information and pass it along to further processing routines. From what I can tell, the Queue table itself does not have this information captured. There would be a performance penalty for storing SENT and ENQUEUED times into the target queue for each message even if the user was not really interested in those statistics. Our current model is that any user-specific data (sent-timestamp, order-number, request-id, message-id, sender-user-name, etc) would be encapsulated into the message_body itself. ...Show All
Visual Studio 2008 (Pre-release) load xaml dynamically in to a parent object
let me explain my scenario. 1) i will have an xbap with Grid as child. What i need to do is pick up xaml files from another folder and display it in the Grid. For this purpose i use xamlReader to parse the objects of the stream. Further more i can load the xaml file if the file is present in the bin\debug folder if i try the same to pickup xaml files from some other folder i get SecurityPermission Exception. 2) I am migrating an existing aspx application to xbap. i need to know whether i will be possible to access URL query strings to be passed between xaml pages. 3) Can i use atlas along with WPF. You can load the xaml file and then create the xaml objects with XamlReader.Load and th ...Show All
Microsoft ISV Community Center Forums SendKeys From Excel
I'm trying to send information to another application using the SendKeys function but it isn't working. The primary code that I'm using is: ActiveWorkbook.FollowHyperlink Address:=" http://www.aasb.com.au/public_docs/aasb_standards_2005/compilations/AASB101_07-04_COMP_11-05.pdf ", _ NewWindow:=True AppActivate "Microsoft Internet Explorer" Application.SendKeys "^F34.~", True. Sometimes I get an error on the AppActivate statement and sometimes the SendKeys function works but not all the time. Does anyone have any suggestions about what I'm doing wrong for it to not work all the time ...Show All
