8,298 Topics
![]() | |
Hey all, Slight continuation on[URL="http://www.daniweb.com/forums/post1092017.html"] this thread.. [/URL] Not essential though. Hence the new thread. The problem is that when I declare a [icode]static[/icode] attribute of a class, and later try using it in a static member function , I get a compile time error. The problem: (with code) OscServer.hpp … | |
I am trying to Bind a [B]public member variable[/B] of an object to a TextBox in the UI. But when I execute the application the TextBox does not display anything. But when I [B]make the member variable as private and provide get set accessors[/B] to access the member variable the … | |
I have SQL Compact installed, and I'm using VS C# 2008 Express. I'm kinda confused though. I try to add: [CODE]using System.Data.SqlServerCe;[/CODE] And get an error. It don't even pop up in intellisense. I've tried adding reference paths to the DLL's (not sure if I'm doing it right) but still … | |
I have problem With My Calculator in ASP.NET C# in Microsoft Visual Web Developer 2008 Express Edition : web application not windows application the code: [CODE] protected void Button2_Click(object sender, EventArgs e) { //Double F1; //Double S1; // Double Re; // F1 = Convert.ToDouble(TextBox1.Text); // S1 = Convert.ToDouble(TextBox2.Text); // Re … | |
![]() | Hello, I am making a console application for a window home computer. The application will search for factors of a number that the user enters. Everything works fine up to about [10^10 = 10000000000]. I am unsure if C++ has a maxium number allowence. If this is the case can … |
hey guys! do you have idea how to print a * and in a square symbol like this ***** * * * * * * ***** i have my code in here but it didnt follow like that | |
Hello ! Could you please point me to a good C# tutorial for drawing 2d graphics like Ellipse and Rectangle (that inherit from Shape) on a Canvas using WPF ? I'm also interested later to click on shapes and identify which shape was clicked, and also to drag and drop … | |
Hi all, I was trying to write a C program which round off the decimal number, here main intension is decimal digits can be of N digits. So problem I was facing to get last digit on which I have to take decision. Please check below C code - suppose … | |
Hi, Im having a problem with some socket programming and im hoping someone here can help me. basically im trying to bind a listener to a port. I have used some source code i obtained from the net, however the code was a few years old and contained the obsolete … | |
One day while pondering about C I came up with this program. Can you predict what the answer will be? Now run it, were you right? filename.c [CODE] #include <stdio.h> #include <stdlib.h> int main(int argc, char**argv) { unsigned long *iptr = (unsigned long*)0;/*pointer equals 0*/ unsigned long ans = (unsigned … | |
I have a scenario where i have a DataSet bound to a combo box, and i would like to read a row from the DataSet based on the item selected in the Combo Box. For e.g. I have a dataset that has 1 table containing 2 fields say ID & … | |
Good day, can any one please give me some explanation and an example of source codes regarding these following concepts ? I really need help, I'm so confused. 1. Access File Paths by Using the Path Class 2. Access Files by Using the File and FileInfo Classes 3. Access Directories … | |
Hi every one, I m doing some work in fractal image compression, plz tell me how to convert a c code to matlab code | |
[B]Intro[/B] Hey all, hope you are doing great. I am going to have some fun by teach C#. what I am going exactly to do is, when ever I get a free time I will post something. most of my tutorial lessons will be based on topics for example: variables, … | |
Hi, I am building a chat bot using C# and I am having problems with my Text Analyzation method. Can someone please take a look at my code and help me figure out what to do to fix it? Thanks [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ChatBot … | |
Hello, Please help me to resize BMP image to bigger and smaller. Actually I'm trying to build PC wallpaer image with some function. And changing wallpaper has no problem but I want to change any image to screen size. Since desktop screen has some infomation section, bmp image should resized … | |
Hello, I have a problem of with game of life source code in C. I need a source code for game of life in C programming language Kindly send me a source code so that i can check my own source code. | |
I am attempting to program a doubly linked list template. My program is setup with the class node defined in a header file,the list itself in a header file and finally the main in a separate cpp file which calls the list header. The list header calls the node header. … | |
Hello guyz, Presently I am having a problem with printing in c#. I have a pre printed bill, and I need to print values into some specific points of that bill. Any suggestion ? | |
Hi everyone, I'm new here and I'm new to C# program. I want to create a user name and passward verify windows application. I did some research, and finally get to connect to the database. Now I want to display the whole table which stores all the information. I know … | |
[Not sure how else I would describe the subject, that pretty well sums it up] Here's the set-up: I have a C# project that references variables in another application: [CODE]TextFrame BodyCopyBox = (TextFrame)doc.FindElement("BodyCopyBox");[/CODE] But what can happen is that I can have many of those like: [CODE]TextFrame BodyCopyBox1 = (TextFrame)doc.FindElement("BodyCopyBox1"); … | |
Hi IM trying to make a queue of Byte[] every time i click on a button , Very Strait Foreword [CODE]System.Collections.Queue Myqueue= new System.Collections.Queue(20); public byte[] Bytearray = new byte[2]; Myqueue.Clear(); while (Myqueue .Count !=20) { Temp=Calc(Bytearray); Bytearray[0] = temp[8]; Bytearray[1] = temp[13]; Myqueue.Enqueue(Bytearray); }[/CODE] So the Loop is done … | |
My below code will compile and create a form with blue inside. I'm currently trying to draw a triangle to the screen but when I call "device.DrawPrimitives(PrimitiveType.TriangleList, 0, 1);" inside of my render function the program fails. Let me know if I'm doing anything wrong, I'm still in the process … | |
Hi there I'm hoping there's an easy answer to a (hopefully) not too long-winded issue... I'm building a C# web client using a proxy wsdl.exe'd from a wsdl file and six schemas, each in a different namespace. Some schemas extend complex types in others. When i get a soap:Fault from … | |
hello everyone .. im writting a C program that requires to insert integers from a text file .. the contents of the text file are: 1:2:4 4:12:5 13:7:5 1:20:4 how can i read each number and define it as an integer ???? please HELP !! [CODE] #include <stdio.h> int main() … | |
i would like to ask for help regarding my problem, it's like this... I have a txt file and inside it looks like this OL001 bob red 13 OL002 jack blue 13 OL003 paul yellow 14 so if my program starts it will ask for the OLXXX and return each … | |
visual C++ conversion of decimal to binary,binary to octal,octal to hexadecimal.. | |
Hi, Could somebody please show me and example of how to iterate through an n-nary tree, where I do not know what n is and n could be different for every node ie the root node could have 3 children and each child might only have 2 children etc, I … | |
Hi,im here for d first tym and also for d frst tym ever in any forum.im very much intrstd 2 learn C#.bt i dnt knw in wich way i should start.i dnt knw any othr language.is it possible for me 2learn C#??? any gud heart thr pls pls help me.thank … | |
Hi! I am a student doing bachelors in Computer Science & IT. (2nd year) Please, can you people give me some decent ideas for my software project this year in C++? Last year, I built a small typing tutor (6800 lines of code) in C. I want to do something … | |
I'm at the beginning of my journey to get a computer science degree and I'm taking an intro to programming course taught in C# (I'll also be using it next semester for my data structures and algorithms class). I took a visual basic class last semester that required visual studio … | |
I am getting errors when trying to compile my program, can anyone help? Errors are error C2143: syntax error : missing ')' before 'constant' error C2143: syntax error : missing ';' before 'constant' fatal error C1004: unexpected end of file found Here is my code: [code] // declaration of a … | |
Regards, I have a weird problem with a variable in asp.net + C#. Those lines work: [CODE=C#]DataTable customerDT = service.GetCustomerDT(1); dataRow["CustomerName"] = customerDT.Rows[0]["FullName"]; [/CODE] But those lines do not found anything even though the value of the variable is "1" too: [CODE]int customerID = int.Parse(gridViewRowVar.Cells[0].Text.ToString()); DataTable customerDT = service.GetCustomerDT(customerID); dataRow["CustomerName"] … | |
Hi everyone, please i created a[COLOR=#000000] C# windows application to implement a form with a ListBox, a TextBox, an Edit button, an Insert button, a Delete button, a Update button and an Exit button in the form. I want my C# program to be able to copy the columns of … | |
Hi There, I've been trying to write a simple program that uses more than one form. My problem is that I have tried to link Form "Home" to form "Numbers" via a button. I've tried many variations but they all seem to create a new form. I already have the … | |
what is the syntax of delay (suspending for some seconds) in vc#? like in c, ur just going to do in this way: delay(100000); | |
HELLO! I AM IN NEED FOR [B]MCTS 3.5 FRAMEWORK(C#) 70-536 EXAM [/B][COLOR="Green"]DUMPS[/COLOR]. PLEASE CAN ANYONE PROVIDE ME THE LATEST DUMPS OF 70-536 WHICH ARE FREE TO DOWNLOAD. OR IF ANYONE HAS IT WITH THEM PLEASE MAIL THEM TO ME AT [I]<<snip>>[/I] THANKS IN ADVANCE. | |
Hi there guys... Been working all week for the database connection of VC# with SQLite. I got an error everytime i try to open the database... No matter how i tried the [B]SQLiteConnection.Open()[/B] command still returns an error... I installed the required ADO.NET and the required SQLite Database... [I] here's … | |
Hello everyone, i'm fresh new here, and i already have a question regarding...well, C#. I've made a Forms Application in which the user submits an image (bmp,png,jpg or gif), and the image suffers some byte-level modifications (obviously, i'm using the LockBits() method). Now, after the modifications are done, the user … | |
Dear all, I am really stuck with inserting record into access database using ASP.net and C#, as in university I am only allowed to use access. I am trying to create new room reservation for meetings its not a hotel room, I have two time slots AM and PM and … | |
Hi , I am writting an c++ boost shared memory application. The string/char class works fine . But the allocation to int phases some problem. It works fine for a while bt suddenly shared memory crashes. Unable to access it. here is a small snippet. we have to create a … | |
First off, I'm new to C++. I'm taking an intro class at university and have discovered something odd after installing Visual Basic 2008 Express on my laptop. Here's what I'm doing: New Project --> Win 32 Console --> Empty --> Add New item --> C++ File In my new C++ … | |
Current setup - One single core graphics device, Two monitors. As the title would suggest, I'm currently attempting to create an application in c++/DirectX which supports a theoretically uncapped limit on the number of full screen view points in the program. I'm utilising swap chains for each display and worthy … | |
is it possible to have a generic stack which works for all the primitive and non primitive data types???? Sir this is very serious question because this is confusing me a lot look at the code of push method of the integer stack [CODE] void Stack::push(int number) { Node* newNode=new … | |
Hello, First of all, im a total newbie at c++ so please , dont be amused. My question is, how can i make a application that needs a user and pass. from a already existing website in order to continue? | |
Hi, I am learning C#, having a good C background as a programmer. I need to port a C application to C#, but there is a very basic problems that stalls me. My C program has many subroutines, each of them in its own file. They share a common .h … | |
below two are same program except i interchange to accept input value ....in the first program i accept first using scanf and the by getchar()...which didnt allow to accept character value . but in the second program i first accept getchar()value and then scanf(). so it works fine but i … |
The End.