Click here to Skip to main content
15,919,434 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to do search in a datagrid? Pin
just3ala230-Oct-06 0:40
just3ala230-Oct-06 0:40 
Questionis there a .exe file in asp.net? Pin
yesu prakash29-Oct-06 22:23
yesu prakash29-Oct-06 22:23 
AnswerRe: is there a .exe file in asp.net? Pin
cheeken2u29-Oct-06 22:38
cheeken2u29-Oct-06 22:38 
AnswerRe: is there a .exe file in asp.net? Pin
just3ala230-Oct-06 0:42
just3ala230-Oct-06 0:42 
Questionobjects to store values Pin
yesu prakash29-Oct-06 22:08
yesu prakash29-Oct-06 22:08 
AnswerRe: objects to store values Pin
just3ala230-Oct-06 0:43
just3ala230-Oct-06 0:43 
AnswerRe: objects to store values Pin
sanjivji30-Oct-06 1:43
sanjivji30-Oct-06 1:43 
QuestionFetching Value from Google map and Retrive it to the web form Pin
Solly S29-Oct-06 20:24
Solly S29-Oct-06 20:24 
I want to Fetch a particular location from google map of 5 km distance using zip code basis
I am using Google Web service.It is showing the error of Invalid key .
The code as follows:
Dim ProxyHost As String = "192.168.0.100"
Dim ProxyPort As Integer = 8080
Dim ProxyUser As String = ""
Dim ProxyPassword As String = ""
Dim ProxyDomain As String = "http://api.google.com/search/beta2"
Dim oWebProxy As System.Net.WebProxy = New System.Net.WebProxy(ProxyHost, ProxyPort)
oWebProxy.Credentials = New System.Net.NetworkCredential(ProxyUser, ProxyPassword, ProxyDomain)
' obj_wrr.Proxy = oWebProxy
'obj_wrr.Credentials = New System.Net.NetworkCredential(feedid, password)


Dim s As localhost.GoogleSearchService = New localhost.GoogleSearchService
s.Proxy = oWebProxy



Dim r As localhost.GoogleSearchResult
r = s.doGoogleSearch("", TextBox1.Text, 0, 10, False, "", False, "", "", "")
Dim strFile As String = "C:\\result.html"
Dim sw As StreamWriter = File.CreateText(strFile)
sw.WriteLine("" & Microsoft.VisualBasic.Chr(9) & "BODY { font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-size : 9pt; color : #000000; SCROLLBAR-FACE-COLOR: white; SCROLLBAR-HIGHLIGHT-COLOR: #003366; SCROLLBAR-SHADOW-COLOR: #003366; SCROLLBAR-3DLIGHT-COLOR: #f9f9f9; SCROLLBAR-ARROW-COLOR: #003366; SCROLLBAR-TRACK-COLOR: white; SCROLLBAR-DARKSHADOW-COLOR: #f9f9f9 }")
For Each dc As localhost.DirectoryCategory In r.directoryCategories
sw.Write("Category : ")
sw.WriteLine(dc.fullViewableName)
sw.WriteLine("


")
Next
For Each re As localhost.ResultElement In r.resultElements
Dim strTitle As String = "" + re.title + "
"
sw.WriteLine(strTitle)
Dim strSnippet As String = re.snippet + "
"
sw.WriteLine(strSnippet)
Dim strLink As String = "" + re.URL + " - " + re.cachedSize + "

"
sw.WriteLine(strLink)
sw.WriteLine("

")
Next
sw.Close()
Label1.Text = TextBox1.Text + " 's web search"
Dim estResults As Integer = r.estimatedTotalResultsCount
Dim ldTime As Double = r.searchTime
Label1.Text = "Total " + Convert.ToString(estResults) + " " + "1 - 10 seach result Total time:" + Convert.ToString(ldTime)
Dim obj As Object = Nothing
Dim di As DirectoryInfo = New DirectoryInfo(Environment.CurrentDirectory)
Dim strFilePath As String = di.FullName + "\" + strFile

WebBrowser.Navigate(strFilePath, obj, obj, obj, obj)
QuestionAbout CallOuts Pin
sribachana29-Oct-06 20:14
sribachana29-Oct-06 20:14 
Questionstring and string builder Pin
yesu prakash29-Oct-06 19:55
yesu prakash29-Oct-06 19:55 
AnswerRe: string and string builder Pin
Andrei_KS29-Oct-06 20:39
Andrei_KS29-Oct-06 20:39 
AnswerRe: string and string builder Pin
ednrgc30-Oct-06 7:31
ednrgc30-Oct-06 7:31 
QuestionConversion Problem Pin
monika_vasvani29-Oct-06 19:52
monika_vasvani29-Oct-06 19:52 
AnswerRe: Conversion Problem Pin
thomas_joyee30-Oct-06 1:12
thomas_joyee30-Oct-06 1:12 
Questionhow to updating datagrid data Pin
guhakaustav29-Oct-06 19:47
guhakaustav29-Oct-06 19:47 
QuestionHow to fix two digit after 'dot' ? Pin
cheeken2u29-Oct-06 19:15
cheeken2u29-Oct-06 19:15 
AnswerRe: How to fix two digit after 'dot' ? Pin
just3ala229-Oct-06 19:48
just3ala229-Oct-06 19:48 
AnswerRe: How to fix two digit after 'dot' ? Pin
greekius29-Oct-06 21:27
greekius29-Oct-06 21:27 
AnswerRe: How to fix two digit after 'dot' ? Pin
cheeken2u29-Oct-06 22:25
cheeken2u29-Oct-06 22:25 
QuestionAdding Data in Treeview from database Pin
dj.rock29-Oct-06 18:54
dj.rock29-Oct-06 18:54 
AnswerRe: Adding Data in Treeview from database Pin
Abhishek Joshi29-Oct-06 22:13
Abhishek Joshi29-Oct-06 22:13 
GeneralRe: Adding Data in Treeview from database Pin
dj.rock29-Oct-06 23:29
dj.rock29-Oct-06 23:29 
GeneralRe: Adding Data in Treeview from database Pin
Abhishek Joshi29-Oct-06 23:56
Abhishek Joshi29-Oct-06 23:56 
QuestionHow to develop ASP.NET 2.0 Application using Provider Design Pattern Pin
Qayeum29-Oct-06 18:04
Qayeum29-Oct-06 18:04 
QuestionHow to add an "ENTER" into string ? Pin
cheeken2u29-Oct-06 17:09
cheeken2u29-Oct-06 17:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.