pradeep prabhu83's Q&A profile
Visual Studio Express Editions User Searches 2 fields to find a database record in application.
Hi, I am learning Visual studio 2005 Express Suites (very new learner). I am attempting, in a form to have a user type in a first name and last name into a text box each, then click a button to find a person in the database. The associated database fields are: StudentID, StudentFirstName, StudentLastName (StudentID is a foreign key in a a couple of other tables). The text box field names are: TxtBFirstName and TxtBLastName. The button name is: BSearch There seems to be a way to do this type of search through the bindingsource [studentsbindingsource] where I click the little arrow, choose "Add Query", click "Query Builder", then edit the SQL query. I am confused as to how to phrase the WHERE clause - basically it would ...Show All
SQL Server Which level of security
I am attempting to create a view only user in Report Manager which can only view and run reports from a single directory. I have the following configured: Active directory Group : Domain\Report Users - Group Scope : Global; Group Type : Security; Member of : <none> Active directory User: Domain\ReportUser - Member of: Domain\Report Users group Default web site Reports virtual directory : Directory security: Integrated Windows Authentication only Default web site ReportServer virtual directory : Directory security: Enable Anonymous Access (user: domain\administrator) & Integrated Windows Authentication Report Manager Site Settings->Item-level roles: New role: Report Viewer ; view folders and view repo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple Program very laggy
For some reason my enemy ships seem to jump forward, pause, jump forward, pause. Seems like a bad case of lag, is it all my for loops #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using Nuclex.Fonts; #endregion namespace SpaceShooter { /// <summary> /// This is the main type for your game /// </summary> public class Game1 : Microsoft.Xna.Framework.Game { GraphicsDeviceManager graphics; ContentManager content; KeyboardState oldState; Enemy[] ships = new En ...Show All
Visual Studio Team System Create Bug from Web Test result, assign to developer, but can see the Test Result only in XML format ???
Hi, as a Tester role, I had create a Web Test running a Web page. the I had found a bug, create directly from Test Result. The TFS server did ask me to publish the test result to the target build. and I did ! the Team Explorer say the publish is complete !!! but when the bug owner open the bug in his Team Explorer, he try to open an text result xx.trx from the WorkItem Link Tab. the system shows, the test report is not published therefore I can only see the .trx report in XML format from attachment Tab. could anyone guild me, what am I missing Hi, To verify the test result file was published, you can go check to make sure it shows up on the Build Report. In Team Foundaction Client, open the serv ...Show All
Software Development for Windows Vista Rant
I like Workflow foundation, but after three months of playing with the betas and CTPs on and off, I am not sure it's really easy enough to use in its current form. It started to go wrong when I tried using WF with ASP.NET as that's how our application runs. Although there are lots of examples out there I had a lot of trouble getting WF to talk to other applications - partly because of all the plumbing that's required just to do fairly simple stuff. Want to tell WF something Well first create an interface, then a class to implement that interface, then create a dataexchanger and add that class. Don't forget to make it static and global so it's always there during your app's lifetime. It all adds lots of code which does very little fun ...Show All
Smart Device Development problem in deploying the application on device
Hi All, I've developed a windows mobile 5.0 application for smartphone in C# and created a CAB file. And I bought a Motorola Q device which has windows mobile 5.0 in it. I was able to deploy the .cab successfully, but when i try to run the application, its saying "Application requires a newer version of .Net compact framework". My assumption is all windows mobile 5.0 phones ships with .Net compact Framework 2.0. Please advice me. Thanks Tan You can download the .NETCF 2.0 Runtime http://www.microsoft.com/downloads/details.aspx FamilyID=9655156b-356b-4a2c-857c-e62f50ae9a55&DisplayLang=en and install on your device. The Windows Mobile 5.0 Devices only ship with 1.0 in ROM Thanks ...Show All
Visual Studio Tools for Office RSS feed in Outlook
How can I see if a MailItem is a RSS item using the object model // Johan Thank you. Setting and Item_Add event handler on the DefaultFolder for RSS Subscriptions don't work, so maybe I have to set it for each subfolder What do you think What I hope to achieve is to check for new feeds and check them for padcasts attachment. If the feed is a podcast feed and the item contains an attachment I would like to download it and add it to a playlist in Windows Media Player. I thought this would be a quite simple project just to learn more about writing addins for Outlook and on the same time something I'd really like to have. Thank you so much for your help both here and on Outlookcode.com. ...Show All
.NET Development using C# classes in Vb.NET Application??
Hi, I have an application made in VB.NET, I need to use some built in open source classes which are written in C# in my project. Is it possible to use C# classes inside VB.NET classes and directly create the objects and call the methods of them Thanks ...Show All
Visual Studio Express Editions Registration Key
How or where do I get the registration key Thanks, After you download and install the Express product you can choose "Help->Register Product" which will launch a webpage for you to receive your registration key. Let me know if this helps. ...Show All
Smart Device Development Create Installer with VS 2005?
Hi, I want to create Installer for my project which is developed in VS 2005. But I dint find relevant information to build Installer with VS 2005. I already tried with this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/netcfdeployment.asp which is based on VS 2003 (but i have tried with VS 2005). Actually I am confused while creating .bat file. I have used Batch Build option from Build menu. but no .bat file is creted. Can any one guide me how to proceed to create Installer. Thanks in Advance Thank you Ilya Tumanov. Its really very good link. I could prepare .msi but some errors have come. one thing I could not understand in this. I added D ...Show All
Visual C# Not able to retrieve data using data reader
Hi.. I am developing windows forms using c#. I am not using the datgridview to present the data, but normal combo box and textboxes to display the data. I am using datareader to extract the data. i am able to get the table name, but i am not able to get the other datas into the textboxes. Below is the code of how i tried to retrieve the data. private void dpdnListName_SelectedIndexChanged( object sender, EventArgs e) { if (!dpdnListName.SelectedText.Contains( "Select" )) { txtName.Text = dpdnListName.SelectedText.ToString(); string strConnString = System.Configuration. ConfigurationSettings .AppSettings[ "Connectionsql" ].ToString(); DBManager dbManager = new DBManager (); ...Show All
Visual Studio VS2005 SP1 Broke Tasklist commenting (TODO, HACK, etc.)
is there a way to fix this //TODO: and //HACK: no longer show up in my tasklist Could you be more specific on what you are seeing as broken Do you have more information about your specific configuration and are you seeing it on multiple machines Is it //TODO comments that are in scripts/code that should appears in the tasklist and they aren't ...Show All
Software Development for Windows Vista WINSOCK DGRAM socket bind() BUG
Hi, I think that I found a bug in Vista winsock implementation, I'm not sure where to report, so I'll post it here. Description: If bind() call on datagram socket returns that scocket is in use WSAEADDRINUSE (10048), then next call of bind() on the same socket on a free port returns WSAEINVAL (10022) i.e socket is bound already. How to reproduce: Write a simple program that opens 2 datagram sockets, bind one of them on a free port, then bind the second socket on the same port, so you'll get WSAEADDRINUSE, then try to bind the second socket on a free port and you'll get WSAEINVAL. Test case: WSADATA wsaData; int iResult = WSAStartup(MAKEWORD(2,2), &wsaData); SOCKET Socket1 = socket(PF_INET, SOCK_DGRAM ...Show All
Visual C# Control USB device when have the driver
Hi I am a new bee in control device, so please accept my apologies if the question is not appropriate I am trying to control the the MS Fingerprint reader. I have use the driver from this website that support the reader. When i installed it the driver then the reader using a libusb0.sys file Can you please if we have the driver then how can control the device using that driver Thanks a lot in advance well you would require the SDK if its available. It also depends at what level you wish to control the device. I think this may not work in C# but going low level using C++/C in doing what you are asking. If there is an SDK available, use it as it would make developing much easier. you need to access the device and perform the correct ...Show All
SQL Server Getting error while executing sp_addextendedproperty in SQL 2005
I've read through existing threads on this topic but haven't found anything that matches my situation exactly. I'm trying to update the MS_Description on every table in the database. A sample of the syntax is: EXEC sp_addextendedproperty @name = 'MS_Description', @value = 'Persons email', @level0type = 'SCHEMA', @level0name = 'dbo', @level1type = 'TABLE', @level1name = 'email', @level2type = 'COLUMN', @level2name = 'cemail' Fairly straightforward, right I'm receiving that awful, vague error "Object is invalid. Extended properties are not permitted on 'dbo.email.cemail', or the object does not exist." I'm in the correct database and am logged in as 'sa'. I need to update over 2,000 colum ...Show All
