199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lorentz

Hey! I'm currently doing my thesis work in C# where I'm writing a program for a certain company. I have a little problem with resizeing my program for different screen resolutions. I don't relly know how to do this. My current resolution is 1280x1024 and that's what I've designed the …

Member Avatar for Narue
0
142
Member Avatar for Yogesh Sharma

HI, I have made a menu with two menu Items Colors Size. Colors will further have the submenu Items--> FillColor Exit FillColor will further have-->Red,Green,Blue Size --> Small , Large If i write the foll. code--> [B]Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) …

Member Avatar for choudhuryshouvi
0
206
Member Avatar for ericstenson

Is there a difference in handling between Session.Add("SOMETHING","somevalue") and Context.Items.Add("SOMETHING","somevalue")?

Member Avatar for munr
0
222
Member Avatar for hansF

Hello everyone, I'm running my little web server as a hobby project: [URL="http://neo.dyn-o-saur.com"]http://neo.dyn-o-saur.com[/URL]. Almost all coding is done my myself and right now I'm working on an admin panel to streamline some tasks. What I want is to: 1) upload a file, 2) run a shell script on the file, …

Member Avatar for cerberox
0
129
Member Avatar for mike4

I made a hotel software and connected it to a access database created using the visual data manager. The software runs very well but when records in a table for daily stock taking reaches around 2000 the software starts messing up with my table. I am suspecting that the table …

Member Avatar for choudhuryshouvi
0
114
Member Avatar for ratnasatish

[CODE=SQL] please help any one, how to write PHP, what is the use of PHP, syntex, advantages etc.... [/CODE]

Member Avatar for Lorand24
0
128
Member Avatar for soosai

hi there .. whats wrong with th e following code? [code=c] #include<mpi.h> #include<stdio.h> #include<math.h> void main(int argc, char **argv) { int rank, row, i, j,s,p ; int n; int oldrow,oldcol,newrow,newcol; MPI_Status status; int z; int delta_x,delta_y; int temp_map[60][40]; int map[60][40]; int col; z=oldrow,oldcol,newrow,newcol; temp_map=0; map=0; printf("pls enter the row value\n"); …

Member Avatar for Salem
0
159
Member Avatar for CaffeineCoder

I currently have a program using keyboard input from the user, but am trying to replace keyboard input with onscreen buttons. Does anyone have any information on the best way to do this? I've pasted the code file involved with this (there are other files in the program). I'm not …

Member Avatar for CaffeineCoder
0
163
Member Avatar for rje7

im building a telephone directory. and the code is given below. i am using file system to store the record which i get from the user. and then i should be able to do searching, deleting, sorting and other default telephone dir functions. so far i have been able to …

Member Avatar for Salem
0
87
Member Avatar for RatherBeInVegas

Hello, Yes, I am a new C++ student and yes I have tried looking for this topic already. I'm very interested to know if there is a way to create a text array that would produce random output akin to a magic 8 ball? Here's what I want to do... …

Member Avatar for RatherBeInVegas
0
188
Member Avatar for ITKnight

i want my program able to change cursor at runtime. give a hand pleasee.... thanks all...

Member Avatar for Jx_Man
0
214
Member Avatar for Arne Kristoffer

Hello! :) I'm having some trouble including header files in my project. This is my three files: main.cpp: [code=c++] #include <iostream> #include <string> #include "functions.h" using namespace std; int main() {}[/code] functions.h: [code=c++] #include <iostream> #include <string> using namespace std; void functionSplit(string str);[/code] functions.cpp: [code=c++] #include "functions.h" using namespace std; …

Member Avatar for Arne Kristoffer
0
167
Member Avatar for toomuchfreetime

Hey I'm building a application and using JTree to navigate between the functions. This is working but can't figure out how to set up the JTree to have different icons for each node. I can have one default icon that gets rendered to each node or set up an icon …

Member Avatar for Ezzaral
0
1K
Member Avatar for Vega_Knight

My Friend tell me to using GetSystemInfo api function to get a couple information : - Number of procesor - ProcessorType - Low memory address -> MinimumApplicationAddress - High memory address -> MaximumApplicationAddress but i didn't know how to use this function. anyone know how to do this??? please help …

Member Avatar for Jx_Man
0
589
Member Avatar for aminit

Hello All : I tried to write a simple program in C++ for encrypt a word using a keyword and a key depending on an alphabet ,for example keyword:HELO Key : D I want to genrate the cipher alphabet by puts the positions of letters of the keyword(HELO) in the …

Member Avatar for Sky Diploma
0
299
Member Avatar for Neji

how i can get all drive in my computer? does anyone know how to get it?? Thanks.

Member Avatar for Neji
0
148
Member Avatar for Kaushalya

Hi all, i'm reading a file path from a serevr & going to read the contents in that file. i created a ifstream object.but the problem is if the file path is c:\txt.txt,it doesn't read it as a file path.it reads \t as the tab.Is there any way to avoid …

Member Avatar for chiwawa10
0
89
Member Avatar for Nemoticchigga

I am filling a char array 2 bytes at a time. I want to now add an integer that can be up to 4 bytes. Is there an easy way to split this integer into 2, 2 byte chars? For example 2200 into 0x08 and 0x98? Thanks.

Member Avatar for Ancient Dragon
0
104
Member Avatar for Sky Diploma

Hello Everyone , I am writing a code in which i search a char array and look at what is missing in the array i mean what letters are missing in the array. I worked out a small code but i seem to have some error in the answer though …

Member Avatar for Sky Diploma
0
100
Member Avatar for Reg74

Hi .... i'm getting the following error " 'buildListForward undeclared' when trying to compile this program. Please help ! [code=cplusplus] //Linked lists //Pg.288 #include <iostream> using namespace std; nodeType* buildListForward(); int main() { buildListForward(); nodeType* buildListForward() { nodeType *first, *newnode, *last; int num; cout << "Enter a list of integers …

Member Avatar for Narue
0
1K
Member Avatar for khaniya_amol

please u said u did now i want to do same but actually i dont have time because our final year submission is goin on and also exams are there so plz can u help me for that

Member Avatar for wahabaziz
0
75
Member Avatar for theausum
Member Avatar for rje7

Loader error (0000): unrecognized error i get this error message when ever i start the Turbo C++ 4.0j IDE. What could be the problem? i tried reinstalling the software but in vain. it was working fine though before.

Member Avatar for rje7
0
52
Member Avatar for coolerli

[code=cplusplus] #include <iostream> #include <vector> using namespace std; class ctcChanID { public: void GetInfo(ctcChanID *m); int chanID; int type; string DN; int clientID; }; void ctcChanID::GetInfo(ctcChanID *m) { } int main() { vector<ctcChanID*> _ctc; for(int i = 0; i < 2 ; i++) { ctcChanID *a = new ctcChanID; cout …

Member Avatar for Narue
0
75
Member Avatar for Maulth

I understand that title was rather vague, but it still holds true. Lurking these forums I have noticed how incomplete my 2 year education on C++ really is, and I am asking for your help in area's, maybe just pointing me to some resources, etc. First off i am using …

Member Avatar for Maulth
0
165
Member Avatar for Drake

When using functions in C, i cannot seem to make my table of options apprear on screen. I have put it in but it will not appear. The options i have put in work fine, for example press 1 to calculate voltage. This works fine and the answer is given …

Member Avatar for Narue
0
144
Member Avatar for GeddiGuy
Member Avatar for Ancient Dragon
0
57
Member Avatar for kevin wood

can this be used to email a php page to a mailing list using a submit button?

Member Avatar for kevin wood
0
273
Member Avatar for nurulshidanoni

AYBODY KNOWS WHY THIS PROGRAM IS ABNORMAL? [code=C++] #include <iostream> // std::cout #include <fstream> #include <iomanip> #include <string> // std::string #include <vector> // std::vector<> #include <algorithm> //std::for each() using namespace std; // import "std" namespace into global namespace struct exam { string examid; vector <int> total; }; int myfile; int …

Member Avatar for Ancient Dragon
0
119
Member Avatar for Geonith

how would i go about doing this? I have several html forms that i have made php scripts to insert the data into mysql databases. What I have gotten it to do so far, is give me a blank page with confirmation messages saying the it connected to the database …

Member Avatar for sDJh
0
87
Member Avatar for aran87

Hello basically i got a signup page and i want the user to be able to browse and upload a image and when the user clicks signup all his details and his picture will be saved to mysql database table, and when the user signs in the image appears is …

Member Avatar for ditty
0
133
Member Avatar for ash_fsktm

hello dani and everyone here.. please help.. i try to create my own page number on my php file.. each pages, i wanna have page number at the bottom right.. some page call from the database.. so we dono how many pages it will take.. do u have any idea …

Member Avatar for sDJh
0
190
Member Avatar for TMD

I can't seem to figure out why it keeps repeating level one anyone got a suggestion on how to fix it? [CODE=cplusplus]#include <iostream.h> #include <stdio.h> #include <windows.h> #include <stdlib.h> #include <conio.h> #include <ctype.h> int mx=14; int my=1; int i, j; char direction = ' '; char facing = 'S'; char …

Member Avatar for ivailosp
0
345
Member Avatar for sonia sardana

In vb.net no form is MDI,any form can ve made MDI by setting IsmdiContainer property to true. But in Vb we add the MDI Form. In Vb.net Form1_click dim obj as new form1 obj.show() obj.mdiparent =me But in VB,i write dim obj as new form1 obj.show obj. but there is …

Member Avatar for sonia sardana
0
76
Member Avatar for alias_neo

Hey guys, I'm looking to make some pulsing LEDs and I believe PWM is the way to do it, I'm new to ASM and don't really know how it works. Datasheet is like reading chinese to me. Could anyone please help me out with how to get started?

Member Avatar for Colin Mac
0
116
Member Avatar for wsn

Hi, I'm trying to make a makefile but after i enter the command make makefile it says nothing to be made in the makefile, can someone please help me? Nd.c depends on Pd.h Pd.c depends on Pd.h Md.c depends on md.h md.h depends on Rd.h # Makefile CC = gcc …

Member Avatar for wsn
0
129
Member Avatar for 5447tina

this form calculates and it works in IE and safari but not in firefox - in firefox everything works EXCEPT the calculation. can anyone pleae help me know why so i can fix it? thank you i am including script first, then the form code: script: [code=JavaScript]<SCRIPT language="JavaScript"> function Calculate() …

Member Avatar for shaikh_mshariq
0
173
Member Avatar for natd

I've written a program to produce a random sentence. I'm having trouble converting the first letter of the first word into uppercase. Don't know where to go from here. Can anyone help? [CODE=cplusplus] #include <stdio.h> #include <string.h> #include <time.h> #include <stdlib.h> #include <ctype.h> void firstword( char *article[5], char *sentence[6]); void …

Member Avatar for natd
0
95
Member Avatar for dipps

hi, could some one help me to make a calculator connected to a DSP? This is for my real time systems project. the software used to complile is Code Composer Studio. DSP used in TI TMS320C6711. keypad is 4x4 Matrix X,Y type. I could not understand how to make the …

Member Avatar for dipps
0
130
Member Avatar for programmer321

[code] Hello, In one of my C codes, I have written a function for logging into a files. When the size of the file exceeds 10 MB, I close that file and open a new file. But at run time my Code is crashing at times during file closing. This …

Member Avatar for programmer321
0
2K
Member Avatar for Venom Rush

Hi there I have a form that I'm trying to submit but it just doesn't want to play nice. The form i have has 2 submit buttons. One processes php code that updates info in a DB and the other deletes the info in the DB. The problem is that …

Member Avatar for nav33n
0
171
Member Avatar for BluePaper

Mhm. This is the VB.net code behind a webpage I'm working with, I've also provided the ASP.net for the frontpage as well. This maybe really simple and I've missed it but everytime I run this code (below) I keep on getting the same error "Invalid column name, Skyrail" where 'Skyrail' …

Member Avatar for BluePaper
0
337
Member Avatar for Fenerbahce

Hi, When i add new product into "Products" table, a trigger will add a record into "stocks" table. Example; stock=10,productId=99 How can i do that? Thanks [code=sql]CREATE TABLE products( productId INT(10) NOT NULL AUTO_INCREMENT, productName VARCHAR(10), PRIMARY KEY (productId)); CREATE TABLE stocks( stock INT(10), productId INT(10), FOREIGN KEY (productId) REFERENCES …

Member Avatar for Fenerbahce
0
112
Member Avatar for jspear

Using VS 2003, I need to access Excel workbooks and sheets. anyone have some code snippets to do this? All help/advice gratefully appreciated Jim

Member Avatar for GL.Za
0
139
Member Avatar for flynismo

Hello all! I am very new to php...still trying to grasp the fundamentals of it. I have a scenario that I hope I could make work, because it will save me A LOT of time and heartache. Here's the deal....I have two different websites. However (this may be confusing because …

Member Avatar for cerberox
0
97
Member Avatar for musicmancanora4

Basically im trying to design a dtd that represents a collection of movies Not sure why but when i try validate the dtd it says undetermined element declaration 'Movies' but i have declared it havnt i? could someone take a look at my code give me some pointers ? thanks …

0
87
Member Avatar for queenc

hi, In my application ,i am able to upload a file in my server...now i want to display the first three lines of the uploaded file.please do tell me how to do tat.

Member Avatar for queenc
0
147
Member Avatar for sree22_happy

hi friends, I need your help............. I have a div content in my home page.while clicking on that div i need a modal window... i have done that using jquery. In that modal window i need to call accordion java script for sliding menu.... and again i need to use …

Member Avatar for sree22_happy
0
428
Member Avatar for swamp56

Hello :) I have a quick question with a script I'm making; It's a php script used to add data to pages (there are 5 in total and an index page), and I just restructured the database for more efficiency :o . It used to look like this: +-------+--------+--------+-------+--------+--------+ | …

Member Avatar for swamp56
0
102
Member Avatar for sonia sardana

Private Sub Command3_Click() Dim a, b As Integer Dim divide As Double a = 10 b = 3 divide = div(a, b) MsgBox (divide) End Sub Private Function div(a, b) div = a / b End Function Function return type by default is integer in C. & if we do …

Member Avatar for choudhuryshouvi
0
86

The End.