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...
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...
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...
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...
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...
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?
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...
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.
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.
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.
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 ...
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
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...
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...
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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.