8,298 Topics

Member Avatar for
Member Avatar for harryhaaren

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 …

Member Avatar for harryhaaren
0
165
Member Avatar for dilake

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 …

Member Avatar for dilake
0
124
Member Avatar for JayOne

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 …

Member Avatar for sknake
0
112
Member Avatar for Katherine87

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 …

Member Avatar for Nick Evan
-1
124
Member Avatar for Ugaton

guys got some problems with regards to c# programming im new with this one.. my problem is displaying 5 integers or numbers that is having a 3 spaces in between the numbers.. want some of your codes.. thanks a lot guys... Happy new year

Member Avatar for ddanbe
0
106
Member Avatar for _Michael_

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 …

Member Avatar for WaltP
0
129
Member Avatar for reyarita

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

Member Avatar for jonsca
0
155
Member Avatar for moroshko

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 …

Member Avatar for jamesonh20
-1
153
Member Avatar for vishalwiw@mail.

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 …

Member Avatar for WaltP
0
144
Member Avatar for jsnowden2008

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 …

Member Avatar for jsnowden2008
0
188
Member Avatar for gerard4143

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 …

Member Avatar for gerard4143
0
142
Member Avatar for shreyas2785

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 & …

Member Avatar for sknake
0
202
Member Avatar for lightforce

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 …

Member Avatar for ddanbe
0
140
Member Avatar for vijayshree21

Hi every one, I m doing some work in fractal image compression, plz tell me how to convert a c code to matlab code

Member Avatar for NicAx64
0
5K
Member Avatar for idrissi

[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, …

Member Avatar for idrissi
-1
104
Member Avatar for shmukle

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 …

Member Avatar for farooqaaa
0
131
Member Avatar for yanseung

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 …

Member Avatar for Excizted
0
455
Member Avatar for uzair ahmad

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.

Member Avatar for Ancient Dragon
-3
138
Member Avatar for rgpii

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. …

Member Avatar for Agni
0
118
Member Avatar for babaidebnath

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 ?

Member Avatar for MxDev
0
135
Member Avatar for naiyer.hoda

when i am writing c program in turboC i encounter error as "unable to create exe file". how to trouble shoot this and why i got this error.

Member Avatar for Ancient Dragon
0
25
Member Avatar for Emmaliu

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 …

Member Avatar for kanchanraaj
0
1K
Member Avatar for agilson

[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"); …

Member Avatar for agilson
0
111
Member Avatar for FX2236

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 …

Member Avatar for sknake
0
202
Member Avatar for DotA

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 …

Member Avatar for DotA
0
261
Member Avatar for Radiodave

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 …

Member Avatar for sb20642
0
585
Member Avatar for moomeen

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() …

Member Avatar for mrnutty
0
82
Member Avatar for shishio1014

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 …

Member Avatar for jonsca
0
137
Member Avatar for pink24_ann07
Member Avatar for jonsca
-4
122
Member Avatar for kizzer

can you please do me a c++ program that convert bi to dec and so on

Member Avatar for Ancient Dragon
-6
90
Member Avatar for CrazyProgrammer

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 …

Member Avatar for john.double
0
224
Member Avatar for swapneelearth

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 …

Member Avatar for ddanbe
0
127
Member Avatar for Jibran_

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 …

Member Avatar for Jibran_
-1
169
Member Avatar for mixelplik

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 …

Member Avatar for mixelplik
0
291
Member Avatar for spitfire

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 …

Member Avatar for wish_C
0
593
Member Avatar for Corpes

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"] …

Member Avatar for Corpes
0
150
Member Avatar for omoz4real

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 …

Member Avatar for youtubeline
0
160
Member Avatar for PROTEUS GREEK

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 …

Member Avatar for sknake
0
103
Member Avatar for bords

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);

Member Avatar for ykel
0
80
Member Avatar for neha_38

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.

-3
55
Member Avatar for zeeven

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 …

Member Avatar for zeeven
0
1K
Member Avatar for TotoTitus

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 …

Member Avatar for TotoTitus
0
10K
Member Avatar for giahmed

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 …

Member Avatar for giahmed
0
233
Member Avatar for suman holani

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 …

0
60
Member Avatar for basedon

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++ …

Member Avatar for jonsca
0
194
Member Avatar for kirennian

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 …

0
63
Member Avatar for enterhellozia

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 …

Member Avatar for Narue
0
134
Member Avatar for kratoz

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?

0
44
Member Avatar for BobFX

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 …

Member Avatar for BobFX
0
658
Member Avatar for cthoes

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 …

Member Avatar for cthoes
0
101

The End.