473,810 Members | 3,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
1,509
thread by: ThandoSiphambo | last post Oct 31 '12 by: Rabbit
I have an application that is connected in to a sql database, instead of connecting to the database, i want it to use the windows usernames and passwords to login into my application. windows usernames and passwords are stored in this location: c:\windows\system32\config\sam But how can i use this as my database or export usernames and...
-
-
thread by: givemesumshine | last post Oct 30 '12 by: PsychoCoder
i want know ,how to add reference in c#.net project dynamically. i know ,i can do this using simple clicking and copying but i want to do this using a code in c#.net
Moved:
2
1,680
thread by: electrodogg | last post Oct 30 '12 by: electrodogg
am doin a project it a like a radio and artists have pages like face book ones or my spaace i need to know the data base design for that and i need artists to post new news about them with there account, am little confused, any ideas!!
0
1,710
xarzu
thread by: xarzu | last post Oct 28 '12 by: xarzu
How do I expose the LoadCompleted method in the WebBrowser class in WPF C#? I am trying to write a C# program in wpf that retrieves the content of a web page. The first thing I tried was to try the WebRequest and WebResponse classes. This did not provide the actual displayed content. WebResponse reveils the HTML code that is sent to the...
8
29,375
thread by: aatif | last post Oct 26 '12 by: matasoy
I want to change the text of a textfield of a c# form object, but from outside that class. How can I do it? By passing that form field as a reference? How can I pass a reference of that form or textfield to that function if I am running that function in a separate thread? Thanx
4
3,947
thread by: zacksoniar | last post Oct 26 '12 by: Frinavale
Hello All, I have a event called dataTree_AfterSelect in which I have some code which I want to execute as atomic operation like this: protected void dataTree_AfterSelect(event params) { code that should not be disturbed }
1
2,046
thread by: geethaselvin | last post Oct 26 '12 by: Frinavale
Error : Input string was not in a correct format. public partial class frmDealerForm : Form { DataTable t; DataRow r; string id; private void btnNew_Click(object sender, EventArgs e) { txtdealerID.ResetText();
5
1,575
thread by: burnproof21 | last post Oct 26 '12 by: zacksoniar
Hi, I have a textbox where I want the user to be able to enter either: (1). Nothing (2). up to 3 digits, optional decimal, up to 2 decimals. I've been using ^\d{0,3}(\.\d{0,2})?$ but it's not allowing the empty string. Thanks for any help!
0
2,069
thread by: padam thakur | last post Oct 26 '12 by: padam thakur
Hello, I have requirement where i have to place my connection string in a text file for a windows application i am able to read it when i add it in my solution. But when i publish my application and create a setup and install it on my PC i am not able to read it also i want that whenever that file gets updated application should automatically...
1
1,976
thread by: mirshad | last post Oct 25 '12 by: ZiadElmalki
Plz tell me how to save arabic in sql server 2000 using c sharp .net vs 2005. When I save arabic character it show ???????????????? like that in databse.
1
6,805
thread by: Kotireddy | last post Oct 25 '12 by: ZiadElmalki
Hi, I sew lot of sample for ASP WEB API. In althose link the post method is using HttpResponseMessage as return tyope can any one tell me Is it possible to use return type bool in WEB API post method? Any one Please send any sample on this that will helps me.
1
2,217
thread by: jonathand1 | last post Oct 25 '12 by: ZiadElmalki
Hello everybody i need your help =) I'm doing a NNTP client application for Android and i have a problem about replying a post... When i send this to the server: (yes I am french ... lol) From: myemail@domain.fr Newsgroups: bx1.test References: <k2cg81$2ke$1@antares.drimm.u-bordeaux1.fr>
1
1,786
thread by: fharook | last post Oct 25 '12 by: ZiadElmalki
Hello, I am the learner of c# programming, whenever i make connection to the oracle database, it execute successfully but after that message box its shows error as 'ADsDOObject' failed with no error message available, result code:DB_E_ERRORSINCOMMAND(0x80040E14).
2
2,088
thread by: Deva Kumar | last post Oct 25 '12 by: PsychoCoder
How do I get the printer connected with my computer physically using cables?
1
1,692
thread by: PBQuestions | last post Oct 25 '12 by: PsychoCoder
When my program is working with a big list, it always connects to the internet and checks informations from a website. It is going fast, but when I'm trying to update a label on every connection, it just shows at the end, when everything is checked. Progressbar value is updating. How to solve this?
1
2,152
thread by: sreedhar82 | last post Oct 23 '12 by: Rabbit
Hi, I want to open one new CMD from console application, write text into the new CMD and then coming back to the control on the old cmd. (like interactively working on the both) please look into the below code Process P1 = Process.Start(@"C:\WINDOWS\system32\cmd.exe"); P1.StartInfo.RedirectStandardInput = true;...
2
15,404
thread by: bekets | last post Oct 23 '12 by: bekets
Hi All, I need to remove all namespaces from xml file shown after c sharp code (also been attached). The problem is that I am getting the following error being returned by one of the functions {System.Xml.XmlException: The prefix '' cannot be redefined from '' to 'http://sample.response.power.core.com' within the same start element tag. ...
2
5,241
thread by: idealsavran | last post Oct 22 '12 by: idealsavran
hello.. How can I calculate the total of pages for all file(pdf,word,excel,txt...) types in a directory with c#? please... help!!!
0
2,266
thread by: djpaul | last post Oct 22 '12 by: djpaul
Hello, I'm trying to load a xlsx file into an XmlDocument and want to read some values within that document. What I did: Extract the Xlsx file to a temporary folder and loaded the 'xl\worksheets\sheet1.xml' into the xmlDocument. But after that it looks almost impossible to get data out of it. This is my code: xml.Load(TempFolder +...
1
1,527
thread by: justintime | last post Oct 21 '12 by: justintime
I'm currently working with nesper. I have problem with filtering by praporty-map. for example select * From Event(nestedMap('KeyName')!=null) The Event Object for it Event obj= new Event(); obj.someAttributen="bla"; obj.nestedMap= new System.Collections.Generic.Dictionary<string, Item>(); obj.nestedMap.add('KeyName', item)
2
1,258
xarzu
thread by: xarzu | last post Oct 19 '12 by: PsychoCoder
What is a "Friendless Class" in C#? I heard someone refer to it but I googled it online and found nothing.
2
7,277
thread by: sandymj14 | last post Oct 18 '12 by: PsychoCoder
Is there any methods to add scroll bar for group box My code scenerio is: I have many groupbox in form, all group box will be appears in same place and also height and width is fixed. I'm doing group box visible true/false according to condition. So some groupbox ecxeeds the width and heighto so I want to put this all in scroll Bar, So...
1
4,478
thread by: thea7y | last post Oct 18 '12 by: PsychoCoder
Hi! i found your article http://bytes.com/topic/c-sharp/insights/931771-bulk-sms-sender-c matched my condition, and i'm also applying it on my system. However it works fine when i send bulk sms of 4 or 5, not when i send a bulk of 58 sms. the sms were sent in for loop and i did use system.threading.thread.sleep(10000). I'm not sure if it's too...
1
2,144
thread by: Andyx | last post Oct 18 '12 by: Rabbit
How do I change a string with a version No (255.255.255.255) to a string with it's representation in hex but without the dots?
2
3,886
thread by: kamalmahdavi | last post Oct 18 '12 by: rupali
I wrote this code behind a button " colordialog.showdialog(); File.WriteAllText("dlg.txt",this.BackColor.Name); " And I wrote this code in Form Load as well " this.BackColor = Color.FromName(File.ReadAllText("dlg.txt")); " but I got an error and I dont know what is this... Any one knows "Control does not support transparent background...

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.