4,588 Topics

Member Avatar for
Member Avatar for adam2009

Hey, I have a c# code that connects remotely to a winServer2008 machine (with a local user of that machine). How do I configure via automated code the logon script that will be executed as soon as the connection is established ? Cheers,

0
96
Member Avatar for adam2009

Hey, I have a c# code that connects remotely to a winServer2008 machine (with a local user of that machine). How do I configure via automated code the logon script that will be executed as soon as the connection is established ? Cheers,

0
81
Member Avatar for jms78888

[code]namespace Exam { public partial class Form1 : Form { public Form1() { InitializeComponent(); } Private void btnCalculate_Click (object sender, System.EvenArgs e) { try { If (IsValidData()); { int Numofyrs = Convert.ToInt32(txtnumYrs); Decimal discountRate = Convert.ToDecimal(txtDuiscountRate); Decimal yrlyCashFlow = Convert.ToDecimal(txtYrlyCashFlows); Decimal onetimecosts = Convert.ToDecimal(txtOneTimeCosts); Decimal yrlyrecurrcosts = Convert.ToDecimal(txtRecurCosts); npv = …

Member Avatar for TheBlindSleuth
0
179
Member Avatar for j4jawaid

I want to know that how to get attribute "class" of an html element using webbrowser component in C# .. Normally i am able to get any attribute (except class attribute) of any html tag. but this time i want to get attribute of "class" here is a sample html …

Member Avatar for Hallupa
0
859
Member Avatar for DrueY

Hi Everyone, I'm working on a project in Visual C# that requires multiple tabs (similar to an internet browser). I was easy to implement the tabs, however Im unable to use the tab pages with a text box. The textbox is textBox1 and Ive got a lot of code connected …

Member Avatar for kvprajapati
0
2K
Member Avatar for ryn6

hi all i know that to be able to bakckup with mysqldump i need to type mysqldump -u [username] -p [password] [databasename] > [backupfile.sql] i was just wondering how can i pass that command from a windows app using c#

Member Avatar for ryn6
0
87
Member Avatar for rohitmanhas_12

hi i want to convert this jsp code to c#... JSP CODE--------------- [code] ResultSet resultset4; try { Statement statement1 = connection.createStatement(); String strSQL = ("SELECT * FROM IllnessMaster"); resultset4 = statement1.executeQuery(strSQL); while(resultset4.next()) { str2 = resultset4.getString("IllnessId");//Here getting illness ID dd = str2.length();//taking IllnessID length str5 = str2.substring(1,dd);//here making IllnessId into …

Member Avatar for kvprajapati
0
370
Member Avatar for karanniyan

Hi, I want to know the coding and the design for the Text Editor TextBox in C# Web Application. Please reply me as soon as possible. With Regards, V S Karanniyan

Member Avatar for kvprajapati
0
34
Member Avatar for Kelba

Hello I'm a newbie to C# and I'm looking forward to learning it. I know the best way to learn something is to practice, but I can't think of anything to make. I'm most interested in developing applications that interact witht he web, but I have also had an idea …

Member Avatar for peter_budo
0
3K
Member Avatar for tinchektinc

Hi everyone. First I would like to apologize if I didn't post this correctly, so please don't take it hard on me if I did. Here is my problem: I have to print out a system filled form, including text styles. For example (I have already solved the styling issue) …

Member Avatar for tinchektinc
0
3K
Member Avatar for krishnisilva

hi, i am developing a desktop application in VS 2008 standard edition, i have a form with a text box with a button and a grid view. when i type a part of the file name in the text box and then click on the button all the files which …

Member Avatar for Szpilona
0
248
Member Avatar for sanam2010

hi, I make a rdlc. report, and now when I save it as pdf. file, it saved in 2 pages, one is full of data, and the second page is empty! How can i remove the second one? it is not needed! please help me, thanx. :D (i mean that …

Member Avatar for thines01
0
55
Member Avatar for kapiercy07

I am in a basic programming class and am having difficulty figuring out how to account for a non-numeric value being placed in for a binary number that will be converted to decimal form. If there is to be say a P typed into the binary input number, I want …

Member Avatar for kapiercy07
0
128
Member Avatar for kizilelma

when you enter a,b,c,d,e numbers by keyword COUNTING A. Sum of numbers B. Multiply numbers C. Greatest number D. descending of numbers PRINTING ON SCREEN A- Sum of numbers B- Sum of multiplication C- The greatest number D- descenging of numbers [CODE]using System; class Program { static void Main(string[] args) …

Member Avatar for Szpilona
0
118
Member Avatar for krishnisilva

hi, how do u make a text box uneditable at runtime, the value is shown in the textbox but the value cannot be changed, how can i do this,?? thanxxxxxxxx

Member Avatar for Szpilona
-1
145
Member Avatar for radhikakh

For my project , I have to find which version of Microsoft Exchange server is installed on my machine using C# code. One solution I know is to read Registry entry HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall and get the subkey. But this is a bit difficult as I have to store array of subkeys …

0
27
Member Avatar for phabion

in C++ Builder we have SpeedButtonAdd and SpeedButtonDel, what are the same things in Visual C# Studio 2008? Thanks in advanced!

Member Avatar for kvprajapati
0
63
Member Avatar for krishnisilva

hi there, how can i add a date time picker in the datagrid view in C# VS 2008 standard edition, there is not datetime picker in the column type in the datagrid view. how can i do this please help me thanx...

Member Avatar for ddanbe
0
92
Member Avatar for Syeda.farwa

hi all, i have some dates in my dataset n i want to filter it with 'between' keyword like this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "DATE BETWEEN '"+startDate.ToShortDateString() +"' AND '"+endDate.ToShortDateString()+"'"; [/code] But rowfilter doesnot support between keyword.. so i tried this: [code] dataset.Tables[Table_Name].DefaultView.RowFilter = "'" +startDate.ToShortDateString() + "'<=DATE AND DATE<='" + …

Member Avatar for Syeda.farwa
0
130
Member Avatar for phabion

I've just write a very simple console application in Visual C# stdudio 2008 and got a message. But I really don't understand what the hell is that? So please let me know what is that and how to solve that problem. Thanks in advanced.

Member Avatar for progcomputeach
0
141
Member Avatar for mbrodie

Hi, kinda new to the whole C# thing and trying to make a small app for myself in C# in Visual Studio. Basically i have 2 combo boxes, 1 had Classes the other has Spec's in it. When you select the class it populates the second combo box with the …

Member Avatar for kvprajapati
0
168
Member Avatar for CodeField

Hi everybody, I was given a free choice for a project to complete for my class. We have been working in HTML, 3D Max, Flash and C# / SQL Databases this year, so I chose C#, which is by far my favourite thing to work in. However, due to numerous …

Member Avatar for Gospp
0
137
Member Avatar for callagga

Hi, Does anyone know of a solid C# library / approach to manage a hierarchy/web type collection? This would be a library that would basic consist of the concept of nodes & relationships, for example to model web pages/files linked under a URL, or modeling IT infrastructure. It would have …

0
99
Member Avatar for karthi_selva

hi , i have an doubt in c#. i have not much knowledge in C#, i do't know how create the dynamic object for the class using C#. i have two class member class Operation class different member are have same operations. so i do't know how to create the …

Member Avatar for mhorton
0
99
Member Avatar for phabion

In the main form I have a button. The thing is how can I put a small image to that button? Any help is appreciated. Thanks in advanced!

Member Avatar for ddanbe
0
39
Member Avatar for phabion

I have to creat two forms (Form1 and Form2). Here Form1 is the main form (that was created when you created the project). The thing is: when you click on the Form2, the size of Form1 need to be random changed. How can I do this? Any help is appreciated. …

Member Avatar for ddanbe
0
52
Member Avatar for brettbed

This is an example from an assignment I'm working on in which we need to validate that the user enters at least 1 Like for the temp.like[3] array and 1 Dislike for the temp.dislike[3] array. I tried using a while statement that said " while (temp.like == "") " or …

Member Avatar for brettbed
0
575
Member Avatar for shallug

Hi, I want to create a program which can count a function as many times it runs. eg. if i sold some tickets then at the end of the day i have to count how many tickets i have sold. Thanks

Member Avatar for jbrock31
0
53
Member Avatar for gptArun
Member Avatar for complete

Declaring an array of linked list in C# How do I declare an array of some class in C#? I wonder if it is even allowed or possible. I got the compile error message "Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)" when …

Member Avatar for RicardoE
0
672

The End.