SaLaMaLaYcUm's Q&A profile
Visual C++ Pinging the remote machine.
Hello! can anybody help me with the usage of the "Ping" class. I have been looking through the MSDN for ping, but, nothing substantial has come up. My aim is to ping a number of stations before connecting to them. hello Re: Pinging the remote machine. refer to this article: http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx hope this helps bite ...Show All
.NET Development Events over remoting.
Hi, my client subscribes to an event on my remoting server, and at the point at which suscribers are to be notified I get: 'A connection failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond' Any ideas This one is truly killing me. Thanks, Tamim. The guy who wrote the book on remoting has a FAQ at http://www.thinktecture.com/Resources/RemotingFAQ/RemotingUseCases.html This clearly states, "don't use events with remoting" I think it has to do with the fact that you are turning your client into a server, with the remoting server trying to activate the object on the client. It could be ...Show All
Smart Device Development monitor wince Os Messages
Thanks v much I am Using Compact Framework 1.0 it doesn't support Dictionary Generic class. This article( http://blogs.msdn.com/netcfteam/archive/2005/05/20/420551.aspx )provides Subclassing controls in .NETCF 2.0. Is there a way to capture windows messages in Compact Framework 1.0 Thanks again Mahesh Kumara ...Show All
SQL Server Best practices for partitions for cubes?
Hi, all here, Thank you very much for your kind attention. Would please any experts here give me any guidances and advices for what are best practices for partitions for cubes in SQL Server 2005 analysis services I mean like when should we use partitions for cubes And what are the best practices for the partitions memory modes Thanks a lot in advance for any helpful guidances and advices for that. With best regards, Yours sincerely, Hi, This link will give you a good introduction to partitioning http://www.microsoft.com/technet/prodtechnol/sql/2005/projreal.mspx ...Show All
Visual Studio Team System Can't instrument DLL because of 3rd party library w/o debug symbols.
I'm trying to instrument a DLL for performance profiling, but the instrumentation process fails with messages as shown below. Since the messages refer to code in a third-party library, I'm not able to provide debug information, and I'm also not particularly interested in profiling that code anyway. Is there a way to exclude that code from instrumentation so that I can work with the rest of the DLL Do I have to exclude each individual function exported from the library with the vsinstr /exclude switch or something Thanks, Eric Warning VSP2005 : Internal Instrumentation Error: The object '\dev\client\code\cpp\ThirdParty\lib\hook.lib(Hook_exp.obj)' was built without debug information. Error VSP1014 : Code discovery analysis failed du ...Show All
Smart Device Development Bluethooth chat
Bluetooth Chat Project 2 mobile deices chat with help of bluetooth . Please help me. Its urgent. Thanks I don't have such code, and I'm not the kind of person who would just give it to you if I did. I'd be happy to help you learn what you need to do however. Are you working with a Microsoft bluetooth stack or Widcomm on the devices in question Using bluetooth is really just a matter of socket programming. ...Show All
.NET Development Error while accessing MS ACCESS database via ASP
Hi. I have a problem while accessing MS ACCESS database using ASP script (ADOBD class). Code looks sth. like that: set rs_del = Server.CreateObject("ADODB.Recordset") rs_del.MaxRecords=0 sql = "SELECT * FROM Users WHERE Index IN ("&rem_str&");" rem_str consists numbers which has to be extracted from database. This string (sql) looks like that: SELECT * FROM Users WHERE Index IN (5, 7, 8) When I try to open record-set rs_del.Open sql, con, 2, 3 I get an error message: Microsoft JET Database Engine error '80040e10' No value given for one or more required parameters. What can be wrong Beagging.... Don't beat me :( The table name was the table from ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D VERY slow on the XBOX
Im having a hard problem getting good FPS rates on the XBOX, everything turns around and gets alot slower. Does anyone have a solution, or reason for this This line is worrisome, if I'm understanding it correctly: GC Boxed Value Types 5112585 23358The number of value types that have been boxed. Boxing and unboxing are very expensive IIRC. ...Show All
Visual Studio The expression cannot be evaluated while in design mode
I have only one window open and it is a vb document. I never use design mode for anything (with exception to SOME windows GUI interfaces... but none in this project). IF I am not in design mode... and ONLY use text editors... how can I get this message: The expression cannot be evaluated while in design mode. Is this a MSFT BUG or is there a way to be in design mode without actually using the designer, attempting to engage it, or actually using anything non-text to write a program I was unaware of any modes... never messed with it (I assume you are not reffering to the design vew/source view). Can you point me to where I might identify if that is the problem / correct it if needed (E.G menu option / toolbar / etc ) I have s ...Show All
Visual Studio Team System Work Item DB Maintenance
I am resposible for doing capacity planning for our TFS server. There seems to currently be no way to delete work items from the server which will cause our disk usage to increase forever. 1. Is there a plan for work item cleanup for a future version of TFS so long-lives TFS project can be maintained 2. If I delete a TFS project, does it delete all the associated work items for that project If you delete a project, it does delete all associated work items for that project. "Delete workitems" feature is one of many feature requests in list for consideration for future version. ...Show All
Gadgets Silently running an external program from a gadget
Is there any way to run a program silently from a gadget and collect its output The only way I know of for running a porgram is System.Shell.execute, but this flashes the cmd window quickly (this is a CLI exe) and I don't see a way to get the output of the program. I am currently accomplishing the same thing by using Wscript and objShell.Run, sending the output to a text file, and then reading the text file. Just wondering if there is a better way. Does jscript allow you to launch a program silently Try this var WshShell = new ActiveXObject("WScript.Shell"); var exec = WshShell.Exec(System.Gadget.path + " \\ myapp.exe"); var outputData = exec.StdOut.ReadAll(); i hope this hel ...Show All
.NET Development Compression of SOAP message in web service
I'm trying to get the SOAP messages from my web service compressed to reduce the data size when send to the client. Most examples I found are using external GZip libraries, but of course from .NET 2 it is possible to use GZipStream. This is what I have so far: [ AttributeUsage ( AttributeTargets .Method)] public class CompressionSoapExtensionAttribute : SoapExtensionAttribute { private int priority; public override Type ExtensionType { get { return typeof ( CompressionSoapExtension ); } } public override int Priority { get { return priority; } set { priority = value ; } } } public class CompressionSoapExtension : SoapExtension { Stream oldStream; Stream newStream; ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is there a way to pause/resume Game.GameTime?
Hi, I want to pause my game when Back is pressed. I looked to SpaceWar for ideas -- the Information screen even claims that the Back button pauses the game -- but the Back button does nothing. Microsoft.Xna.Framework.Game seems to distinguish between "RealTime" and "GameTime" -- but I don't see a way to pause/resume the latter. Of course I could just not call Update when I'm "paused", but then as soon as I "resume," ElapsedTime would be some huge amount, wouldn't it Thanks for any suggestions... -Mike What I've started to implement is a GameStateManager class that's basically a stack of (custom) Window objects. Only the object on top of the stack gets ...Show All
SQL Server Can't export report to CSV,XMl correctly, sql 2005 reporting service
Hi all, I am developing reports using sql2005 report service. I can export reports in excel and pdf format, but can't export to csv and xml correctly. The exported csv and xml files only contain some thing like the textbox,..., but no report content are there. Anybody can help thanks in advance. BTW, all reports are matrix, is martrix can cause some issues Thanks, Greert. Your reply is really helpful. Now I know how to export report in xml format. But, how about CSV I still can't export report to csv. Thanks again ...Show All
Visual Studio Express Editions Use of RegistryKey
I have been looking in the forums for info on RegistryKey and found lots of good info on read/creating/deleting/etc. My question is very basic...Can I use Registry Keys to store flags that one program sets and another reads (at some subsequent time). I basically want to know if a user interface program has set a flag that other programs read and execute some functions based on it. Note that these are not programs running simulataineously, but will query this flag later on. Thnx Well what do you know! ! ! I did use My.Computer.Registry and there is a trick You just can’t put data init. You have to use the CreateSubKey Method. Also please note that this Board’s editor wraps line irresp ...Show All
