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

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

McPhisto77

Member List

Paul Siermann
dvidben
peitor
GOKU
Vasanths R
Glo
wessen
TheSmithz
WarauInu
Bernard Yves
lovermann
Vik B
Mark Sztainbok
pederjohn
HuaMin Chen
Galinace
Darrell Snow
Qinyingying
mrg209
itsacrisis
Only Title

McPhisto77's Q&A profile

  • Visual C# Enter button sensitivity in Console Apps (C# Express)

    Hi I've been trying to run a program which asks a user for coordinates of several lines.  The code then uses pythagoras to calculate the length of these lines.  However, the problem that I'm having is when a user enters the first coordinate and presses enter, they get no opportunity to enter the remaining ones.  It's alomost as though whne the enter button is pressed, the program thinks it has been hit more than once and skips the remaining coordinate input. I don't think it's the code - I think it may be the C# Express editor.  If so, is there anyway to alter the 'Enter' key sensitivity I'm open to suggestions. ...Show All

  • Windows Forms Problem displaying data in Dropdownlist while writing

    Hi. I am developing a Web Page in Visual Basic 2005. I am using a DropDownList control, and I filled it with data, I want that DropDownList control behaves like a TextBox control, What I mean is I want to write on DropDownList control, and I don’t know how to do it, besides while I am typing a key in DropDownList control should display the possible words that user is writing, for example if user type the letter B in DropdownList control, this control should show the items that begin with letter B or if user type BR this control should show the items that begin with letters BR and so on... I would be thankful If you send me a sample ...Show All

  • Visual Studio Team System Cannot access Documents in Team Explorer when not logged on as TFSSETUP

    I have the Beta 3 Refresh of TFS installed. I logged in as TFSSETUP and created a new Team Project (AdventureWorks). In addition, I added my personal id to the admin groups in the Team Foundation Server Security Group and Windows SharePoint Services Role. In the server/reports server, I added BUILTIN\Users to the Properties\Security (this was not enabled by default and thus everyone other than server administrators received security errors for the project portal web parts... which was not well documented, btw) When I connect in Team Explorer as TFSSETUP and access the Adventureworks Team Project, everything is fine. However, when I log in ...Show All

  • Visual Studio Express Editions why setlocale(LC_ALL,"Russian") for console application doesn't work in visual studio .net 2003? But it works in VS 2005...

    why setlocale(LC_ALL,"Russian") for console application doesn't work in visual studio .net 2003 But it works in VS 2005... Thank you for your reply!:)I am russian and programming with VS .NET 2005 beta2.But it has time limitation- it stopped working after 1st of May,2006.When programming console applications I have to use russian language in programms dialogues.In VS .NET 2005 to do so,i used function call setlocale(LC_ALL,"Rus").Now i've got VS .NET 2003.But this function call doesn't work!!So I would like to know why it doesn't work and what can i do for using russian language in console applications in VS .NEt 200 ...Show All

  • Visual Studio Express Editions how to save and update database?Urgent!!!

    hi...i'm using visual c# express edition to create my application for my assignment. But i'm facing problem to store the information from the form. I have tried to create a class to open the connection for it but failed. The following is the code i used to save the user's input data into database but failed. The first one, i try to save the data from textbox. The second one, i try to update the data using the datagridview. Unfortunately, both also failed. So, i hope that someone can help me to figure out. Thanks... ---------------------------------First----------------------------------------------------------------------- ...Show All

  • Visual Studio 2008 (Pre-release) binding to a function call instead of property?

    Hi, If I have following function class LanguageHandler { public static string GetString(string key) { } } Is anyway I can binding a textblock - text to the GetString function thanks/chong Hi Chong, I would like to understand what you're trying to do a little better. You say you would like to bind one control to an ObjectDataProvider that takes a parameter to the method, but that is exactly what Unni shows in his markup sample. If you give me some more details, I will give it a shot. Thanks! Bea ...Show All

  • Windows Forms adding an item to a listbox

    Hello, I have two databound listboxes.  Listbox 1 contains items assigned to a group.  Listbox 2 contains all available items. I want to be able to select an item from Listbox 2 and add it to Listbox 1, but since Listbox 1 is databound I can't do it.  Is there anyway to add an item to a databound listbox and then save the results T ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help with storing textures in classes

    Hello everyone, I was wondering how I should go about creating a texture from a file and storing the pointer inside a class I defined. I have tried to do this by creating the pointer in the class and using the D3DXCreateTextureFromFile function, but when I run the program, an error box appears and says that an error has been encountered and needs to close. I have also received this message when I created the texture and stored it in a global pointer and set the pointer in the class to the global one. I would greatly appreciate any advice, I would like to know if storing textures in classes is possible. Thanks ...Show All

  • Visual Studio My addin requires installation everytime

    Hi All, I am creating VS2003 addin which uses my own other COM dll file. To create addin i have used visual studio 2003 addin wizard which also creates setup project for addin. But after just adding a simple menu under tools menu, and calling function from my COM dll. When I rebuild whole solution and install addin through installer it works fine for "just ones". When i close and reopen VS2003 IDE, my menu donot appear in Tools menu. I have to again install my addin to get it. Do I required any setting for this Similarly, I can't debug my Addin by putting break point in OnConnection function. I haven't changed any project setting. ...Show All

  • Visual Studio Express Editions No projects

    Hello all I just downloaded Visual Basic 2005 Express Edition and C# 2005 Express Edition (.iso), burnt them to a CD and installed them. But when i go to create a new projects, via File - New Project, there are no projects there. I have downloaded the online downloader-thingy and repaired Visual Basic 2005 Express Edition (downloading the files instead of using the cd's), but the problem still persists. Can someone please help me with this hi, i guess there are problems happend during installing templates , may be that thread will help you http://forums.microsoft.com/MSDN/ShowPost.aspx Post ...Show All

  • SQL Server Insert values in Primary key field

    Hi, Does anyone know how should I create a table in order that I can insert values(numbers) in the primary key field, using insert statements. I also would like to know if there are any differences between SQL 2k and SQL 2k5. Thanks in advance for any reply. I've found the answer myself if anyone interested! SET IDENTITY_INSERT table_name ON \g ...Show All

  • SQL Server Flat File Destination Filename with Date ?

    Is there a way to append a date at the end of the filename for whenever a Flat File Destination is run   So far, I only see the ability to browse to a static filename. For the Flat File Connection, which is being used by the Flat File Destination, you can set the ConnectionString using Expressions, to set your file name with dates. ...Show All

  • SQL Server Using MDF database in the App_Data

    I've created a database in my App_Data folder in my solution. Now I want to put it in my internet space. How can I connect to that database I've found that all the connection string have Data Source=.\SQLEXPRESS. This meand that SQLServer Express need to be installed in the server, but isn't. I don't have access to the Server, can I still use this database How can I connect to that Tkn in advance Paulo Aboim Pinto Odivelas - Portugal You can replace . with teh actual name of the machine where SQL Express runs, e.g. if the machine's name was myServerBox it would be Data Source=myServerBox\SQLEXPRESS ...Show All

  • .NET Development SqlException: Timeout expired

    Hi, I have a problem with a function that retrieves data from a sql server database. The following code: For j = 1 To intRows Dim ctlTemp2 As HtmlInputCheckBox ctlTemp2 = FindControl("chk" & j) If ctlTemp2.Checked = True Then Dim ctlTemp1 As HtmlTableCell ctlTemp1 = FindControl("login" & j) strSQLExec = SaveBon(ctltemp1.InnerHtml) If strSQLExec <> "" Then cmdSQL.CommandText = strSQLExec Else trnSaveOpdrachten.Rollback() GoTo rollback End If cmdSQL.ExecuteNonQuery() End If Next j Calls the function SaveBon which returns a ...Show All

  • Visual Studio Team System How to manage several projects in one team foundation server

    Hi, I'de like to know if there are best practices or methodologies to guide us how to manage several projects (with no relations between them) on one team foundation server. Thant means: hardware, disk space, permissions for each project, administration and so on. Thanks, Michael We haven't published a lot of content in this area yet, but here are some general notes: Hardware - it depends on the demands you place on the server. Ten projects supporting 50 users on a server will likely place less demand on a server than five projects supporting 500 users. Disk space - it depends on factors such as the combin ...Show All

©2008 Software Development Network