8,298 Topics

Member Avatar for
Member Avatar for vuyiswamb

hi Please help,i have installed Visual studio .net 2003. i code in C#, when i write my code, for example "Console." imidiately before i complete the statement it closes the application requesting to restart the application, and i wrote my code on a notepad making sure that the code is …

Member Avatar for pygmalion
0
113
Member Avatar for sibotho

Hi all Can someone tell me how to connect to msql database using c# 2003. can you please show me the steps to take. i have tried many times without success. Are they compatile? Thanks sibotho

Member Avatar for hollystyles
0
95
Member Avatar for taineechan

I'm writing a wpf application in c# on .net framework 3 using visual studio 2005. I need to connect my VistaDB database to my c# code. This can be done with .net Framework 2 on a windows form but does anyone know how to do it with a wpf application …

0
100
Member Avatar for Eyies

Hey all, I'm new to this forum, first post.. so please excuse me (also excuse the perhaps not so eloquent style, it is still in preliminary!) =). I'm writing a short piece of code in compliance with a webserver I've been programming with a group. This code is to auto …

Member Avatar for Eyies
0
101
Member Avatar for Ene Uran

Illustrates the close relationship of the hard-software industry to April first: [CODE=c]#include <nonsense.h> #include <lies.h> #include <spyware.h> /* Microsoft Network Connectivity library */ #include <process.h> /* For the court of law */ #define say(x) lie(x) #define computeruser ALL_WANT_TO_BUY_OUR_BUGWARE #define soon next_year #define the_product_is_ready_to_ship another_beta_version void main() { if (latest_window_version>one_month_old) { …

Member Avatar for thekashyap
0
158
Member Avatar for tripo03

I´ve been programming a B tree structure in C and i had problems because I programmed it in Debian Sarge and when I wanted to compile the source code in other distribution of Linux the program did not work correctly... The IDE i used is Anjuta... Anybody has idea why …

Member Avatar for Salem
0
101
Member Avatar for hellsae69

Can anybody help me on how to search a keyword in my text file. I read about eliza420 Thread but still don't get it. If i have a text file named. "animals.txt" with a content of, ------------------------------------------------------------------- Fish Pig Dog Goat Bird ------------------------------------------------------------------- and in my c++ program a question …

Member Avatar for thekashyap
0
80
Member Avatar for virus.exe

I was wondering if it possbile to C++ creat a croaahair, or a dot in the center of my screen. The dot would have to run on top of all the windows I open. lol my friend wanted me to make him a crosshair for counter-strike. thx guys, if this …

Member Avatar for ~s.o.s~
0
112
Member Avatar for rwagnes

I am writing a short program in c on a linux platform which takes an argument from the command line. My only problem is retrieving that argument. It is an integer. Here's what is currently in my code: int seconds = *argv[0]; Thanks :cheesy: EDIT: Here is the rest of …

Member Avatar for rwagnes
0
169
Member Avatar for jhdobbins

Okay, thanks ahead of time for looking at this. First off the program is in C, not C++. I am trying to read in from a text file... a certain question.... but i fairly suck at programming in C. I have a file pointer set up and i have it …

Member Avatar for JeganathanK
0
147
Member Avatar for mmjepp

Hi! First of all, im from sweden so my english isn't the best :!:.. I read a guide "How to make a simple login page" ..(something like that) But i need help with my languages(aspx,C#,sql2k5) The problem for me is how to make the SP for checking if Username and …

Member Avatar for brainbox
0
162
Member Avatar for Monyet

Hi, it is pretty much my fault for procrastinating, anyhow.. I need to get the best grip for this language in about 2 weeks using Microsoft Visual Studio 2005 Professional. I need to get comfortable with both, I have experienced with Java but still pretty much new... I know objects, …

Member Avatar for percent20
0
117
Member Avatar for GeneM

Hello all, I am having a problem performing a calculation while in formview. I am using visual studio 2005, sql and C#. I have many textbox's that a user inputs, some of these require the calculation of subtotal and total. Here is a small example of what I have tried; …

Member Avatar for GeneM
0
138
Member Avatar for nuw_gamnera

hey, i got a c project to be done n that is about a flight reservation system so i want help from u to do my codings..... i plan to create two file pointers and make 2 txt files namely Flight details and reservation details plz send me some Turbo …

Member Avatar for Ancient Dragon
-1
124
Member Avatar for Jasy

Can any one please help me i have been working on this program since morning but couldnot figure it out.....pls... the program reads an input file and counts the frequency of characters in it i.e. how many times each character occuring. i know how to read from an input file …

Member Avatar for Lerner
0
122
Member Avatar for jan1024188

Hello again, I was working on Linux platform for a lot of time now and now I am moving to windows (because of job). Today I was accepted to wow project, and I have to start with developing apps for windows. I have a doubt. I dont know what to …

Member Avatar for jan1024188
0
93
Member Avatar for Monyet

I want to make a program with C# that can locate a store that we want dependent on the (X, Y). So for example: if I put (1,2) it will say that this is the nearest store. Do you guys have any idea on how to do this? I'm fresh …

Member Avatar for iamthwee
0
180
Member Avatar for daljeet_smt
Member Avatar for Tauren

Uhh well, I was just wondering if C++ and visual C++ are any diffrent

Member Avatar for John A
0
126
Member Avatar for Rocksoft

Hi, I have used stream reader to read text file using Readline method, and i tried to append all string to string builder, but i'm not able to get all string value, i'm only getting last line of file, i have used the following coding StreamReader reader = new StreamReader(@"d:\web_extract.txt",Encoding.Default); …

Member Avatar for _r0ckbaer
0
117
Member Avatar for Rocksoft

Hi, I have used C# in vs 2003, in my application i have to read text file, pick data from text file and insert into database, but the text file have some garbage value (garbage value "Ú" ) , so i should replcace this garbage value to single space, i …

Member Avatar for Rocksoft
0
214
Member Avatar for jamshid

I have a problem ; that i can't compile and Run my C files in Ubuntu , so how can i do this??

Member Avatar for jamshid
0
227
Member Avatar for lotsofsloths

OK, I have ben programming for about 6 monthes but never done real graphics!! I was wondering, how i could implement graphics into a program?? If this helps any i am using Visual C++ 2005 Express Edition...

Member Avatar for iamthwee
0
106
Member Avatar for Dhanapal

Error: Found 0 possible guest users. Only 1 guest user should be a member of the group marked as the guest group. How to solve this error in ASP.Net with C# Coding...

0
51
Member Avatar for bhavna_816

I have a class MyDataGrid which is inherited from Datagrid which have two protected override functions. i want to register the events. for example public class MyDataGrid : DataGrid { protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { //dosomething } protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { //dosomething } Now i want to …

Member Avatar for tonakai
0
166
Member Avatar for bhavna_816

i have a datatable and want to display the contents of datatable in a datagrid when i want to put the checkbox in datagrid separately they are visible.But if i integrate it with datatable it doesn't show the checkboxes instead it shows (null) how can i make the checkboxes visible? …

0
59
Member Avatar for jan1024188

Hello. I use Linux, and I have no experience in windows. I have to write a C++ program that checks if Java is installed. I have no idea how to check that (there is no directory such /usr/bin ). I need this for a Java app and I want check …

Member Avatar for Lazaro Claiborn
0
538
Member Avatar for Dave256000

Using the skeleton below #include <unistd.h> // read/write #include <sys/file.h> // open/close values #include <string.h> // strlen int main( int argc, char *argv[], char *env[] ) { // C++ or C code } Write a C++ application myrm that removes (deletes) files passed as command line argument. Use only the …

Member Avatar for Dave256000
0
181
Member Avatar for livingsword

i dont know if this the appropriate forum for this question, I wrote few programs on turbo c++ ide and they work perfectly fine. but when i try to compile the same code in openSUSE 10.2 , i get errors like : clrscr not recognised, clreol not recognised, gotoxy not …

Member Avatar for dwks
0
141
Member Avatar for bhavna_816
Member Avatar for jbennet
0
62
Member Avatar for Darkmeerkat

I'm having some trouble understanding how Exceptions thrown from constructors work... Let's say I have a class like this: [code=C++] class A { public: A() { if( error ) throw MyExp; } } [/code] If I try to define a variable of type "A" within a [inlinecode]try {} catch {}[/inlinecode] …

Member Avatar for John A
0
135
Member Avatar for virsa

access c++ private data members without using the " Friend" type main() can be a friend function?

Member Avatar for Laiq Ahmed
0
141
Member Avatar for terp410

I am writing a program to prove if a code is a Palindrome or not and must use stacks. I have written a code below that compiles, but when I run it, it outputs the word in an a stack view, but does not follow the rest of my program …

Member Avatar for terp410
0
1K
Member Avatar for Schooley

Hello... I was given this forum address by a friend, and I am in need of some C++ help. I have just recently began learning about C++, and have been given a series of programs to do. I have completed the 4/5, and they work well. The following is the …

Member Avatar for Schooley
0
93
Member Avatar for Monyet

Hi everybody, I'm so new with Visual Studio 2005!!!! It has bunch of functions that I don't understand on how it works, does anybody have idea on how to debut my code? I wrote a class program that will receive 2 integers from the main methods, but I don't know …

Member Avatar for JerryShaw
0
113
Member Avatar for abhishekmittal

Hello friends, Can anyone plz tell me the difference between a using declaration and using directive ? I know this: A using declaration adds a particular name to the declarative region in which it occurs. whereas, A using directive makes all the names in the namespace available without using the …

Member Avatar for John A
0
126
Member Avatar for Monyet

How do you create static methods using C#? How do you specify each items in the static methods? thanx.. I'm a C# newbie >.<

Member Avatar for Monyet
0
127
Member Avatar for Marks256

I am just curious about the pros and cons of each. Please leave your opinion(s). Thanks! (sorry the question is so broad, but i just wan the pros and cons of each.)

Member Avatar for Marks256
0
412
Member Avatar for sharpyC

[COLOR=#0000ff][COLOR=#000000]I am new to these forums and message boards, but I am trying to do a C# windows application Lab and cannot get the code correct for the button's click event which will Cube a "double" number entered into an adjacent textbox. Also, another textbox is supposed to return the …

0
48
Member Avatar for nagramana

It is possible to drag and drop an mailitem from Outlook to Explorer or MSWord or desktop. In the same way Is It possible to drag to C# Windows Application? Ramana

Member Avatar for shyamkishore
0
359
Member Avatar for blondie2007

Hi everyone, I am new to C# and also new to programming and I'm having a blonde moment. I have been working on this project for a week but have not figured out how to work this one out. I would appreciate any help you can provide. 1. Output total …

Member Avatar for blondie2007
0
147
Member Avatar for Duki

Hi all I am new to C++ and have a few questions if that is ok. I would like to get into good habbits early (i.e., using switch instead of 12 if else statments) and was wondering if anyone knew right off how to get a timer to time the …

Member Avatar for Narue
0
141
Member Avatar for soveijn

i dont have any code yet because im not sure of the best way to go about doing this. 1. i have multiple dlls that i want to statically link to my program 2. when my program starts i want all the dlls to do their own intialization 3. i …

Member Avatar for soveijn
0
78
Member Avatar for trunks1212

Ok, I'm writing code for Tic-tac-toe game and I'm almost done I just can't get it to stop when Player 2 wins. It works fine when Player 1 wins or if there is a tie. I know it's short notice, but can anyone help me before tomorrow morning. I would …

Member Avatar for John A
0
163
Member Avatar for Monyet

Hi guys, I found out that this is a VERY interesting community for programmers :D Anyways, it seems that C# and Java are VERY SIMILAR, and almost identical, however, i'm just wondering whther there's a need to import library in C# ? Thanx

Member Avatar for nikkiH
0
91
Member Avatar for Rickenbacker360

Hello, I have an exam on wednesday and was given a practice exam but I'm having a little a bit of trouble. 8.What will be displayed on the screen after the following statements are executed in a C++ program? [code] [COLOR=#000000] int a=5, b=2, c=1, d=3;[/COLOR] [COLOR=#000000] int t;[/COLOR] [COLOR=#000000] …

Member Avatar for Rickenbacker360
0
120
Member Avatar for blackjack

I'm not that used to C++ and hoping that someone can help me out with the [b]const[/b] keyword. If I make a parameter to a function 'const' ,and then try to reference it, like: [code=c++] int some_func(const char* param){ char* ptr = param; ... } [/code] to do something with …

Member Avatar for John A
0
115
Member Avatar for Richard Lelle

I am still pretty new to C# and .NET. I am using .NET 2005, and am attempting to use a Gridview. This GV displays data from two tables, one dependant on the other. I cannot, however, get the GV to Edit/Delete a specific column in any row. I was able …

Member Avatar for nikkiH
0
266
Member Avatar for rwagnes

Quick Question: Is there a way in c to read an entire file into a string or char buffer? Thanks, Elise

Member Avatar for rwagnes
0
340
Member Avatar for Rickenbacker360

Hey again I need a little help with this assignment. What I'm supposed to do is have a user enter a positive integer and then the program should tell the user all the prime numbers before the number the user entered. However, with my program when I enter 22 for …

Member Avatar for vegaseat
0
230

The End.