I cant use AJEX .If any other option
Deepthy P M
Posts
-
i want to type in dropdown list -
i want to type in dropdown listi am using asp.net+vb.net. How can i type in dropdown list .That dropdownlist already filled with values from database. when i type 'a' in dropdownlist that dropdownlist filled with values starting with letter 'a'.How can this possible.If anyone know this pls help me
-
how to check retype passwordhow can i check the user copy/paste from one field to another
-
how to check retype passwordI am using asp.net +vb. On 'password chage' i am using two textboxes.One for 'type password' and another for 'retype password'.I want to check if the value in the 'retype password'cant be a copy from the 'type password' field.means the the admin can enter manually the value in the 'retype password'.Anyone know this pls fgive code to me.
-
i am using asp.net with VB.netI think u cant understand my probem. I wrote a code but whan i hosted in server it display server dynamic ip adddress.I need client ip address after hosting to web server.If u know the code pls
-
i am using asp.net with VB.netI used the following code to get the Ip address Dim compname As String Dim i As Integer Dim ip1 As String() compname = System.Net.Dns.GetHostName() Dim ipentry As New IPHostEntry ipentry = Dns.GetHostEntry(compname) Dim ip As IPAddress() ip = ipentry.AddressList For i = 0 To ip.Length - 1 MsgBox(ip(i).ToString()) Next But when i host page to server it display server ip address.I want the Client ip address.If anyone know the code pls tell me
-
i am using asp.net with vbCan i change the Ip address of a system
-
i am using asp.net with vbI tried it but i cant get the code in asp.net with vb.
-
i am using asp.net with vbHow can i get hard disk unique serial number.Can i change the Ip address of a system
-
i am using asp.net with vbI enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way. For entering i used textbox with multiline property.
-
i am using asp not asp.netin asp when i delete an image in folder it cannot deleted bcs ,When i upload an image in database, it save with extension .jpg and in folder it save with extension .JPEG. At the deletion time the database image not compact with folder image.that is why the image not deleted.i think so I want to save image in database with extension .JPEG. how can i do this.If any one know this pls tell me.I am new in asp
-
want to fransfer datas from sql server to exceli am using crystal report in this code.My program working properly but i want to display only print button in toolbar not other toolbar buttons. I also want to export this crystal report details in word. How can i do this.Pls help
-
want to fransfer datas from sql server to excelI am using asp.net+vb.net I want to export datas from sqlserver to excel.I wrote code for that.My it display in the internet explorer same page. I want to display in another page and want to set only print button for that page. The code i wrote is given below. ***************** Private Sub BindReport() If Session("Rep") Is Nothing Then Dim ConnInfo As New ConnectionInfo With ConnInfo .ServerName = "User1" .DatabaseName = "IMS" .UserID = "sa" .Password = "" End With Dim rep As New ReportDocument rep.Load(Server.MapPath("Crystalreport2.rpt")) Me.CrystalReportViewer1.ReportSource = rep Dim RepTbls As Tables = rep.Database.Tables For Each RepTbl As Table In RepTbls Dim RepTblLogonInfo As TableLogOnInfo = RepTbl.LogOnInfo RepTblLogonInfo.ConnectionInfo = ConnInfo RepTbl.ApplyLogOnInfo(RepTblLogonInfo) Next Session("Rep") = rep End If Me.CrystalReportViewer1.ReportSource = Session("Rep") Me.CrystalReportViewer1.DataBind() End Sub ************************** Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then BindReport() Me.CrystalReportViewer1.ShowFirstPage() End If end sub ****************************** Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click crReportDocument = New ReportDocument() crReportDocument.Load(Server.MapPath("crystalreport2.rpt")) Fname = "C:\exports\" & Session.SessionID.ToString & ".xls" crDiskFileDestinationOptions = New DiskFileDestinationOptions() crDiskFileDestinationOptions.DiskFileName = Fname crExportOptions = crReportDocument.ExportOptions With crExportOptions .DestinationOptions = crDiskFileDestinationOptions .ExportDestinationType = ExportDestinationType.DiskFile .ExportFormatType = ExportFormatType.PortableDocFormat End With crReportDocument.Export() Dim oStream As New MemoryStream oStream = crReportDocument.ExportToStream(ExportFormatType.Excel) oStream = crReportDocument.ExportToStream(ExportFormatType.Excel) report.ExportToStream(CrystalDecisions.Shared.ExportFor
-
How to print in asp.netI am using vb with asp.net.In my form i used two text boxes and a button.When i press a button the values in the text boxes saved in database.When i press print button i want to print all values in the data base.For this which control i want to use.Is crystal report is possible for this. :(
-
How can i add system colors with corresponding colorname in combo box using Vb.netI am using vb.net.I want to add system colors with color name in combo box.I can add system color name in combo box .The code is given below **************** Private Sub btGet_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btGet.Click Dim color As Color Dim i As Integer For Each color In System.ComponentModel.TypeDescriptor.GetConverter(GetType(Color)).GetStandardValues() i += 1 ComboBox1.Items.Add(color.ToKnownColor) Next Label1.Text = "Total Color Count: " & i ComboBox1.SelectedIndex = 0 Me.BackColor = color.FromKnownColor(ComboBox1.SelectedItem) End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Try Me.BackColor = Color.FromKnownColor(ComboBox1.SelectedItem) Catch ex As Exception Application.Exit() End Try End Sub **************** I want to add color also.How can i do this .If anyone know the code pls help me. :(
-
image combo in vb.netI want to display color with corresponding color name in combo box.In my program i used for this image list.In that i stored bmp images.But i want to display color name also.How i do that .My code is Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim items(Me.ImageList1.Images.Count - 1) As String For i As Int32 = 0 To Me.ImageList1.Images.Count - 1 items(i) = "Item " & i.ToString Next Me.ComboBox1.Items.AddRange(items) Me.ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList Me.ComboBox1.DrawMode = DrawMode.OwnerDrawVariable Me.ComboBox1.ItemHeight = Me.ImageList1.ImageSize.Height Me.ComboBox1.Width = Me.ImageList1.ImageSize.Width + 18 Me.ComboBox1.MaxDropDownItems = Me.ImageList1.Images.Count End Sub Private Sub ComboBox1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ComboBox1.DrawItem If e.Index <> -1 Then e.Graphics.DrawImage(Me.ImageList1.Images(e.Index), e.Bounds.Left, e.Bounds.Top) End If End Sub Private Sub ComboBox1_MeasureItem(ByVal sender As Object, ByVal e As System.Windows.Forms.MeasureItemEventArgs) Handles ComboBox1.MeasureItem e.ItemHeight = Me.ImageList1.ImageSize.Height e.ItemWidth = Me.ImageList1.ImageSize.Width End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Select Case (ComboBox1.SelectedIndex) Case 0 TextBox1.ForeColor = Color.Red Exit Select Case 1 TextBox1.ForeColor = Color.Yellow Exit Select End Select End Sub End Class When i add the following code in combobox1_Drawitem e.Graphics.DrawString(items(e.Index), Me.Font, Brushes.Black, e.Bounds) It is not working bcs when i set a color name in items(e.index))it is common to every image.How can i solve this problem. :(
-
Image ComboBox Control in VB.NETI cant get .In Imagelist i used bmp image to set that color.When i typed the code that u given.Its not worked.Pls help me
-
Image ComboBox Control in VB.NETI want to display color image with corresponding color name in combo box.I got to display color in combobox not corresponding color name. The code is Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim items(Me.ImageList1.Images.Count - 1) As String For i As Int32 = 0 To Me.ImageList1.Images.Count - 1 items(i) = "Item " & i.ToString Next Me.ComboBox1.Items.AddRange(items) Me.ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList Me.ComboBox1.DrawMode = DrawMode.OwnerDrawVariable Me.ComboBox1.ItemHeight = Me.ImageList1.ImageSize.Height Me.ComboBox1.Width = Me.ImageList1.ImageSize.Width + 18 Me.ComboBox1.MaxDropDownItems = Me.ImageList1.Images.Count End Sub Private Sub ComboBox1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ComboBox1.DrawItem If e.Index <> -1 Then e.Graphics.DrawImage(Me.ImageList1.Images(e.Index), e.Bounds.Left, e.Bounds.Top) End If End Sub Private Sub ComboBox1_MeasureItem(ByVal sender As Object, ByVal e As System.Windows.Forms.MeasureItemEventArgs) Handles ComboBox1.MeasureItem e.ItemHeight = Me.ImageList1.ImageSize.Height e.ItemWidth = Me.ImageList1.ImageSize.Width End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Select Case (ComboBox1.SelectedIndex) Case 0 TextBox1.ForeColor = Color.Red Exit Select Case 1 TextBox1.ForeColor = Color.Yellow Exit Select End Select End Sub :( How i display corresponding color name in that combo box.
-
i am using rich text box in vb.netI want to change the color of all text that i given in inutbox .But when i write code for that ,it chage the first maching word not all. My code is richtextbox1.selectionstart=richtextbox1.find(value) 'value contains the selected text richtextbox.selectioncolor=colordialog1.color I use inputbox for selecting that word .If the richtext box contains that word change the forecolor.But when i using the above code it chage only first selected maching word.
-
[Message Deleted][Message Deleted]