Thanks for the reply.
Kirthi
Thanks for the reply.
Kirthi
Thanks for the reply.
Kirthi
Thanks for the reply. The below code which i pasted it is showing my local computer list (web page hosted) So i tried to get remote location but not working.
Kirthi
Hi All, I am trying to list installed programs in client machine using ASP.NET But it showing only server programs not client This code working on VB.NET (.exe) I want to develop a web page Kindly guide. Code : Dim Software As String = Nothing ''The registry key: Dim SoftwareKey As String = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey) 'Let's go through the registry keys and get the info we need: For Each skName As String In rk.GetSubKeyNames() Using sk As RegistryKey = rk.OpenSubKey(skName) Try 'If the key has value, continue, if not, skip it: If Not (sk.GetValue("DisplayName") Is Nothing) Then 'Is the install location known? If sk.GetValue("InstallLocation") Is Nothing Then Software += sk.GetValue("DisplayName") & " - Install path not known" & vbLf Else 'Nope, not here. Software += (sk.GetValue("DisplayName") & " - ") + sk.GetValue("InstallLocation") & vbLf Label1.Text = Software 'Yes, here it is... End If End If Catch ex As Exception End Try End Using Next End Using
Kirthi
Thx for reply I want to list folder items (Listing folder items(images) in datagrid) But i want show (newly added first or only newly added items in the folder and display in datagrid) I am trying this code Dim objFSO, objFile, objFolder objFSO = Server.CreateObject("Scripting.FileSystemObject") objFolder = objFSO.GetFolder(Server.MapPath("~/big/")) For Each objFile In objFolder.Files Response.Write(objFile.Name & " : ") Response.Write(objFile.DateLastModified & "<br>") Next objFolder = Nothing objFSO = Nothing Thank you
Kirthi
Hi everyone, I am working with Asp.net 1.1 I want to list folder items (newly add first or only newly add items only (display in datagrid)) sorting i am trying this code Dim objFSO, objFile, objFolder objFSO = Server.CreateObject("Scripting.FileSystemObject") objFolder = objFSO.GetFolder(Server.MapPath("~/big/")) For Each objFile In objFolder.Files Response.Write(objFile.Name & " : ") Response.Write(objFile.DateLastModified & "<br>") Next objFolder = Nothing objFSO = Nothing please can any one help me on this script or any other Thanks
Kirthi
hi ya i know the error but just i am conforming is there any other way is there to store like acces (memo field) thank you
Kirthi
Hi thank you for reply but i want to put the table field length greater that 10,000 because my data is more to store thank you
Kirthi
Hi all I am using SQL 2000 ver. How can i store large text data in my table field . What are the field propertys i have to use Thank you
Kirthi
modified on Thursday, July 31, 2008 2:04 AM
Hi all I am learning MobileWebApplications i created a web application it is working in my local system but how can i publish to web i mean WAP how can i convert my application to WAP Thx in advance keerthi
Hi all I am new to WAP applications (Mobile Applications in .net) can u ppl plz tell me how can i create wap applications i am able to create web applications in asp.net (Mobile applications) but how can i convert to WAP Thx in advance Keerthi
Hi all I am editing a datalist and i am trying to upload file from that editing file my code ------------ Dim WriterID As String = DirectCast(e.Item.FindControl("WriterID"), Label).Text Dim Writer As String = DirectCast(e.Item.FindControl("Writer"), TextBox).Text Dim ImageFileName As String = DirectCast(e.Item.FindControl("ImageFileName"), TextBox).Text But the upfile (HtmlInputFile) control is not finding giving error 'System.NullReferenceException: Object reference not set to an instance of an object. ' Dim upfile As HtmlInputFile = DirectCast(e.Item.FindControl("upfile"), System.Web.UI.HtmlControls.HtmlInputFile) How can i found HtmlInputFile in my datalist control ThanQ Keerthi
Hi all I am trying to develop a application which will create a dynamic web pages for user. Example : User will select the designs and images etc... and he can create upto to 3 pages. 1 user can create 3 pages. how can i do this. can any give an idea how to start this. THX Keerthi
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
Hi all sorry for reposting my need is to passing asp.net arraylist values to javascript i succeed in that but my problum is to how can i display all array values of asp.net example -------------- i am adding like this (in javascript) var customarray=new Array('<% response.write(session("Q")) %>'); it is showing only 1 value how can i show all the array values (only .aspx page not in .vb) Than Q Keerthi
HI than Q it is working fine but in my web page i am binding values to a array. that array values i want to pass in javascript. var customarray=new Array(---- asp.net array values ------- + 'alligator','elephant','pear','kingbird','kingbolt', 'kingcraft','kingcup','kingdom','kingfisher','kingpin'); Keerthi
Hi yes i tried with your 6 steps :( still it is not running and not giving error also is it not posible with ver 1.1 Than Q Keerthi
Thx For reply my need is i have a javascript array in that array i want put asp.net array values For Example : ------------------ in the place of 'an apple','alligator','elephant','pear' etc.. i want to put asp.net array values var customarray=new Array('an apple','alligator','elephant','pear','kingbird','kingbolt', 'kingcraft','kingcup','kingdom','kingfisher','kingpin'); var custom2 = new Array('something','randomly','different'); Keerthi
Hi I tried your code The code working only for 1 textbox I mean On Page Load 2 Textboxs calling not woring only 1 textbox calling is working can u plz tell me a solution for my error Or Can u plz tell me is there any other way to do this in (2 or more DB autocomplete textboxes) 1.1 ver or VS 2005 ver Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load AjaxPro.Utility.RegisterTypeForAjax(GetType(WebForm1)) AUTOCOMPLETE1.PageType = Me.[GetType]().BaseType AUTOCOMPLETE1.OnAutoComplete = New Autocomplete.AutoCompleteHandler(AddressOf Me.GetSearchData) acSearch.PageType = Me.[GetType]().BaseType acSearch.OnAutoComplete = New Autocomplete.AutoCompleteHandler(AddressOf GetSearchData00) 'Ca() End Sub _ Function GetSearchData(ByVal s As String) As DataTable Try Dim conn As New SqlConnection(Global.constrSQ) Dim cmd As New SqlCommand("SELECT MusicDirector FROM MusicDirector WHERE MusicDirector LIKE @MusicDirector + '%' ", conn) cmd.Parameters.Add("@MusicDirector", s) Dim da As New SqlDataAdapter Dim ds As New DataSet da.SelectCommand = cmd da.Fill(ds, "MusicDirector") Return ds.Tables("MusicDirector") Catch ex As Exception End Try End Function _ Function GetSearchData00(ByVal s0 As String) As DataTable Dim conn As New SqlConnection(Global.constrSQ) Dim cmd As New SqlCommand("SELECT SingerName FROM Singer WHERE SingerName LIKE @SingerName + '%'", conn) cmd.Parameters.Add("@SingerName", s0) Dim da As New SqlDataAdapter Dim ds As New DataSet da.SelectCommand = cmd '============ erragaddalopala da.Fill(ds, "Singer") Return ds.Tables("Singer") End Function Keethi