|
After some years without mayor problems, my Visual Studio 2003 began to crash every now and then when working on a ASP.NET-project. At the moment the intervals are keeping getting shorter (strange !).
By now after every couple of lines of code I do a save not knowing when the next crash is coming up. Sometimes switching from code to design-view is enough...
I get a error and VS 2003 quits and sometimes it just even vanishes without no message what so ever.
This situation isn't workable anymore.
I've done some reinstalls, but the problem stays.
Then I realised I installed IE7 Beta some months ago ! Could this be the problem ?
To uninstall IE7 could maybe solve the problem, but IE7 has major improvements over IE6, so I would like to keep it (as M$ will force us in a short while anyway
Could IE7 really be the source for my crashes and has someone of you out there had similar problems AND maybe workarounds?
Thx in advance.
-- modified at 18:50 Saturday 25th November, 2006
|
|
|
|
|
Perhaps... a beta is still a beta. You should install the final version of IE7 instead.
---
b { font-weight: normal; }
|
|
|
|
|
Pat Krimson wrote: I installed IE7 Beta some months ago !
Why are you still using IE7 Beta?
I have a colleague who's using IE7 with ASP.NET 2003 and he's not had problems of this sort. Mind you he was formerly using the Beta and had no problems either. I suspect your problem is caused by something else.
Pat Krimson wrote: as M$ will force us in a short while anyway
At a guess I would say it won't be long before any new MS products that interact with the web (which is virtually everything) will mandate IE7 as a prerequisite. Does Office 2007? If not, VS 2007 is bound to require IE7.
Kevin
|
|
|
|
|
I realise I still have Beta 3 on my system... Thought by now I would have the final version. Downloading it now, hope this helps.
Thx to U all...
|
|
|
|
|
hi there,
i want ur help guys on how can i read froma word 2003 document and save content to sql database table. Offcourse the word file is rearranged to hold data in a specific order to be abe to use the data correctly "I guess!"
thanks
|
|
|
|
|
Well I'm no expert in that, but it sounds like you just have to figure out how word o3 works...I mean Document Object Model must have some sort of an API to be able to read...just like we read from a text file in notepad.
If you don't go after what you want, you'll never have it.
If you don't ask, the answer is always no. If you don't step
forward, you're always in the same place. -Nora Roberts
|
|
|
|
|
I have a .ashx file that I would like to incorporate into my project, but I am having some issues with Visual Studio 2003. The file extension is not recognized by the IDE, so I cannot set it as the start page or view highlighted syntax.
Is there a way to get Visual Stuido 2003 to recognize .ashx files as valid C# source files?
Thank you.
|
|
|
|
|
ashx is a handler, it can't be set as the start page.
only two letters away from being an asset
|
|
|
|
|
Ok, thanks for the info, but how can I get DevStudio to recognize it so the syntax highlighting works?
|
|
|
|
|
hi all,
i want i m new to web world (ASP.NET), to search from site sites using goolge, i mean i m providing searching through goole.i had text field when user write text on text field and hit the search google button then that text will be search from the google and shown on seperate page.
Regards.
Tasleem Arif
|
|
|
|
|
Hullo Folks,
Am trying to develop a point of sale system for a mobile company.
The point of sale is of distribution of airtime to customers.
The Server is on a Linux box and has MySQL database(Airtime recharge numbers are stored here)
Am to develop a client application using C#, the POS is to work in such away that.
The distributor goes to the mobile company, pays say $3000,
So whenever he sells airtime on his account is reduced.
The client will communicate with the server over a GSM modem.
However whenever the Distributor requests for Air-time from the server,
The amount he gets will be cached; the amount cached is what he will sell until,
It goes to zero, then he will request more from the server…then cache it….
This will go on and on until his account at the server goes to Zero.
Look at it in this way, you have a bank account, you need say $500,get to the ATM, withdraw the $500,u will have the $500,but your account balance has been reduced by $500,
So you use that $500,till its over and when you need more, you go back to the ATM for more.
How the airtime will be distributed is in 2 ways.
· The point of sale printer will print the recharge number on a piece of paper
Say 123-674-627-63,which will be given to the customer.
· The distributor should be able to directly load the airtime onto the customer’s phone
Can I please have help on how I can go about this one?
Especially the communication over the GSM modem to the server, which is Linux box.
|
|
|
|
|
Hi:
Hello everyOne.
How can i change the default location(usually the first control in the form when view the page source) of _viewState hidden form field in the aspx page.
For eg when some one view the source of my aspx page, the _viewstate field should not show up at the top of the page (in the page source. it looks junk).
I hope u are uderstanding what i m trying to achieve.Its all for SEO perposes.
Any Ideas?
Thanks
Aamir
|
|
|
|
|
You can either turn the view state off for a particular control, or even for the entire page...however that's not adviceable as you won't be able to keep the state of your other controls around across post back.
Now if you turn it off for the page, then when you go do source -> view, you are not going to see the view state field there. I am not sure why would you be concerned with where the view state shows up in your source...I mean if you are concerned with the date that you are storing in there being displayed, well its base 64 encoded so a reader can't just read it. However it's not encrypted or anything and there are base 64 decoders out there that can simply decode it for you.
I hope this helps.
Sam
|
|
|
|
|
sam L wrote: I am not sure why would you be concerned with where the view state shows up in your source...
He said why, Sam: for SEO (Search Engine Optimisation) purposes. He believes, rightly or wrongly, I wouoldn't know, that having the viewstate near the top of the page, and thus "pushing" the actual content further down, means that search engines such as Google will rank it lower.
I have heard that the position on the page of content can affect it's ranking, but I would also have hoped that Google et al would be smart enough to ignore viewstate.... be interesting to know for sure, I must admit though...
cheers
Fred
|
|
|
|
|
Fred, thanks for the explanation I guess I didn't pay attention to the SEO aspect of it. I did some research and found this article www.wwwcoder.com/main/parentid/457/site/6173/68/default.aspx. It seems like the popular opinion on this issue is that if you are concerned with your page's ranking by a search engine, then you may want to remove the view state completely and rely on the good ole session state.
Here's another article using DNN, it tells you how to do that.
www.wwwcoder.com/main/parentid/224/site/3507/68/default.aspx
Sam
|
|
|
|
|
Sam:
Thanks for replying.
Actaully i want to keep the state of the page.If i turn it off for a page, i would nt be able to do so.
Its for SEO perposes (Or my boss just does not like it).
I want to keep the _viewstate hidden field but i just dont want it to appear at the top of the htmlForm (in View Source) but some where at the bottom.
It has to something the way page renders it controls.I may need to change the default rendering of the controls. I have a slight idea but just dont know the entry point.
Thanks
Aamir
|
|
|
|
|
Aamir, check out my response above to Fred's post.
sam
|
|
|
|
|
Thanks Sam:
I also found some articals explaining the viewstate delima.
Most of them suggest to place the viewstate in session or cache instead of page.It not only helps in improving the performance but also in page ranking( since all the junk is out of the page).
Tommorow i m going to implement this idea.
I will keep u posted once i am done.
Thanks
Aamir
|
|
|
|
|
Hello guys.
Here is the code to move _VIEWSTATE hidden field from top of the form to
bottom.drop this code in the basepage and then inherit all the pages from the basepage in ur app.
protected override void Render(System.Web.UI.HtmlTextWriter writer)
{
System.IO.StringWriter stringWriter = new System.IO.StringWriter();
HtmlTextWriter htmlWriter = new HtmlTextWriter(stringWriter);
base.Render(htmlWriter);
string html = stringWriter.ToString();
int StartPoint = html.IndexOf("= 0)
{
int EndPoint = html.IndexOf("/>", StartPoint) + 2;
string viewstateInput = html.Substring(StartPoint, EndPoint - StartPoint);
html = html.Remove(StartPoint, EndPoint - StartPoint);
int FormEndStart = html.IndexOf("") - 1;
if (FormEndStart >= 0)
{
html = html.Insert(FormEndStart, viewstateInput
}
}
writer.Write(html);
}
Thanks sam:
Thank you everyone.
Aamir
|
|
|
|
|
Hi all! I'm an expereinced asp.net developer, I want to learn AJAX but after searching on the net I found everything is messy please suggest some resource which should be from the ground up and simple enough. very confused about AJAX,Atlas etc. Downloaded an article from codeproject but could not use it , it gives error please help
Thanks
Don't Quit
|
|
|
|
|
|
Actually I disagree.... yes, this si good but IMHO before moving on to frameworks such as Atlas it is a good idea to learn the nuts and bolts of how and why it all works and learn some basic AJAX coding from sratch, or from "the ground up" as Nitin1981 put it...
I agree with him, there are precious few "clear" articles on this. one thing you can do:
As all the J in AJAX is client side, you can view and download other people's AJAX enabled bits and bobs and see how they've done it! Even if the J is in linked files there are sinple IE extensions you can use to get it.
Otherwise, I found these set of articles, though wordsy, quite good:
http://www-128.ibm.com/developerworks/web/library/wa-ajaxintro1.html[^]
good luck!
cheers
Fred
|
|
|
|
|
|
Currently, I am using the DataList to display the data. My DataList code looks something like this:
<datalist>
<itemTemplate>
<tr>
<td>Name:</td>
<td><% DataBinder.....%></td>
</tr>
<tr>
<td>Company:</td>
<td><% DataBinder.....%></td>
</tr>
</itemTemplate>
</datalist>
My question is: How can I have an easy way of sorting this data. I would like the users to be able to sort the data by Name or by Company. I understand I can add AllowSorting to DataList or DataGrid, but then I would have to display the column names and display the data in 2 columns, which I dont want to do.
So is there any other way to allow the users to sort this data, without having to write much code? I am using ASP.NET 2.
Thanks
|
|
|
|
|
I have a page "A" in which ther is a table in which i include another page "B" in . I want to use a function of "B" in "A" . Please help me.
|
|
|
|