|
I don't think you can directly render a raw file as an image in HTML. You are going to need to transform that .RAW file into a .jpg or something else that is readable by a web browser. I would look into possible using the SDK provided by Canon or maybe Nikon. Beyond that, and not knowing anything about the RAW file (each RAW format is different, it isn't standarized from my understanding)
|
|
|
|
|
Normally when storing images in databases blobs are used. Simply load data in memory stream and then create bitmap object from that stream, save a temp image and built a URL to that new temp image and then anchor it on desired location.
|
|
|
|
|
how to generate image by byte could you give me the code.
because i have tryed it by different ways.
Rajeev Kr. Sharma
Sr. Software Engineer
E-Meditek Solutions Ltd.
http://www.emeditek.co.in/
|
|
|
|
|
|
Hello.
I made a master page whose name is "main.master".
and I used this tag :
And..
I made a sub page which is connected with the master page.
I alreay know I shouldn't use the tag; like this.
So, I made coding like the following this below.
<form>
<div align="center">
<hr/>
</div>
<p>Sample textarea follows:</p>
<textarea id="yourFieldNameHere" style="width:814px; height:95px" runat="server">
</textarea><br/>
<script type ="text/javascript" language="JavaScript1.2">
editor_generate('yourFieldNameHere');
</script>
In the area of , unless I use runat="server", it won't work.
It won't show the Text Editor. (I'm making Text Editor though.^^)
In addition, if I make this way :<script type ="text/javascript" language="JavaScript1.2" runat="server">, then, there is a message "JavaScript1.2 is not a language applied for ASP.NET".
But, no matter how I change "language = "JavaScript" runat="server", it still doesn't work.
Any helps??
Thank you..
|
|
|
|
|
I dont Think U have to Use tag again i.e. the masterpage has a form tag
But If u want to use the Script tag
then use it in Content place holder Like Below
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">
function checkDate(sender, args) {
if (sender._selectedDate > new Date()) {
alert("You cannot select a day greater than today!");
sender._selectedDate = new Date();
sender._textbox.set_Value(sender._selectedDate.format(sender._format))
}
}
</script>
If It Helps Click It as Answer
|
|
|
|
|
Sorry I again posted the same answer
If It Helps Click It as Answer
|
|
|
|
|
i think you use your script tag in between tag
editor_generate('yourFieldNameHere');
May be try then firt is not reponse well
editor_generate('yourFieldNameHere');
Prabhkar
|
|
|
|
|
Im using the below code to send a mail from my asp form.
Set ObjMail = Server.CreateObject("Outlook.Application")
Set ObjMsg = Server.CreateObject("Outlook.MailItem")
Set ObjMsg = ObjMail.CreateItem(0)
ObjMsg.To = Trim(Request.Form("txtto"))
ObjMsg.CC = Trim(Request.Form("txtCc"))
ObjMsg.BCC = Trim(Request.Form("txtBc"))
ObjMsg.Subject = Trim(Request.Form("txtSub"))
ObjMsg.HTMLBody = strBody
ObjMsg.Send
This is giving the error:
Server object, ASP 0177 (0x80080005)
Server execution failed
/MailTest.asp, line 56
But the same type code is working in vb application.
If anybody having ideal pls help us.
Regards,
Rishi
WinCrs
|
|
|
|
|
Why would you use outlook to send mail in a web app ?
In any case, this is the ASP.NET forum, asp has been obsolete for a long time. The web dev forum is still there for people using antiquated technologies.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
There is no separate place for asp. Thats why i put my query here.
My client does not give user name & password to authenticate mails. With out authentication they dont want send mail. So CDO is not a right choice in this place, thats why i choose outlook. I can ask them to configure outlook in webserver then i can send mails through this.
Regards,
Rishi
WinCrs
|
|
|
|
|
WinCrs wrote: There is no separate place for asp. Thats why i put my query here.
Christian Graus wrote: The web dev forum is still there for people using antiquated technologies.
As CG suggested, post your question at Web Development Forum. You may get help from there.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I m uploading my website with access database..........database is already stored in App_Data folder and i m giving the path like:-
Data Source=|Data Directory|\db.mdb
but its not running........its giving me error after uploading server...i tried to find out on internet...some used global.asa and cache.........whts the right way.............plz guide me a bit....
|
|
|
|
|
I can't make head or tails of this. Did you fail to mark your post to not parse HTML tags, and actually post a web.config file ?
It's usually wise to tell us what the error message is, instead of asking us to guess.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I mean to say........wht should be connection string in web.config in case of access database when i m stroing database in App_Data folder
|
|
|
|
|
what abbout DataSource=~/App_Data/ASPNetDB.mdb
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Abhijeet is right..!
KhandelwalA wrote: Data Source=|Data Directory|\db.mdb
Y dont U use this It may help
dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
data source=" & server.mappath("northwind.mdb"))
If It Helps Click It as Answer
|
|
|
|
|
sashidhar, This is correct !
But I guess, this code is applicable for CS file not in web.config. This is not good to provided hardcoded ConnectionString in Code.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Yes U r Right..!
If It Helps Click It as Answer
|
|
|
|
|
|
I think this is code useful for u
<appSettings>
<add key="ConnectionStrings" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source={0}"/>
<add key="dbfile" value="~/App_Data/data.mdb"/>
</appSettings>
Sure It's work
prabhakar......
modified on Saturday, September 19, 2009 4:29 AM
|
|
|
|
|
hi friends
i have a RSS URl i need to parse it showing as hyperlink with marquee action in one page .
the url is like this
http://feeds.reuters.com/reuters/INbusinessNews
how to read the url using asp.net and presenting like breaking news .
please guide me
bye
Naag
|
|
|
|
|
|
hi
thanks for your reply
http://capitalmarket.com in that site i am loking Capital Market - Live News
we will develop in asp.net i am looking for that .
any help
bye
naga
|
|
|
|
|
.NET 3.5 WCF provides syndication support for RSS/ATOM feeds. All you need is to create a SyndicationFeed object with available URL and it will read ever thing from desired URL. Then you bind readed items to some repeater and render them in some suitable form.
|
|
|
|