Click here to Skip to main content
15,909,898 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to make differents IU from a login box Pin
WSonck17-Oct-06 4:37
WSonck17-Oct-06 4:37 
QuestionPrint dialog box+ASP.Net Pin
skannapiran17-Oct-06 0:33
skannapiran17-Oct-06 0:33 
AnswerRe: Print dialog box+ASP.Net Pin
_AK_17-Oct-06 1:23
_AK_17-Oct-06 1:23 
QuestionWhat can be the possible reasons of the dead lock ? Pin
King Shez17-Oct-06 0:26
King Shez17-Oct-06 0:26 
AnswerRe: What can be the possible reasons of the dead lock ? Pin
_AK_17-Oct-06 1:24
_AK_17-Oct-06 1:24 
QuestionRetriving value from google map Pin
Aashutoshkumar17-Oct-06 0:16
Aashutoshkumar17-Oct-06 0:16 
AnswerRe: Retriving value from google map Pin
perlmunger17-Oct-06 4:36
perlmunger17-Oct-06 4:36 
GeneralRe: Retriving value from google map Pin
Solly S19-Oct-06 23:47
Solly S19-Oct-06 23:47 
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)
GeneralRe: Retriving value from google map Pin
perlmunger20-Oct-06 4:03
perlmunger20-Oct-06 4:03 
GeneralRe: Retriving value from google map Pin
Solly S24-Oct-06 1:20
Solly S24-Oct-06 1:20 
Questionhow to call DataBindmethod as well as validate textbox values using ajax(Anthem) Pin
miniThomas17-Oct-06 0:12
miniThomas17-Oct-06 0:12 
Questionhow can i make URLs clear, avoiding dirty query strings Pin
wajeehAhmed117-Oct-06 0:04
wajeehAhmed117-Oct-06 0:04 
AnswerRe: how can i make URLs clear, avoiding dirty query strings Pin
_AK_17-Oct-06 0:24
_AK_17-Oct-06 0:24 
Question"This property cannot be set for anonymous users" error Pin
amin_behzadi16-Oct-06 23:59
professionalamin_behzadi16-Oct-06 23:59 
QuestionSTA Pin
amaneet16-Oct-06 23:53
amaneet16-Oct-06 23:53 
AnswerRe: STA Pin
J4amieC17-Oct-06 0:27
J4amieC17-Oct-06 0:27 
QuestionSend an sms from web form Pin
samerh16-Oct-06 23:52
samerh16-Oct-06 23:52 
AnswerRe: Send an sms from web form Pin
_AK_17-Oct-06 1:40
_AK_17-Oct-06 1:40 
QuestionI want to print some portion of the page using asp.net. Pin
jigisha gajjar16-Oct-06 23:51
jigisha gajjar16-Oct-06 23:51 
AnswerRe: I want to print some portion of the page using asp.net. Pin
prakash_21017-Oct-06 0:12
prakash_21017-Oct-06 0:12 
AnswerRe: I want to print some portion of the page using asp.net. Pin
just3ala217-Oct-06 0:28
just3ala217-Oct-06 0:28 
QuestionProblem Pin
amaneet16-Oct-06 23:49
amaneet16-Oct-06 23:49 
AnswerRe: Problem Pin
_AK_17-Oct-06 0:18
_AK_17-Oct-06 0:18 
AnswerRe: Problem Pin
V.17-Oct-06 0:19
professionalV.17-Oct-06 0:19 
QuestionSlicing audio file Pin
Sivaprasad C16-Oct-06 23:42
Sivaprasad C16-Oct-06 23:42 

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.