8,298 Topics
![]() | |
Hi I am New to C# i Am trying to create a grade book form but I cannot build successfully because of the following error. [COLOR="Red"]The name 'InitializeComponent' does not exist in the current context [/COLOR] [code] // Fig. 19.7: GradeBook.cs // A reusable Windows Form for the examples in … | |
I need a lot of help with this program: I know this is a homework problem but I am really struggling with it. This program requires you to input information about rickshaw taxi fares. The ODUSPORTS is a student powered on-campus rickshaw transportation system. Upon departure, a ticket is created … | |
Hi, I need to hide calender of datetimepicker in (c#).net. Thanks in advance | |
hi! i m having a main form which is having a blacklist button in this i m having website database which i want to block when an url address is been enter in the comboaddress box plz suggest me the code in c# | |
i have button on main form which i want to visible when i click on the button which is on the sub form. | |
ok so what does this do.. 1.) read the text file(most likely a c++ code in text form) line by line and display it line by line... 2.) (as the title says) check for syntax errors. ( only minor ones like missing ";" or a lack of closing braces) soooo..... … | |
How do I add a Macro to an Excel Sheet using Late Binding? I had the code working using Excel(2010) PIA: [CODE] //create a new VBA control module oModule = oWorkbook.VBProject.VBComponents.Add(VBIDE.vbext_ComponentType.vbext_ct_StdModule); //Add the VBA macro to the new code module oModule.CodeModule.AddFromString(sCode) //sCode is the VBA macro I created;[/CODE] I now … | |
Hey all! Homework help again...except this time not in the way you think lol...I finished all my problems and realized there's a problem in my makefile which I need in order to submit Here's the original make file that our professor gave us [CODE] CC = gcc JVC = javac … | |
The basic structure of the program is this: 1. issue an interactive prompt for the user to enter a non-negative number, 2. verify that the input is indeed non-negative, or that the user wishes to end the program, 3. calculate the square root of the input value, using the method … | |
Here is my code: [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <cmath> #include <time.h> #include <assert.h> using namespace std; int main() { // = (num3&&num4) - (num1&&num2); // save this calc for later: hrIn + (hrOut/60.0); // same thing = num3 + (num4/60); // write an alogorithm to establish the … | |
How to access all values of the selected Row of a DatagridView in C# using Coding, MS Access as a Database..?? | |
well,this is my college assignment question.the question ask us to write a program that can compare 3 number,who is the biggest and smaller.the output should be like this: Enter 3 numbers. Number1: Number2: Number3: Main Menu 1)Find the biggest value among the 3 value you have enter juz now. 2)Find … | |
heyy..plz suggest me new C#.net project topics other than managemant systems.. | |
Hello all, I hv jst recently started using C# and i need to read some Xml documents using C#. I hv a Xml document as , [CODE] <?xml version="1.0" encoding="utf-16"?> <add>< fnum>12</fnum> <snum>12</snum> </add> [/CODE] Now, i need to independently get the values of the elements fnum and snum and … | |
Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ?? | |
Hi everyone, I have developed a desktop application. I have created a menu item to click for backup database from MS SQL Server 2005. This is why I have created a method to perform the operation. But the method is not working well. There’s something wrong in the code which … | |
could someone please explain to me the differences of these languages (C, C++, C#) and when i would use them. (i know a little C++) | |
Good afternoon I have recently had to switch from using VB.Net to using C#. The software I am trying to write needs to hold a DataSet in memory (consisting of about 5-10 tables). Then depending on user interaction, data will be added to or read out from the DataSet and … | |
I promise I read the Read This First post and also searched for relevant threads, but I didn't have any luck. I'm taking my first C++ class, and the instructor hasn't been much help when it comes to fundamental things like what compiler we should use, where to get it, … | |
Hi there, how can i create an executable so that anybody can install in their own computer? I want to create from visual studio C#. please give me a tutorial or something, i did some but it didn't work properly please help guide in this thanx | |
Hi dears. I wrote a program in C# with visual studio 2010 an now need to ensure that my program will work on any system with XP or seven or vista windows version. I used from .net & directX in my project. How can i compact it with an installer … | |
Hi i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box. Currently i am creating … | |
Hey all, A quick question, i've been picking my brain and browsing the net for a few hours now and still can't get any further. I have a simple C# windows form which acts as a login, but also has a form to change the password of a user. When … | |
I'm using .NET 3.5 with VS 2005 C#. I created a simple application where when I select the time zone from a combo box, it displays the current time of that time zone. To do this I simply use the GetSystemTimeZones() method of TimeZoneInfo class, and then populate the combo … | |
Hello Everyone: its nice to find this site because I'm just starting to learn C++ and I would welcome any help I can get. Thanks All! | |
•Generate a random number from 1 to 100 inclusive. •Input a guess. Use a while loop to check the guess to ensure that it is within the range of 1 to 100, If the guess is outside that range, continue to input guesses until it is within the desired range. … | |
How can one bring graphics component in C++ to work under C# | |
I am trying to learn C# and have an idea for an application. I am building a windows form application in C# that will convert an area code from my Access database into the time zone that area code is located in. I have the database connected to Visual Basic … | |
I am having trouble with this program in the if else part I feel that is a really simple problem, I have tried 'else if' as well as 'else' but all sorts of errors come up. [CODE] #include <stdlib.h> #include <iostream> using namespace std; int main() { double a, b, … | |
Hi guys, Does anyone know if it's possible to connect to the MYSQL database in wamp using C#. I basically want to take information from the COM port using C# and write it to the database. Any thoughts/tutorials/links would be greatly appreciated! | |
I was humming along, and decided to try out data sorting. So, I did a few pieces of research, and came up with a really cool looking algorithm: Quicksort. I did what I should have, and started to program. Now, here is where I sound like an idiot: Why is … | |
Hi, As said in the title, the program needs to accept only integer values.. It should not accept float point numbers or characters or spaces or integers mixed with characters .. I know it has to do something with the while statement but i cant figure it out .. Your … | |
| |
Hey guys, I'm looking for some help in a project I'm undertaking. I have an AVR micro-controller sending data to my pc via the COM port. I want to write a c++ program, that will listen out for any data coming from the COM port and to write that to … | |
Hi guys, Does anyone know if it's possible to connect to the MYSQL database in wamp using C#. I basically want to take information from the COM port using C# and write it to the database. Any thoughts/tutorials/links would be greatly appreciated! | |
I am trying to learn C++ ifstream i came across this code on the net and have some question. void read() { ifstream inFile ("in.txt"); string l, i; int item = 0; while (getline (inFile, l)) { // is this one checking end of file like java? istringstream linestream(l); // … | |
Hey Guys n Gals Im a newbie here and I am having trouble with putting input into a two dimensional array. What I have to do is put the users numbers (integers not doubles) into a matrix add them, subtract them and multiply. I have most of my code written … | |
I have a text file with the following numbers: 1 2 3 4 5 6 How do I read each individual number into an array? It needs to move along each row so read in 1, 2 and then 3 into a array of 6 integers. Then move to the … | |
hi i am sathish. i am asp.net beginner i want learn grid view in asp.net using C# . i donot how to do. so any one know plz send me step by step.. thank you | |
I would like to know the difference between these listed. | |
Hi I'm pritty new to C# I'm having trouble with items repeating in a combo box This method gets the values from my table and stores it in the list of strings which it does fine . . . I think. [CODE]public class EditStates { public List<string> getStates(CEditStates ced) { … | |
Hi,I am new in c# development and I have some problems in my smart device application.I have 3 forms: Orders, Add_orders, Add_client. Orders is the mainform. What I want is that when I click 'Save' on Add_orders form, to navigate back to Orders form but not to close the Add_orders … | |
Hi Folks, I've been looking around all day and I've tried numerous suggestions, but to no avail. I've got a struct in C# defined as: [code] [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct GenericTrackRecord<T> { public Int32 hasValue; public T value; } [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct OTXFixDetailsStruct { public … | |
plz sir help to ,how code to login form with database and chage to password with to similar to pc | |
Hi Folks, This quandary should be fairly straight forward but I have yet to find an example that works. Essentially I have a struct, I create an array of these structs in C#, pass the array to C++, do some manipulation on the C++ side and return the results to … | |
Okay, so the problem is: I need a way to display a graphic with a few lines of text over the picture. An amount determined at run-time of these will be created. They also needs to be contained in a scrollable container, and scroll properly. It sounds simple but I'm … |
The End.