Search results for query: *

  • Users: pooya1072
  • Content: Threads
  • Order by date
  1. P

    Question how to ensure about sending multiple serial data from server to client

    My program is divided into two parts , a server and a client. when the client connects to the server , At this time, the server should send numbers 1 to 10 to the client. but only one or two first number is send. this is the variables : Dim pClient As TcpClient Dim Listener As TcpListener Dim...
  2. P

    Question change the border color of a label after running the program

    Hi friends There is two control in my form,a label and a button , i want when i click the button ,the color of label's border change. Thanks
  3. P

    Question problem with closing the dialog when passing DialogResult.Ok

    hi there is a button on my main form . when i click it ,my message form (dynamically is created and content a TableLayoutPanel with a label and a button "Ok") will display . the problem is : when i click "ok" button (for first time) nothing is happend . but for 2th time i click , then the...
  4. P

    Question exe file created with visual studio 2008 stop working in windows 10

    hi I created a program (named acounting) with visual studio 2008 and then I created a setup file (my pc's OS is windows 7 ultimate service pack 1) .this setup file is work on main computer perfectly , but if I install this setup on the other pc (os is windows 10 home) after installation , when...
  5. P

    Question changing the value of a calumn in a DataTable with expression

    Hi friends Is there any way (something like event) to find out changing the value of a column that expression property set for it.
  6. P

    Question unable to update DataTable when AllowUserToAddRows property is false

    Hi There is a DataGridView in my form with a DataTable as a DataSource . This DataTable is linked to a DataBase. I set the AllowUserToAddRows property to false , so when I run the program there is no any row in dgv . I use the code below to add new row : MyDataTable.Rows.Add() So a new row add...
  7. P

    Question form's titlebar changes in right to left language

    hi in my program i set this changes for MainForm(because of general operating program language) RightToLeft=Yes RightToLeftLayout=True the main part of form is ok , but (as you know) with this setting ,in the title bar the position of formText and control box is changed.this is my unwanted...
  8. P

    Question create a control (like textbox or button) with different base

    hi in right to left Languages we must align controls from right in a form . (Specially , the problem appear in dynamic control creating) . generally , controls put on form from its base (left corner of control) . is there a way to create a control with right corner base?
  9. P

    Question List all math function (include in math class) in a listbox or combobox

    hi how can i list all math functions that are collected in math class into a listbox or combobox?
  10. P

    Question problem in set focus on a dynamic textbox

    hi friends i have 2 form on my project.in the secend form has this controls : 1- 5 textbox that add to form at runtime (TextBox(1) , TextBox(2) , .... ) 2- 2 button that add at design time (Button1 and Button2) i set button1 as AcceptButton property for the form. now i want each time the form...
  11. P

    Question problem with save message on Exit from excel

    hi friends sorry if this is a wrong forum. i create a program that open an excel file and i can programatically edit that. after editing , when i want to exit from excel , a message appear about existing a file with this name and choice replacing or not.how can i prevent appearing this message.
  12. P

    Question use 5 datatable from a dataset in an expression of a datatable

    hi there is 6 datatable in a dataset . i want to add 5 datatable's column' values in an expression of sixth datatable.i know how can i use one datatable ... but 5 datatable ... i dont how. please guide me.
  13. P

    Question question about relation and expression in dataset

    hi i have a dataset with10 datatable . can i specify an expression for a datatable that refer to columns of all other 9 tables. i know that first i must define relation between tables.but i dont know which model of relation. please help me about it.
  14. P

    Question how can add a column's value to use in an expression of another datatable's column

    hi i use 3 datatable in my form named DT1 , DT2 and DT3 than each datatable has one column named "Value1" , "Value2" and "Value3" i want to use values of columns from DT2 and DT3 to use in expression of DT1 columns. please look at the examples : i want a thing like this ...
  15. P

    Question Get CellValueChanged event by changing dataSource

    hi i have a datagridview on my form that bind to a datatable . is it possible to get CellValueChanged event by changing DataTable's values ? for some reasons i must change the dataTable's value instead of datagridview and i want get datagridview's CellValueChanged event thanks
  16. P

    Question problem with DataTable.GetChanges function

    hi friends i have a datagridview in my form . it has a datatable as a datasource named "dt". after any changes : if i put getChanges function in a button click event getchanges function return nothing but in the formClosing event it return any change as a datatable look this commands : Private...
  17. P

    Question a button ready to get EnterKey

    hi i have 5 Textbox and one button on my form . i want this button always ready to get enter key , even when one of the TextBoxes has the focus .
  18. P

    Question get somthing like alias from a sql database column

    hi i have a datagridview in my form that get data from a sql database through a datatable . in database tables has a name that it use as datatable's column headerName.but i want to named column headerNames by a different name like alias of each column of sql table . but i dont know how can get...
  19. P

    Question Add anew column to a database table with specific conditions

    hi i want to add a new column through a vb app with this conditions : 1- it get only float numbers 2- not null 3- it has a default value = 0 4-it has no constraint what is the commandText ? thanks
  20. P

    Question problem with negative numbers in datagridview when RightToLeft=True

    hi in my program there is a datagridview.i set its RightToLeft property to TRUE . so when i input a negative number in the cells the negative sign is shown in the end of the number.for example : i input -123 ----> shown : 123- what can i do for fix this problem whereas RightToLeft = TRUE
Back
Top