516 Posted Topics
Re: you want some application has to run at perticular time? You can write windows service for it and set the timings when to execute.. | |
Re: Why u want to show admin username/Password its aleready provided by OS right?.. | |
Re: Yes write it in modlue level. so that all the methods in all the form can use it.. Log the Stracktrace in textfile so that developer will come to know where the error is.. I heard using try catch finally block everywhere is expensive... so do some R&D on try … | |
Re: What exactly you want? write what u want dont just say plzzz reply and all | |
Re: Using the joins Get one resultset and fill your adapter with that resultset. | |
Re: Are you using the data base to store Employee details? IF yes which database ur using? in radio button changed event write code to query ur database to filter the records and show it wherever you want to. | |
Re: Getting any error message? before doing cmd.executeNonQuery get the sql statement and try to run in sql server so you will come to know any syntax error or somethng. | |
Re: I have a question for you.. Why your assigning the text1.text=rs!Description in loop? you want to use the vb6 syntax or pure vb.net code? why cant u assign dataset to combobox with datasorce property and set value meber and display member property of combo? | |
Re: In mouse click event of textbox1... till textbox10 do [CODE] Dim strName as string=string.emty strName=textbox1.name [/CODE] | |
Re: Can you please explain your problem? you mean to say you want to search in database for perticular records? | |
Re: Use the instance method of the object(form) to check one instance is already running.. | |
Re: Hi, You can write Public get set property for that NUM and access | |
Re: you can fetch all the records in form load in background thread. in click just filter out the records and show to the user, dont fecth from DB all the time. | |
Hi all, can anyone tell me how to write the .net code for vb6.setitemdata for combobox or listbox item? | |
Re: Set your Log in form as startup form in project proerty. Add the logic to authenticate the user. If user is authenticated user then hide the login form and show up ur MDI main form. in form_close event of MDI close ur hidden form also.. | |
Re: In search create table and add the records to new table and then assign that new table to grid as source. | |
Re: Hi read the following links, [url]http://www.codedigest.com/CodeDigest/146-Programmatically-refresh-an-aspx-page-from-CodeBehind-using-C--and-ASP-Net.aspx[/url] [url]http://www.knowdotnet.com/articles/asppagerefresh.html[/url] you myt get some idea.. I am not good in web applications..:( | |
Re: how ur opening MS word in ur application? ru using Shell command? get the clip board text to variable and in MS word record the macro and paste ur content. Macro will write code in vb you may get some idea... | |
Re: Why you want to create? when create new project all those files will be created by VS only.. | |
Re: Please explain your requirement clearly.. | |
Re: Please check the framework version in windows 7 and if you develoveped application in 32 bit processor and running it in 64 bit processor can also cause the problem. please check all those things | |
Re: Hi, Try to get the strsql before you perform retvalue = myCommand.ExecuteNonQuery() and try to execute that in sql server, so you will come to know if any syntax error or something. | |
Re: You can write the stored procedure in ur sql server and using ADO.NET objects you can query and get the information, or else in your code only you can write the query. you need code or just an idea?:) | |
Re: Why cant you try Crystal reports to generate the reports? | |
Re: [CODE] Public Class Form1 Private Sub RichTextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles RichTextBox1.KeyPress RichTextBox1.Text = RichTextBox1.Text & " Not available " RichTextBox1.Select(RichTextBox1.Text.Length, 0) End Sub End Class [/CODE] | |
Re: which DB you are using? check your update statement. In sql it is like update Tablename set columnname=yourvalue where condition | |
Re: Just concatinate vbcrlf where ever u want to go for new line | |
Re: [CODE] For i As Integer = 0 To ListBox1.Items.Count-1 ListBox1.SelectedIndex = i Next [/CODE] | |
Re: Clear the datatable after adding the row using dt.Clear() method | |
Re: [CODE] Dim strS As String() = Nothing Dim actaulstring As String = "" strS = RichTextBox1.Text.Split("=") actaulstring = strS.GetValue(1) strS = actaulstring.Split(">") actaulstring = strS(0) TextBox2.Text = actaulstring [/CODE] | |
Re: do you enabled Scrollbars for the grid? | |
Re: Use data adapter and dataset objects and fill dataset with records and then Datagridview.datasource=dataset.table("Tablename"). What if user wants to search only on first name or only on last name? If eaither of textbox are emty will ur sql statement gives u record? | |
Re: Hi Steve, Try doing indexing on ur tables it may help you. | |
Re: What you mean by? you want to take first charecter from each words? | |
Re: Using Query ony u want to it? cant u use import export wizard to do that? | |
Re: Check with autocomplete and autofill property of textbox. get ur data to Customem list as set the property.. | |
Re: Is Product Id is primary key? if yes then have that key as forein key in Sell product table. When item is added to Register product table add the product key and other valu in Sell product table. join the two atbles and get the records and load to ur … | |
Re: Can you please explain in detail..? | |
Re: one way i can think of is loading the xml to dataset using dataset.readxml and searching is easy in Dataset. | |
Re: Use dataview object and filter the dataview object based on the selected value in combobox and assign that value to textbox. | |
Re: Why are you doing selectedindex.tostring()??? its selecteditem.tostring() | |
Re: you want to write your database code on client side or is it ok to write on server side code? | |
Re: can you please try to check for null value before taking the length something like [CODE] If isnull(sheetContent.Range("A" & exRow).Value2.ToString.Length) [/CODE] | |
Re: Same thread in this forum only.. u may get some idea [url]http://www.daniweb.com/forums/thread347138.html[/url] | |
Re: Isntall your Sql Server on one Server. which is avialble over the network. how ur installing the application at client end? | |
Re: Ok. Congrats... but why u open the new thread for this? to just to tell all that u created notepad in vb.net? | |
Re: [CODE] Private Function ValidateEmail(ByVal EmailAddress As String) As Boolean Try If EmailAddress.Trim.Length = 0 Then MsgBox("Please enter the email Address") Return False End If Dim pattern As String = "^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$" Dim emailAddressMatch As Match = Regex.Match(EmailAddress, pattern) If emailAddressMatch.Success Then Return True Else MsgBox("Please enter the valid email address") Return … | |
Re: Deploy ur webservice on server, goto add reference in ur VS add the web reference to ur project and then instaniate the webservice object then you can access the web method. | |
Re: In database the datatype is Datetime and ur passing String from Front end so its causing the error. Either make the datatype as varchar in DB or pass the date from front end |
The End.