|
for dedicated host, hosting admin would have root access to your machine and thus can get to our asp.net app which churn out "Evaluation Licenses". As mean to lock the app to a particular machine, we generate a license. The app only works if running on the dedicated hardware.
Now with shared hosting or virtual machine, this won't work. Do you have something to suggest? Have you implemented any licensing/locking scheme that'd work in shared hsoting environment, virtual machines? or cloud? where hardware id not viable?
dev
|
|
|
|
|
Hi All,
I am saving the image to particular folder programmatically. When saving the images it has different formats ,I want to save the all images into a single format which doesn't loose the resolution
Can any one help me how can I solve the issue
Thanks,
Siddiqali
|
|
|
|
|
Where is the problem? You can set the desired format as a parameter in the Save method:
System.Drawing.Bitmap bitmap = ...;
string filename = ...;
bitmap.Save(filename, System.Drawing.Imaging.ImageFormat.Png);
|
|
|
|
|
Hy to everyone!
Can anybody help me to make a image viewer !
I am at the point that i get the images paths from the database i store them in a list string, then i want to use a javascript or something else slideviewer to show the images.
I tried the slide from slideshow.triptracker.net/slide.js
It starts the slide but it doesnt show the images it stand at the point of loading or charging the images.
If is another way please show me how!
I just need to do that imageviewer!
Thank you in advance!
|
|
|
|
|
You might want to ask the author of that control for help.
Check if they have a forum or something.
|
|
|
|
|
I tried to find any possible way to talk to them but i didnt.
Can you please show me another way to make the slideshow ?
|
|
|
|
|
|
Thank you!
Can i do it with devexpress 10 or do i have to use a newer version of devexpress!
|
|
|
|
|
Dear All,
When we try to bind more 1000+ records in gridview other page controls events not firing.Please don't ask me to give paging for gridview because from gridview only we are inserting all the records into database.Please Help me
Thanks.
|
|
|
|
|
Paging is the way to do it; you should not be expecting your users to search through thousands of records to find the information they are interested in. Having said that, we have no idea what your code is doing so cannot begin to guess what your problem is.
Veni, vidi, abiit domum
|
|
|
|
|
Dear Richard MacCutchan,
Thank you for your suggestion.But my user need to search from all 1000+ of records because in gridview we are using jquery client side column filter.When we try to load around 500 records into gridview that time every thing going smooth.Please Help me out.
Thanks.
|
|
|
|
|
OasisSoft wrote: Please Help me out. With what? We have no idea what your code is doing, let alone what is wrong.
Veni, vidi, abiit domum
|
|
|
|
|
User will enter Customer Code based on the customer code all batches will bind into gridview (Which have 1000+ records) these (gridview)values should insert into another table
|
|
|
|
|
i have a web site with some sub domain for rewriting i use this code in web confic.
<pre lang="c#">
<if header="HTTP_HOST" match="^(?:www\.)?([^.]+)\.([^.]+)\.([^.]+)$"> <set property="subdomain" value="$1"/> <set property="domain" value="$2"/> <set property="tld" value="$3"/> <rewrite url="~/Default.aspx" to="~/userPage.aspx?pagename=${subdomain}&defaultpage=yes" processing="stop"/> <!--<rewrite url="~/Default.aspx" to="~/Default.aspx" processing="stop"/>--> </if>
</pre>
<pre lang="css">when i test website with this address everything is good: http://www.sub1.mysite.com/coHome.aspx
But when i want to test this address: http://www.sub1.mysite.com
doenst work rewrite</pre>
|
|
|
|
|
Im writing this code for display data in excel,
try
{
string Path = "G:\\AjanceReport\\TotalReportExcelfile_" + DateTime.Now.Day.ToString() + "_" + DateTime.Now.Month.ToString() + ".xls";
FileInfo FI = new FileInfo(Path);
StringWriter stringWriter = new StringWriter();
HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWriter);
DataGrid DataGrd = new DataGrid();
DataGrd.DataSource = dsGrid;
DataGrd.DataBind();
DataGrd.RenderControl(htmlWrite);
string directory = Path.Substring(0, Path.LastIndexOf("\\"));// GetDirectory(Path);
if (!Directory.Exists(directory))
{
Directory.CreateDirectory(directory);
}
System.IO.StreamWriter vw = new System.IO.StreamWriter(Path, true);
stringWriter.ToString().Normalize();
vw.Write(stringWriter.ToString());
vw.Flush();
vw.Close();
WriteAttachment(FI.Name, "application/vnd.ms-excel", stringWriter.ToString());
}
catch (Exception ex)
{
//throw new Exception(ex.Message);
}
but i see this error : exception of type 'system.outofmemoryexception' was thrown
any body know what can i do???
|
|
|
|
|
Hey,
How many records do you have in your excel file?
Are they too much, I mean System.OutOfMemoryException hits when there is not much memory left for the application?
have a look at your excel and see whether you can optimize it..
-Anurag
|
|
|
|
|
hey frends i want to make a page that contain information about one product
name
photo
price
i want to make a page from where admin will login and edit this items
dynamic lab
|
|
|
|
|
Cool.
Do You have a question?
David
|
|
|
|
|
|
You can use asp.net login controls for creating login page. Use repeater or datagrid to display product list.
Or
Use default asp.net template.
Code is important, but it's a small part the of overall process.
Jagz W
|
|
|
|
|
Can anyone provide me a image locking ideas i don't want to allow user to copy my website image
-ank
|
|
|
|
|
Bad luck for you: that's technically not feasable. Every image you show on your pages must be "visible" to the browser, and then the browser can save it locally.
|
|
|
|
|
Ya i searched a lot found a solution you can not prevent a browser to save image and once browser have saved it you can not do any thing
-ank
|
|
|
|
|
Can't stop the copy, but how about applying a watermark on the image so it would be useless to anyone else.
|
|
|
|
|
ya excellent idea man i just got a blink on mind and i have started doing that thanks for your suggestion
-ank
|
|
|
|