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

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

tzleon

Member List

icewill
Dominik Mauchle
z. m. khan
Raulsassaa
schmod54
Viesta
Foudre
Woody440
Mortsdeh
Moustafa Arafa
haihtomy
Slyspa
koosha
textman
Asiye
Dany V
WayneSpangler
WillieSea
K. Murli Krishna
Oli_c
Only Title

tzleon's Q&A profile

  • Visual C++ Simple Question! (about Cpp)

    Hi. maybe this is a simple question.I'm sorry for this. I try to exit from "while loop" by this code : while ( true ) {   // something... //--------------------------------->>>>>>>>>>>>>>  cout<< "Press --> Enter <-- To Exit" << "\n";  cin >> cVar;   if (cVar == '\r')    break ; ///-------------------------------->>>>>>>>>>>>>> } but it doesn't wotk. when I changed  to this, it works properly. while ( true ) {  // something... //--------------------------------->>>>>>>>>>>>>>  cout<< "Press --> a <-- To Exi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mesh Classes?

    I don't find any Base Mesh classes or support for Key Framed Animations... Why does MS choosed to not put those classes in the framework Not generic enough Try taking a look at: Microsoft.Xna.Framework.Graphics.Model Microsoft.Xna.Framework.Graphics.Model<> Microsoft.Xna.Framework.Graphics.ModelBone Microsoft.Xna.Framework.Graphics.ModelBoneCollection Microsoft.Xna.Framework.Graphics.ModelMesh Microsoft.Xna.Framework.Graphics.ModelMesh<> etc... I havn't actually used any of them but that's where I would start my search. ...Show All

  • Visual C# documentation on how to make documentation

    when a new class or something is added to a project, some tags are created, like sumary and stuff, which i believe is part of some kind of documentation standard like javadoc. where can i get info on how to create correct documentation on the classes- members and stuff i create tnx thats Xml documentation/tags basically on any method for example, place 3 forward slashes and it should produce the tags you are after. Example on button78_Click, I will place 3 forward slashes at the top of the signature for that method, and it will place this: /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name=" ...Show All

  • Visual Studio Express Editions How do I select rows in DataGrid with values

    Hi, How can I select all rows on tableviewgrid However, I don't want to select a new row i.e: colunm1 | column2 ------------------------------ 1 | 'xxx' 2 | 'ddd' * null | null -> new row When I use selectall(), new row is always selected, but I don't want. How do I select rows with values cheers, try the code I suggested in the previous post - it will select all rows not including the last row, which would be the blank "new row", stored in the DataGridViewRowCollection variable - containing all the rows NOT including the last row as the blank "new row" - sorry, re-iterating myself! ...Show All

  • Visual Studio Team System Permissions Problems!

    I have huge problems with the permissions for TFS. I have created a project in which I add an AD group (Projekt) to the Contributers group. My problem is that the members of the the AD group aren't allowed to add work items to the project. I have tried to add the group directly to the security system, added a single member to Contributors, add the AD group to the Area node and assigning permission, all to no avail. Please help! Do I need to synchronize the warehouse in some way Regards Thomas Petersen Are you running SP1 for TFS If not, then try to install that first. If so, let me know and I'll follow up with the respective teams on these. #1 looks like either a problem with our downlo ...Show All

  • Software Development for Windows Vista Bound Dynamic properties not retained after save - Using Vihang Dalal's Designer Rehosting

    I am using Designer Rehosting code posted by Vihang Dalal. I am also using DynamicPropertiesActivity from Ghenadie's blog. I create a workflow with DynamicPropertyActivity as one of the activities. Added 'strTest' to DynamicProperties collection. In order to be able to use this attribute in the rest of the workflow to bing to other activities, I believe I have to bind 'strTest' to a new member. So created a new Property member say dynProp_strTest. I can now use dynProp_strTest to bind to other activities. So far so good. The issue comes up when I try to save this workflow and then reopen it again in Designer. I can no longer see the new member 'dynProp_strTest' that I created. I understand it is getting lost during Save, but do not exactly ...Show All

  • Visual C++ whats problem with this code? msvs2005

    hello, it's my first post here, i have little problem, i'am trying to build minimal executable, but i can't, the main problem is 'unresolved external symbol _memcpy' main project options is /NODEFAULTLIB, enabled intrinsic-functions and changed entry-point to WinMainA here it my simple code which reproduce error: #include <windows.h> // Constants struct _TEST { char test1[256]; char *test2; int test3; }; // Main code void _test(_TEST *tst) { ZeroMemory(tst,sizeof(_TEST)); tst->test3=666; } int __stdcall WinMainA() { _TEST mmm; _test(&mmm); ExitProcess(mmm.test3); } ps. this code successfully compiled on msvs2002-2003, please, help me to solve this, thanks Well, the code generators I've worked on (one of the ...Show All

  • Visual Studio Express Editions I Cant Sign In To Windows Messenger Through Code!

    I decided to make a little program, which when run sets up things like music, internet explorer and Windows Live Messenger - for ease. But i came to a snag with, i would have thought was simple code, where i get and error: "HRESULT E_FAIL has been returned from a call to a COM component." Basically - i defined an variable (called MSN) then when asked to do so, a sub sets MSN to a new instance of imported MessengerAPI.Messenger class. This is then told to use the AutoSignIn sub. Immediately i get a messege box - from VB 2005 - with the error above. Basically why If RunMSN = True Then MSN = New MessengerAPI.Messenger If msnSignInOnLoad = True Then MSN.AutoSignin() ' - Error Occurs Here En ...Show All

  • Visual C++ .pdb differs from previous link; relink or rebuild error

    I got ".pdb differs from previous link; relink or rebuild" error even if i am building the application first time in DEBUG build type. What could be the problem and how to resolve it. ...Show All

  • Visual C# Exposing properties

    Hi! My idea is to include into language a mechanism to expose a field's properties. Let's say I'm inside some WinForms user controll. My control's got a label named label1. I want to expose the Text proprety of the label inside my user controll class and call it LabelText. The main pattern idea is to 'inherit' all the child's property attributes automaticly (like DefaultValue, Browsable and so on - these are just examples, Text proprety's got some others). I would only have to write single line of code that would do everything for me, like public LabelText = label1.Text; One problem I've noticed is that some of the attributes may be of private nested inside that class types, like class MyClass { [AttributeUsage(Attribut ...Show All

  • Visual C++ New Thread can't update edit box

    I have a simple MFC dialog app with one dialog. I have 3 buttons and 3 edit boxes. When I click each button I start a new thread which increments one of 3 global variables - 1 counter for each edit box. I want to see the counters being incremented in the edit boxed but I have a problem. In the 'thread' function I cannot seem to get SetDlgItemInt to work: like so: UINT Thread1Proc( LPVOID Param ) { while (1) { count ++; SetDlgItemInt(IDC_EDIT1,count); } } The 'SetDlgItemInt(IDC_EDIT1,count);' works elsewhere but not in the code for the new Thread. I keep getting compile errors like error C2660: 'SetDlgItemInt' : function does not take 2 arguments etc... Why is this and how can this be resol ...Show All

  • .NET Development ResponseElementName is ignored.

    I'm trying to call a webservice using WSE 3.0, but I'm generating my own proxy code (by extending Microsoft.Web.Services3.WebServicesClientProtocol). By default, this requires me to use the names of operations in the WSDL as the names of the methods in my generated proxy class. I do not want this (because I already have methods with these names defined for other purposes). The obvious approach is to use the SoapRpcMethodAttribute annotation to specify the name used in the request and the response. For the request this works fine (I see at the server that my request comes in with the appropriate operation name), but for the response the annotation does not seem to have any effect at all. I can enter something completely random and d ...Show All

  • Windows Live Developer Forums VEMap.GetRoute in Europe

    Hi Everyone, I have been trying to get a GetRoute for an address in the Netherlands, but I'm having problems with it -- it keeps asking me if I want to choose a city in America. I looked through a bunch of stuff, but I couldn't find if there was a restriction on GetRoute for places other than America. Is this possible Thanks! scott For the UK you would use the folowwing to route on postcodes... map.GetRoute('LE7 9HA,United Kingdom','LE12 5AG,United Kingdom' ,null,null,onGotRoute); ...Show All

  • .NET Development Finding a record

    Why can it be simple when it can be complivated :) I am trying to achieve something that was so simple to do with ADO recordset. Lets say I want to find a record that starts with a value typed by user in a textbox. Find method of DataTable will allow me to search in a particular column, but only for a full match. Also, does ArrayList have this search functionality Lets say that we have bound datagrid to arraylist, and want to search for a row that its column value starts with some value DataGrid cant search in its data, as far as I have searched in its properties and methods... Hi you can search in a datatable through a DataView. When you set the RowFilter property of the DataView then it fillter all t ...Show All

  • Visual Studio Express Editions expecting more than 1 datarow returned from query

    OK here's my question. I want to retrieve from my database employee table all those employees with the name eg. Smith and display them in a list. Can anyone give me any pointers please. I'm using VB 2005 Express Edition. So far this is what I have but it only seems to return 1 row when I know there are more than one entries with the name I am inputting Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim searchString As String searchString = Me .SearchStringBox.Text Try Dim filter As String filter = "LastName LIKE '" & searchString & "'" Dim search() As System.Data.DataRow search = myCDD ...Show All

©2008 Software Development Network