132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cwarn23

I have spent endless hours searching the web for a few days now and still the only tutorial I have found (doesn't even show everything I need) is at [URL="http://www.functionx.com/vcnet/controls/combobox.htm"]http://www.functionx.com/vcnet/controls/combobox.htm[/URL] But what I need is code or tutorials on how to make graphical interfaces such as textboxes, scrollbars, tickboxes etc …

Software Development c++ display gui
Member Avatar for mitrmkar
0
143
Member Avatar for nonon

I am newbie in the world of programming.. and I am using vb6.. can anyone help me to do get the data ranging it by the date. What Im trying to mean is ex: I have a data which includes data form january to june. I want to display feb …

Software Development visual-basic
Member Avatar for debasisdas
0
108
Member Avatar for dev_kc

This is the code i m using for updating table,which the user is entering through textbox in vb form Con.Execute "update Details set NAME='" & txtName.Text & "' and DT_OF_BTH='" & txtDOB.Text & "' and DT_OF_JOING='" & txtDOJ.Text & "' and SALARY_ACC='" & txtAccountNo.Text & "' and REMBSMNT_ACC='" & txtRmbr.Text …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
109
Member Avatar for kiro

hello! i would like to ask something about a program that i am trying to do. I wrote the program but i cant find where is my fault and doesnt check the right day for the february. I sent you my program, if anybody has something to suggest. The suggestion …

Software Development c++
Member Avatar for MrSpigot
0
110
Member Avatar for vishy_85

hi all , im trying to compare two time values , but im unable to display the correct result , the retval returns -1 for both d1 and d2 , i suppose the mktime is the convert the values into seconds since EPOCH . any idea as to where im …

Software Development c++ storage
Member Avatar for ArkM
0
1K
Member Avatar for Talguy

I was wondering if it is possible to create an array of enums like this: [CODE] typedef enum { LABEL, SCREEN_BUFFER, PID, ENABLED, NUM_BYTES } SENSOR; static SENSOR sensors[] = { // formula // label //screen_buffer //pid //enabled // bytes { "Absolute Throttle Position:", "", "11", 1, 1 }, { …

Software Development c++
Member Avatar for MrSpigot
0
116
Member Avatar for yas9

hi, im making a page where users click on the "REGISTER" button to register into the program. the program gives the user a username by taking the first 3 characters of the first name and first 3 characters of the last name. if the username already exists i just add …

Software Development open-source
Member Avatar for yas9
0
144
Member Avatar for AlSal

I have the following C++ code: [code=syntax] void f(int* x) {...} void f(char* x) {...} int main() { ... f(0); ... } [/code] I understand that this has a problem interpreting which function to call. I also think I can get rid of this problem by giving it two different …

Software Development c c# c++
Member Avatar for Narue
0
103
Member Avatar for ctrl-alt-del

Hi all! ...jup.. I'm back again.. This time I seem to have troubles with my array, I want it it to do a fairly easy job, but I can't figure out the syntax of how to do this. I have a form with several sorted TextBoxes, named accordingly: tb_dec[1-6] tb_bin[1-6] …

Software Development
Member Avatar for ctrl-alt-del
0
115
Member Avatar for mahela007

The readlines() method for file objects return the lines as a list (or is it a tuple?) however each element contains the \n character which prevents the element from being used in another function. How do I remove the \n character from the elements? I have made some code which …

Software Development python
Member Avatar for Gribouillis
0
118
Member Avatar for shers

Hi, I have finished coding a VB.Net application that has connection to SQL Express 2008 database. My question is, what steps do I have to take to make this a multi user application. FYI: There are 3 tables in the database of which two tables contain data to be viewed …

Software Development vb.net
Member Avatar for martonx
0
112
Member Avatar for lankz691

Hi, i could really do with some help. I am trying to connect a simple button in Visual Basic 2008 Express Edidtion, to an access database in which i can get an item from the database to show in a text box. Like a till does when a product is …

Software Development vb.net visual-basic
Member Avatar for abhishekcs
0
79
Member Avatar for patelmitul

Hi guys I am new to python .. i was trying to move sequential images from a folder with multiple types of sequences in same folder like a_bc_01.jpg a_bc_02.jpg a_bc_03.jpg c_de_05.jpg c_de_06.jpg etc... to different folders [ICODE] import os, glob, os.path import array path = 'd:\del' for file in glob.glob( …

Software Development image python
Member Avatar for Gribouillis
0
380
Member Avatar for ellimist14

Ok I know how to sort an array. That's not what I'm asking. Basically my problem analysis is: I have to read in a file of employee reports ie salesID Employee code numunits numdollars 6022 1 3 100.00 6023 1 6 200.00 ok so I read each value into arrays …

Software Development c++
Member Avatar for siddhant3s
0
114
Member Avatar for bcm

I am creating a project in which I have to show all the columns of database table named LMTS_compatibility in a datagrid. How can I do it in [COLOR="Red"]VB.NET[/COLOR] I am able to connect but cannot enter the values in datagrid and display it. Please Help!!!!!!!!! :icon_cry:

Software Development display vb.net
Member Avatar for selvakumar789
0
89
Member Avatar for power_computer

Tried searching but everything seems to be for VB C++. Is this even possible in dev c++ if so please tell me how to do it

Software Development c++
Member Avatar for nucleon
0
1K
Member Avatar for iTsweetie

Okay so I was the one with the Assertion failure problem earlier.. so I started all over. I have no compiling errors anymore but now the output is wrong. My new code is: [CODE]#include <iostream> #include <cstring> using namespace std; int main() { char phrase[100]; //100 characters allowed char *words[20]; …

Software Development c++
Member Avatar for nucleon
0
78
Member Avatar for PinoyDev

Good day! Im so confused of auto incrementing a receipt number format. example i have a starting receipt no. (00000) in a mysql field called or no. when the paymentfrm load, the textbox that contains the receipt no will be added by one so that it will become 00001. I …

Software Development visual-basic
Member Avatar for PinoyDev
0
83
Member Avatar for stickboy

Hello I know I may receive some grief for not inserting code correctly it is my first post... My question is this: I am reading a huge list of values from a file and I need to store these elevations into an array so they can be used to calculate …

Software Development c file-system
Member Avatar for stickboy
0
263
Member Avatar for phoenix2391

hi, I was hoping someone could help me. I've been trying to do this for the past hour with no luck. basically i'm trying to make a Celcius to Fahrenheit converter. So far, the converter works fine, except for the fact that I cant get it to display 2 decimal …

Software Development c++ ios
Member Avatar for Ancient Dragon
0
128
Member Avatar for tbk

Hello everyone! I would appreciate some help with this problem i'm facing I have designed a application using Borland C++ Builder 6. The problem I'm dealing with is that the application GUI runs as designed only on my computer. If i try to run it on another computer applications components …

Software Development c++ gui
Member Avatar for tbk
0
181
Member Avatar for Bretzel13

Hi everyone, Is there any way to open a website in the default browser that will be cross-platform? Right now I'm using: [code=C++] #include <windows.h> ShellExecute(NULL, "open", "http://sourceforge.net/projects/tro", NULL, NULL, SW_SHOWNORMAL); [/code] But this Windows only of course. Thanks, Brett

Software Development c++
Member Avatar for Bretzel13
0
169
Member Avatar for VarunV

Can u help me in making a C++ code for simulating a bidirectional shift register??????

Software Development c++
Member Avatar for ArkM
0
98
Member Avatar for skitzo315

I can't seem to figure this one out but I'm sure it's easy. My program seems to be truncating decimal values even though stored in a double Both sets of code below output the number 0 when I need them to output .5, what am I doing wrong? [code] cout …

Software Development c++
Member Avatar for siddhant3s
0
90
Member Avatar for guest7

Hi, I am trying to compare two strings. When i enter two arguments on the command line 12 and 100, the flag1 should be set to 1 because (argv[1] =) "100" > (junk2 = )"13". But this is not happening. So, how can i check that the input arguments entered …

Software Development c++
Member Avatar for Ancient Dragon
0
88
Member Avatar for arshad115

i have made this strstr() function,it gives the correct answer if it finds the correct string inside the another but the program crashes if it does not find the string,gives a runtime error,compliler does not give any error! here is my code: [code=c++] char *astrstr(const char *s1,const char *s2) { …

Software Development c++
Member Avatar for ArkM
0
253
Member Avatar for ctrl-alt-del

Hi all! I'm trying to create a function that will allow me to set the properties of all the specified controls in my form at once. In a more direct example: I'm trying to change the text of every textbox in my form to null ("" would do fine to, …

Software Development
Member Avatar for Rashakil Fol
0
110
Member Avatar for sonicstage

Hi, I have to create a hunt the wumpus game using c++ and using the parameters that my proffesor set up, but I am really confused and I don't know where or what to start with. This are the parameters and other stuff that my proffesor gave us. (ps I …

Software Development c++
Member Avatar for nucleon
0
202
Member Avatar for rickbill

This is what I have so far. I need to let the program toss the coind each time the user presses the Toss button. Count the number of times each side of the coin appears. and display the results using heads and tails images. I am stuck Public Class Form1 …

Software Development vb.net
Member Avatar for Darkangelchick
0
181
Member Avatar for goyofoyo

i am working with a piglatin translator that has a GUI but i am stuck on how to make it translate when i you push the translate button here is my GUI what is in red is were the error occurs if someone could help i would appreciate it thanks …

Software Development gui java java-swing
Member Avatar for Ezzaral
0
296
Member Avatar for nanna

hi, Iam trying to add names and numbers to a database then save them by updating them. i run my program, but when i press any button nothing happens????? pls help me, i do not know where is the problem in my program???? [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import …

Software Development java java-swing
Member Avatar for nanna
0
327
Member Avatar for shahab.burki

Hi, I am stuck in implementing the linked list in Java. I am using three classes to construct Liked List. One is Data Class (for holding Node's Data), Node Class (which encapsulates the Node properties) and a Linked List Class. Though it creates a successful linked list, but when I …

Software Development java linked-list
Member Avatar for BestJewSinceJC
0
153
Member Avatar for Sallad

Hello, my name is Dallas. I'm (obviously) new to the site. I've spent the past couple of days doing absolutely nothing but trying to work on this program. I usually don't like trying to get help, but I've spent so much time on it by myself that I have no …

Software Development c c# c++
Member Avatar for DemonGal711
0
3K
Member Avatar for thijo

[B]hi, i'm coding to take a input vector inputdata, and continuously find standard deviation to count how many distinct data ar available.for this i implement a small method called findk().[/B][code =java] public int findk(Vector inputdata ,double minSD) { inputdata=new Vector(); double tolerance=0.001,thisSD; Collections.sort(inputdata); if(minSD<0.0) this.minSD =inputdata.getStandardDeviation(); inputdata d1= getHalf(1,inputdata); inputdata …

Software Development java
Member Avatar for BestJewSinceJC
0
98
Member Avatar for serkan sendur

if i have two projects in the a solution and i want to use exactly the same code file in this two projects, how do i create that file in one project and link to that file from the other?

Software Development
Member Avatar for serkan sendur
0
196
Member Avatar for amerninja2

So I'm working on a program "Master Directory Control", it gets all the information about all files in a directory (name, location, size, exists, etc.) and puts them into ListBoxes. That all works fine. There's a feature where you right click on selected file in the Name ListBox, and you …

Software Development c c# c++
Member Avatar for amerninja2
0
249
Member Avatar for joejoe55

I have drawn a small box in a game, that I would like to be able to click it in order to bring up another Larger box that would contain various information, I have named InfoLarge() This is the Small box VOID InfoSmall () [ICODE]Rectangle(730, 390, 60, 17); draw(732, 405, …

Software Development c++
Member Avatar for mcriscolo
0
230
Member Avatar for lllllIllIlllI

Hi guys, When i run my programs in c i always use things like [code=c++] include "stdio" [/code] But then i see things like [code=c++] include "stdio.h" [/code] and [code=c++] include <stdio> [/code] I was wondering which one i should use and also why there are so many different ways. …

Software Development c++
Member Avatar for lllllIllIlllI
0
240
Member Avatar for jajafofo

Can anyone show me how to make this perform the calculation using the postfix data?? I assume I would have to read the post fix data one character at a time and code what to do with each character??? For example, if I entered this: 5 ^ 3 * 4 …

Software Development c++
Member Avatar for jajafofo
0
102
Member Avatar for NagendraR

Dear All, I am facing a problem in passing 2D array of pointers to a function. can any one give some suggestions on this. 1. How the Declaration fo the function should be ? 2. How to pass 2D array of pointers to that function? 3. How to access the …

Software Development c++
Member Avatar for tux4life
0
243
Member Avatar for idb_study

Hi All, Could you kindly help me regarding the usage of array of pointer (1dimension or 2), I mean where we can use it. Regards, IDB

Software Development c++
Member Avatar for tux4life
0
154
Member Avatar for serkan sendur

Let say i have two applications one is windows forms and the second windows mobile application. If this two applications will do exactly the same thing, how can i share the functionality between them? Apperantly i cant create class library as each has its own class library project type. Any …

Software Development
Member Avatar for serkan sendur
0
94
Member Avatar for confused!

Hello! I have an assignment in my "intro to programming class" and I am having trouble just getting started. We are suppose to take a txt file that has several lines of text - and create a program using "fin" to test each line to determine if it is a …

Software Development c++
Member Avatar for hajiakhundov
0
269
Member Avatar for songweaver

Hi Guys! Was wondering what I was doing wrong with this program. This a program that when a person enters a number, 2-9, it gives them the letters that correspond just like on your phone, e.g., 2 is a,b,c. They also have to chose if they want a switch statement …

Software Development c++
Member Avatar for siddhant3s
0
171
Member Avatar for ahmedo047

I have the following code. when I run the code I have to one by one input fx,ft,apha,m,n. After I run the code: Y 10 0.5 1 10 50 Code works with this way. I writed to a file called "d:\\a.txt" this values(that is upper values).I tried to work the …

Software Development file-system
Member Avatar for LizR
0
140
Member Avatar for LindseyV

Hello there. I am witting a program in vba/access and I have a string coming in. I need to go through the string and look for specific tags and return the rest of the line. So lets say: "I went" "to the" "park" I need to tell the program to …

Software Development visual-basic
Member Avatar for hkdani
0
525
Member Avatar for moonw3ll

[code] #include <stdio.h> #include <string.h> #include <conio.h> #define MAX 17 #define TAX_RATE 0.12 #define LENGTH 30 struct menuItemType { char menuItem[LENGTH]; float menuPrice; int numOrdered; }theMenu[MAX]; void Menu(void); int getData(int); void overView(void); void initialize(void); int order(void); float pbill=0; float bill=0; float totalTax=0; int main(void) { int choice=0; char end; initialize(); …

Software Development c
Member Avatar for moonw3ll
0
156
Member Avatar for firoz.raj

i simple want progressbar should execute until it becomes 100 after some interval.but it is not working properly.can anyone help me .Any help would be Greately appreciated.Here is the code what i have written. [code] Private Sub Timer1_Timer() For i = 10 To 100 Step 10 ProgressBar1.Value = CInt(i) If …

Software Development visual-basic
Member Avatar for firoz.raj
0
118
Member Avatar for itslucky

Hi, :) Dear Friends i want to run the Windows Calculator when i click on the Particular button in my C# application anybody please tell me that how can i do this... :?:

Software Development c#
Member Avatar for itslucky
0
268
Member Avatar for delifion

Hi, I know this kind of stuff been wandering around. I did have a look through the search function but I haven't got the answer. This is the program to check whether the number inputted is a prime number or not. [code=c++] #include <iostream> #include <math.h> #define TRUE 1; #define …

Software Development algorithm c++
Member Avatar for delifion
0
88

The End.