Software Development Network Logo
  • Visual Studio
  • Microsoft ISV
  • Visual Basic
  • VS Team System
  • Visual FoxPro
  • Visual C#
  • Smart Device
  • Game Technologies
  • Visual C++
  • Windows Forms
  • Windows Live
  • Windows Vista
  • SQL Server
  • VS Express Editions
  • .NET Development

Software Development Network >> alex roidis's Q&A profile

alex roidis

Member List

Sterling Smith
Christian Neuhold
VigneshKumar
ueo
Brett Keown - MSFT
trav1085
Little Green Frog
Craig Roberts Minnesota
Omar Khorshed
steve64
Roberto Kramer
Eugenia
Dave Lopez
AndresRovira
Harry Maes
Venkataraman
Tony Green
gleason78
Trust Coder
Bill Neal
Only Title

alex roidis's Q&A profile

  • .NET Development How to get the left digit value?

    Hi Is there any function is available in Managed C++ to get the left side value of Integer value for example, that function should return the interger value like this... leftvalue(19,1) = 1 leftvalue(25,1) = 2 Assume leftvalue() is proposed function. Thanks in advance Jose  Hi, If my memory serves me right, then InStr() - gets the location of a specified character(s), Mid() gets a substring. If thats the case then: String^ test = "Microsoft"; // INSTR() int idx = test.IndexOf('o'); //Mid String^ str = test.substring(1, 5);   cheers, Paul June A. Domag ...Show All

  • SQL Server Suspect Mode (no icon in SQL 2005)

    In SQL 2005 when a database is in suspect mode there is no obvious way to tell (via SSMS). In SQL 2000 the word "suspect" was displayed (via Enterprise Manager) next to the database, and the respective database icon was grayed out. Why was this behavior changed for SQL 2005 From a disaster recovery standpoint, it is very important to see immediately if a database is in suspect mode. Hi, I've checked with the SSMS team and this look like a bug. Can you please submit feedback through the Microsoft Connect system ( http://connect.microsoft.com ) This way we can notify you when the issues is re ...Show All

  • Visual C# command prompt return immediately when running console application

    By default, a console C# app will hold the command-prompt until the app exits. Is there a setting in the .NET framework that will cause the command-prompt to return immediately This is sort of analogous to running a command in the background in unix by appending & to the command. Hi. The responsables of doing that are the shell and the OS not the C# language or the .Net framework. The OS because it must support Multitaksing (ms-dos does not) and the shell because it must do some system calls, ex fork (not exists in ms-dos) and exec, in order to provide that functionality. Regards. ...Show All

  • .NET Development Is it possible to load the treeview on demand using xml?

    Hi, I am kind of new to xml and I was wondering if anybody had an example or a small snippet on how to populate a treeview in xml on demand. I played with the treeview quite a lot and in real world scenario you always load the treeview in the beforeExpand event using the node.Tag as your way to find out which node to load. now suppose for example sake i have to construct an xml like this Country City Hotel etc etc How would I know which cities to load if I were to load on demand Do I have to make up my own ID Like the following so that I have a relantionship Country-City How do you do it in the real world. Attribu ...Show All

  • Visual Studio Team System Customization of MSF Agile?

    Has anyone been able to successfully customize the Process Guidance templates, incorporating attributes of your own software development lifecycle into MSF Agile This is become a critical problem for us, as we are trying to initiate a project using TFS, and would like to have the Process Guidance portal reflect how we really do things. I am looking for help from someone that has been able to either 1) modify the individual XML files (e.g. Roles.XML) or 2) modify the ProcessGuidance.XML file. I have had only mixed success in being able to add items like Tracks. And, some of my generated pages end up looking a "little different&q ...Show All

  • Visual Basic Error when Minimized

    I have a form that uses Threads to process data every second.  I have noticed during testing, when the Form is minimized, I receive the following error (stack trace):   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] param ...Show All

  • Smart Device Development cant connect to the computer

    i have a pocket pc that synchronize to my desktop using active sync 4.1. I manage to coonect to internet, but i cant manage to connect to my computer, for example http://kangalert/server/sqlcesa30.dll what kind of setting i need to configure in pocket pc so that i can connect to my computer. 1) Try to figure out the IP address of your desktop. Open the command prompt on your desktop (Start > All Programs > Accessories) Enter ipconfig command prompt This should return the IP address of your Network card somewhere 2) Replace kangalert with the IP Address you just found http://xxx ...Show All

  • Windows Forms Bindingsource.Filter Problem

    I have a Windows Forms app with about 20 combobox controls on one form that are databound to a dataset from a SQL 2005 Express db. In addition to the comboboxes, I have one DataGridView that uses a bindingsource (MaintenanceBindingSource) as its datasource. I want to use the filter property of the bindingsource to filter records from the dataset based upon the value (text) of the SerialNoComboBox and display them in the DataGridView. I've tried the examples of the following code in the TextChanged event of SerialNoComboBox, but none seem to work: Me .MaintenanceBindingSource.Filter = SerialNoComboBox.Text MaintenanceBindingSource.Fil ...Show All

  • .NET Development How do I change the namespace of a WebService reference added to my project in VS 2005

    Hi, I am creating a class library, which needs the services of a web service. When I add a new web reference for that web service, it is placed in a default namespace i.e., the webservice can be accessed by MyProjectName.NameOfMyWebReference.NameOftheWebService However, I want my Webreference to be in the same namespace that I put all my other classes. I want to access the webservice as follows: MyNameSpace.NameOfMyWebReference.NameOftheWebService How can I do this I cannot find anything that lets me change the namespace a webreference belongs to May be this snapshot from my Object Browser helps Thanks. ...Show All

  • Windows Forms DataGridView rendering performance

    Hi, I have a datagrid that shows ~800 rows and 20 columns. 5 of them are combobox columns. I created the grid using the designer mostly. I'm using a bindingsource and assigned it to the dgv. I fill the datasets (bounded to the comboboxes and the dgv) on the form_load     this .projectTableAdapter.Fill( this .projectDataset.Project);     this .streetTableAdapter.FillByCity( this .streetDataset.Street, cityId);     this .subTypeTableAdapter.Fill( this .subTypeDataset.SubType);     this .gpsTableAdapter.Fill( this .gpsDevicesDataset.GPS);     this .cameraTableAdapt ...Show All

  • Visual C++ need english

    Getting ready to work on another lab for school and I'm having trouble understanding the lab. This is the program they want me to write: Write a program that declares two twenty-element, one-dimensional integer arrays. Your program should fill these arrays with random numbers by calling a function called Fill_It. You will call Fill_It twice, once for each array, and ask the user to enter two different seed values. Fill_It needs to have a seed value, and low and high range values, and all three integers should be passed to it along with the array. Fill_It will use the seed for srand and then fill the arrays with values between the low and hig ...Show All

  • Visual Studio Team System VStudio 2005 and SQL Server 2000?

    Is it possible for me to use Visual Studio 2005 for Software Developers and connect to SQL Server 2000 or do I have to use SQL Server 2005 TIA Eric,   Thanks for responding. I have not tried it yet. I just wanted to be sure before I go through the motions of installing Beta 2 of studio. Thanx ...Show All

  • Visual C++ Can't override ToString().

    I have the following class: #pragma once using namespace System; namespace AutoTickets { ref class Model : System::Object { public : Model( void ) : M_model( "" ) {} Model(String^ model) : M_model(model) {} property String^ model { String^ get() { return M_model; } void set(String^ p_model) { M_model = p_model; } } virtual String^ ToString() override { return M_model; } private : String^ M_model; }; } For some reason ToString() is not being overriden. I have other classes that do the same thing and work fine. When I c ...Show All

  • Windows Forms Problem with Checkbox in TreeView

    Problem Description - I have three tables in the database –     ·      Functions     ·      Sub-Functions     ·      Test Cases Each function has specific sub-functions and subsequently each sub-function have a number of test cases. Now, I have to let the user select which test cases he/she wants to select before going on to carry on other tasks with them. They way I have to represent them have been portrayed in the following picture  -   http://pg.photos.yahoo.com/ph/naughty_boy05/detail .dir=/1186&.dnm=2380.jpg&.src=ph   &n ...Show All

  • Windows Forms Is it possible to change a colored form to grayscale temporarily?

    Hi, I just have an application that show many forms at the same time so in order to keep the users concentrated on the main form, I want to change the other forms to be grayscale temporarily and change them back later. Anyone has got idea how to do this Place a panel and change the Dock property to Fill. On the forms Activated event you add panel1.Enabled = true; In the Deactivate event you add panel1.Enabled = false; This will gray out all controls in panel1 (that contains all controls of the form) whenever it loses focus and enable them as soon as it gets focus. ...Show All

©2008 Software Development Network