516 Posted Topics
Re: you can show the browser in vb.net form but not sure .net form on browser.. What is the need to show form on browser? may be you can get something [URL="http://www.codeproject.com/KB/WPF/Winform-To-WPF.aspx?display=Print"]here[/URL] | |
Re: Usually Module should contain the method or functions which can be used in all the forms of projects. Example: Error handler code, database connections etc.. | |
Re: What is the issue or problem with above code? i mean whats not hapening? EDIT: have you declared txtmemo as textbox? and what is MsgBox(txtMo)? txtmemo.name? txtmemo.text? | |
Re: web application? are you using any third party control for captcha? | |
Hi All, I have webservice im having webmethod in that which returns Boolean value. Its retruning the correct output value only when the connection is pointing to localhost. Can any one please guide me? Thanks | |
Hi All, I have webservice which i having webmethod which returns boolean value. Its retruning the correct output value only when the connection is pointing to localhost. Can any one please guide me? Thanks | |
Re: you want evertying ready? What is ur idea behind the project? Do you have any forms and controls on which ur going to show the data? | |
Re: use string.Contains method... | |
Re: Why cant u set the MAXLength propery of textbox to 10? | |
Re: Please check ur join condition and pass more info on Query | |
Re: For that you need to bind ur listview with datasource, and in textchanged event of search textbox sort the datasource using dataview and again bind it to listview. | |
Re: Have you added the picture box to panel or groupbox? ![]() | |
Re: What is the data type of strId and strId2 and why r u doing CInt(10) - 1 and CInt(4) - 1 As 10 and 4 are integer only. you need not to convert explicitly. you can directly give 0 to 9 and 0 to 3 in which line ur getting … | |
Re: In get values of array you need to see if any extra white space which doesnt have any value. | |
Re: You are making the bindingSource1.DataSource = Nothing but not assigning to grid as source so the items are repeating. Either make the datasorce nothing and bind again, or clear the rows of grid before binding. | |
Re: Why can you join the 2 tables and get the result set and bind to grid? | |
Re: Before executing the Query i.e. cmd.ExecuteNonQuery() Get the commandstring i.e:strsql and paste it on ur SQL server and see whether the statement is formated properly or not. | |
Re: When u click on delete button bind the second grid also with same dataset as firstform [CODE] If dr.HasRows Then While dr.Read DGVStudRecord.Rows.Add(dr(0), dr(1), dr(2), dr(3), dr(4), dr(5)) form2.grid.rows.add(dr(0), dr(1), dr(2), dr(3), dr(4), dr(5)) End While End If [/CODE] | |
Re: Set the font you want in the prorties of control at design time. I just checked in VS2005 it worked for me. | |
Re: Addrange method expects the array to be passed. Get all ur items in Array wich u want to add to combo. And pass the array in AddRange method... [CODE] Dim days() As String = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"} ComboBox1.Items.AddRange(days) [/CODE] | |
Re: Can you post some of ur code? Which database are u using? is Framework installed on the system where ur getting this error? | |
Re: [CODE] Dim pinnum As String = "1234" Dim pinentered As String = TextBox1.Text If pinentered = StrReverse(pinnum) Then MessageBox.Show("Please eneter the pin properly") ElseIf pinentered = pinnum Then MessageBox.Show("Correct pin") End If [/CODE] You need to get the pin u want to compare with into varioable pinnum here i took … | |
Re: What is your code to bind the records to grid? | |
Re: [CODE] Try Dim cn As SqlConnection Dim strCnn As String = "Your data base connection string" cn = New SqlConnection(strCnn) cn.Open() Dim comm As New SqlCommand("Your sp or Command text to get the data from DB", cn) '' If ur using Sp then Commandtype= CommandType.StoredProcedure if 'is Text then comm.CommandType=CommandType.Text … | |
Re: You want to use this function in all the forms? or in just one form? If all Create function in Module with Public member like Public Function auto_generate_id() as Integer ' After your code retrnuj the value Return J End function ![]() | |
Re: Yes you can save the content of file into database. And you can read the content back and display on controls.. Which data base are you using? | |
Re: You mean to say User should be givin msgbox if he tries to add existing item? Are you showing the items on ur front end? you can use two aproaches here 1)If you are showing the items on listbox or grid just validate the new entry with these if exisit … | |
Re: Explain what you want clearly... Can someone please show me how to show my paypal balance in a textbox what we need to understand from this? | |
Re: If you have got the sollution then plz mark the thread as solved. | |
Re: open VS 2005 go to File->New->Project Select Windows. from templates select windows form application. and start designing ur project.. :) | |
Re: Then try to set the datasource as nothing. Make the datasoruce of Listbox=nothing | |
Re: Get all the lable names into list and compare with Database list. | |
Re: What will be selected text ur getting when only one item in textbox? Just take that value and try to run on database check to see if there are records for it. | |
Re: Whats your code? do u have writen any code? do you know how to recognise the paragraphs? | |
Re: Why cant u try Richtextbox with Scrollbars? | |
Re: Ur not using the join in proper way. Do u have Any relation between the two tables? Primary key and foreign key constraints? | |
Re: Hi, Try something like this [CODE] Dim x As Integer Dim stri As String Dim int As Integer Dim str As Integer Dim spe As Integer stri = TextBox1.Text For x = 0 To stri.Length - 1 If IsNumeric(stri.Substring(x, 1)) = True Then int += 1 ElseIf IsNumeric(stri.Substring(x, 1)) = … | |
| |
Re: Do you use any data base for your project? If yes then why cant you do it at the backend? | |
Re: What you mean by reseting form and its controls? Pass more info on what u need exactly. | |
Re: Have you set the timer.enabled=true? what is the time interval u have given ? | |
Re: Get the value into variable of type date and do date-1 using date functions. | |
Re: Why cant you try Math.round function as suggested by debasis? | |
Re: I think you have posted in wrong forum. please post this thread in C++ forum there are guys who can help you. | |
Re: Is your script is giving any result? i could see where condition is missing in script. you want recent date only from table 2 ? what is the relation between table1 and table 2? | |
Re: Glad that you solved the problem on your own. please mark the thread as solved. | |
Re: Yes cmd.ExecuteNonQuery(); is missing. Why cant you write SP for this? and just pass the parameters? |
The End.