199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.

Hello, I want to create a very simple program to test threading. Example [code] int main () { char option = 'a'; int run = 1; while ( option != 'x' ) { option = getch (); /* some code that changes run */ /* thread ? */ } } …

Member Avatar for Mr.
0
91
Member Avatar for EricaJanine

Hi everyone, Just wondering if anyone is interesting in starting a new forum for using ACE? I am new to both ACE and network programming using C++. Thanks! ej

Member Avatar for alloy_zeus
0
270
Member Avatar for somer2412

I know this is very simple but I cannot remember how to underline a string in C++. Can someone please help.

Member Avatar for robgxxx
0
125
Member Avatar for JSThePatriot

Okay I use Dev-C++ as my IDE. I have never linked my own files. I am pretty much a noob on C++, but not to programming in general. My issue that I have been almost pulling my hair out with is this. I am using a premade MD5 header file …

Member Avatar for oboler
0
150
Member Avatar for luny

I'm still a newb with php, and i've been messing with this for hours with no success. First, heres the sql dump for the three tables I'm using here they are: DROP TABLE IF EXISTS news; CREATE TABLE news ( id int(10) unsigned NOT NULL auto_increment, postdate timestamp(14) NOT NULL, …

Member Avatar for zippee
0
108
Member Avatar for akshayabc

I have 2 problems in C regarding floating point, please help : Q1 Output of the following code- C. [CODE] main() { float a=0.7; if(a<0.7) printf("C"); else printf("C++); } [/CODE] But if we change the if condition from a<0.7 to a<0.7f we get output- C++. Q2 The following code gives …

Member Avatar for akshayabc
0
141
Member Avatar for mav1

I am having a little trouble with my program assignment. I don't want the answer I just need pointed in the wrtie direction. I cannot get my program to loop. The program prompts user to enter hours worked and calculates and displays. The it asks the user to enter y …

Member Avatar for varunpuri
0
178
Member Avatar for snufse

I have a form from where user want to connect to a DB and fill a spread sheet (excel). This is supported in vb.net. Below syntax gives me error in asp. Below is my code. Thanks. Dim xlApp As Excel.Application = New Excel.ApplicationClass Dim xlBook As Excel.Workbook Dim xlSheet1 As …

Member Avatar for Paladine
0
148
Member Avatar for DJ1UK

Hi All, First post here so be gentle! I'm working through Sams Teach Yourself ASP.Net book and have come across an error with one of the basic examples. The example is to do with .vb and .aspx files and compiling them. I have succesfully compiled the database.vb file. The contents …

Member Avatar for Paladine
0
591
Member Avatar for Horizon

I am trying to databind one entry retrieved from a SQL statement. All I want to do is databind in the code behind page. For some reason I have lost my brain and cannot figure out how to do it....

Member Avatar for Paladine
0
154
Member Avatar for tishr

hi!!! actually i'm doing a project for e-survey. the problem is that when i create different types of control, an error message is displayed. but if i create only radio buttons, everything fine. can u plz see my problem. thanks ant ---------------------------------------- Imports System Imports System.Configuration Imports System.Data Imports System.Data.SqlClient …

Member Avatar for tgreer
0
129
Member Avatar for hmoner

Hi guys Lemme explain the situation in 2 lines: DB Structure: [url]http://img133.echo.cx/img133/6610/dbstructure6hs.jpg[/url] Client goes to computer shop. Shop has 1 or more NORMAL promotions (of the kind: for each u$sXX ammount you buy, you get X qtty of points to exchange them later by gifts). EACH NORMAL PROMOTION can have …

Member Avatar for pclfw
0
183
Member Avatar for JoBe

Hello ladies and gents, Ive been reading about when you have a very large program, that it is advisable to divide this into several modules. Ive tried this out with an example of two separate modules that where given as examples and managed to get two .cpp modules into the …

Member Avatar for JoBe
0
240
Member Avatar for Raven11

Hello, I've been working on a security based software from which I got the idea from another program. Here are the details: Upon load of the software a 4 digit string is given (I.E: 1kfh). Then you're prompt for a password. To find your password you would use a Memory …

Member Avatar for oboler
0
92
Member Avatar for dile

I need to figure out a way to check for conflicts in a Number Puzzle. This is how the number puzzle works.... It has a [U]1D array of size 81[/U]. It is filled with integers from 1-9. When the user enters a number i need to make sure it's valid …

Member Avatar for oboler
0
163
Member Avatar for craigmckeeman

I have inherited an application that requires access to a network share, which mean the PC has to have a mapped drive before access can be gained (user and password required). Is it possible to gain access programmatically? What I need to be able to do is check for existance …

Member Avatar for mrmike
0
948
Member Avatar for bhautikdesai

HI i m Bhautik Desai doing Master In Computer Application... from india, gujarat.. i need help in VB or Vb.net to use winsock... thanx

Member Avatar for Catweazle
0
83
Member Avatar for grajeshmsc

I'm working on a project that requires users logging on using windows authentication. How do I go about this. This application is JSP-Struts.i can able to get the user name by System.getProperty("user.name"); But i can i get the password.PLz help.Thanks in advance. with luv Rajesh G

Member Avatar for grajeshmsc
0
320
Member Avatar for shre86

hey i would like to know if there is anyway i can send an object or a structure directly using any winsock2 function.. its mighty difficult to convert to a string and send as required by WSASend and send functions..

Member Avatar for Dave Sinkula
0
113
Member Avatar for MagicM

:cry: I'm new to this MS SQL and I've been trying to understand this Primary key and Foreign key. I know that I use the foreign key to reference a table but for some reason I'm not getting this down right can someone point me to the right direction. Also …

Member Avatar for Kate Albany
0
248
Member Avatar for JoBe

Hello ladies and gents, I'm trying to output a 2D array, but can't seem to find the solution, can anyone help me out here. [code] #include <stdafx.h> #include <iostream> using namespace std; int main() { int **pp; int i, j, n, ni; cout<<"Geef het aantal regels als volgt: "; cin>> …

Member Avatar for JoBe
0
586
Member Avatar for dello

Hi all.. wonder if anyone can guide me. I am writing a program which reads values from a text file, the text file includes both characters and float values, below is a sample of the data.. [QUOTE]London 7.24 8.15 6.45 3.24 3.66 2.45 4.71 6.78 6.45 8.61 7.45 6.55[/QUOTE] The …

Member Avatar for BruceWilson512
0
263
Member Avatar for NejiHyuuga

I have a program that I know I need a string to use. Problem is in class we did a program with strings in which we input one name like "Dan" and another name like "dave" and it would say which is bigger, how many characters are in each ect. …

Member Avatar for Dogtree
0
155
Member Avatar for sham

I created a database in Sql Server 2000, unless I made atleast one field in the table as "Unique", I could not insert data into table. But no-where in the documentation , books or Sql server online I could get a text saying we need atleast one Unique Key per …

Member Avatar for pclfw
0
119
Member Avatar for chai

Hi! i have a table with 3 fields: ParentFolder,DocumentNo and VersionNo the DocumentNo give each document a unique number. ParentFolder is a number specifying which folder a document is in. and each document(with same name) can have many VersionNo(1,2,3 etc). i am creating a house keeping function for user. this …

Member Avatar for pclfw
0
96
Member Avatar for abhishekj

i have two tables table1 has the folowing fields lastprice symbol time table2 has the same fields now table1 stores only the last data of the corrosponding symbol but table2 goeson adding the data as it comes in now i want to write a query get the difference of the …

Member Avatar for pclfw
0
130
Member Avatar for yaan

I've gotten feedback from my instructor to modify my code because it contains poor design techniques. I need to add a " return " after each function without it going back to " main " and also to avoid the use of global headers. I've tried to modify it several …

Member Avatar for BruceWilson512
0
181
Member Avatar for johnson9000

Which method below requires less processor time? [CODE]class obj{ public: void DoSomeThing(){}; }; int main() { obj *p = new obj; p->DoSomeThing(); // OR obj theObj; theObj.DoSomeThing(); return 0; } [/CODE] Thanks for your help. W.Johnson

Member Avatar for johnson9000
0
149
Member Avatar for shahid

I write a C++ program, which stores the information about of the company’s employees. First I create a class named as Employee having following attributes. 1: id 2:name 3: sal 4: address Take input of all the four attributes from the user using four different setter functions. Class has following …

Member Avatar for BruceWilson512
0
113
Member Avatar for nephish

i have an html form with a drop-down list that lists a bunch of images. how can i get my cgi script to load the image ? i have imported cgi and os text entered from a form and read from a file do ok, but i cant seem to …

Member Avatar for nephish
0
240
Member Avatar for jpt62089

I am looking for an experienced PHP Programmer to help me with a website I am building. This will be strictly volunteer but that programmer will earn a spot as a staff member on my new site. I do not want to give out any details right now but if …

Member Avatar for jpt62089
0
108
Member Avatar for nephish

hey there, i have written a script that gets my email messages, but i need to be able to strip off all of the stuff except the body of the message so i can write that to a text file. is there an easy way to do this ? Edit/Delete …

Member Avatar for nephish
0
217
Member Avatar for akshayabc

I am using borland C++ compiler ver-3.0 for running C & in that range of char type is -127 to 127. Q1 In C, characters have ASCII codes in range 0-255. How can we print characters having ASCII code from 128-255. printf("%c",(unsigned)129); //it will still print the char having ASCII …

Member Avatar for Dave Sinkula
0
132
Member Avatar for erikkl2000

Hello All, :rolleyes: I found this code from and artical posted back in may and i had a newbie question that i would like to add to it. 1. Is this the proper all around method to pass values? 2. How would i capture these values? Could i do it …

Member Avatar for erikkl2000
0
438
Member Avatar for Ghost1330

[I]Private Sub File1_Click() [/I] [B](<.....It usally highlights that)[/B] File1.Pattern = ("*.wmv;*.mp3;*.wma;*") Else: without File1.Pattern = ("*.*") End If If Right(File1.Path, 1) <> "\" Then FileName = File1.Path + "\" + File1.FileName Else FileName = File1.Path + File1.FileName End If End Sub The Error is Runtime 424 Object Required and i …

Member Avatar for Ghost1330
0
133
Member Avatar for p1no

I'm trying to add copyright information to the top of XML files. However, it needs to go after the prologue: <?xml version="1.0"?> <!DOCTYPE ...> My problem is that some XML Documents have the <!DOCTYPE...> tag spread out over many lines and I need to add the copyright information after the …

Member Avatar for p1no
0
132
Member Avatar for symoore22

hi i am trying to turn this code: strOutput += "<input type=hidden name=\"amount\" value=\""+ moneyFormat((fTotal + fShipping + fTax)) + "\">"; into a html form line: <input type=hidden name="amount" value="??????????"> im not sure what i shud be putting in the value bit. can anybody help thanks simon

Member Avatar for darklordsatan
0
141
Member Avatar for oRg

Hi, I'm fairly new to C++. I've taken a class on it at a university but it really only went through the basic I/O, data structures, classes, and pointers. It wasn't very algorithm oriented. It was all very basic. Here's the problem a friend of mine needed help with his …

Member Avatar for oRg
0
443
Member Avatar for Dani

[font=Arial][b]Creating Executables[/b] Of course, the software on your computer isn't all a bunch of code in a high level language, at least not in the form you receive it in. Before you can run any programs which are written in C++ or Java, they must be compiled. Compiling is the …

Member Avatar for tamilblast
0
732
Member Avatar for snufse

I have a web page that will display an image (ie a logo). I am using the following code but the image is not being displayed in the image control. Image1.ImageUrl = "C:\logo.jpg". Thanks.

Member Avatar for Paladine
0
336
Member Avatar for macsgirl

I have two dropdownlists. I can choose say USA and then it goes into the DATA base but does not save it in the dropdownlist itself. I can not figure out why this is happening. > <code> > Edit mode the index of a dropdownlist does not start at the …

Member Avatar for Paladine
0
184
Member Avatar for EddyJiang

I intend to use session variable to capture searching keywords and catagory input by user. I created datatable dTable to store "catagory", "keyword" and "ID" and save it into session variable session("MyCat") when page is firstly loaded. If it is still within same session time frame, any new input will …

Member Avatar for Paladine
0
267
Member Avatar for DiNo_r

Hi There, I am very new to ASP.Net, just started to migrate this week. I am also sorry if this question has been asked in the Forum already, i have searched but not found anything. I am looking to pull some data from a database using the following code: [COLOR=Red]dim …

Member Avatar for Paladine
0
121
Member Avatar for NejiHyuuga

I need help organizing my program. In other words it need to be in a list. Example: [code]Degree Sin cos tan[/code] when it compiles the output is together: [code]DegreeSincostan0.000.3045[/code]...you get the idea. I need it to be organized. Where would i need to but a character for it to list …

Member Avatar for Dave Sinkula
0
141
Member Avatar for freesoft_2000

Hi everyone, I am currently trying to print a multipage JTable but the the thing is on the left hand side of the JTable does not have any grid lines and i have tried to draw a rectangle around the jTable before printing it but nothing is happening. Another thing …

Member Avatar for freesoft_2000
0
189
Member Avatar for Gunapriya

hi all.. could u pls help me in sorting out this......... i want to get Ldap connection using VB...... and also want to check whether the connection is established. how can i do this........ thanks in advance for ur help

Member Avatar for Gunapriya
0
123
Member Avatar for frankcs

guyz.......total newbie to servlets stuff......... have got few java files and their corresponding class files.....don't know where to put those files in the tomcat directory structure............ i have put the html files in the root directory....... the html file is working but the file can't retrieve the servlet............guyz plz help …

Member Avatar for techniner
0
179
Member Avatar for Mahen

Am writing a program to find the binary directory of any executable, so I use FindExecutable() but sometimes it does not find the executable and i want the program to know that the Executable has not been found but i don't know how, please help. [code]#include <windows.h> #include <iostream.h> #include …

Member Avatar for Mahen
0
546
Member Avatar for larry78

Hi, I've a windows application with VB.Net. I made a little application that connect on a ms access database and do some stuff. The application works well in my PC and in other remote PC, but If I made a concurrent open to the database, I got an error. I …

Member Avatar for Paladine
0
151
Member Avatar for seemajanardhan

Hi! I hope someone can help me out on this one. I have been trying to get it work since last night. I am making an application where I can add a quiz. The quiz has questions. Each question has a certain number of choices and out of those choices …

Member Avatar for ravi_be
0
297

The End.