|
Hi
i am working on a desktop applicatioin in which i genrates the pdf files and save them on the disk upto here its fine . Now after saving a file i want to take out the print of that pdf file . i am buliding this application in c# . Can any one tell me the way so that i send that file directly to the printer.
Regards
Atif Khan
|
|
|
|
|
Can you please tell me how to generate PDF from c#
I dont know that.
What have you used?
<marquee>nishu
|
|
|
|
|
IF you dont want to tel me than its ok?
No problem .....
<marquee>nishu
|
|
|
|
|
Hi,
I want to change the control dynamically in the grid. In my grid there are two columns. By default 1st column displays label with some text. In second column will be having a check box. If I select the check box, I need to change the label to textbox and I want to edit in 1st column. How to do it in C#.net. It's urgent. Please help.
Thanks in advance,
Reddy.
rr
|
|
|
|
|
In RowCreated event
1. Goto the column where you want to add the new control.
2. Find the label control and remove it from ControlCollection.
3. Create a textBox and add it to the column's ControlCollection
|
|
|
|
|
Hello.. Has anyone experience this..
I'm displaying a crystal report in asp.net crystal report viewer using the push method. But the the crystal report viewer always displays the same data even if i changed the queried values in the dataset..I'm using C#.Net and Crystal report 8.
|
|
|
|
|
Are u using parameters in CR or DataSet as datasource???
|
|
|
|
|
I'm using dataset for my datasource.. I'm using Asp.net 2003..I'm stucked on this one now for almost a week and I can't find a solution.
|
|
|
|
|
Hi
i want put a rounded png image onto the buton control.
how can i do this.and button should be invisible only image should display
Parshant
|
|
|
|
|
hello,
I am working in form application and I want to draw a Graph
is there a componenet which can help me?
|
|
|
|
|
Does this one[^] suit your needs.?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
|
Hi
which is the equivalent function of exit(0) in c#. Do anybody know???
sAqIb
|
|
|
|
|
if u want to exit from application then
u can use
Application.Exit();
rahul
|
|
|
|
|
Hi,
What about from Web Appliation ASP.NET, I did not find anything similar to that.
|
|
|
|
|
From what i understand in your question is that you will implement exit(0) function in an asp.net web page...From my point of view is that there is no equivalent of exit(0) in an asp.net webpage since the browser is not an application of the asp.net..if you want to exit in an asp.net page use the response.redirect or if you want to close the browser you can use the javascript window.close().
|
|
|
|
|
Application.Exit
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
i already tried Application.Exit() but its not working.
sAqIb
|
|
|
|
|
You got multiple threads? Make sure they marked as background threads otherwise they'll keep your app alive.
Regards,
Rob Philpott.
|
|
|
|
|
how to mark threads as background threads?
sAqIb
|
|
|
|
|
|
hi,
i have a certain internet based program running on this computer, and i'd like to check it's network i/o.
i've tried to do it with basic tcplistener/tcpclients like i used to do with web programming, but apperently when its a program and not a webpage, the port is declared as 'used' and i cant listen to it.
i know there is probably some easy way to do it and i sound pretty much like a 1-day-user, but i truely have no experience with actual 'exe-programming'.
all im basicly looking for is a code to list all i/o from the selected port, and write it to console screen or whatever available.
thanks for any help.
|
|
|
|
|
Hi all!!
I have the following gridview error, and I am not sure how to fix it.
I have the following object datasource:
<asp:ObjectDataSource id="odsOrders" TypeName="MyName.BusinessLogicLayer.Order" runat="server">
</asp:ObjectDataSource>
And here is my gridview (part of it):
<asp:GridView id="gdvWineries" DataSourceID="odsOrders" DataKeyNames="ID" AutoGenerateColumns="False"
AllowPaging="true" PageSize="10" Width="100%" runat="server">
<Columns>
All my coloumns here.
</Columns>
</asp:GridView>
I have the select statement in my Page_Load event handler because the select statement can use onr of 2 methods to populate the gridview, depending on the roles of the user.
if (!Page.IsPostBack)
{
if (Role.IsInRoles("SystemAdmin"))
{
odsOrders.SelectMethod = "GetAllOrders";
}
else if (Role.IsInRoles("WineryAdmin"))
{
odsWineries.SelectParameters.Add(new Parameter("strMemberUsername", TypeCode.String,
User.Identity.Name));
odsWineries.SelectMethod = "GetWineryByMemberID";
}
}
Then at the bottom of the gridview it displays 1 2 3 4.. for the page numbers, but when I click on one of these numbers I get the following error:
The Select operation is not supported by ObjectDataSource 'odsOrders' unless the SelectMethod is specified.
Can someone please help me why I get this error and how to fix it?
Regards,
ma se
|
|
|
|
|
Hello friends,
I have an appication of recording a wave file.
But i want to specify the sound device through which only
the wave file should be recorded. That is if my machine has more than one sound card
then i want to select one (through Programmatically) and record sound from that one only.
How to do that.
Thanks in Advance.
Rahul Kulkarni
|
|
|
|
|