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

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
790
thread by: zhang qian | last post Oct 28 '11 by: zhang qian
Assuming that I need to know programmatically (VS C#) an User's, or Domain's, Password Policy parameters: 1) MinPasswordLength 2) PasswordHistoryLength 3) PasswordAttribute - COMPLEX so far I can't found any way to get the parameters sos........................
2
2,322
thread by: aphoorva a | last post Oct 26 '11 by: arie
hi, am trying to split lines in a file in such a way where ever and or dot(.) comes in a file the line should get splitted my code is working only for .(dot)not for (and) code is as shown below static void Main(string args) {
2
1,780
thread by: aphoorva a | last post Oct 25 '11 by: GaryTexmo
how to split line exist in a file using (particular)string(ex., and ,or,etc., ) need of c# code for the above problem statement mine is only working only for seperators thanks aphoorva
1
1,838
thread by: NARASIMHA REDDY | last post Oct 25 '11 by: irina45
Retrieving com class factory for component with clsid {000209FF-0000-0000-C000-000000000046} is failed due to the following error:80080005
1
44,994
thread by: LeLouch Fenette | last post Oct 25 '11 by: arie
My project name ImageProfiler. My project is in the drive C: then how can i get the path of my project.. the output looks like this "C:\ImageProfiler"
1
5,481
thread by: HaSaN | last post Oct 24 '11 by: GaryTexmo
hi every body :) i have a FlowLayoutPanel and a UserControl, i'v added multiple usercontrols into the FlowLayoutPanel, and i'm trying to dock them to the top, so when i change the size of the FlowLayoutPanel the size(width) of the usercontrols change accordingly.. help please..
0
1,106
thread by: Addy yaddly | last post Oct 24 '11 by: Addy yaddly
How to configure and set authentication details in a C# application to access internet via a proxy sever
1
1,816
Tyler Wiebe
thread by: Tyler Wiebe | last post Oct 24 '11 by: GaryTexmo
This is my first time using exceptions, and I can't seem to make the exception get thrown. This is meant for painting this shape on the form. If I have the curve height more then the height of the object, all my form does is creates red X's for all of the controls. So what am I doing wrong? P.S. It works fine if the curve height is less then...
0
1,344
thread by: huhuhujujuju | last post Oct 23 '11 by: huhuhujujuju
Hi, i have a windows application with a webbrowser control. what i am trying to do is to detect if a specific javascript function is called in the html of a web page. anyone know how to do that? thx in advance!
1
1,596
thread by: Edwin White | last post Oct 23 '11 by: Rabbit
I have a problem with trying to instantiate an array of object types from a class that I have made. I am doing this becuase I want to easily access their data members from their array all at once such as: Address.Zip, Address.Zip, Address.Zip, ect. My problem is that when I made an object array to hold them in, they don't show up once I use the...
0
1,522
thread by: dsmelser83 | last post Oct 20 '11 by: dsmelser83
This is my first attempt at using a CrystalReportViewer control, so please forgive me if I'm making some obvious mistake. Here are the steps I'm taking to try to populate it with a very simple report (just a couple of fields dragged over). Some of this may be overkill or unnecessary but I've been tearing my hair out trying to figure out what...
16
8,180
thread by: robin voo | last post Oct 20 '11 by: GaryTexmo
Hey, I have a problem. I want to split a string like "Hello Guys, welkome to my home". The Probem is, that i want to get this string and save it in a array. But, i want that the first line is in the index 0 and the second line in index 2. So i need to .Split it. But what do i write in the ( )?
1
1,456
thread by: robin voo | last post Oct 20 '11 by: GaryTexmo
If the program opens the saveFileDialog: How can i say that the data have a .txt ending?
1
3,192
hemantbasva
thread by: hemantbasva | last post Oct 20 '11 by: arie
Hi team, I am facing issue with creating stream for filename having spaces or %20 using (Stream stream = webclient.OpenRead("http://tryanderror/Lists/Uploaded%20Audio%20Files/Attachments/32/ Band Baaja Baaraat - 01 - Ainvayi Ainvayi.mp3")) { }
1
2,208
BRawn
thread by: BRawn | last post Oct 20 '11 by: arie
This may be a stupid question to some, but is there any way I can change the display of the value in a DataGridViewCell? Here's the situation: We have an application being driven by an AS400 using ODBC. Now, for most of the DataGridViews which get populated from the database have date and time fields which were created as 'int' data types...
2
1,398
thread by: Ananda Vardhan | last post Oct 20 '11 by: arie
I have data like this in a column "Test Sample " Spaces between test and sample words and after sample. When i retrieve this in a multiline textbox it displays small squares for spaces which is weird.
0
1,440
thread by: Alex Lopez | last post Oct 20 '11 by: Alex Lopez
Actually I have the code in c# to do an httpwebrequest with a POST method sending one XML and receiving an XML answer and saving it, here is the code: public static XmlDocument PostXMLTransaction(string v_strURL) { //Declare XMLResponse document XmlDocument XMLResponse = null; //Declare an HTTP-specific...
0
1,373
thread by: dantz | last post Oct 19 '11 by: dantz
Hi, Can someone please help me convert my C structure/function into C#? I really need this badly... I believe I can call the DLL properly if I have able to correctly convert the function and marshal properly my structure. Here is my struct and the function that uses it: typedef struct UIclient_info { char name; int age;
0
1,150
thread by: jaystar | last post Oct 19 '11 by: jaystar
Hi all I get this error The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value when using the below code. Any ideas please var longtime = from d in context.DocketTBs //where (DateTime.Now.ToString("dd-MM-yyyy HH:mm:ss")) - Convert.ToDateTime(c.Docket_DateRaised +...
1
1,532
JnrJnr
thread by: JnrJnr | last post Oct 19 '11 by: JnrJnr
Hi people Im new to threading and I'm trying to monitor or destinguish when my thread has started and stopped running. Is there a good way to do this? Please help
0
1,707
thread by: kenstern | last post Oct 19 '11 by: kenstern
I have a service running in Windows 7. In Windows 7 all services run in Session 0. From that service I want to create an interactive user session (in a session other than Session 0) and start an application in that session. My problem is that when I call LogonUser to start an interactive user session and then use CreateProcessAsUser to start...
1
1,502
thread by: Brian Connelly | last post Oct 19 '11 by: Brian Connelly
I have a method that works, but when I click a link the first time the new form opens as it should. I then have in the method to check to see if the new form is open by using a bool variable. This works properly, but requires that I click the button twice before it will perform. What is causing this? Any Ideas or Suggestions? I have attached...
1
4,140
thread by: Chloe Heaven | last post Oct 18 '11 by: GaryTexmo
I would like a C# sharp code to check if Microsoft SQL Server 05 or 08 is installed and then show as a result yes or no. I have seen that i can go through the registry but i am not certain as to the code...if there are other options i wouldnt mind either. thanks in advance for any help
1
6,389
thread by: dfn77 | last post Oct 18 '11 by: GaryTexmo
Hi, I'm having some trouble with the following piece of code: string getAllNew = "SELECT * FROM dbo.HeaderAndDetail WHERE ProcessedToCsv = 0"; conn.Open(); try { SqlCommand cmd = new SqlCommand(getAllNew, conn);
1
2,184
thread by: abekubuz | last post Oct 18 '11 by: GaryTexmo
Hi all, I need help. I've 3 forms, mainform, form1 and form2. In my mainform, I've 2 buttons; button1 and button2, which I used to call form1 and form2. But I want to close the mainform and show the new is called, and back to mainform when I press back button in the Dat form. Here is my code private void bnt1_Click(object sender, EventArgs...

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.