references on solution explorer's Q&A profile
Windows Forms Change the image of a DatagridviewImagecolumn for a specified cell
First, I don't speak english. Sorry. I want to change the image of a DatagridviewImagecolumn column. First I check all the cells of DATA column and depend of this value I want to put an image into the current cell in the IMAGE column. IMAGE DATA(DatagridviewdataTextBoxColumn) image1 1 image2 2 image1 1 image3 3 image1 1 I have read that this its control with CellFormatting event, but I don't know how. I try it with this into the ...Show All
Visual Studio Team System Beta 3 Setup Error: Windows SharePoint Services is not configured as recommended by Team Foundation Server
I am trying to install Team Foundation Server Beta 3 as single server installation and installed all required software components. However, during the installation, it gives me "Windows SharePoint Services is not configured as recommended by Team Foundation Server" error under "Recommened Components" dialog box. I exactly have followed an instruction specified in setup guide for Team Foundation Server Beta 3 for SharePoint services installation. Could anybody tell me what the problem is Thanks in advance. Eric Read the installation guide. "When the installation is complete, a Web browser window opens and dis ...Show All
Windows Forms Changing ip address
Is there a way i can change the machine's ip address with vb .net Well since I couldn't figure out a way to do it I figured I would just edit the registry directly. Well here's my code.. Module Module1 Sub Main() Dim regkey As RegistryKey Dim strServiceName As String &nbs ...Show All
Visual C# How do I multiply a number by pi
Hey, I'm currently programming a calculator application and I have found myself stuck on multiplying a number by the mathmatical value of PI. The number shall be inputted in to a textbox1 and the result shall be shown in textbox2. Does anyone have a solution to this All replys are appreciated regards Liam Thanks, I'm not that experianced would you mind putting it in example for me. As I am not aware of how to use this sorry if this sounds a little lame. regards Liam ...Show All
Visual Basic Exception handling doesn't catch errors
I seem to be missing a fundamental point regarding exception handling. My understanding is that when an error occurs, it can be caught by Catch without abnormally terminating the program. Mine will always abnormally terminate when an error occurs. An example is below. When the connection fails to open, the application breaks instead of executing the Catch block. Why Try cnSQL.Open() xMainMenu.ShowDialog() Me .Close() cnSQL.Close() Catch exc As Exception MessageBox.Show("Error Connecting to Database: " & exc.Message) intLoginAttempts += 1 MsgBox("Login Failed, " & maxLoginAttempts - int ...Show All
.NET Development how retrieve from database??
i was trying to connect MSSQL 2005 but it was failed! how i able find my uid and pwd in the MSSQL2005 the error was showing to me my uid got problem Do anyone have a exactly coding to connect database (first of all i already connect my databse by using VS2005 ) A little more information would be useful here. What is the error and call stack you see for the failure You are asking how to find the uid and pwd, but you also mention that you already connected using VS 2005 (in the Server Explorer, I assume ) so I guess you have the credentials you need to connect. The ConnectionString property documentation has ...Show All
Windows Forms No real world ClickOnce samples out there?
Maybe it's related to license restrictions for a beta product, but... ...I'm able to see zillions of working Ajax applications over the net but not one real working sample of a ClickOnce smart client application! I do have framework 2.0 on my system. Is there any other missing component to effectively try the technology All I see are zip files to be tried in Visual Studio 2005: that's not what I want. I just need to test the process of an actual working application made in C# or VB.NET as if I was a normal client... Someone here has an answer Alright! Well, if anyone's interested: http://www.madprop ...Show All
Smart Device Development How to use the eVC Upgrade Wizard ?
Is there any information regarding how to use the "eMbedded Visual C++ Upgrade Wizard for Visual Studio 2005 Beta 2" http://www.microsoft.com/downloads/details.aspx FamilyID=77ffddbf-b215-4d96-94dd-6ae9b7bb53d2&displaylang=en I have installed it, but then what should I do I cannot see this wizard in Visual Studio 2005. How do I start it Any pointer would be welcome! In order for the eVC upgrade wizard to add your platform to the VS2005 upgraded project, your platform must be installed and available to the VC project system. There were a couple of bugs in the Beta2 upgrade wizard where it would ...Show All
Windows Forms UserControlTestContainer error
Project builds fine, but I get this error as soon as I run: "Assembly 'C:\\Documents and Settings\\sdemyon\\Desktop\\Max\\IMax.Max.BaseTier\\obj\\Debug\\BaseTier.dll' doesn't contain any UserControl types." Program runs fine when the exe is run from the bin/release folders, but not from within the IDE. Any Ideas Thanks, Scott Thanks a lot for the solution. I had 2 class libraries and 1 windows application in a solution. And as soon as I set the windows application as the start up project the problem went away. Many Thanks & Have a Happy Day Regards, Tejas. ...Show All
Windows Forms Path
I have the following code: Option Strict Off Option Explicit On Friend Class clsMain Public Function OpenConnect() As ADODB.Connection Dim com As Object com = New ADODB.Command Dim dbPath As String 'dbPath = VB6.GetPath & "\" & "ss.mdb" &nbs ...Show All
Visual Studio Express Editions Wish to use text box to only allow numeric Data entry
I am creating a windows form with VB expressions How to I allow only text to be input into text box How do I allow only numeric data entered into textbox How do I place a "zero" in the textbox if there is no value for the user to input How do I allow for Currency How do I place "," seperators and "$" i.e $ 1,123,123.00 eg. Code: 'this is to create liabilites calculator Dim mort. as double =textbox1.text Dim Credit as double =textbox2.text Dim Total as Double =Textbox3.text Total = Mort + Credit If i debug and do not place values in the box I get error. So I need to Have & ...Show All
Visual Basic How can I do crystal report with dosmode(textmode) printout?
How can I do crystal report with dosmode(textmode) printout I have been using a dotmatrix printer. This printer works on windows operating systems. My application uses crystal report for my reports so this printer prints slowly and loudly. I want to print on dosmode. Hi, Just change your fonts into draft fonts. Be sure to set the default printer to the dot matrix so that you can see your fonts... cheers, Paul June A. Domag ...Show All
.NET Development Answer found
xsd files create typed datasets in C# Express 2005. All I need do is add it to the project. But in VS 2003 adding it to the project does nothing. I've tried several other xsd files and none of them seems to create typed datasets in VS 2003 the same way they do in C# Express. Any suggestions please Patrick The code is simple. I add dsMotd.xsd to the project and can type: dsMotd tds = new dsMotd(); In VS 2003 I can't do that. The file reads as follows if that helps... < xml version="1.0" standalone="yes" > <xs:schema id="dsMotd" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microso ...Show All
Visual Studio Express Editions Data binding to SQLEXPRESS
Hi Peeps :o) I am a verteran Access/VB/SQL guy who is at last making the jump to dotNet. I have decided to create my next project using VB Express 2005 which is a great tool. I totally love the data binding but have come up against a limitation which i hope is just me being newby :o) I understand the relationship of the data controls and can happily build data entry forms, display lists, populate combos and lists which is all wonderfully easy. There are a couple of things that i need help with if anyone could be so kind. 1. I can only connect to a local *.mdf file and not SQLEXPRESS itself - this is a major problem as my project ...Show All
Visual Studio Express Editions Disable (or Override) Javascript in WebBrowser control
I'm trying to disable javascript code in a webBrowser control. I searched for a long time on search engines and I couldn't find the answer. To be specific, I'm trying to stop a certain portion of javascript on a webpage that forces a redirection. I would like to do this without having to change any settings to Internet Explorer. This is quite urgent so any help is greatly appreciated :) I am trying tht myself. I got the registry entry which gets modified on User's computer. To be exact the entry is HKU/S-1-5-21-1645522239-413027322-1801674531-3772\Software\Microsoft\Windows\CurrentVersion\Inter ...Show All
