Software Development Network Logo
  • Game Technologies
  • .NET Development
  • SharePoint Products
  • Smart Devicet
  • Windows Vista
  • Audio and Video
  • Visual FoxPro
  • Visual C#
  • SQL Server
  • VS Team System
  • Visual C++
  • Visual Basic
  • Windows Forms
  • Microsoft ISV
  • IE Development

Software Development Network >> Shirvo's Q&A profile

Shirvo

Member List

Harry_Leboeuf
hommer
Sportsdude
mhorton
vbjunkie
Camenwolf
raduvv
Warren LaFrance
Bach Ville
hafi23
jh0483
AmitUgane
Finch82
sparkab
Smitha R
Noordin
borice
Weston Williams
Stikstofman
Jassim Rahma
Only Title

Shirvo's Q&A profile

  • SQL Server Truncate or clear the indexes in variable table

    i have a variable table Declare @tbl1 TABLE( RowID INT IDENTITY(1, 1), SerialNoFrom nvarchar(50), SerialNoTo nvarchar(50)) After i delete From @tbl1 the indexes still remail unchange...how can i clear the indexes in variable table. Please advice Barry: Here is a thread with a decent discussion of scope identity: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=881010&SiteID=1 Books online also has a good writeup. Dave ...Show All

  • Windows Forms How do I animate a button click from code?

    This code preforms the button2 operation with button2.PerformClick(), but the user has no indication that button 2 has been clicked. How do I get button2 to go down and back up public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { Console.WriteLine("button 2 was clicked."); } private void button1_Click(object sender, EventArgs e) { button2.PerformClick(); } } Thank you B14 public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { Console ...Show All

  • Visual C# How to change the name of C# Project

    Dear friends my question may sounds little bit different. yes it is how to change the name of C# project. i have made a .dll file using VS2005 C# it contains several class files and windowsforms and referal dll's now after finishing that project i just want to change the name of the whole project. any guide lines to follow. Thnaks and regards Ranu thanks if i change the both *.dll name and *.csproj name is that enough is that changes change the name every where(like name spaces and displayname and all) regards ranu ...Show All

  • Visual Studio Express Editions grrrr - registering

    For some reason the registration page says my email address is invalid so i can't get the key, but its the same one i logged on with. Help Thanks!! Found a solution. Goto profile.microsoft.com, signin and make sure all info is correct especially the email address. When the profile is successfully updated, try registering again. should work. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is adding every asset used to the project a necessity.

    As I ask this, I suspect that the answer may be that I just don't know enough about the content pipeline. In previous hobbyist games I've worked on, it's been common to have a file that specifies a level or UI setup including which textures to load. The game parsed this file and loaded the textures appropriately. This separated the art from the code and allowed artists to modify or create new levels without any work in Visual Studio. My understanding is that any asset that is used must now be added to VisualStudio if it is to be loaded through the ContentManager. Does this mean that when I create such a file which defines a level (including all assets) I must also add all of these assets to VisualStudio This seems.... to put it directl ...Show All

  • Visual Studio Express Editions Plz i need ur help ... very important :(

    Hi Every one !! i'm new VB.net(2003) Programmer and i need ur help.. i'm having a tree view in my form and i want to print this tree . how can i do this Notice that : if the tree is very lond i hav 2 continue printing in another paper. of course the line which connect the tree nodes should be dashed; tis easy can be done by the following peice of code : Dim pn As New Pen(Color.Black) pn.DashStyle = DashStyle.Dash thanks every one !! ...Show All

  • .NET Development USB Communictaion

    Hi, I have worked with Serial and TCP communication.However i've never worked with USB communication.Have anyone worked with the same,I have read some documents that mentions abt Vendor Id and Product Id necessary for USB communication.As I don't have a USB device for communication can anybody suggest how to try out samples of USB communication.For Serial u have Hyperterminal for testing.I do have a Usb stick is it anyway useful for testing usb communication.Pls suggest ...Show All

  • Windows Live Developer Forums Displaying certain users with the contactscontrol?

    Is it possible to instead of pulling the entire contact list just to pull certain contacts from the contactscontrol E.g. I know this user has bla@hotmail.com in his contact list so by feeding the contactscontrol with a string/array/xml with this address in would I be able to display all the users contacts except bla@hotmail.com Hope it makes sense since it would be very usefull. /dennis :0) Ok, I'll bring the idea up at our next prioritization session. Send me a link to your app (in email if you prefer) when you get it going. We'd love to see it! -Danny ...Show All

  • Visual Studio 2008 (Pre-release) Declarative security in WCF

    Hi, Is there an equivalent to PrincipalPermissionAttribute that can declaratively demand that users own a specified claim. For example: [ClaimPermissionAttribute("http://www.domain.com/claims/myclaim")] public void MyService() { //this code won't run unless the current user //has the specified claim } Is there a way to do this, or does it have to be done in code Thanks, Kent Check out Michele's post in the thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=729025&SiteID=1 Should do exactly what you need. ...Show All

  • Visual C++ Help with ODBC connection

    C++ unmanaged Using ODBC: My app prompts the user for a DSN connection. It then stores the connection string and uses it later. Getting the connection string (this works): m_sDSN.Empty(); CDatabase db; if (db.OpenEx (m_sDSN, CDatabase::forceOdbcDialog)) { m_sDSN = db.GetConnect (); db.Close(); } This brings up the DSN selection dialog. Although I could choose differnent DSNs, for testing m_sDSN ends up with this connection string: "ODBC;DSN=RaptorSQL;APP=Raptor Client;WSID=SCOTT1;DATABASE=RaptorTest;Trusted_Connection=Yes" Later, when I want to open this connection (does not work): CDatabase db; if (db.OpenEx (m_sDSN, CDatabase::noOdbcDialog)) The problem is that the OpenEx() call throws thi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compile in Release

    I am in a huge rush right now. Between VS2003 and VS2005 they moved where you choose whether you compile in Debug or Release mode. Where is it now I have manually added the drop-down box to the tool bar, but it's grayed out. This is extremely frustrating and critical to testing DirectX stuff. That gave me the idear to look for a Run without Debugging button and add it to the toolbar. Guess what, it worked! Yay! Granted, it'd be nice if the dropdown worked as intended though. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A Simple grid component

    I created this self contained grid and figured someone may find it a useful starting point. [ code language="C++" ] using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Components; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; namespace XNAEngine {     public class SOGrid : Microsoft.Xna.Framework.GameComponent     {         // This is how you would add camera control to the grid component         /*private myCameraComponent camera;         pub ...Show All

  • SQL Server Need to get separate pages for each person..help

    I'm fairly new to RS and have a problem. I have a query that pulls information on people, courses they have taken, their score and so on. I have a date parameter setup so I can run it by year. Everything works ok on the query side, I get all the information I need on all the people and the courses they have taken. However, when I run the report, I do not get a separate page for each person and their relative information. The first page shows the first name and the rest of the 700 pages list all the courses and other information, with no break. How do I render the report so that I can get a separate page(s) for each person and their specific info I can glady provide more info/code if need be. Bill F ...Show All

  • .NET Development difference bet. kernels.. of XP n vista?

    help me ya i got tht from a frnd.. it is No. Both kernels are preemptible, monolithic kernels with drivers loaded as modules in the common address space mapped in all processes. Both use the same concept of thread and process and the same concept of VM. ...Show All

  • Visual C++ 64b development: Huge problem with VS2005 on a 32b OS

    Hi, I've just discovered this weird bug in VS2005: when compiling and linking my application with the x64 platform target on a computer running Windows 2000, the executable can't be run on a Win64 computer. I've spent a lot of time trying to solve this pronlem, and I found the following: - by using Depends, I found that it's the "exported symbols" table that's invalid in these files, - it seems to be related to the Embed manifest option, because disabling it will generate valid executables and dlls, - the problem doesn't happen if I link the file on a Win 64 computer. So it seems that the Embedding process is not correctly done for 64 bit executables on 32 bit computers. By searching for this problem on the internet, I found that - some us ...Show All

©2008 Software Development Network