|
in .net 2 webbrowser control, there is a property named "ScriptErrorsSurppressed". maybe there is similar in AxWebBrowser?
|
|
|
|
|
When i tried to update the contents of a table in my database using oledbcommand i am getting the "Could not save; currently locked by another user" exception.
I tried closing the connection other places where ever it is used.
But still the same problem is coming? what should i do? Please help me?
|
|
|
|
|
I assume this is an access db ? How many connections does your code have ? Why does it have more than one ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for the reply,
Exactly i am using access. Actually my code calls internally some services which are also using the same connection and upto my knowledge they are getting closed as soon as the service use is finished.
Or otherwise is there any way to view all the connections which are open?
|
|
|
|
|
If u r the only one using that db than surely there's a place left in your code where db connection left open.
|
|
|
|
|
I am new to .NET
I have completed my project and want to deploy the files to a clilent machine.
How do I go about it? I have created the setup files. But installing these on clients system dosent run them properly..
It closes after some time. (Fatal error comes).
What files do I need to copy to the setup?
I have copied the exe files from the debug folder iniside my project folder..
Do I have to build the project on Release mode and then take the exe's?
Does copying the exe's will solve the purpose or do I have to copy some other files??
Please help me..
|
|
|
|
|
ptr2void wrote: Do I have to build the project on Release mode and then take the exe's?
Yes, but you also need the .NET framework.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
you should make your setup through setup wizard...
and it's better to point your exe from release folder...
by making setup through setup wizard it automatically includes the dependencies which u may be missing while making setup by yourself
|
|
|
|
|
Nouman Bhatti wrote: you should make your setup through setup wizard...
and it's better to point your exe from release folder...
by making setup through setup wizard it automatically includes the dependencies which u may be missing while making setup by yourself
Could you please tell me how can I make my setup through the wizard?
|
|
|
|
|
when u make a new project there's a option of setup wizard....
|
|
|
|
|
.NET is very easy to deploy. If you only use the built in functionality, ie. no external dll's, you can simply move the exe and run it. Assuming that you have the correct .NET Framework installed. There are minor differences between Debug and Release mode and I don't think this is the reason for the crash.
If the program closes after some time it seems more likely that you have a bug that you need to fix in your program.
|
|
|
|
|
Hi all,
Any one suggest me a regular expression that replace a "\n" char with HTML break tag( <br /> ). I did this using the following expression
string BodyText=Regex.Replace(Bodymsg, @"\n", "( <br /> )", RegexOptions.Multiline);
Bodymsg is dynamic text from database.
When i try to use the above expression it replaces all the "\n" like "\t\n", "\r\n", but for me the new line "\n" alone should be replaced not the new line with tab or carriage return for eg: "\t\n" or "\r\n" should not be replaced from "\t\n" to \t < br />
Thanks in advance
Know is Drop, Unknown is Ocean
|
|
|
|
|
OK, so you need to look behind and make sure it's not a \t or \n before it ?
www.expresso.com is great for working out regex.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: www.expresso.com is great for working out regex.
regex: regular exercise?
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
LOL
Obviously regex == regular expressions
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you very much
Know is Drop, Unknown is Ocean
|
|
|
|
|
Well, i've not used regex much. But there's always just string.Replace , try this:
string data = ...;
string body = data.Replace("\n", "<br />");
body = body.Replace("\t<br />", "\t\n");
body = body.Replace("\r<br />", "\r\n");
So you replace the \n 's then fix the ones you shouldn't have replaced. But of course somebody should come along shortly and give a regex expression to do this a another way.
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
Thank you very much. It working well
Know is Drop, Unknown is Ocean
|
|
|
|
|
Dude, that's like using a sledgehammer to break a nut. String.Replace should suffice here.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
If he didn't have the \t and \r rules, I would agree.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
:kicks self for not reading properly:
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
Hi,
Any one having knowledge in Admission and Ticketing system. Please let me know.
|
|
|
|
|
If this is homework, you need to start it yourself. If htis is a client, don't steal from them, instead ask if anyone here wants the work, if you want us to do it all for you.
You've not even said if the system is web based ( I assume it would be, even tho this is not the ASP.NET forum )
A ticketing system stores details of the tickets on offer in a database, and allows people to request tickets and pay for them, how's that for a start ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
1)How many pages Gridview will allowes..(maximum number of Pages)
2)I have one gridview and one button contol.In that gridview i have checkbox control.
now my problem is when i press a button(btnCheck) the checkbox in the gridview control want to be checked..
Thanks
Pinna
modified on Tuesday, May 20, 2008 4:48 AM
|
|
|
|
|
The number to be encoded is 173946. Starting from the right side of the number (the units position), collect all of the odd position digits (i.e. digit 1, digit 3, digit 5, etc.) and create a new number leaving the digits in their left to right order. The new number would be 796.
|
|
|
|