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

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

desy

Member List

WXS123
Muhammad Khalid
_JORGE_
RodneyJ
allison_h
psi_0
BobH
JoshKorn
Michael Hansen
Luo Cao
Gafrage
kemal
Bo Yu
Swarna
HBWGeorge
Davids Learning
IamHuM
Hanumanth Reddy
erfg1
ACCOUNTINGONLINE.US
Only Title

desy's Q&A profile

  • Visual C++ Delete a certain tree node

    hi, now i facing a problem which i do not know how to solve it...:( My binary search tree structures stores a double number in every node, whereby a higher number is appended as right child and a less or equal number is appended as a left child. Now i want to write a function which deletes the node with the highest number in the tree. I started the function as follows: [code] template <class Item> void bst_remove_max(binary_tree_node<Item>*& root_ptr, Item& removed) // Precondition: root_ptr is a root pointer of a non-empty binary // search tree. // Postcondition: The largest item in the binary search tree has been // removed, and root_ptr now points to the root of the new (smaller) // binary search tree. Th ...Show All

  • Windows Forms how to use datagridview to extract values from a function?Urgent matter

    Can anyone show me step by step how to make use of Visual Studio2005 C# toolbox function: DataGridView to retrieve values from a function Example: Give a function give values X,Y,SeqNum and Curvature when i select some feature points on a picture.And i want DataGridView to show me a table of the values. Is it possible to use DataGridView to show or is there any other way It depends on how your function returns the values you want to display, but mostly, you can use the Rows.Add() method to add values to the grid. Lets say your grid is named grd and that you want to display 4 values as you mentioned earlier. First, you add a DataGridView to your form and give it a name, say grd Then you use VS 20 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with ALL!!!! Downloads of Direct X SDK

    It is really frustrating. I need the Direct X SDK but unfortunately all the sdk i downloaded are saying "filepath is wrong" when i click on download dialog "open" or i would like to unzip it i get pretty much same kind of error- or with the newest one (aug 2006) it told me it is not a WIN32 Application even that it said it is for Windows 2000 what i am running on my machine by the way. I also downloaded the Microsoft platform SDK no problem but i really NEED the DirectX one too because my application gets the strmbasd.lib not found so i need the baseclasses! Thank you! I'm not sure why you are getting the download problems. Downloads seem to work fine via the internet. However, you ...Show All

  • Smart Device Development Pocket PC Windows App

    Hello, I have a question related to the execution of CF .NET Win App code. private void Form1_Load(object sender, System.EventArgs e) { label1.Text = "Waiting for connection..."; Connect(); // uninportant implementation label1.Text = "Done."; } Connect() function is running in circle, until it doesn't get a connection. This could be from 5 seconds, till 5 hours. The problem( ) is, that until the function Connect() is running, my PDA is showing me the "loading circle". How could I refresh the window, so that there would be a msg "Waiting for connection...", before the function Connect() would start. Thanks in advance. I placed this.Refresh() at the s ...Show All

  • Visual Studio Team System Where is the TeamFoundationServerExt

    Hi, I'm using Visual Studio 2005 SDK April CTP, now I need to get the current activated Team Foundation Server, as the result I searched in the web, I should do like this: using Microsoft.VisualStudio.TeamFoundation; ... private TeamFoundationServerExt _tfsExt; ... _tfsExt = _applicationObject.GetObject( "Microsoft.VisualStudio.TeamFoundation.TeamFoundationServerExt" ) as TeamFoundationServerExt ; the author says that TeamFoundationServerExt is in the Microsoft.VisualStudio.TeamFoundation.dll which is located in "%Programfiles%\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies", I added the reference to this assembly, also the Microsoft.TeamFoundation.Client.dll, but the compiler says it can't found th ...Show All

  • Software Development for Windows Vista Visual Studio 6.0; VB6 GetAllSettings function does not seem to work in Vista RC-1

    Visual Studio 6 seems to come up correctly however when testing stable VB6 application the following line: varFiles = GetAllSettings(ThisApp, FileKey) produces "Run-time error '5'; Invalid procedure call or argument. Both procedure call and arguments from this working program are valid. This project is completely stable on WinXP machines and below. I have not seen this error until upgrading to Vista. All other VB6 code seems to work correctly on Vista. Other registry access commands appear to work correctly. However, GetAllSettings seems to produce an invalid procedure call wherever it occurs. For some reason the service pack number does not seem to be coming up on the Visual Studio logo screen so I attempted to insta ...Show All

  • Visual C++ Two Projects Colliding

    I have a project with twenty configurations (I'll call it "project A"). I suddenly had a need to build two versions of all those configurations - one with dynamically linked CRTs, and the other with static linked CRTs. So I decided to duplicate the project file, giving it a new name ("project B"), and added it to the same solution. I changed the name of its executable output, so it would not overwrite the other executable being produced. This trick only works by declaring project B to have a dependency on project A, and using the "rebuild" command. If I just use the plain "build" command, I get all kinds of linker errors of identifiers already found. This is because both projects are sharing th ...Show All

  • Visual Basic Single.Parse(999999999) = 1.0E+8 (100000000.00) ???

    Hi....... Quote: Single.MaxValue = 340282300000000000000000000000000000000.00 When trying to parse a value like 99999999 to single, it gives me 1.0E+8 (100000000.00). This is not i was expecting and ofcourse no one would.....How to resolve this type of problem. I cannot (now) go for double coz its already late. I even tried Convert.ToSingle and Ctype way but all yielded the same result . Please help me out of this... Unfortunately there is no good way out of this. While Single's have a big range of numbers they can represent, they cannot represent every number in that range. In many ways Single's are an approximation of a number. If you want 100% accuracy you're going to have to use the Decimal type. ...Show All

  • SQL Server Improving Chatty applications

    All: I am presently tasked with improving the performance of a chatty application. What I mean by a chatty application is that the application makes multiple calls to the database server for each user request. In many cases it appears that many of the windows are making multiple calls to the database for the population of dialog boxes. In a couple of cases there are more than 10 dialog boxes that are populated similar to this. To me this is kind of an "old issue", but my response is (1) cache the dialog information as much as possible and (2) make one call to the database to return all of this data for the dialog boxes if it is not cached. For update calls again make a single call to the database rather than making a call f ...Show All

  • SQL Server Filter Cube Data

    Hi i am using pivot table 11 to display the data from SSAS Cube. the problem is 1- pivot table fetches all the data and display it according to the design. but what i need is a- the user could only see the data which was posted by himself. b. He must be unaware of the data posted by other users. in database table there is a field named userId which is also which is part of dimenssion in myCube. i dont want to use filteraxes for this purpose actually i want the user to be unaware of other users of system also any single helping word will be appriciated Regards Salman Bashir Actually, dynamic dimension data security as described above should still work - if you set the SSAS "CustomDat ...Show All

  • Visual Studio Team System How to detect a conflict?

    Hi, can someone help me understand a bit better how to detect a checkin conflict programatically I mean, if I want to do a non-exclusive check out, modify a code and then try to do a check in automatically, how can I verify that a conflict is occurring The Checkin method call will throw a CheckinException instead of returning back a changeset.   The message (if english) will be something like TF10141: No files checked in: resolve the conflicts and try again, and you can check the Conflicts property on the CheckinException itself to access the conflicts if there were any. ...Show All

  • Visual C++ C++/CLI: why does a reference variable on the stack need a copy constructor?

    Hi all, I am trying to declare a reference variable on the stack, so that the destructor (i.e. Dispose) is called automatically, when the variable goes out of scope: void VideoPixelShader :: OnCreateDevice ( Device ^ device , Stream ^ shader ) { String ^ errors ; GraphicsStream code ( ShaderLoader :: CompileShaderFromStream ( shader , L "VideoPS" , nullptr , nullptr , L "ps_2_0" , ShaderFlags :: None , errors , m_constantTable )); m_imageHandle = m_constantTable -> GetConstant ( nullptr , L "image" ); // Create the shader m_shader = gcnew PixelShader ( device , code ); } But then I am getting a compilation error: error C3673: 'Microsoft::Direc ...Show All

  • Audio and Video Development How to read and write a file to storage

    Dear all: A very stress problem I met these days. How can I read and edit a file in a storage when doing HD-DVD actions For example, how to edit a file under path "file:///dvddisc/ADV_OBJ/questions.txt" or file:///filecache/questions.txt ". The HD DVD Player I am using is Toshiba. After paused the video, I tried to use FileIO.Copy(), FileIO.remove(), and FileIO.openTextFile(), but will always throw an error. Do I need to notify something before doing edition If possible, kindly show me some sample codes. Thanks a lot. If you are running on a player then you need to be AACS signed to access pstorage, otherwise your code will be subject to the limitations described in Appendix X of the spec. Your content needs ...Show All

  • Visual C++ Newbie needs help on C++: string issue

    Please help me if you know how to do it. I want to display an object in C++ (for testing purpose). My intention is like what we can do with Java by reimplementing "ToString()" method. Hence, can you give me some example(or link) on - convert int/float/double to string - "convert" object to string: display its fields - how about pointer Thank you very much. Fantonis Email: fantonis_nus@hotmail.com   Fantonis wrote: - convert int/float/double to string Data Conversion   Fantonis wrote: - "convert" object to string: display its fields That depends on the object.   Fantonis wrote: - how about pointer That ...Show All

  • SQL Server The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro) after SP1

    Having installed SP1, my SSIS packages using the OLE-DB Provider for Visual Foxpro no longer work. Using the latest version obtained from here: http://www.microsoft.com/downloads/details.aspx FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en When attempting to create one SSIS from scratch, the message thrown is: "The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro)." The radio button option of "Copy data from one or more tables or views" and then selecting the "Next >" throw the error. It has to be the SP1 causing the problem because nothing else changed on the Server and everything was working fine prior to this. Microsoft, any feedback on this ...Show All

©2008 Software Development Network