16,017,303 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by veusk (Top 33 by date)
veusk
10-Aug-12 6:15am
View
i posted my codes . please help me
veusk
7-Aug-12 13:51pm
View
oh yes I did it , but the print icon not work
veusk
7-Aug-12 13:30pm
View
when i click on report viewr from toolbox ,notwork and do referesh page
how can i bind my reportr to it?
veusk
7-Aug-12 13:26pm
View
before page_load I define
ReportDocument rd = new ReportDocument();
and I add in bellow namespace at the first
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
veusk
31-Jul-12 16:00pm
View
ok,thanks,but I dont know about ActiveX ,and how can i use it in my web??
veusk
31-Jul-12 15:22pm
View
in my page I have a bottun for scan, when user click on, the scaner start scanntig and save them to my DB
I want work in this way.
please help me
veusk
31-Jul-12 14:46pm
View
thanks but not solved
veusk
30-Jul-12 16:29pm
View
text box
veusk
30-Jul-12 16:10pm
View
for example I have a page for reistration of users and they should fill this form, like name ,family and so on BUT at the middle page they should select date by click a button for showing the calender when click on this button the page jump at the first page
while I want stay at last location(button)
veusk
27-Jul-12 6:15am
View
ok, thanks, but I used master page and this page have only content palce holder,where write them? in head tag in the master page, is it true?
veusk
27-Jul-12 6:08am
View
for the first answer when i run ,I recive bellow error:
Error 1 'System.EventArgs' does not contain a definition for 'KeyChar' C:\Users\venus\Documents\Visual Studio 2005\WebSites\akhari\reg.aspx.cs 21 16 C:\...\akhari\
what should I do?
veusk
27-Jul-12 6:01am
View
in the taextbox event or page load or..?
veusk
27-Jul-12 6:01am
View
thanks , but where should I define that function ?
veusk
25-Jul-12 22:54pm
View
thanks for your replay
veusk
25-Jul-12 22:31pm
View
I downt know what do I do? and who can retrive image after it was save
veusk
25-Jul-12 22:28pm
View
i have 2 page
one page is for registration users with her/his pictures
another page is for edit their information,
in this page I cant show their image into image control for edit
veusk
25-Jul-12 22:03pm
View
I can save image binary into database, but for fetch it,I have problem
thanks
veusk
25-Jul-12 22:02pm
View
my showing code is:
public class Showimg : IHttpHandler {
public void ProcessRequest (HttpContext context) {
Int32 id;
if (context.Request.QueryString["id"] != null)
id = Convert.ToInt32(context.Request.QueryString["id"]);
else
throw new ArgumentException("No parameter specified");
context.Response.ContentType = "image/jpeg";
Stream strm = ShowEmpImage(id);
byte[] buffer = new byte[4096];
int byteSeq = strm.Read(buffer, 0, 4096);
while (byteSeq > 0)
{
context.Response.OutputStream.Write(buffer, 0, byteSeq);
byteSeq = strm.Read(buffer, 0, 4096);
}
//context.Response.BinaryWrite(buffer);
}
public Stream ShowEmpImage(int id)
{
SqlConnection connection = new SqlConnection("Data Source=.;Initial Catalog=NezamPezeshki;Integrated Security=True");
// string conn = ConfigurationManager.ConnectionStrings["EmployeeConnString"].ConnectionString;
//SqlConnection connection = new SqlConnection(conn);
string sql = "SELECT pic FROM DrInfo WHERE FileRow= @id";
SqlCommand cmd = new SqlCommand(sql, connection);
cmd.CommandType = CommandType.Text;
cmd.Parameters.AddWithValue("@id",id);
connection.Open();
object img = cmd.ExecuteScalar();
try
{
return new MemoryStream((byte[])img);
}
catch
{
return null;
}
finally
{
connection.Close();
}
}
veusk
25-Jul-12 21:55pm
View
I saved picture in another page with handller,
above codes are belong to edit page is for edit information and picture.
I ger key from textbox25, for show information to me,
now ,I dont know ,how get picture information.
veusk
24-Jul-12 21:17pm
View
thanks
can you help me,how can I to build activex?I use visualstadio2005.when I run bellow code,resieve error
tlbimp “[filename and path to onwebactivex.dll]”
/out:c:\OnWebActiveXNET
error is:
unable to locate input type library "[filename]"
please help me
veusk
22-Jul-12 14:56pm
View
and what is it ddl?
veusk
22-Jul-12 14:56pm
View
sorry how can I chesh count>o?
veusk
22-Jul-12 14:35pm
View
thanks, but dropdown get its items from db, I want selected end item in dropdown
veusk
21-Jul-12 15:37pm
View
thank you very much
veusk
21-Jul-12 15:21pm
View
I have a table that has 10 feilds like id (is PK) , name,family, tell
befor I fill id ,name and family
NOW
I want insert tell to related record,
what do I do?
veusk
21-Jul-12 15:12pm
View
no.I want fill empty fields from records that before inserted some fields of them.
now I want fill empty fields by primary key
veusk
20-Jul-12 2:47am
View
only when I drag tableadapter into dataset I set connections.do I do setthem in code?
veusk
18-Jul-12 14:22pm
View
thanks alot
veusk
12-Jul-12 12:30pm
View
I have a main page, that I like creating 10 news like first page of yahoo
veusk
4-Jul-12 2:08am
View
i did it,but receive bellow error,yet;
Conversion failed when converting the nvarchar value '13/4/1391' to data type int.
veusk
22-Jun-12 8:24am
View
thanks
but unfortunately the parts of catch no work,again
veusk
20-Jun-12 23:51pm
View
use of sql view in asp.net
veusk
15-Jun-12 2:02am
View
Deleted
thanks alot
but can you explain more ?
whats an httphandler?
and i resive these errors
:
Error 1 Validation (XHTML 1.0 Transitional): Element 'httphandlers' is not supported. C:\Users\venus\Documents\Visual Studio 2005\WebSites\WebSite8\Default.aspx 8 7 C:\...\WebSite8\
Error 2 Validation (XHTML 1.0 Transitional): Element 'add' is not supported. C:\Users\venus\Documents\Visual Studio 2005\WebSites\WebSite8\Default.aspx 9 4 C:\...\WebSite8\
Error 3 Validation (XHTML 1.0 Transitional): Element 'image' is not supported. C:\Users\venus\Documents\Visual Studio 2005\WebSites\WebSite8\Default.aspx 18 14 C:\...\WebSite8\
Error 4 The name 'Response' does not exist in the current context C:\Users\venus\Documents\Visual Studio 2005\WebSites\WebSite8\Handler.ashx 41 9 C:\...\WebSite8\
Error 5 The name 'Response' does not exist in the current context C:\Users\venus\Documents\Visual Studio 2005\WebSites\WebSite8\Handler.ashx 42 9 C:\...\WebSite8\
WHY?
Show More