473,786 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
1,243
thread by: Eddylino | last post May 15 '12 by: Eddylino
I want to print pdf file and I should be able to select a printer and also application and documents open should terminate/close after the printing is over.... Open source .....Any help???
7
3,629
thread by: Charp | last post May 15 '12 by: Charp
Hi, I have been assigned to Convert a VB.NET project to C# and I got stuck. I am using a class called RsiOPCAuto, but I don't think that I'll have to go into to much detail into explaining how it works. Let's just get on with my issue. So basicly what i do is grabbing an object from my class using this code: public partial class...
0
1,397
maheshwag
thread by: maheshwag | last post May 13 '12 by: maheshwag
I have a datagridview and listbox control on winforms . My task is not to lost focus from datagridview on press or click to listbox control. I want to keep focus on datagridview. For Example: when datagridview have focus and if I press or click to listbox then the datagridview lost the focus but I just want to keep focusing datagridview on...
0
1,358
Dr Cake
thread by: Dr Cake | last post May 12 '12 by: Dr Cake
Hello, recently I've been trying to "play" with MessageBoxes and wondered how may I add custom buttons. A basic MessageBox should look like this: MessageBox.Show("Message", "Title", MessageBoxButtons.Something); However, I'd like to know how to create one with Once, Weekly, Monthly, Daily and Cancel, instead of MessageBoxButtons.Something....
5
2,300
thread by: Joe Campanini | last post May 11 '12 by: Plater
I am inputing a UTF-8 encoded file into memory using the following code... try { StreamReader readFile = new StreamReader(pathNames); while (line != null) { line = readFile.ReadLine(); compareData.Add(line);
1
2,707
thread by: hemantn | last post May 11 '12 by: Plater
Hi, I am using windows service created in VS 2008 and using Connection string to connect VFP Container (DBC file) which is kept on different machine , i am specifying the below path Provider=VFPOLEDB.1;Data Source=//192.168.1.2/data/FolderName/my.dbc;exclusive=False;Collating Sequence=MACHINE" I am Using the different machine IP address...
1
1,531
thread by: Nathan Luepnitz | last post May 11 '12 by: RhysW
I am using a windows application to start other processes. I am looking for a way to keep the form itself as the topmost program until it is closed, allowing the other programs enough load time.
1
10,774
thread by: cthomas7k | last post May 10 '12 by: cthomas7k
This issue has been driving me crazy. Here is my code snippet: Also see attachement The variable:var pid = DateTime.ParseExact(e.RowData, "dd-MMM-yyyy", null); The stored procedure parameter:cmd.Parameters.Add("P_DOC_ISSUE_DATE", OracleDbType.Date).Value = pid; The error:PLS-00306: wrong number or types of arguments in call to I have been...
6
5,408
thread by: Djiber | last post May 7 '12 by: Djiber
Is it possible and how to disable selection of 1'st row in dataGridView. I made it select some other row, but even so when u try to move with arrows on keyboard it'll select 2'nd row(cause 1'st row was selected initially and you can see it's selected on RowHeader-1'st/Left Column) This is my code for selecting row: ...
1
1,954
thread by: Anil Trivedi | last post May 6 '12 by: PsychoCoder
i have developed a project in c sharp. i have used ghanshyam.ttf (Gujarati ttf font) but i have face problem to display & printing with font. in report some charcter missing and not printing. i have install GJ keyboard in regional & language settings. but the problem will be same...
0
1,669
thread by: Charp | last post May 4 '12 by: Charp
I have an application that saves data to a MS Access database and then compresses it. The annoyance here is that I get a double extension on my zip folder. (*.accdb.gz). I have come up with an alternative but it causes the compressed file to not get any extension at all. The problem is that I name both the folder and the file in the same line...
1
1,768
thread by: Holstein | last post May 4 '12 by: RhysW
Hi, Im currently working on a school assignment. Im gonna have a ArrayList with objects of customers that i need to represent in a listbox. I think i have solved that but here is the tricky part: I need to be able to select an item in the listbox and then be able to click a change button, get the data from the specific object which is...
2
1,815
thread by: Hacene | last post May 3 '12 by: Rabbit
I have (large)datatable than (example) id car value 1 car1 Valx 1 car2 122 1 car3 22 . 2 car4 val 2 car2 val . 3 car& val
0
1,067
thread by: Shailender | last post May 3 '12 by: Shailender
Below is my code. Not sure how to make the print brighter. MemoryImage = new Bitmap(Panel_Invoice.Width, Panel_Invoice.Height, System.Drawing.Imaging.PixelFormat.Format32bppPArgb); Rectangle rect = new Rectangle(0, 0, Panel_Invoice.Width, Panel_Invoice.Height); Panel_Invoice.DrawToBitmap(MemoryImage, new...
0
1,698
thread by: thilanst | last post May 3 '12 by: thilanst
anybody please this questions to be replase, i creativ bill systeam on C# sharp but main page calculation problems. how to do listview table in amount columns calculator for rows and all rows calculator put in total amount be automatically add "textbox.text"
2
2,243
thread by: hamidi | last post May 2 '12 by: RhysW
hi regarding to the solution given by Jeffrey Tan in the following post: http://bytes.com/topic/c-sharp/answers/280000-there-done-resizing-event i've this question that when my application is a Silverlight application what can i do? WndProc is not available to be overridden, is it?
3
8,589
thread by: QuangNhat | last post May 1 '12 by: QuangNhat
Hi, I use Combobox in DropDownStyle = simple, and AutoCompleteMode, I bind DataSource for Combobox. So I have a Combobox AutoComplete with a list from Database. When I use in DropDownStyle = DropDownList, it don't have problem. But when I use it in Simple, when I chose a item by press Enter, Text of Combobox is cleared. I use PreviewKeyDown and...
3
2,573
thread by: adnanyaseen | last post May 1 '12 by: RhysW
Hi, I am drawing two circle (inner circle and outer circle) using DrawElipse method. I have created two pen object named OuterPen and InnerPen and creating Outer Circle using OuterPen and Inner Circle using InnerPen. Problem that I am facing is that when I increase the size of outer pen lets say 10px then it overlaps the inner circle and inner...
9
6,568
thread by: Djiber | last post May 1 '12 by: RhysW
I have app in which I would like to use buttons as an Drop Down menu. private void button16_Click(object sender, EventArgs e) { button1.Visible = true; button2.Visible = true; button3.Visible = true; button4.Visible = true; button5.Visible = true; ...
0
1,810
thread by: forjonathanwils | last post Apr 30 '12 by: forjonathanwils
has anyone found a solution to this yet? I joined so I could continue this thread but I'm not allowed to reply to the original message! I am having the same situation, web browser used in a C#.NET project throws alert when DOM is changed. I'm bypassing it by throwing out a "n" keypress event when I anticipate the alert box, but it's sloppy and...
5
7,614
thread by: AllanJohnson | last post Apr 30 '12 by: RhysW
Hello everybody, please assist me if how to validate if the item you want to add in the cart is already exists in listView items? for example I already add CH001 which is the productId of Chocolate strawberry, then I accidentally add again that product Id and I what I want is that it should not be acccepted on my listview again because CH001 is...
10
3,290
thread by: hamidi | last post Apr 30 '12 by: hamidi
hi i need to know when resize ends in my Silverlight application. how can i do that?
5
20,991
thread by: Lakshmi | last post Apr 30 '12 by: QuangNhat
Hi, How can I make the combo box text uppercase? For instance when the user types in letters in the combobox, I want them to appear as upper case. Thanks. Lakshmi
7
2,787
thread by: zoho | last post Apr 29 '12 by: rekedtechie
Hi, We have socket server which is developed in c# .net 3.5. I see server memory keep on increasing whenver client disconnectes and connects.The server disconnects client if client didn;t send valid credentials. When client is trying to connect with invalid credentials the memory is keep on increasing. Here is the code that handles...
7
2,238
thread by: AllanJohnson | last post Apr 29 '12 by: roshan ban
Please help! kinda urgent...so please please help. I have an ms access database with 2 tables in it which I named Customers and Products. I am using visual studio 2010, in my windows form I have 4 textboxes and 3 button in it, for my 1st textbox when I entered one of my ProductCode such as 10111, then press the Display button, the other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.