|
Dont Cross Post . You have post the same question on asp.net forum also.
cheers,
Abhijit
|
|
|
|
|
hi i have developed a website of the company am working for successfully with all the pages.But iam unable to develop a page in my website in which employees will upload the different files from different branches of the company using this website on intranet.Anyone of you plzzz help me out from this.
|
|
|
|
|
Try to uplaod File In ur Application Virtual Directory, if u r Hosting the Website In a Server
|
|
|
|
|
|
hi all,
i am creating a site in multilanguages using moss..
in the variation labels ..i have created the two lables...one is English(source language) and other one is chinese...
what ever the content i am writing in the english(nothing but source)..it is publishing in chinese..up to this it is okay...
after some time i wil edit the data in chinese and here again i dont want any updations from the English..means i need the chinese data should be remains same if we enter the data in english version also...
for this what can i do?
|
|
|
|
|
Hi All,
pls i will need ur professional assistance to the challenge I am facing. I have a databae driven website, all contents are stored in the database... but anytime I make changes from my cms tool it actually updates what I have in my mssql 2005 database but does not reflect it on my website.
but once I restart the server and checks the site then the update shows on the site.
I don't want to be restarting my system every time I make changes... kindly assist me pls on what to do.
thanks
|
|
|
|
|
Your best bet is to contact the vendor of the cms software to see how to clear the caches that seem to be in use.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I have used various objects of classes exposed by an VB6 API in my C# code. I am looking for some help to release those objects from the memory once the job of those objects is done. I have used those objects for multiple methods so how will my Dispose method work(if I write so). Please help me
Regards,
Rajesh Khubchandani
|
|
|
|
|
I thought C# handled the lifetime of COM objects it imports for you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Whatever theory I know about COM objects is that Its an unmanaged object. And unmanaged objects needs to be taken care of explicitely for memory reclaim.
Isnt it correct? If not please provide me some knowledge base which says so...
Thanking you in anticipation.
Regards,
Rajesh Khubchandani
|
|
|
|
|
Hi frnds,
This is ravikumar,presently i am working for to capture the images from a web cam in web application.I have the code in swings and jmf.This code is possible for reuse in my webapplication.It is very very urgent for to me.Please any one can solve my problem or give me the advice for to me.
|
|
|
|
|
ravik_umar wrote: Please any one can solve my problem or give me the advice for to me.
Well, then you would first have to tell what the actual problem is...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
From what I could vaguely tell, it has something to do with swing and jmf? What exactly, I have no idea.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
I´m developing a ASP.NET WEB application in Visual Studio 2008 (C#).
I'm trying to insert a standar control from the toolbox so I drag it (the control) from the toolbox to the design window. It doesn't works !!!
When I drag a HTML control from the toolbox it works but I need a standar control.
¿How can I insert one?
Thank you
Ignacio Rivera
(Mexico)
|
|
|
|
|
iriveras wrote: I'm trying to insert a standar control from the toolbox so I drag it (the control) from the toolbox to the design window. It doesn't works !!!
What does it mean? Control is not coming on screen ???
I think its an normal html page, not a aspx !!!
Confirm.
cheers,
Abhijit
|
|
|
|
|
First of all, make sure you are having an asp.net webpage (.aspx).
Also, make sure you are dropping the control into the form runat="server" part of the page (if it is a master page or full web page, don't apply to web content forms).
|
|
|
|
|
I tried webplayer. I’m evaluating watin but look forward to hear more suggestions
|
|
|
|
|
I think the layout for this forum is great.. what do you think?
|
|
|
|
|
Apart from moving the block of links to other forums from the top to the left, I can't see any difference... it's neater I suppose, though I miss the ability to see at a glance which forums have new postings in them, which the old way allowed...
[edit]
..and now, just like that, it's done and one can! Thanks CP!
modified on Wednesday, November 26, 2008 3:52 AM
|
|
|
|
|
Hi all,
I have been trying this for a while (but I've never really quite got the hang of regular expressions, they give me a headache!), but I can't seem to figure it out.
Could anyone provide me with a pointer or two (or an answer would be fabulous).
I have some strings coming from our db.
I want to replace some sections. For example here's a string:
"… Jack Frost nipping at your nose... a load more text goes here"
I want to insert a line break after the "…" instead of having "… ", however, I don't want to replace the first instance of "… " as that's how the string starts.
<pre>
string regex1 = "(.)";
string regex2 = "(\u2026)";
string regex3 = "(\\s+)";
</pre>
using
<pre>Regex.replace(string, regex1 + regex2 + regex3, "\u2026<br />, RegexOptions.IgnoreCase)</pre>
gets me tantelisingly close, but obviously chops off the first letter before the "…" (if there is one).
leaving me with:
"… Jack Frost nipping at your nos…<br /> a load more text goes here"
How do I do the expression so that its not looking for characters before the "…", but looking for the begining of the string?
Thanks in advance for the help....
Mark
(and yes, I have tried putting a line break in the string in the db, but am being told that's not alowed...)
|
|
|
|
|
regex's defeat me too, I must admit... however...
why can't you have line breaks in the db? Are "they" saying you can't insert html tags? In which case you could insert CR/LF characters instead, which would be better and would at least allow for better import into a textarea, for example... but whether or not, do you have to use regex? Can't you use the String.Replace function instead?
str = str.Substring(0,2) & str.Substring(2).Replace("..", "<br />")
|
|
|
|
|
Well...
It's my boss who isn't letting me put linebreaks etc in the db, so I don't have any leeway there...
I did have a good try at string.replace() but got a bit confused with first instances of etc. and so thought maybe a regex may be a bit cleaner.
I have litterally just come up with a simple solution, though it isn't ideal, it does work.
I'm using this now...
string regex1 = "\\A+";
string regex2 = "(\u2026)";
string regex3 = "(\\s+)";
string regex4 = @"( <br /> )";
OfferDescriptionStr = Regex.Replace(OfferDescriptionStr, regex2 + regex3, "\u2026<br />", RegexOptions.IgnoreCase);
OfferDescriptionStr = Regex.Replace(OfferDescriptionStr, regex1 + regex2 + regex4, "\u2026 ", RegexOptions.IgnoreCase);
Basically, as you can see, I gave up looking for 'Not the begining of a string', replcaed all instances of "… " with "…<br />", then...
looked for the begining of the string and replaced "…<br />" with "… " as it was originally.
A Bit messy but it works a treat now.
Thanks for the response, if time allows (though I doubt it), I might well try again on the string.replace(). Maybe at the start of the day before I get too bogged down in it again..
Cheers
Mark
|
|
|
|
|
so i need that url of the link is an src of an image. so if someone changes an image that it changes in both thumb and image... I am using a gallery and i want just 1 image and i have cms so if user uploads new image i want that it changes link...
Where "HEREINEEDIMAGESRC" i need some code that changes this <-- text to an source of image THUMB1
NOTE: I remowed < & > becose then you cant see all my code...
span class="highslide" a id="Picture1" href="HEREINEEDIMAGESRC" onclick="return hs.expand(this)" img class="cushycms" id="THUMB1" src="../../../../bin/pic/somepic.jpg" alt="Picture 01" title="Enlarge..." height="100" width="90" //a/span
Is this possible?
i tried everything:
href="#THUMB1"
href="#THUMB1.SRC" - advanced developer's advice
href="URL#THUMB1"
href="URL??THUMB1"
|
|
|
|
|
The href is the web page to navigate to, so probably putting in the location of the omage file would do it.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
One of our clients wants us to create a web application that is compatible with Internet Explorer 6+, Firefox 2+ and possibly Safari. They want us to use ASP.NET 3.x and Ajax. I've been developing Web apps for the past few years but for only IE. My question is how difficult is this to achieve? How much overhead does this add to a project's life cycle?
|
|
|
|