|
i am reading the image from the database.
what will happen if three four users come at the same time.
Regards
|
|
|
|
|
|
its working!!!!!!!!!!!!
But dont knwow how it will behave when different users with same file name and same extension will visit at the same time.
Thanks AnyWays
If Some problem come up i will get back
Regards
|
|
|
|
|
U have to check if file with this name exist, and if so, just put number at end of the name:
myImage.jpg
myImage1.jpg
And you should have some mechanism to check how long files are there and delete them after some time...
Pilo
|
|
|
|
|
Thanks is't working
Regards
|
|
|
|
|
Either do 3 things.
1) Have a aspx page that draws the picture
Set the content type to jpeg or whatever and load the binary values into it
2) Save the image to a local file so the image can be saved and set the path.
3) you might be able to just take the data create create a stream out of it. then apply it to an image object. But it prolbably won't work in the end
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
do i hav ethe permission to write on clients machine.
how to get the name of system folder.
Sarbjeet Singh
|
|
|
|
|
nope. If you could then viruses could easily be delivered to everyone. Thats why you cant.
Just create a local file ( it will place it in the windiws\temp web app folder. and reference it
you dont need to specify a path. just use the web root or something.
It might be easier to just have a page that displays as a jpeg since you dont have to save the file anywhere. But you also have to realize thats an extra request. But, its the easiest
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
Heh, good idea with content type, I didn't think about it
But it is useable only if you want to have single image on a page and nothing else, otherwise it wouldn't works, I suppose.
Pilo
|
|
|
|
|
yeah.
But if you have a DataList or what not calling that page then you could display mutiple pictures on one page
Not the best route for more then 5 pictures. But it would work
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
Please let me know in detail What are HttpResponse and HttpRequest objects
Regards,
Sivaprasad
|
|
|
|
|
why u don't use google??
u don't have specific question, just general, what is HttpResponse and HttpRequest... and you want answer in detail!
Do you expect somebody to write several pages here about these two objects? Be more specific, what do you want to know, or what kind of problem you have.
google.com -> msdn HttpResponse -> the first page is http://msdn2.microsoft.com/en-us/library/system.web.httpresponse.aspx
google.com -> msdn HttpRequest -> the first page is http://msdn2.microsoft.com/en-us/library/system.web.httprequest.aspx
sufficient? not? then think about what information these pages are missing and put these words instead of "msdn" in google.
Remember google, is your best friend in a world of internet
Pilo
|
|
|
|
|
I want to develop applications using AJAX , for this do I need to load any software to develop AJAX based applications.
Sridhar B.
|
|
|
|
|
you have to add the dll of the ajax to use in ASP.Net , there are different ajax dll's availabel for use with .Net 1.1 and .Net 2.0 and hope fully u will get the tutorial from the google easily, if u don't let me know i will mail it to u.
|
|
|
|
|
Not at all - it's a common misconception made by complete muppets
Seriously though - look to www.w3schools.org - best resource I use
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
While calling webservice i am getting this error.
Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\fhqazh3m.0.cs' could not be found
error CS2008: No inputs specified
awaiting for your solution.
Sathiyaraj Ganesan
|
|
|
|
|
|
how to run a flash movie or .mpeg file in asp.net with vb.
|
|
|
|
|
Hi for a flash movie u can try this
OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height="240" width="400"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
PARAM NAME="_cx" VALUE="10583">
PARAM NAME="_cy" VALUE="6350">
PARAM NAME="FlashVars" VALUE="">
PARAM NAME="Movie" VALUE="filename.swf">
PARAM NAME="Src" VALUE="filename.swf">
PARAM NAME="WMode" VALUE="Window">
PARAM NAME="Play" VALUE="-1">
PARAM NAME="Loop" VALUE="-1">
PARAM NAME="Quality" VALUE="High">
PARAM NAME="SAlign" VALUE="">
PARAM NAME="Menu" VALUE="-1">
PARAM NAME="Base" VALUE="">
PARAM NAME="AllowScriptAccess" VALUE="">
PARAM NAME="Scale" VALUE="ShowAll">
PARAM NAME="DeviceFont" VALUE="0">
PARAM NAME="EmbedMovie" VALUE="0">
PARAM NAME="BGColor" VALUE="">
PARAM NAME="SWRemote" VALUE="">
PARAM NAME="MovieData" VALUE="">
PARAM NAME="SeamlessTabbing" VALUE="1">
PARAM NAME="Profile" VALUE="0">
PARAM NAME="ProfileAddress" VALUE="">
PARAM NAME="ProfilePort" VALUE="0">
embed
src="filename.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="400" height="240">
/OBJECT>
-- modified at 2:20 Wednesday 2nd August, 2006
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
hi
thanx for replying me.
actually i was trying this code.but its not running a flash file.
i show u how i try to to do it.i hav put the my .swf file in Imagess folder and trying to run it.but it shows me blank box.
<OBJECT<br />
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://downloa<br />
d.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"WIDTH<br />
="550" HEIGHT="400" id="myMovieName" VIEWASTEXT><PARAM NAME=movie<br />
VALUE="~\Imagess\Soft-Orange.swf"> <PARAM NAME=quality VALUE=high> <PARAM<br />
NAME=bgcolor VALUE=#FFFFFF> <EMBED src="~\Imagess\Soft-Orange.swf" quality=high<br />
bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN=""<br />
TYPE="application/x-shockwave-flash"<br />
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED><br />
</OBJECT>
one thing which confused me that i don't hav flash software on my PC.
do i need to install it.if it is then how it will run on server.
thanx
-- modified at 2:43 Wednesday 2nd August, 2006
|
|
|
|
|
It is working.......
I think the file address is problum
OBJECT style="Z-INDEX: 101; LEFT: 136px; POSITION: absolute; TOP: 144px"
codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height="240" width="400" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
PARAM NAME="_cx" VALUE="10583">
PARAM NAME="_cy" VALUE="6350">
PARAM NAME="FlashVars" VALUE="">
PARAM NAME="Movie" VALUE="~\Imagess\Soft-Orange.swf">
PARAM NAME="Src" VALUE="~\Imagess\Soft-Orange.swf">
PARAM NAME="WMode" VALUE="Window">
PARAM NAME="Play" VALUE="-1">
PARAM NAME="Loop" VALUE="-1">
PARAM NAME="Quality" VALUE="High">
PARAM NAME="SAlign" VALUE="">
PARAM NAME="Menu" VALUE="-1">
PARAM NAME="Base" VALUE="">
PARAM NAME="AllowScriptAccess" VALUE="">
PARAM NAME="Scale" VALUE="ShowAll">
PARAM NAME="DeviceFont" VALUE="0">
PARAM NAME="EmbedMovie" VALUE="0">
PARAM NAME="BGColor" VALUE="">
PARAM NAME="SWRemote" VALUE="">
PARAM NAME="MovieData" VALUE="">
PARAM NAME="SeamlessTabbing" VALUE="1">
PARAM NAME="Profile" VALUE="0">
PARAM NAME="ProfileAddress" VALUE="">
PARAM NAME="ProfilePort" VALUE="0">
embed src="~\Imagess\Soft-Orange.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="400" height="240">
/embed>
/OBJECT>
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
i'm trying the same
but its not working it gives me the blank box.
path is correct
i hav intall the flash too but still not working
what is missing..
|
|
|
|
|
Try this
www.w3schools.com/flash/flash_inhtml.asp
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
hi thanx
its working now kirti
thanx for ur support
tc
|
|
|
|
|
By the way its much easier to just publish the file.
Then it creates an html page to view and copy the object tab out of it.
That only takes a second and you know it works.
Nick
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|