8,298 Topics

Member Avatar for
Member Avatar for lili.zdh

hi. i wanted to know whether is there any way to use vb and c# in one project simoltaneously or not? for example i write one form's code in vb and the other one's in c#. if there is a way then what is it ? thank u all:)

Member Avatar for lili.zdh
0
177
Member Avatar for lesodk

Hi, i want to read some lines to an output text file in a loop. My problem is, that i want to start clearing the text file and then append to it in a loop. At the moment i use: ofstream file; file.clear(); file.open("book.txt", ios::app); for (map<string,Person>::const_iterator it = adrbook.begin(); …

Member Avatar for MosaicFuneral
0
244
Member Avatar for musicman45241

OK I'm an older guy that is a fluent Fortran programmer, so don't hold that against me :o), I'm really fluent in VB, C, Java but am new to C#, I'm finding that I'm actually picking it up very quickly...ok, shutup and cut to the chase....I'm working with a windows …

Member Avatar for musicman45241
0
150
Member Avatar for ARYT

I’m actually going crazy. After spending a lot of time working on Decision making (if-else, switch and …), I really cannot figure out the basic difference between iteration and decision making. In some problems, the tutor asks us to use “While” loop and “break”, instead of “if-else” and it makes …

Member Avatar for r.stiltskin
0
288
Member Avatar for kartheepanmirra

Hi i have a requirement where a cpp file should load a dll viz gzip.dll.then the cpp should call few methods in the dll.well im able to call the methods with no parameters but im unable to call the methods with parameters.if im trying to call methods with parameters i …

Member Avatar for kartheepanmirra
0
483
Member Avatar for SADIYA4

hey how to make an object move in an C graphics program, eg; i have drawn a swing and i want it to move... i am beginner in C graphics program so please help me...:(

Member Avatar for csurfer
0
56
Member Avatar for nparrish15

I've been working on a program and have hit a roadblock. I know conceptually what to do, but I'm having trouble implimenting it. Ok, so what it's suppose to do is take them randomly generated numbers that have been put in arrayints and factor them. This right now for an …

Member Avatar for arghasen
0
129
Member Avatar for jaison.steephen

how to add graphics library to Turboc++5.0 so as to run functions like circle(x,y,r); I am using XP sevice pack2. Plz help me. thanks in advance

Member Avatar for daviddoria
0
50
Member Avatar for sonia sardana

I have serached on the internet,I found the links but none of them provide me the solutions. One of the sites from that I refer- [url]http://sappidireddy.wordpress.com/2008/03/...in-aspnet-ajax/[/url] [COLOR="Green"] Code-Behind Page[/COLOR] [code] public partial class _Default : System.Web.UI.Page { [System.Web.Services.WebMethod] public static int AddTwoNumbers(Int32 a) { int addtion = a + a; …

Member Avatar for DangerDev
0
140
Member Avatar for sid.coco

Hello everyone, this is my first post here and I am hopeful that people here will help me out of the problem am facing. Coming to the problem, I am developing a software which is used to keep various information of a student at one place, this data is fed …

Member Avatar for sid.coco
0
123
Member Avatar for pete08

I have started with simple c# mail application, to send message from one computer to the other, which are connected by LAN. My question is: how to define addresses, or mailmessage.from and mailmessage.to. I have tried with their addresses, but nothing... Pete

Member Avatar for pete08
0
158
Member Avatar for Ved_TheOne

Hi, All. Actually i m creating a program using C# which connects to the database (oracle) and checks for the given table "OPC_GROUP". if the table doesnt exists then it creates the table else it updates all field with provided values I used following command to query [CODE]cmd.CommandText = "SELECT …

Member Avatar for LizR
0
106
Member Avatar for staplesauce

The RemoveMin class should remove the first occurrence of the smallest element from the input list. Despite what the inputs are I keep getting the same NullReference error from having 'rem = null'. I don't know if I'm using recursion right or not. I have a feeling the starting reference …

Member Avatar for danielernesto
0
147
Member Avatar for matt443

the assignment is to create a class library for manipulating ConsLists. I haven't found a lot of resources on ConsLists, and I hadn't studied them or recursion before we were assigned this project. That said, this is a (non-functional) method that is supposed to store a ConsList of values less …

Member Avatar for nadeemIqbalBajw
0
110
Member Avatar for bussaina

How do this Print the decimal, octal and hexadecimal values of all characters between the start and stop characters entered by a user. For example, if the user enters an a and z, the program should print all the characters between a and z and their respective numerical values. Make …

Member Avatar for Ancient Dragon
0
307
Member Avatar for sercanparlak

Hi, i'm trying to include a c# dll in c code. i have created the tlb file , registered the dll but i couldn't load it. but i could load in c++. is there any way to achieve this or equivalent of below c++ code ? Thanks ******** C++ Code …

0
46
Member Avatar for janakavishwajit

Hi alll............. Please can someone help me to find a way to call for a c# function from a javascript which is in the web page of web browser included in a windows application....... Urgently need....... Please............!!!!!!!!!

Member Avatar for janakavishwajit
-1
91
Member Avatar for spo-apt

Hi guys i really appreciate someone can help me out with this book (C language, not C++): [img]http://www.deitel.com/bookresources/chtp5_200h.jpg[/img] [url]http://www.deitel.com/Books/C/CHowtoProgram5e/tabid/1704/Default.aspx[/url] # ISBN-10: 0-13-240416-8 # ISBN-13: 978-0-13-240416-7 Someone can share please, or PM me. i really need Thanks in advanced Regards

Member Avatar for Ancient Dragon
0
293
Member Avatar for moshe5

Hi All! I am currently stuck on a c++ program I'm working on. So the program will have the user input data into a 2-d array. sample dialogue: BLOB SIZE CALCULATOR- Enter coordinates for each filled cell; e.g 2 3 Do not enter commas or parentheses. Enter -1 -1 to …

Member Avatar for Lerner
0
115
Member Avatar for kuldeep_java
0
14
Member Avatar for sid78669

Hey! What i am looking for is help on how to work with databases in c#. I have basic knowledge of C# and a pretty good working knowledge of SQL. But I have never learned how to use them together. Can someone point me to a tutorial or something similar …

Member Avatar for JerryShaw
0
197
Member Avatar for Stefano Mtangoo

Please anyone help me on classes. I have written this class example and keep getting error on that the function is private. I though variables in functions are private but mmh, I think I'm wrong. Can anyone clarify how to rectify this? Also, could you explain to this New Bee …

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for murderotica

I've been new to c# and windows services. I've been studying for about a month and been doing a lot of basic stuff. I just want to confirm this issue to you guys. How would it applied to windows services? Would it be possible for IPC mechanism like the clipboard …

Member Avatar for sknake
0
938
Member Avatar for viswa_007

how to create desktop applications in c# using http requests and http response with iis

Member Avatar for sknake
0
144
Member Avatar for Abhishek_Boga

Hi, im not getting of how to vies the data in the database when user select the cndidate id from combobox and the data should be shown in the datagridview. let me know the source code of the problem.. Regards, Abhishek

Member Avatar for skc23
0
3K
Member Avatar for SubProf

Hi Everyone, I have a webBrowser written in c# that displays webpages. I want to add a button to the webBrowser that will increase the size of the text on the webpage when it is clicked. Any help with this will be greatly appreciated. Thanks in advance SubProf

Member Avatar for Ramy Mahrous
0
47
Member Avatar for Jack Wetson

Hi, I have recently jumped into the realms of C# and I am having some trouble with editing properies accross threads. From what i have managed to research thus far i beleive i need to use the Invoke() method, however i am not quite sure how to go about this …

Member Avatar for Jack Wetson
0
168
Member Avatar for mtramnes

I tried to search for other threads to answer my question but couldnt come up with anything that I could think of to describe what I was looking for well. My assignment is this: Write an application that shows the sum of 1 to n for every n from 1 …

Member Avatar for mtramnes
0
153
Member Avatar for ishan joshi

Well I need ur help as i want to give shortcut link to the button in my asp .net proj like for save button [U]S[/U]AVE (Ctrl + S) . how can i do in my code to get this type of functionality. Thanks...

Member Avatar for nelis
0
80
Member Avatar for Rabia Iqbal

Peace be on all the readers, i want to read a dbx file from Outlook Express in C++ or even in C#. But i dont know how to do this. Can anyone help me please !!!!!!!

Member Avatar for Rabia Iqbal
0
114
Member Avatar for PoZHx

Ok, what i'm wanting to do is read a variables from another process ( not modify it ....just read it and output it) so e.g. test.exe: int main(){ int test = 1; return 0; } how would i write a program to read from the process (test.exe) and check what …

Member Avatar for PoZHx
0
99
Member Avatar for pspwxp fan

Hey wizeguys, I am using windows XP and have VC++ 2008. I can make a simple GUI window and write text and add menus and all that n00bish crap. I want to move further. Firstly, i atleast want to know how to change the color of the text that we …

Member Avatar for William Hemsworth
0
194
Member Avatar for theighost

Hello, I am to draw a cylinder, so I thought I should start learning to draw an ellipse first, can anyone please help me with the algoritm at least, or if you have an explained code I would be grateful. BTW i am using borland C++ for dos version 3.1 …

Member Avatar for theighost
0
84
Member Avatar for claretm

Hi All, The gap between consecutive prime numbers 2 and 3 is only 1, while the gap between consecutive primes 7 and 11 is 4. Can somebody help me in writing a parallel program to determine, for all integers less than 1,000,000 , the largest gap between a pair of …

Member Avatar for claretm
0
3K
Member Avatar for rams111
Member Avatar for nayak
0
282
Member Avatar for amerninja2

So in C++, using Something like Unix Sockets or Winsock with C++ lets you use things like TCP/IP. But it only lets you connect to an IP within your router when its by itself. How can I have the program somehow forward the connection to like an HTTP server or …

Member Avatar for amerninja2
0
1K
Member Avatar for fidan

Hello, I wrote a program which takes CNF-files as input. It takes from 1 sec up to 1 hour to finish its task (Checking satisfiability). However, there is one CNF file which takes about 1 hours before it spurts out the message: aborted <core dumped> ... and creates an *.exe.stackdump …

Member Avatar for GDICommander
0
163
Member Avatar for accessviolation

Hello, I am attempting to develop a custom control that allows the user to zoom to a specific point on an image, typically a map. The problem that I am having is when I attempt to adjust the scrollbar position, the update of the image is very jerky. For example, …

Member Avatar for accessviolation
0
214
Member Avatar for Stefano Mtangoo

Im learning ++ by myself and have decided to follow this tutorial and very interesting [url]http://www.cprogramming.com/tutorial/lesson4.html[/url] However as you can see the int mult ( int x, int y ); is defined twice: at the top and the bottom. Whay it is that. Also I have found many programs uses …

Member Avatar for Stefano Mtangoo
0
150
Member Avatar for tuttie

I am working on a programm that requires one to write a program that outputs your first and last intials in block letters. The block letters should be made up of small letters that match your block letter. If PS is the block letter then p should be made up …

Member Avatar for tuttie
0
966
Member Avatar for karthi_selva

hi, i am new to .net i need to refer the external file to my C# object ie i wrote the one program like class program { public string getname(string name) { return name; } } the next program class test { like that } in the second program i …

Member Avatar for metalla_nz
0
143
Member Avatar for serkan sendur

in C# if you add @ before your string literals the escape sequences are not processed, so : you can use : [CODE] @"c:\Docs\Source\a.txt" // rather than "c:\\Docs\\Source\\a.txt"[/CODE] is there any c++ equivalent of doing that? Thanks

Member Avatar for cikara21
0
162
Member Avatar for danielernesto

Sorry, I'm a newbe here so ... I got to ask, what's the diference between those 2 things?? Can anybody help me!!.

Member Avatar for danielernesto
0
141
Member Avatar for moiseszaragoza

I was wondering how would i make a call to a function inside my C# code with out reloading the page from inside Flash? Thanks

Member Avatar for serkan sendur
0
48
Member Avatar for storeron

I have to register this software in a lab for various users, but the registration seems to be user specific. Does anyone know of a way to register the software so that it doesn't have to be registered under each new user who logs on the the machine?? This is …

Member Avatar for LizR
0
58
Member Avatar for gulad75

Write a Program that models a simple calculator. Each data entry line should consist of a valid operator (from the list below), and the right-hand operand. Assume that the left-hand operand is the accumulated value in the calculator, with an initial value of 0.0. Acceptable operators: + ..Add - ..Subtract …

Member Avatar for Freaky_Chris
0
184
Member Avatar for shinnxennosagga

I got a problem in designing (may be not design, more like code one) UI for my chat application. here's the problem : I want to make a chat box on mobile device using C#, and I want to be able insert smiley. The problem is, by using textbox or …

0
76
Member Avatar for shanir13

I Have been working on this for a few days now, and I seem to be missing something. What I have to do is: > Design a C# solution with a Main ( ) method that holds an integer variable named seconds to which you will assign a value. Create …

Member Avatar for slap1914
0
330
Member Avatar for mumblejum

I need to write a C++ program. I'm usually pretty decent with C++ but with this one I'm lost. I have to write a program that basically checks to make sure that the braces creating a block in a cpp file are balanced. I'm not looking for anyone to write …

Member Avatar for StuXYZ
0
441
Member Avatar for peacerosetx

Greeting All, Peace. New to this forum and am confused about how to approach data analysis of variables with C++. My question I is am simply going to do simple descriptive statistics (mean, mode, variance), and a little more complicated chi square / correlation (Pearson). The approach that I am …

Member Avatar for Lerner
0
186

The End.