|
i mean to say programmatically... not using ctrl+print screen..
umerumerumer
|
|
|
|
|
|
Would you like to get screen shot of that active aspx screen / page or other applictaions running in client PC. Say Notepad, Calulator etc.. If it same screen just capure the HTML source then convert into to JPEG. else you need to write a activeX control to take screen shots of other applications
Venky
|
|
|
|
|
is it possible in asp.net? vb6 style drag drop database field to generate textboxes.
thanks in advance.
|
|
|
|
|
What do u ask?...I'd not undstnd.
Balasubramanian K.
|
|
|
|
|
Hi all,
I am using FreeTextBox editor.I use ImageGallery to insert images.Then I send the text in an email.My problem is that how can I send the inserted images to the receipient.
Please help me.I m sure some1 on codeproject woul be able to solve my prob.
Thnx
|
|
|
|
|
The way to embedd images within an email is to attach them and then to send HTML email with img tags that show the images. The other way, is to send HTML mail that shows images which are referenced to externally, except that that those will usually start off blocked.
If you just want to send the images, not to show them to the reader, that's far easier. Attach them to the email.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
following is the code I am using to send image in img tag.But hte image doesn'tt show up at the reader.
LinkedResource title = new LinkedResource("va.gif.bmp");
title.ContentId = "Title";
AlternateView view = AlternateView.CreateAlternateViewFromString
(
"
" + strMsg,
null,
System.Net.Mime.MediaTypeNames.Text.Html
);
view.LinkedResources.Add(title);
msgObj.AlternateViews.Add(view);
//sending email
|
|
|
|
|
Well, that obviously can't work. You give a filename, why would that work across the web ? That won't even work if the html is not in the same folder as the image. The image needs to be visible on the INTERNET, so you need to make your src something like www.myhost.com/va.gif.bmp. If what you enter doesn't show the image when entered into a browser anywhere in the world, it can't work,
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i m facing problems with ado.net
|
|
|
|
|
shahid hussain pakistan wrote: i m facing problems with ado.net
ado.net is facing problems with you
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Well, it works fine for the rest of us, so read the documentation and try again.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Which kind of problem r u facing?
|
|
|
|
|
And when you have got someone to help you with that you will face problems with something else. Try pressing F1.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
How to insert data from database into a table which is placed in word document .
I have solution for dynamically creating table and inserting into that table.but now i need to insert data into table which is already created.
Help me regaring this
Thanks
|
|
|
|
|
i am developing one website in that
i was take masterpage then as follows below
1)first cut the content placeholder and insert one table with two rows & two columns.
2)inserted contentplaceholder into 2nd row 2nd column.
3)take one menu control and one dropdownlist and one label in remaining section in the table.
4) inserted all childpages into website.
5)At the time of execution first i selected one of the item from dropdownlist then i clicked one of the item in menu control.
after first time dropdownlist selected item should be changed then
what can i do for that dropdownlist should not be change until i was select
i wrote entire logic in menu_clickevent
how to apply AJAX control to Dropdownlist give me sample code for that dropdownlist.
|
|
|
|
|
How Create Code Bar In ASP. net With C# .
I Create Code In Asp.net With VB.net But I need ASP With C#
I Send Code ASp.net With Vb.net BarCode
This Code Working Properly But I need In ASP.net With C#
-------------------------------------------------------------------------
---------------------------------------------------------------------------------------
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Input As String = Request.QueryString("input")
Input = txtinput.Text
Dim ValidInput As String = " !" & Chr(34) & "#$%&()**+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" & Chr(0) & Chr(1) & Chr(2) & Chr(3) & Chr(4) & Chr(5) & Chr(6) & Chr(7) & Chr(8) & Chr(9) & Chr(10) & Chr(255)
Dim ValidCodes As String = "17401644163811761164110012241220112416081604157214361244123014841260125416501628161417641652190218681836183018921844184217521734159013041112109414161128112216721576157014641422113414961478114219101678158217681762177418801862181418961890181819141602193013281292120011581068106214241412123212181076107415541616197815561146134012121182150812681266195619401938175817821974140013101118151215061960195415021518188619661724168016926379"
Dim Digit As Integer = 103
Dim i As Integer
For i = 1 To Input.Length
Digit += (i * InStr(1, ValidInput, Mid(Input, i, 1)))
Next
Digit = Digit Mod 103
Input = Chr(8) & Input & Mid(ValidInput, Digit, 1) & Chr(255)
Dim bmp As Bitmap = New Bitmap((Input.Length * 11) + 13, 50)
Dim g As Graphics = Graphics.FromImage(bmp)
g.FillRectangle(New SolidBrush(Color.White), 0, 0, (Input.Length * 11) + 13, 50)
Dim p As New Pen(Color.Black, 1)
Dim BarValue, BarX As Integer
Dim BarSlice As Short
For i = 1 To Input.Length
Try
If InStr(1, ValidInput, Mid(Input, i, 1)) > 0 Then
BarValue = Val(Mid(ValidCodes, ((InStr(1, ValidInput, Mid(Input, i, 1)) - 1) * 4) + 1, 4))
Digit = 11
If i = Input.Length Then Digit = 13
For BarSlice = Digit To 0 Step -1
If BarValue >= 2 ^ BarSlice Then
g.DrawLine(p, BarX, 0, BarX, 50)
BarValue = BarValue - (2 ^ BarSlice)
End If
BarX += 1
Next
Else
Response.Write("Invalid input")
Response.End()
End If
Catch
End Try
Next
'bmp.Save(Response.OutputStream, ImageFormat.Gif)
bmp.Save("D:\WebSite6\Image\pic.gif", ImageFormat.Gif)
Image1.Visible = True
g.Dispose()
bmp.Dispose()
End Sub
---------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
modified on Monday, November 24, 2008 4:47 AM
|
|
|
|
|
|
I Do This already.
But This Not Working Properly.
|
|
|
|
|
This is horrible, horrible VB.NET code. However, in an ASP.NET project, you can have some pages that use VB and some that use C# . Just make this a VB page.
I'd also generate the images in an aspx, so that you don't ever have to save them to the HDD, just stream them to the page.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi
i have one calender control in my registration page.when i select any date my page is automatically posted . how can i stop autopost property of calender
thanks
vikram
Vikram
|
|
|
|
|
use AJAX Updatepanel or AJAX Calendar Control
cheers,
Abhijit
|
|
|
|
|
Try to work with Ajax controls. You can avoid the post back.
Balasubramanian K.
|
|
|
|
|
BalasubramanianK wrote: Try to work with Ajax controls. You can avoid the post back.
NO. You are confused with what is postback and page refresh. AJAX controls does post back AFAIK.
|
|
|
|
|
What I think is, post back is happened. but page is not refreshed....Is n't it?
Balasubramanian K.
|
|
|
|