Hi,
Is there a way to get the address through GPS if the mobile phone is GPS enabled and also if mobile phone is not GPS enabled by using mobile web forms developed in .net 2.0?
Ultimately I need to get the current location of the mobile phone when user logs on to site.
How do I achieve this?
Thanks,
Govind.
User Profile
Collapse
-
govind161986 started a topic Error operation is not allowed,when the object is closedin Visual BasicError operation is not allowed,when the object is closed
Dear All,
I have a stored procedure in which I have used a temporary table which selects the value from two tables and display the result. When I run the stored procedure from Sql's query analyzer window the stored procedure runs fine and also retrieves the record but when I execute the same procedure from aspx page it retrives an error message "Operation is not allowed, when the object is closed" it doesn't retrives the... -
Roll over menus not working for FF
I have an old code in a website which shows roll over menu on mouse over event. Now it is not working in FF, Chrome and Safari. only works in IE. Below is the code snippet
Code:// layerTest class <div class=menu id=layerTest style="width: 47; height: 8; layer-background-color: #FFFFFF; border: 1px none #000000; background-color: #FFFFFF"></div> // Below is the HTML tag for image
-
ROW_NUMBER() in SQL 2005
When I try to user ROW_NUMBER() function in sql server 2005, then I receive an error message stating "'ROW_NUMBE R' is not a recognized function name."
Please help.
Thanks.
Govind -
Page refreshes while using window.print()
Hi everyone I have stuck in a problem and need your help.
When I print a page using javascript's window.print command the page gets refresh after printing in google chrome and FireFox.
How to avoid the page from being refreshed? -
Thanks for your reply, but I tried some logic and it worked.
This is what I did
Dim leng As Integer ''The variable which holds the total length of data
leng = Trim(Request.It em("Action2")) ''This is the hidden variable from which i get the value which contains ","
Dim actdata = Left(Trim(Reque st.Item("Action 2")), leng - 1)
this removes the last comma.... -
How to remove string from a specified position in vb
Dear All,
I have one data like 123, 456, 789,
now I want to remove the last , how to do that?
Please help me in this regard,
Thanks and regards,
Govind -
I am using a stored procedure which retrieves only 10 records per page i.e., if the user is on first page the stored procedure will retrieve first 10 records and so on. But for doing this I have used a temporary table inside the stored procedure. The stored procedure first retrieves all the records and save it in a temporary table and then it retrieves 10 records at a time from the temporary table.
Is there any other way to do this...Leave a comment:
-
Retriving 10 records per page through stored procedure
Is there a way that stored procedure retrieves only 10 records per page?
Thanks
Govind -
This is what I want to do
select mf.mainid, mf.GAfrom tbl_Main mf
case mf.GA
When '1' THen Join tbl_MNotesn On mf.mainid = n.MNotesn_ID
End
where mf.cid = 1
But when I execute this query the sql returns an error "Incorrect Syntax near case"Leave a comment:
-
Concatinate user defined variable with select statement
I am creating a stored procedure which has multiple joins. Now the problem is I want some joins to be executed for a given condition and some other join for other condition. For example
select c.cid, m.name, f.fname, l.lname
from tblcust c
left join tblmname m on c.id = m.cid
left join tblfname f on f.id = c.id
left join tbllname on l.id = c.id
What I want to do is
declare... -
Thanks Gits for replying I tried using that code but it gives me an error "ActiveXobj ect" is not defined.Leave a comment:
-
How to validate file size in javascript
How do I validate a file size using javascript?
Thanks in advance,
Govind -
Sql Server Error
Can anyone please help me why the below mentioned error occurs?
Transaction (Process ID 157) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Thanks in advance,
Govind -
Thanks tlhintoq for your reply. I have searched the article as mentioned by you. But the problem is my project is build in VB.NET 1.1 and as such the article has not helped me as much.
However, I solved this problem now.
Thank you for your help....Leave a comment:
-
Importing user defined DLL in C# code
I have created a DLL in C# language. Now I want to use that DLL in my C# Code using .NET 1.1.
How should I do this?
Thanks in advance,
Govind -
Alternate text for Drop Down on Mouse Over Event
Is there a way to show an "Alternate Text" for the options of Drop Down on "Mouse Over" event.
ALT Tag is used for this purpose for images but it does not work for Drop Down's.
I have tried "Title" Tag which shows dynamic values for mouse "OnChangeEv ent" but it is not supported on Safari and Chrome browsers. It works fine for IE and FF.
Please help me in this regard.... -
Thanks for your reply.
I need to upload files to a network shared drive in .NET 1.1. Can you please help me in this regard?
Thanks,
Govind...Leave a comment:
-
Uploading Files using Socket Programming in .NET 1.1
When i execute the below mentioned code in .NET 1.1 i get the following error message "A socket operation was attempted to an unreachable host" but when i execute the same code in .NET 2.0 it executes successfully.
Code:main_sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); main_ipEndPoint = new IPEndPoint(Dns.GetHostByName(server).AddressList[0], port);
-
Thanks for your reply.
But when i execute the code mentioned above in .NET 2.0 it gets executed successfully. I want to integrate it in .NET 1.1. How should i achieve this?
Thanks and regards,
GovindLeave a comment:
No activity results to display
Show More
Leave a comment: