rajkumar sharma's Q&A profile
Smart Device Development WeFly247 - Can't find PInvoke DLL 'Graphics.Native'
I am trying to get the WeFly247 application running on my Pocket PC (a Verizon XV6700), and I get the following error at runtime: Can't find PInvoke DLL 'Graphics.Native' It is unclear if I am supposed to replace 'Graphics.Native' with the native DLL for my device, and if so, what is the native graphics driver for my device. Did I miss something in the docs I have Visual Studio 2005 installed and working properly. The application compiles and deploys successfully. But will not run. Has anybody encountered this error Any suggestions on how to deal with it Thanks, DWD I guess this may forum ...Show All
Visual Studio Team System Programmatic access to WebTest scripts
Are there any APIs to access the WebTest scripts Would I be able to create my own Test Type (when documentation is ready) and somehow manipulate an existing WebTest programatically The kind of things I'd like to do is to add validation rules, modify form parameters, insert new requests, etc. If so, are there any current documentation on that Would there be documentation later on (if not ready now) Although I understand that WebTests are XML files and I can use XSLT to manipulate them externally, that would require syncing at the file level and not at the memory level where data is "fresh". Ok, sorry I thought you wanted ...Show All
SQL Server How to Backup remote Database
hi all, I have a remote(online) database of my web portal. I want to take backup of that remote(online) database. This is SQL Server 2000 database. Please tell me how I take backup of my database Thanks in advance. Not sure if it is what you asked for. You can use any client tool, such as osql, sqlcmd, SQL Server Management Studio, or Enterprise Manager to connect to that remote SQL Server 2000, then backup your database. Ex. Osql -Uxx -Pxx -S<Remote Server> -Q"backup database XXX to ..." -Yunjing ...Show All
Visual Studio Team System Visual Studio Team System 2005 Code Coverage Tool FAQ
This FAQ will collect the most common questions that are asked about the code coverage tool that is included with Visual Studio Team System for Developers (and Team Suite edition). Q: Why am I seeing some uncovered blocks in my program when I’m sure that my test should be exercising 100% of my code A: The simple answer is that while you may be sure that you are testing 100% of the visible lines of code there are a few small cases where there are underlying IL blocks that are not being tested. It’s important to know that (in all the cases that we’ve found so far) the code coverage tool is not lying to you; there are code c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Online Strategy project
Project name: Empire Universe Brief description: The game will be played in space.. each player will be stationed on a separate planet.. where he’ll have to start to build his culture from scratch(for a couple of time player will not be able to attack , so frequent players won’t have too much advantage) The players data should be kept on the central dedicated server which I will provide (opteron 2.4 ghz 4gb ddr, 200gb discs on 10mbps unmetered) User should also be able to see his statistic on the online dynamic page Each planet will go with the different states of development.. from cave man to star-ship builders :) When player wil ...Show All
Smart Device Development How to run Emulator without VS 2005?
after reading and reading i will try with writing... i have the sdk for WM5.0, i have the images, i have found the emulator 5.3 and the deviceEmulator but how can i get them work together when i try with the device emulator, a small window with 2 menus appears, and nothing happens.. when i try with the emulator 5.3, for half a second a window opens that tells me i have not enough memory when i try it with /memorySize 256 i’ll get the same message so, how do i get it running without the vs2005 Hello, You should try specifying bin file with "deviceemulator.exe <bin-file>" It will boot the ...Show All
SQL Server console apps only work if user is SA
Hi When I try to use a user other then SA my console apps don't work. I can run the Stored Procedures used in console application from Query analyser when logged in with the username/password that I'm attempting to use for the console applications. Under Users in Enterprise Manager Database access is 'permit' for my user. By the way my web application which uses the same user name and password as in console applications is working . I also have dts packages running using dtsexec accessing the database with the same user name and password and they work fine. MDAC 2.8 SP2 on windows server 2003 spi C:\Program Files\Microsoft SQL Serve ...Show All
SQL Server Retrieve a tables primary key
Hi, I wish to get the primary key for a table. In DMO the table object had a property called PrimaryKey that returned this info, however in SMO this property does not exist. How can i retrieve the primary key info of a table using SMO regards philip Hi Philip, I loop through the indexes collection of the Table object and look forIndexKeyType as show below: For Each oIndex In oTable . Indexes If oIndex . IndexKeyType = IndexKeyType . DriPrimaryKey Then ' Primary key found End if Next Regards, Joginder Nahil www.starprint2000.com ...Show All
Visual Studio Team System Fxcop Custom Rules for Searching for loops
Hi, I am stuck while writing a custom rule which checks for exception handling inside loops, i am unable to check for the presence of loops inside a method. could you please provide me pointers in this direction. It would also be very helpful if could explain how to check if every method has XML comments. Regards, Vamsi. Hi Sanjukta, I came across ur sample to check the loops ..I was looking for the same from long time. I have a query what exactly this code represents if (( int )objMethod.Instructions[intCount].Value < ( int )objMethod.Instructions[intCount].Offset) { intBeginOfLoopOffset = ( int ...Show All
Visual C# Visual c# beta 1
I'm not sure if this is the appropriate forum for this, but I guess it is close. I recently downloaded and installed visual studio .net beta 2. Before installing I uninstalled all .net framework v2, and VS.net beta 1. I also have a version of VS.net 2002 on my machine that I cant uninstall because I use it to develop software for my company. I didnt realize that you have to uninstall ALL visual studio.net versions to install the beta 2 version. Well, since I cant uninstall VS.net 2002, and VS.net beta 2 wont work with it installed, is there somewhere I can get a copy of VS.net beta 1 If anyone knows where to get beta ...Show All
.NET Development ObjectFromLresult Interop Question
I am attempting to get a reference to the currently open IE browser objects and am having trouble getting a call to return the desired object. I am getting the handles for the browsers objects by enumerating using the Interop call: [DllImport("user32.Dll")] public static extern int EnumWindows(IECallBack x, int y); This is working fine and I am able to both the IEFrame and the "Internet Explorer_Server" window handles. I then do the following with the 'handle' of the "Internet Explorer_Server" window: uint lMsg = RegisterWindowMessage("WM_HTML_GETOBJECT"); object icpc; IntPtr lRes = ...Show All
.NET Development How to consume Webservices
Hi, Im quite new to webservices. These are my questions. 1. Im just wondering on how to consume webservices. For example, I have a webmethod that returns a Dataset object how would I consume it in the client I tried casting the result to DataSet object and it just wont convert... 2. I've read in a forum that its not advisable to return a complex class/structure (eg Dataset Class) instead, stick to the simple structured xml. My question is, how would you do that How can you return a simple structured xml in your webmethod And how would you consume it in the client side BTW, my front end is ASP.net and im trying to consume the webserv ...Show All
Visual C# MSMQ (Messaging Queue)
Hi all, I wan to ask of receiving message from the MSMQ. Is it possible to recieve message from any place or only from the head of the queue. I want to pull messages from the queue not according to the first message in the head of the queue, I want to pull from a certain Id of a message. Regards... You would have to program each client to peek through the queue looking for the messages that it should be receiving and then remove it. Another option would be to set up a separate queue for each one. If you don't want your sender(s) to know that there are multiple queues, you could have a single public (or privat ...Show All
Visual Studio Express Editions Merge Visual express setups
For each Express products there are one setup. How can one merge setups to have only one program of installation. thanks. yohan I guess this is not possible with the Express edition :-( I spend a little time around the folders of the downloaded version (the one packed in the .img files) and the only thing I discover is the 'WCU' directory in all the packages I am interested in (VB, VCS and WEB) is identical. I also check the SQLEXPR and the DOTNETFX packages and I saw they are again identical to the ones you can download separately. I then created a CD containing only a full VBS.img extraction and an ...Show All
Visual Studio Team System Can't install TFS RC on App tier
Hello all, I'm working through an upgrade to TFS RC from B3R, and I'm getting an error when I try to install TFS on the application tier of my dual-server system. The health check fails with this message: Description SQL Server Reporting Services application pool or virtual directory detected Workaround / Remedy Setup has detected that SQL Server Reporting Services application pool or virtual directory (Reports or ReportServer) may be on this computer and cannot continue. Remove these and run setup again. According to the upgrade instructions, Reporting Services is a pre-requisite to TFS RC on the App tier. What am I missing ...Show All
