Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

manjari kar

@manjari kar
About
Posts
21
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How IIS identify SharePoint site and ordinary website
    M manjari kar

    Hi, please post your question briefly..so i can give you the proper solution.on your question,it will identify by load balancing having multiple servers.

    How i will design a a form in windows service to print a document.

    SharePoint sharepoint windows-admin

  • I need different Style sheet pdfs to develop in sharepoint designer.
    M manjari kar

    Hi, i want to know about css style sheets pdf to customize the master page in sharepoint.In which links i will get the css list for getting more customization in sharepoint.and links for getting customization of webparts using wss. thanks,

    How i will design a a form in windows service to print a document.

    SharePoint css sharepoint design

  • deployment of website
    M manjari kar

    Hi all, plz help me about deploment of website.i hv develop one project.now i want to publish thatone.so give me the process to deploy and publish the site in web server. plz help me.

    How i will design a a form in windows service to print a document.

    Web Development sysadmin design help

  • How to restrict no of copies in printdialog of any printer
    M manjari kar

    Hi dave, see first u run ur application then go to any like notepad or pdf or wordpad.give the print option then u wil get the print dialog box after clicking ok the pop up will come to ask username and password while thattime ur job is in pause mode.if valid it will ask for no of copies.if that particular user have limit like 6 copies it cant permit to 7 copies,and it will blocked.thats what he wants.he wants to do this one one exe or a service and implement it.i hope u understud my point. c u. takecare. bye. manjari.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial

  • How to restrict no of copies in printdialog of any printer
    M manjari kar

    ok. fine i m giving the code for restrict the no of copies of print dialog. if (ds.Tables[0].Rows.Count > 0) { cmd = new MySqlCommand("select credencials.Limit-credencials.`No of Pages` from credencials where UserName='" + txtusername.Text + "' and Password='" + txtpassword.Text + "'", con); { adp = new MySqlDataAdapter(cmd); ds = new DataSet(); adp.Fill(ds); PrintDialog dia = new PrintDialog(); dia.PrinterSettings = ps; if (dia.ShowDialog() == DialogResult.OK) { timer1.Dispose(); Copies = ps.Copies; Copies = (short)(Copies * job.NumberOfPages); if (Copies >= Convert.ToInt32(ds.Tables[0].Rows[0][0].ToString())) { MessageBox.Show("Exceed Printing Limit is " + Copies.ToString()); dia.ShowDialog(); timer1.Dispose(); job.Resume(); this.Hide(); } else { timer1.Dispose(); job.Resume(); this.Hide(); } using this code u can restrict the no of copies of print dialog with ur database copies. takecare. :thumbsup:bye.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial

  • How to restrict no of copies in printdialog of any printer
    M manjari kar

    Hi Dave, finally i got the solution.i restricted no of copies of printdialog.my project is finished.takecare.bye.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial

  • How to restrict no of copies in printdialog of any printer
    M manjari kar

    Hi Dave, really i appriciate ur view.nw i m in notice period.i m leaving this company.but in this period also he told try to restrict no of copies of print dialog.hw yaar.i tried to set flags of copies and copycount method also set.but it returns only 1 copy not multiple copies.in this 8 days i will give whatever i searched. and one more thing personally i want 2 share with u .when i gave resignation thattime my p.m called me personally and told i want u people for permanent position.why u want to leave this company.i just gave little smile and told what should i will do.i got another offer and i signed the agreement. and one more thing plz give ur mailid,if u want.i want to keep touch with u.hw z ur life going on.if u thing that i m ur true frnd then mail me.take care.bye.hv a nice day. :laugh: :thumbsup:

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial

  • How to restrict no of copies in printdialog of any printer
    M manjari kar

    Hi, This is manjari and im facing some problem to getting no of copies.i cant get the particular method to restrict the no of copies in printdialog.tell me the proper method which will restrict the no of copies .menas if a user will give 10 copies to print if that user hv limit for 9 copies then it should blocked.hw i will restrict plz help me. thanks, regards, manjari.:confused:

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial

  • Information about Dynamic Data website...
    M manjari kar

    tell me briefly what u want.I m not getting ur point.actually what u want.in ur question biggners can do it easilly.

    How i will design a a form in windows service to print a document.

    ASP.NET tutorial

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    personally something i m telling u that i think humanity is there in this world.in this company my p.m has assigned this project single me and he told you should takecare of entire project and he didnt give me any support or any idea of this.totally i m doing identity on this. 2 to 3 times i told it is not possible to modify in windows xp.but again n again he told u r totally unable to do this .what u know about .net.next month i will think about u.so nw m thinking before thinking about me ,i will think about this company.nw i hv one offer in another company.m thinking to leave this one.and one more thing ur suggetions really impressed me and i think u r the only one supporter for me in this matter. this is my mail id-manjari10i@gmail.com.if u want mail me.keep touch with me. thanks, regards, manjari

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    thanks for support.i m totally fedup in this project.i want to leave this company.nw m searching outside.again thanks for support.take care.bye.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    ok,i understud ur point but what can i do.I already told my P.M that its not possible to do this.in one application only i can import the dlls and override it.but in xp how to modify.but he told priviously our people hv done this one using vb6.0.why u r unable this one in .net.so what should i will do.i m trying my best.thats why m askin. the last way i m thinking that whatever i modified inprint dialog i saved in c drive then i will put windows xp cd to restart setup and i want to use recovery console for repair using r. and there i will give the path of modified one.so is it possible way to do this or not plz suggest me. thanks, regards, manjari.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career

  • How to customise the window xp print dialog.
    M manjari kar

    Hi, This is manjari.I hv some problem while customise the print dialog.In comdlg32.dll -in dialogs-i hv inserted some controls for customise for username and password in no of copies panel.i want to replace the customised comdlg32.dll in systm32.here i used one patch wfp10 for disabling the windows file protection .then i used inuse for replacing the comdlg and rebooting.but it didnt replace.tell me the process how to do.plz help me as soon as possible. thanks, regards, manjari

    How i will design a a form in windows service to print a document.

    COM help design tutorial

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    see,in comdlg32.dll-1538-1033-print dialog pop up is comming.i inserted there controls for username and password in no of copies panel.i installed the resource hacker which used to customise the dialogs of comdlg32.dll.then i used one software for disable the windows file protection ,used inuse for replacing the customise comdlg32.dll and used move on boot for reboot.but it didnt replce the dll.tell me the process how to customise the windows xp print dialog.plz help me in any ways.This requirement is mandatory for me.help me. :((

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    any ways can i customise the print dialog of the system,means i want to replace comdlg32.dll to system 32 or win 32.by invoking.or if any other method to overriding comdlg32.dll then plz tell me.nw for this requirement i m thinking to customise the stanard print dialog .so how i will do.plz help me.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    thanks lot for ur great response.i will try to do.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    yes, u got my point.now plz helpme and give me the right path. my code is like this.and in this code after print dialog when a person clicks ok then my dialog is comming and asking for username and password.means m able to block the job after going to the print spool.help me that how i will detect before going to the print spool. private void timer1_Tick(object sender, EventArgs e) { PrintServer myPrintServer = new PrintServer(@"HP LaserJet P2010 Series PCL 5e"); PrintQueueCollection myPrintQueues = myPrintServer.GetPrintQueues(); foreach (PrintQueue pq in myPrintQueues) { pq.Refresh(); PrintJobInfoCollection jobs = pq.GetPrintJobInfoCollection(); foreach (PrintSystemJobInfo job in jobs) { if (job.Submitter == "gyana.manjarikar") { job.Pause(); } if (true) { //MessageBox.Show(job.Name.ToString()); this.Show(); } else this.Hide(); } } } private void btnlogin_Click(object sender, EventArgs e) { int copies=10; this.Opacity = 50; PrintServer myPrintServer = new PrintServer(@"HP LaserJet P2010 Series PCL 5e"); PrintQueueCollection myPrintQueues = myPrintServer.GetPrintQueues(); foreach (PrintQueue pq in myPrintQueues) { pq.Refresh(); PrintJobInfoCollection jobs = pq.GetPrintJobInfoCollection(); foreach (PrintSystemJobInfo job in jobs) { //if (txtUserName.Text == "aaa" && txtPassword.Text == "bbb" && copies <= 10) //{ // job.Restart(); //} if (job.Submitter == "gyana.manjarikar") { if (txtUserName.Text == "aa" && txtPassword.Text == "bb" && copies <= 10) { timer1.Dispose(); job.Resume(); this.Hide(); } else { lblErrormsg.Text = "Invalid

    Windows Forms help design tutorial question career

  • How to detect the person who will click the print option in windows application???
    M manjari kar

    thanx for responding.plz giv eme ur answer depictly with code .becoz i tried a lot .but i didnt get result.plz help me.and nw again i briefly tell u the task.suppose in ms word or in notepad or in pdf file ,when a person is going to click the print option in file menu thattime our window should display instead of print dialog popup.if valid then it goes to print dialog popup for print that document. i hv done my task like this.after clicking the print option printdialog popup is comming,then clicking ok my window is displaying and asking for username and password.but i want before that print dialog popup it should display.plz helpme and give me a right path. my code is like this : private void timer1_Tick(object sender, EventArgs e) { PrintServer myPrintServer = new PrintServer(@"HP LaserJet P2010 Series PCL 5e"); PrintQueueCollection myPrintQueues = myPrintServer.GetPrintQueues(); foreach (PrintQueue pq in myPrintQueues) { pq.Refresh(); PrintJobInfoCollection jobs = pq.GetPrintJobInfoCollection(); foreach (PrintSystemJobInfo job in jobs) { if (job.Submitter == "gyana.manjarikar") { job.Pause(); } if (true) { //MessageBox.Show(job.Name.ToString()); this.Show(); } else this.Hide(); } } } private void btnlogin_Click(object sender, EventArgs e) { int copies=10; this.Opacity = 50; PrintServer myPrintServer = new PrintServer(@"HP LaserJet P2010 Series PCL 5e"); PrintQueueCollection myPrintQueues = myPrintServer.GetPrintQueues(); foreach (PrintQueue pq in myPrintQueues) { pq.Refresh(); PrintJobInfoCollection jobs = pq.GetPrintJobInfoCollection(); foreach (PrintSystemJobInfo job in jobs) { //if (txtUserName.Text == "aaa" && txtPassword.Text == "bbb" && copies <= 10) //{ // job.Restart(); //} if (job.Submitter == "gyana.manjarikar") { if (txtUserName.Text == "aa" &

    .NET (Core and Framework) help design tutorial question

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    suppose in ms word or in notepad or in pdf file if a person wants to print that document and goes to click the print option in file menu ,thattime instead of print dialog pop up our application should display with username and password.after validating it goes for print.means before goin to print spool the job should detected,if valid then it wil print.othewise block.plz help me.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career

  • How To Detect The person who click the print option in any document?????
    M manjari kar

    Hi, m getting problem whil e doin this task.m able to detect the person who wants the job to print after goin to prit spool.but m not able to detect the person before going to the printspool.whenever a person click the print option of any document it should displayour dialog instead of print dialog if valid it will goes to the print dialog to printthe job. plz help me.

    How i will design a a form in windows service to print a document.

    Windows Forms help design tutorial question career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups