473,799 Members | 3,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
1,786
thread by: a7med14 | last post Apr 29 '12 by: roshan ban
List<Byte> Pt_split(string plain) { List<Byte> pb = new List<Byte>(); // Byte p; string p; int temp = 0; if (plain.Length % 2 != 0) plain = '0' + plain; for (int i = 0; i < plain.Length / 2; i++)
0
1,481
thread by: adnanyaseen | last post Apr 28 '12 by: adnanyaseen
I am trying to acheive the functionality as described in the attached image. Width of the both curves should be increased or decreased. Also the sweep angle is also variable and can be increased or decreased. What is the best possible way to do this using C#?
3
26,436
thread by: harini19 | last post Apr 27 '12 by: Plater
I have implemented the code to send raw data to printer using the below KB article. http://support.microsoft.com/?kbid=322091 The receipt printer works for small strings but when I send large string data (250 lines), not all the information is printed correctly. Has anyone run into this issue before. Please help !!
1
1,351
thread by: Ayush Tripathi | last post Apr 26 '12 by: Rabbit
while accesing the command line it generally runs the commands in c directory but what if i want to access the sub directory or some other directory in the c drive!! for example c:\\ayush:\\my documents> .
3
4,123
thread by: dinesh1440 | last post Apr 25 '12 by: RhysW
Hi I have a dll named TaskScheduler.dll which is used by another DLL(StartMailingDLL). Now I need to register Both TaskScheduler DLL and StartMailing DLL so that my ASP Pages can make use of them. I have no problem Registering StartMailingDLL(64 bit). But While I am trying to register interop.TaskScheduler DLL(Regasm...
4
3,153
thread by: Senser | last post Apr 25 '12 by: Senser
Hello I am trying to write a litte program which let users search für other users with an LDAP connection. It works fine with some search operations but it takes a very long time to "open" the searchresult object, it produces an COMException with some querys, others work fine. i have no idea why this takes this much time. if i debug step by step...
2
2,215
Tyler Wiebe
thread by: Tyler Wiebe | last post Apr 24 '12 by: Tyler Wiebe
I'm trying to rotate a System.Drawing.Icon, but first I need to convert it to a System.Drawing.Bitmap, then rotate it, and then convert it back to a System.Drawing.Icon, which is being looped, which works fine... for 2:34 minutes. I'm using this to convert the System.Drawing.Icon to a System.Drawing.Bitmap public static...
3
2,253
Tyler Wiebe
thread by: Tyler Wiebe | last post Apr 24 '12 by: Tyler Wiebe
I'm wondering if there is any event that my application can use to tell if a different process starts. More specifically, I want to know when another process, let's say Notepad, appears in the System.Diagnostics.Process.GetProcesses(), and possibly when it disappears. I'm mostly interested when the process appears, but when it disappears...
2
1,569
thread by: Intro | last post Apr 24 '12 by: Intro
I am using a Windows Application consisting of many forms. I want to have show the Menu consistently throughout some Forms.(like Master pages in asp.net) Can anybody please help me getting this ? Thanks,
2
1,993
thread by: Intro | last post Apr 24 '12 by: RhysW
I want to display the related tab information in the same tab space provided in the TabControl. Can anyone please help me? Thanks,
1
1,677
thread by: chez | last post Apr 24 '12 by: RhysW
i wanted to add 3 decimals places to either string or int. let say scenario 1: a = 8 to a = 8.000 b = 11.6 to
1
1,324
thread by: babbsagg | last post Apr 24 '12 by: RhysW
I just want to edit a txt and save the edited version. In this case i replaced all the i's with q's. Is there an easier way to do this? Without all the casting? static void Main(string args){ string text = File.ReadAllLines("test.txt");
4
1,809
thread by: sentimental37 | last post Apr 24 '12 by: RhysW
Hi everyone, Is there any way or trick to make a program that executes without using any class or class concept
1
1,543
thread by: abcdef | last post Apr 24 '12 by: RhysW
when we are trying to shift one tab to other one event should occur, can any one tell what is the event,how and where we have to write the event??? give example. if he successfully login in first tab only then second tab will open,if he doesnt login in first and tries to open the second tab message should appear... can any one help me??
2
2,152
thread by: LeLouch Fenette | last post Apr 24 '12 by: RhysW
I want to change the string name to property name.. for example public class Code { public int RD{get;set;} public Code() {
7
7,254
thread by: Intro | last post Apr 24 '12 by: adriancs
I have a Combobox in an Application based on Windows Forms. But though I change the index of items from the UI, the combobox internally doesn't fire the SelectedIndexChanged() event. Does anybody has any solution ??? I used window.open() on LinkButtonClick to open the PDF in new window.
1
3,181
thread by: Edel | last post Apr 24 '12 by: adriancs
I've a html table in my web form which contains 30 rows of textboxes. I want to display all the textbox values by using a search command...Please help me...
5
12,552
thread by: gladiator69 | last post Apr 20 '12 by: rekedtechie
This is a program of maintaining the various work carried out in a library. My syntax and use of classes is wrong. Could anyone please correct the errors in the program and also handle the exceptions for me. I need it ASAP. Thanx a lot... class Program { static public int student = new int; static public int i =...
2
2,041
thread by: sreekan81 | last post Apr 19 '12 by: SeanPD
Hi All, I want help from you guys to solve the problem 1. Open a browser and navigate to a URL (manually) I would like to do the following from a windows application: 2. I will click "Fill data" button from Windows screen, 3. We have to identify what are the browsers opened in the PC and which browser has correct URL
0
1,209
thread by: Intro | last post Apr 19 '12 by: Intro
I am currently using a Windows Application whcih contains many forms. OIn one of the forms, I want to validate : 1.A TextBox(which will only accept digits 0-9)(the user won't be able top type any other except digits 2. Another textbox which will accept only , No other key will be allowed to be types in the textbox. For the first...
0
1,316
thread by: Daniel EXBN | last post Apr 19 '12 by: Daniel EXBN
I am downloading a file (if it exists) via Ftp, now problem is that if for example the input address is "http://google.com/por/test.zip" and the actual address is "http://google.com/Por/test.zip", then i get throw exception of file not exist.. So, how can i disable Uri case sensitive and make it case-insensitive ? Thanks in advance.
0
1,289
thread by: tinku3366 | last post Apr 19 '12 by: tinku3366
I want to select all controls on form by rubber band selection .Here controls is not selecting. please help me. thanxs public void MyMouseMove(Object sender, MouseEventArgs e) { Point ptCurrent = new Point(e.X, e.Y); // If we "have the mouse", then we draw our lines. if (bHaveMouse) ...
1
1,992
thread by: Vipul | last post Apr 18 '12 by: RhysW
hi I want to convert byte to system.type data type I want su ch a functionality like convrt byte to any tye passed by user Is it possible to do that?
1
2,615
thread by: renelima | last post Apr 18 '12 by: RhysW
How do I order the value of the selected cell in a datagrid to textbox in another form
0
1,264
thread by: mohammadsj | last post Apr 16 '12 by: mohammadsj
I have developed a web site to show job status of our fax server. I use windows fax service (fxscomex.dll interop). when I am debugging from VS2010 (using development sever), everything is fine, I can read jobs status of, but when I run my web site under IIS, job queue is always empty. here is my code to check sent items: ...

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.