473,809 Members | 2,591 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
3,435
thread by: Irwing | last post Jan 16 '12 by: Fr33dan
Hi, pls can somebody help me with this problem? Im trying to start a process in iexplore window from console and need to wait till the page is loaded and if done I need to close the window, but I dont know how. Can you help me? Here´s the part of the code: try { Process OpenPage = new Process(); ...
2
1,566
thread by: mrcw | last post Jan 16 '12 by: Fr33dan
Hi I've made a simple form with 1 textbox and 2 buttons on it and connected my computer to a servo. If I press the Go button the servo moves to the position entered in the texbox then stops. That works OK, but if I replace the "else" with the line I've commented out and delete the following line "if (LEACurrentPosition < LEANewPosition)"...
1
5,470
thread by: SEhtesham | last post Jan 16 '12 by: GaryTexmo
hi, i want to add some static text in my C#.Net code.But i want some text to be subScript and some to be SuperScript.. Please guide how can i do this?
1
2,547
thread by: kamakshi k | last post Jan 16 '12 by: Paul Johnson
is it possible to repeat one control many times using for loop? like, for(i=0;i<5;i++) { textbox1.text; } anybody know plz help me
13
3,886
thread by: daniam | last post Jan 14 '12 by: agustin almonte
I am working on write a program that reads and writes from the barcode my problem when writing (send command to barcode) I read in pdf manufacturer barcode that the command of capturing the image is IMGSNP so i pass it to write function as follows serialPortObj.write ("IMGSNP") But Why does not have a barcode to respond to the command ?...
0
1,534
thread by: aamersaeed2368 | last post Jan 14 '12 by: aamersaeed2368
Hi All, I am writing a code to make directory on ftp using c# and everything seems right.....But i am getting and error "The remote server returned an error: (550) File unavailable (e.g., file not found, no access)." and i don't know why. I am pasting the code here can anyone help???????? using System; using System.Collections.Generic;...
0
1,204
thread by: xjlian | last post Jan 13 '12 by: xjlian
C++ calls: hData = LoadLibrary("data.dll"); pMemDec=(MyFunc)GetProcAddress(hData,(char*) 11); In C# how calls ? public extern static IntPtr GetProcAddress(IntPtr hModule, string lpProcName);
2
1,550
thread by: omend ferdi | last post Jan 12 '12 by: adriancs
string sql = string.Format("INSERT INTO tbluser(user,pasw,tanya,jawab)VALUES('{0}','{1}','{2}','{3}')", TBuser.Text, TBpassword.Text, CBboxpertanyaan.SelectedItem, TBjawaban.Text); OleDbConnection connect = new OleDbConnection(koneksi); connect.Open(); OleDbCommand cmd =...
0
845
thread by: neelmukhopadhya | last post Jan 11 '12 by: neelmukhopadhya
hi all thanks in advance. i need a help. I am developing a windows application. where i have report which i am using crystal report. I have created a typed dataset and datatable named customer inside the dataset. Now i am getting the Datatable from my business module for which i need to show data. ex. string familyCode =...
1
1,914
thread by: philip Montgome | last post Jan 11 '12 by: bukkko
I have this code to create multiple filesystemwatchers and store them in an array list but I need to be able to reference an individual watcher to disable raising events while I complete another process. Does anyone know how to achieve this?. Thanks protected void CreateWatchers() { Logtext("Create...
2
1,485
thread by: alive | last post Jan 10 '12 by: PsychoCoder
Can somone tell me why richtextbox text is not changing? public partial class Form1 : Form { public Form1() { InitializeComponent(); }
1
971
thread by: REEGAN DURAI | last post Jan 6 '12 by: GaryTexmo
how to change progress bar color in c#
0
1,180
thread by: futuretech | last post Jan 6 '12 by: futuretech
MY DATABASE CLASS using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;
0
1,228
thread by: sia89 | last post Jan 6 '12 by: sia89
hey, i have found some code online that lets me use animated gifs in xna, but for some reason the reds and blues of the image r getting switched, i have tried changing stuff where i think the channels r being set, but it doesn't seem to change anything, i can't use breakpoints to step through the code cause the symbols won't load, and the dll file...
0
1,241
thread by: Kapil Jaya | last post Jan 5 '12 by: Kapil Jaya
I want to know how to get names of fonts which supports for specific input language in c#. We all know applications like ms word correctly changes the font when user changes the input language. Is there any method to do that? Thank you.
0
1,298
thread by: Himanshu Gupta | last post Jan 5 '12 by: Himanshu Gupta
I want to introduce hierarchy among elements while showing the output i.e. parent of every element if it exists? as of now my code parses every element without hierarchy among nested elemets.
0
1,205
thread by: vinutha b | last post Jan 5 '12 by: vinutha b
private void button1_Click(object sender, EventArgs e) { // DataGridView dgview = new DataGridView(); //dataGridView1.RowCount=0; try { for (int row = 0; row < dataGridView1.RowCount - 1; row++) {
0
1,155
thread by: Himanshu Gupta | last post Jan 5 '12 by: Himanshu Gupta
I want to parse an XML document using XMLReader. How can i establish heirarchy in it? Like if i want parent of any element how can i get it?
0
1,149
thread by: benny lee | last post Jan 5 '12 by: benny lee
I am passing in properties when launching a MSI file (for example: "setup.exe MyService.msi ServiceName=MyService1"). In my module, I have a class that derives from Installer. In that class ctor, I am using ServiceProcessInstaller and then adding it to the Installers collection. In the ctor, I need to access the property "ServiceName". The...
0
1,096
thread by: fireballbrady | last post Jan 4 '12 by: fireballbrady
Hi! I am trying to run a program from a c# app. To run properly the the program needs some flaggs appended to it. right now I have the following: System.Diagnostics.Process proc = new System.Diagnostics.Process();
1
1,485
thread by: Mahdi Zareie | last post Jan 4 '12 by: Mahdi Zareie
Hi all i'm scrutinizing Windows Forms ListBoxCollection Add Method, during the analyzing i found that the method "add" calls Equals method in base Object why this method do this action ?
5
8,594
thread by: kaushal30 | last post Jan 4 '12 by: Sourabh4u
I am getting this error when I call a stored procedure from my C# code. It is a simple stored procedure with six params that inserts data : PROCEDURE LHD_SUR_ADMNEXP_HDR_INS ( p_ORG_ID Varchar, p_YEAR Varchar, p_DATA_NOT_APPLICABLE_ADMNEXP Number, p_DATA_NOT_APPLICABLE_OPENENR Number,...
0
1,252
thread by: afroze banu | last post Jan 4 '12 by: afroze banu
i was used in toolstripcomboBox than i was tried to change the Fontsize in label.How can i change the Fontsize?what code i give is changing the fontsize?
0
1,097
thread by: RAJU KARNA | last post Jan 4 '12 by: RAJU KARNA
How to get searched row from database to datagrid in c#.net by clicking search button
0
1,189
thread by: computerpublic | last post Jan 3 '12 by: computerpublic
Hi, I am very new to C# and the books that I am reading does not show a way of automatically incrementing UNICODE CHARACTER VALUE. I would like to use some sort of loop to automatically increment the Unicode Value so I can see the different characters. Can someone please kindly help? using System; using System.Collections.Generic; using...

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.