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

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

Tdar

Member List

drinkwater
Sabbadin
Ed Hintz
JoeSmith
Mitali Deshpande
LokiSD
thelonesoldier
BilalShouman
dczraptor
NeTBaPb
Zhen
james_cline_
Uwe Reisewitz
DaveM60
e_LA
noel 55
nigliazzo
faraaz_malak_c92eb4
Romantic_touch
Gurpreet Singh Gill
Only Title

Tdar's Q&A profile

  • SQL Server Question about Nested Set Model - Hierarchical Data in SQL Server 2000

    Hi, I would like to convert my adjancey set model to a nested set model with a left and right. I understood this part. Root Node is always with a a Left = 1, right = 2*(Select Count(*) from Table) How do the leaf node get the left and right numbers. I was reading an article of Joe Celko regarding the Nested Sets in SQL and I could not understand how do the employee below Albert(who is top level manager) get their node numbers. Adjanceny Model -------------------------------------------- Emp Boss Albert Null Bert Albert Chuck Albert Donna Chuck Eddie Chuck Fred Chuck Nested Set Model ---------------------------------------- Emp Left Right Albert 1 12 Bert 2 3 Chuck 4 11 Donna 5 6 Eddie 7 8 Fred 9 10 If anyone could ki ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA multiple bounding spheres

    i have been making a pool game and now i need to add more balls, i need to put more balls onto the table first then what would be the collision code for all the balls if they were in an array Whether the balls are in an array or not does not matter. The concept here is that you check each ball against the other balls using a simple bounding-sphere collision formula. There are many articles on the web that explain bounding-sphere collisions. Since it's a pool game, that's the least of your worries. You also have to factor in drag, spin, speed/direction vectors etc....but I guess this is a start. You may find this book useful: http://www.amazon.com/Mathematics-Physics-Programmers-Game-Development/dp/158450330 ...Show All

  • Visual Studio Team System readonly isn't read only

    hello everybody, i have a big problem in sharepoint 2003 when i open a file from a document library by simply clicking the link it opens as read-only. but when i change the file and save it back it replaces the original file. This is not read-only as the title bar says. How can i make the file realy read-only i want this because you have to open the file with the drop down menu and then edit file (so with a little change at the script it checks out automatically) can anyone help me with this problem kind regards One of the Sharepoint community forums might be a better place to ask this question. The jump page for all Sharepoint community resources is: http://www.microsoft.com/sharepoint/community.mspx Specifically, ...Show All

  • SQL Server Trouble with Workflow DTS (SQL 2000)

    Trouble with Workflow Hello. I have a DTS package that executes some tasks of the type "Execute Package Task". Every Task has a Condition of been executed just in case of success.  I understand that only if the precedent task ends successfully the next one would be processed. My problem is that the DTS continues even if one of the previous steps fails. Would you have any idea ____________________________________________________________________ My escenario is something like this: EP: Execute Package Task ES: Execute Sql Task  ______                  _____ EP# 1      (on success)  ----> EP# 2        (on success)    ...Show All

  • Visual Basic Problem with DataGridView

    Hello I have a problem with datagridview and can't solve it. I'm from Iran and use in controls English and Farsi. Engilsh should be right to left and Farsi should be left to right. In datagridview i need that one cell be right to left and another cell be left to right but datagridview control have not this property for each cell or style . Please guide me with the best solution. Thanks EMShahram, An interesting question. However, what would you like to show in your DataGridView control is from database or somewhere else I'm afraid you'd better bind other related controls to the cell that you want to change the orders. For example, you can bind a Label to the exact cell and just show the data in the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What is a good type of game to start with?

    So when XNA Studio Express comes out I and many other budding(a.k.a. newb) programmers will flock to our PCs to make our own games, but my question is what is the best type, or genre to begin with Would it be a good idea to start 2D, or would jumping into 3D be an option I want to start off with somthing that I can ease into and not get overwhelmed by anything too hard. Thanks for any help you more experienced programmers can give me. (but only on windows if we're talking networking ) Dammit, Jim, i don't want to fight you. But at this rate, i WILL have to create MrSock vs Jim Perry Super Turbo Alpha II. ...Show All

  • Windows Forms ToolStripManager LoadSettings Problem

    I have an application which contains many ToolStrips inside a ToolStripContainer. I am trying to use ToolStripManager to load and save the settings, so I've set up a FormLoad and FormClosing event to call ToolStripManager.LoadSettings(this) and ToolStripManager.SaveSettings(this) respectively. I can see the file is being written, with the correct values, but when LoadSettings is called, the values are ignored, and the toolbars reset to the values not in the user.config file. Is there something that could cause this that I am overlooking Thank you Andrej, I have seen the thread you suggest me. When the form is loaded the first time I have workarounded the problem setting the location property ...Show All

  • SQL Server Setting access permissions Iusr_Servername to access SQL Help please!

    I need some help I have a 2003 MS Small business server with MS SQL 2005. I have a access front end database and SQL server back end. I need to connect a web site form in iis on the same server to the sql tables . I am generating errors in the event log when I submit the form data from the web, “Login failed for user SERVERNAME\IUSR_SERVERNAME! (CLIENT:192.168.1.37) ! Can anyone direct me to a paper that will step me through setting up this access Oh No wait! I still have the same problem, client has access with a VPN connection established to the SQL server but fails with out. I desperatly need help. Anyone want to help me with this ...Show All

  • Visual Studio About the Compability between .Net and COM object

    I am currently working on inhouse libraries upgrade from .Net 1.0 to 2.0. In the .Net 1.0 libraries we have used COM object Craxdrt.dll and functions like craxdrt.AddPictureObject, craxdrt.AddTextObject. I would like to ask if there are any alternatives in .Net version, or I still have to use the COM object for compability. Using craxdrt.dll (Report designer component, RDC) is not even supported in the .Net 1.0 libraries let alone the 2.0. It is only supported through COM languages, and is being deprecated. The new way to do it is through the RAS SDK which requires Business Objects Enterprise or Crystal Reports Server, and if you are using Visual Studio 2005 you need the XI release 2 version of these pr ...Show All

  • Windows Forms Masked DataGridViewCell

    Hi, I have a question : (Visual Studio 2005, Windows Form Application, DataGridView) Is there a way to set a mask for a DataGridViewCell for example : input mask (short date mask and date type validating) . the DataGridViewCell Value appear at run time : --/--/--- and the valid value should be for example dd/ MM/yyyy . if there is any way to do this I want it. previously thanks. DataGridView MaskedTextBox Column control provides restricted data input as well as formatted data output. This control supplies visual cues about the type of data being entered or displayed. It uses a mask to distinguish between appropriate and improper user input.When the DataGridView MaskedTextBox Column cell i ...Show All

  • Windows Forms serialize TreeNode-derived classes

    Hi, I want to serialize my custom class derived from TreeNode. After searching on Internet I found many answers that confused me so I'm going to as many questions hoping to get the right answers from you. 1) TreeNode is inheriting from MarshalByRefObject so it's not possible to serialize it. but I can do it like this so what are they talking about Code : TreeNode treenode = new TreeNode(); treenode.Nodes.Add("1"); treenode.Nodes.Add("2"); treenode.Nodes.Add("3"); treenode.Nodes.Add("4"); System.IO.FileStream file = new System.IO.FileStream(@"c:\test.dat", System.IO.FileMode.Create); BinaryFormatter serializer =new BinaryFormatter(); serializer.Serialize(file, treenode); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Missing VC# Templates

    Hi, I've just installed VC# and the XNA Game Studio Express Beta. VC# were running well including the normel project templates. After installing XNA the standard VC# project templates are missing. I only get the three XNA templates: game, library and SpaceWar. Any idea what had happend Thanks! Bastian Hi, I have installed Visual Studio C# Express, XNA Game Studio Express Beta, DirectX August 2006 SDK, MSDN Express Edition. When I remove XNA Game Studio Express the VC# templates are back. After then reinstalling XNA they are gone... I've done a complete reinstall of VC# one day before installing XNA Game Studio Express but not with an installed XNA Game Studio. I will try it. Thanks ...Show All

  • SQL Server SharePoint "Set server defaults"

    Hi guys, I have a problem when configuring SharePoint and RS on two boxes. (If install everything in one box is fine) I have SQL SP2 + RS in one server and SharePoint on the other server. I've followed every step in the SQL 2005 Online Book to configure the RS and SharePoint including: How to: Install the Windows SharePoint Services Object Model on a Report Server Computer. (Done) How to: Configure Service Accounts (Reporting Services Configuration). (Done) However, I got an error when click "Set server defaults" in SharePoint Central Admin: An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. In ReadMe of SQL S ...Show All

  • Visual C++ data structures programming

    hello, Is anyone good in data structures programming in C++ Depends... how much cash do you have Any way you might have to settle for asking a more spesific question. ...Show All

  • Visual Studio Remote Debugger

    Hi! I have a problem, I can't do remote debugging of my project. I have a vc++ project in vs8, 1 exe and many dll. I compile it in debug and put these files on the remote machine. On the remote machine I've installed Windows Remote Debugger from the mvs dvd, I've lauched it and set options to allow everyone. When i press F5 the environment tells me: "Unable to start program c:\...\programD.exe. This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log." Manifest I have no manifest! And I have no event log too. What's wrong ...Show All

©2008 Software Development Network