- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 6
- Posts with Upvotes
- 5
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hello everyone. I am trying to work through a programming challenge in my c++ book. I have gotten it to work, but i kind of cheated by looking at the file. I am going to past the entire code so i can be compiled, but the main problem i am … |
|
hi, i am doing a project using C#. i am new to this area. the task is to extract the zip or rar file using C#. in my windows form have a text box and button in the form. i will give the zip or rar file. when i click … |
|
I'm doing a program which consists on a Test, with the following structure: 1. Question 1 rdioBtn 1 rdioBtn2 rdioBtn 3 2. Question 2 rdioBtn 4 rdio Btn 5 rdioBtn6 And so on... Each question is inside of a groupbox. What I wanna do, is to disable my "Next" button, … |
|
Hi, I have c# Application running in my desktop(Windows XP) with Java web services and oracle DB . The Application includes a shipping screen which has a calendar window. When I run the application in my desktop it works fine. Client uses the same application. We access it through CITRIX … |
|
Could someone tell me how to go about this? I've a dataGrid and when a user right-click on one of the row's header I want a context menu pop-up with the menu choices "View Detail", "Cancel". Thanks in advance... |
|
hi, i have three text boxes tb1 has timeIn tb2 has TimeOut and i have a Button which shows the time duration between them i have used time diffrence method bt it is unable to calculate the duration it only gives the difference which create problem when time is greater … |
|
I'm making a Login form with two text boxes(username, password) and a button called "Login". I would like to simulate the Login click when the user finishing enter the password and press the "Enter" key. Could someone tell me how to go about doing this? Thanks in advance. |
|
hello, i'm trying to check if a cell in datagridview is of type Image with the following code [code] if(cell.Value.GetType()==typeof(Image)) { ...... ...... } [/code] but it's always showing "Object reference not set to an instance of an object" error..could anytell me if i'm doing this right?? If not, how … |
|
Ok So Im writing a app which would pick the 'cheapest' plan for a consumer. While writing this I came across something puzzling to me. Why is it starting after the default constructor, the first CellPlan has three arguments passed too it and then the next one two and then … |
|
I know this makes no sense at all, but hear me out and maybe someone can supply me with some info on how this can be accomplished correctly. Using an invoicing type example. You have a table of clients who can receive invoices, a table of invoices with invoice numbers … |
|
Hi, I have added a SaveFileDialog to my project, to enable users to choose where they would like to save a txt file. I am using the Filter property to enable saving the file as a txt document, but when I run the project and the SaveFileDialog appears, the 'save … |
|
I am getting the value of a datetime picker and add it in the database but it is throwing an exception saying : [COLOR="Red"]The conversion of a char data type to a datetime data type resulted in an out-of-range datetime. The statement has been terminated.[/COLOR] This is my SQL Statement … |
|
I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program? |
|
hi there, i got some problems in extract the minimum value in a sortedlist, as below: [code] Dictionary<string, double> sortList = new Dictionary<string, double>(); double min; sortList.Add(1,2); sortList.Add(2,5); // min = sortList5.Min(x => x.Value); [/code] I wants to find minimum value of the sortlist.value, is there has any functions of … |
|
I am getting this error object reference not set to an instance of an object and cannot figure out how to fix it. I can get the program to when I only have one Timepiece object, but when I try more I get the error message. I left a note … |
|
I have 2 forms, I want 'form2' to open when I click a button on 'form1'. Any ideas? |
|
Hi, this i'm trying to make a loop that would read a list of character (including numbers) that you type in terminated by a period and that would only write the letters and ignore the other characters. How would i do this?? Thats the code ive been doing but there … |
|
My scenario: I have a requirement in my project(C#).I need to give the user only reading capability for my word document opened thru my application.All other featues like cut,copy,paste,save,saveas,print,right click context menus should be disabled.How can i achieve this in word document programatically using c#? can anyone extend their help? |
|
I'm after an efficient way of detecting whether a List object has changed from one frame to the next. [CODE] List<int> intList = new List<int>(); [/CODE] I have my list as a member variable and will check to see if it has changed each Update() method call. The only way … |
|
How would i get an imageBox Background image file location ? Thanks in advanced. |
|
Hi everyone...I am at University and learning C# for my software development modules. Presently I am mostly using "Beginning Microsoft Visual C# 2008" (although I find C# for dummies pretty good!). Its always the case that some books suit people better than others and they find them easier to understand. … |
|
Hello, Do anyone know how to continue the loop to get an average of entered numbers: [code] //Using loop to enter the numbers for (int i = 1; i <= 10; i++) { //Entering ten numbers Console.Write("Enter the number:"); int Number = int.Parse(Console.ReadLine()); /*If user write number 0 in console … |
|
Hello, I'd like to set multiple InputScopes to one text box in a Windows Form with using C#. This application will be used in TabletPC. I found SetInputScopes API. But I'm not good at C#, so I don't have any idea how to program it in C#. Could anyone please … |
|
When i drag and drop a file into my form it should give: textBox1.text = the file name (i dont have it, i need it can you help me get it) textBox2.text = file location (already know how to acquire it from a drag/drop) I want the actual file name, … |
|
Hello Frnds I am working in a Company from last 3 years as Software Developer. I think i m very good in sql server So i want to get certification of sql server plz give me suggestions .....what type of exam i do and how it will be done. |
|
[code] class ReadGradesIn { public void readGrade() { int numberOfA = 0; //number of A grades int numberOfB = 0;//number of B grades int numberOfC = 0;//number of C grades int numberOfD = 0;//number of D grades int numberOfE = 0;//number of E grades int numberOfF = 0;//number of F … |
|
hi im sorry if this isnt in the right forum but i cant seem to find any threads in this. i cant seem to create a datetime object in vb.net with datetime string that's in this format "hh:mm:ss tt MM/dd/yy". The error im getting says its not a recognisable string … |
|
Can someone look at this code and tell me why I am getting errors and warnings. I have everything just like the book says but it doesn't work. Here is the code: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Class-level declarations … |
|
How would I setup an event in my class to be automatically called. So, Im using a ChannelFactory object, which has a few events associated with it. Closed, Closing, Faulted, Opened, Opening. I want to do something specific when these events happen, but I guess im lost on how to … |
|
Hi there all Don't know if I'm at the wrong place, but I'll take that chance. I am fed up battling with importing txt files to sql server 2005. I am re-writing a vb6 based application, that uses text files, to a c# based application that uses sql server 2005 … |