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

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

nishanttheone

Member List

Majid.vagheeian
Joe Rattz
Brad Leach
sorcer1
NBA
Sekar1979
tkroll
Marc Lacoursiere
jeopardy
Residual Logic Games
Koalakk
mr_superlove
Alexander N Mikhaylyukov
chiraj
akdpr
Han Qiao
mix600
xlordt
nathan phillips
jam281
Only Title

nishanttheone's Q&A profile

  • Windows Forms Problem with value DataGridViewComboBoxCell

    In VB 2005 Express I have a problem, which completely do not understand. I use a DataGridViewComboBox in a DataGridView. When I change data and save it, I have no problem. But when I close the form I a repeting error, being: System.ArgumentException: DataGridViewComboBoxCell value is not valid. Can anybody help Thanks in advance, Simon Thanks for the suggestion. I have solved it by deleting the DGV and created a new one, with the same combobox. Since then I didn't have the issue anymore. ...Show All

  • Visual Studio No grouping in a matrix

    How can you make your matrix not group the information like below. Bob has 3 entries and so does jen but bob and jen are not listed with their apropriate rows so when this is imported into excel it is not helpful. I know that the latter, of what i want, looks like a table and i will probably be told to use a table, but i need the power of the matrix to get the results I need. Looks like Name Number Letters bob 1 abc 2 asda 3 asda jen 3 wewe 2 qwewqe 1 qwewqe What I want it to look like Name Number Letters bob 1 abc bob 2 asda bob 3 as ...Show All

  • Visual Basic ping IP/host

    hey i have now somewhat succesfully made an ip-tracker. how do i make it able to "ping" an IP og host sa it will send out 4 packets or something and then count how many returns you know what i mean im sure. and is it possible to get a "whois" thing build in to it im using Visual Basic xpress 2005. //Martin No The process is purely a call to an external process.   You cant update a progress bar from here.   This will result in the window not showing.       Public Shared Function RunExecutable(ByVal ExecutableName As String, ByVal args As String) As String         Dim p As Diagnostics.Process = New Diagnostics ...Show All

  • Visual Studio Express Editions How To Add 3rd Party Control To My Project

    Adding a 3rd party control to a VB6 application was pretty easy. But I'm missing something in VB 2005 Express. What are the steps to add a 3rd party grid that I've downloaded and installed Thanks, gs From the Project Menu select  "Add Reference" The you have the option of adding a .NET reference, COM reference, Project Reference, and even browsing for the reference....find the 3rd party control and make the reference Then in order to get the control to show up in your tool box ...you may have to right click on the tool box and click "Choose Items..."   Sorry SJ...didn't mean to post on top of you...timing issue ...Show All

  • Windows Forms Binding text box fields to combo box selected value

    I have a small C# windows application with few text boxes and a combo box. I need to bind text fields to the value selected in the combo box, it works fine for the first selection but when I try to select another another item during the same session it gives me an error: "This causes two bindings in the collection to bind to the same property. Parameter name binding" . I think I need to bind the text boxes to may be the selected index change event of the combo box, but I am unable to implement that correctly. private void cmbEmployeeList_SelectedIndexChanged( object sender, EventArgs e) { txtFirstName.DataBindings.Add( "Text" , objDSEmpTrkSys, "EmployeeInformation.FIRSTNAME" ); txtLastNa ...Show All

  • Windows Forms how to know the size of a form when the user click the maximize button and the form is maximized

    Hello everyone, I would like to know which event to use for knowing the size of the form when the maximized button is pushed and the form is maximized. Event resized is not invoked, and i do not find another event. Thanks. the event resize can be fired by using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace CS { public partial class maxsize : Form { public maxsize() { InitializeComponent(); } protected override void OnResize( EventArgs e) { if (WindowState == FormWindowState .Maximized) ...Show All

  • Visual Studio ReportViewer with BindingSource, table help

    Can anyone help me with this report. I can bind the datatable with a datagridview and I see data, however when I try and see it in the viewer I see no data, only a formatted report. Thanks. Dim params() As ReportParameter = New ReportParameter(1) {} params(0) = New ReportParameter( "YearIn" , "2006" , Visible) params(1) = New ReportParameter( "WeekIn" , "23" , Visible) ReportViewer1.LocalReport.SetParameters(params) Dim rds As ReportDataSource = New ReportDataSource Dim mystr As String=...... Dim mycon As SqlConnection = New SqlConnection(mystr) Dim mycmd As SqlCommand = New SqlCommand( "spsWeeklySalesReport" , mycon) mycmd. ...Show All

  • Visual FoxPro SELECT .... INTO TABLE <existing table>

    G_TempDBF = "C:\scratch\" + SUBSTR(SYS(2015), 3) + ".DBF" SELECT field1, field2 FROM myTable INTO TABLE (G_TempDBF) USE (G_TempDBF) ALIAS CUSTOMER INDEX ON field1 TAG field1 I have created a temporary table, stores the retrieved records into it and alias it CUSTOMER How can i reuse this temporary table for other SELECT statements SELECT field3, field4 FROM myTable INTO CURSOR CUSTOMER ---> results in an error saying Alias CUSTOMER has been used. Hi Cetin Interesting little demonstration and I agree with your conclusion that it does look very much like the first creeation of a cursor is limited to the VFP session. Actually that would seem reaonable, ...Show All

  • Visual Basic How to insert data (probably simple question)

    I am quite newbie and I have one, probably simple question. I try to insert data into my database (SQL Server 2005) with this code (VS .NET 2003): Friend Sub Datainsert(ByVal Name As String, ByVal Surname As String, ByVal DateOfGame As Date) Dim ConnectMe As New Odbc.OdbcConnection ConnectMe.ConnectionString = "Driver={SQL Native Client};Server=localhost;Database=ProjektKoncowy;Trusted_Connection=yes;" Dim Writeit As New Odbc.OdbcCommand("INSERT INTO ProjektKoncowy.dbo.Wyniki (Name, Surname, Points, Status, DateOfGame, KindOfGame, Autor) VALUES (Name, Surname , ' 3 ', ' 1 ', DateOfGame ,' 4 ','John Smith')", ConnectMe) Writeit.Connection.Open() Writeit.ExecuteNonQuery() ConnectMe.Close() End Su ...Show All

  • Visual C# "error CS2011 : Error openin response file..." ??

    Why do i always get this error message whenever i try to debug or compile something : "error CS2011 : Error openin response file 'c:\Documents ' -- ' the system cannot find the file specified " this is after i uninstalled and reinstalled the compiler. Is there a way to remedy it but i've tried saving else where and the same error keep surfacing anyway so where do i put the double-quotes I'm kinda new to all this. ...Show All

  • Software Development for Windows Vista performance suddenly slowed!

    I am running WF under Vista. Everthing was fine until I reinstalled VS2005 to get access to SQL express.Now when I create a workflow (eg code below) the system pauses for about 1 minute workflowInstance = workflowRuntime.CreateWorkflow( GetType (Workflow1)) Then, everything starts back up again, running fine. Any ideas BTW I installed the SQL Server Management Studio express as well... Thanks Given what you have just installed plese share the WF Runtime Services that you are using in this program. It may be that you have a DB connection string which has issues or a poor use of the DTC. Try using SQL Profiler to identify where the delay is if it is occuring in a runtime service that uses SQL Server. Regar ...Show All

  • Microsoft ISV Community Center Forums Excel Chart: How to change chart data source formula when object "Series.Formula" is too short?

    How to change chart data source when Formula object is too short I know that: I can assign data source 1) Series.Values=Range(...) - suitable 2) Chart.SetSourceData souce:=range(...)... - suitable 3) Series.Formula/FormulaLocal="" - not suitable because string is too short I can read data source 1) x = Series.Formula/FormulaLocal - not suitable because string is too short The question is: How to read data source not using Formula object Greg - You need to set up dynamic ranges, which in turn are used as the chart series' data source: http://peltiertech.com/Excel/Charts/Dynamics.html - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Sol ...Show All

  • Visual C# Convert String to DateTime Object

    Hi All I am new to this forum... I am storing string "21-07-2006" (21 July 2006) in a string variable and want to store this value in a DateTime Object. As it takes value in format #MM-dd-yyyy# i have to convert this value into this format. I have tried this string Objdate = "21-07-2006"; Response.Write(Convert.ToDateTime(Objdate ).ToString("mm-dd-yyyy").ToString()); But It generate Errors "String is not n correct date time format" ...something..2 Pls help Sachin Try this... string strDate = "21-07-2006"; DateTimeFormatInfo dtfi = new DateTimeFormatInfo(); dtfi.ShortDatePattern = "dd-MM-yyyy"; dtfi.Date ...Show All

  • Software Development for Windows Vista Installing Desktop Icons & The Works With Windows Vista Logo

    The Designed for Microsoft Windows XP Application Specification listed the following guideline in the Future Requirements section: F1.1 Install shortcuts correctly · Do not place shortcuts on the Desktop except by request of the user. If an option to add such a shortcut is offered to the user, then this should not be checked by default. Automatic installs should not place any shortcuts on the Desktop. This was listed as a guideline only and not required to comply with the "Designed for Microsoft Windows XP" logo. Do you know if this guideline has been adopted as a requirement and is now necessary to obtain the "Works with Windows Vista" logo Thanks! Hello ...Show All

  • Visual Studio IIS question.

    I got Visual Studion 2005 from MS last year but didn't have a computer to load it on till now. I installed it on the weekend. I was surprised there were no installation instructions, not even on the CD, except for a long list of things that could go wrong. I managed to install with no problems but when it was finished there was a cryptic message about registering ASP.Net with IIS if IIS wasn't already installed. I didn't have IIS installed. I seem to remember with 2002 and 2003 there were detailed installation instructions that included steps to install IIS and FPE. Can I find those instructions for 2005 Or are there separate instructions for installing IIS (and FPE) and then retrofitting this into my VS install I have XP Pro with SP ...Show All

©2008 Software Development Network