64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Jade_me

hi all, im a newer in vb.net i want to alleviate two different date. im using two datetimepicker in this case. if i just to alleviating with pus the year of each dtpicker i can't to get detail result. ex : 02/12/2007 - 01/11/2007 = 1 month 0 days thx, …

Member Avatar for Jade_me
0
94
Member Avatar for klefevre

The following code snippet works in IE, but not Firefox 2.0.0.10. The parts that access text boxes work great. I can see the selectedIndex's value for the two drop-downs, but cannot retrieve the text of the selected item for either drop-down. Specifically, the first alert displays the value of the …

Member Avatar for klefevre
0
136
Member Avatar for kv79

Hi to everyone, I woud be pleased if you can write me, i have Dev-C++ and when i create project -> Win App in C++ code ,the Dev-C++ write me a lot of code wich i do not really understud how code reflect to a window and if you woud …

Member Avatar for kv79
0
126
Member Avatar for jadedreality

Okay, I wrote a code to translate a character into Morse Code. However, I was reading back over my assignment and I was actually supposed to define a macro PRINT_DOT which prints a period, and a macro PRINT_DASH, which prints an underscore. Then define macros PRINT_A, PRINT_B, etc. Is there …

Member Avatar for vmanes
0
137
Member Avatar for toko

okay i am trying to compare a char thats a constant with a char that a person has inputed however this is as far as i have gotten and its not working. [CODE] #include <iostream> using namespace std; int main() { char input[20]; char correct [] = "Rudolf"; cin >> …

Member Avatar for toko
0
220
Member Avatar for kidjl

would some one please help me with this?? i 've got an assigment from my professor which is in a University level (p.s i am still in college, and this class suppose to be the"introduction of programmng") However, in the game we suppose to create a "BlackOut Game", which we …

Member Avatar for kidjl
0
99
Member Avatar for tones1986

Hey Folks. I have to write a script that will basically take input from 3 different files which contain the following: product (file contains the following - FS=".") -product ID (Int number) -description (alphanumeric text) -price (floating pt. number, with 2 sig. digits) sales (file contains the following - FS=",") …

0
105
Member Avatar for jay64

Hi, I am very new to PHP, teaching myself at the moment. I am using online tutorials to teach myself, so I am at their mercy of what information they provide. I have found some decent scripts, but they don't show me how to link them together. I am trying …

Member Avatar for buddylee17
0
90
Member Avatar for Oreynid

Hello all, I've tried reading back threads and the various posted tutorials, etc that here and I've not stumbled upon the answer I'm looking for. I am attempting to write a hangman game as a school project, and I am having trouble getting just one character from the input stream. …

Member Avatar for Salem
0
10K
Member Avatar for world_weapon

Working on a function that prints out all database rows that end with _n where n is single digit number 1 - 9 first and then prints rows that do not end in _n. So far I have been trying to use this code [CODE=php] $theQuery="SELECT * FROM tableContent" while($row=mysql_query($theQuery)) …

Member Avatar for world_weapon
0
179
Member Avatar for sivaslieko++

I read two binary numbers which are separeted by a coma(1010,1000111) from a texfile into two differen linkedlist as below: [code] while (!feof(fout)) { ch=fgetc(fout); if(ch==','){ printf("\n"); control=1; }else{ if(control==0){ if(ch=='1' || ch=='0'){ curr = (item *)malloc(sizeof(item)); curr->val = ch; curr->next = head; head = curr; length1++; } }else{ if(!feof(fout)){ …

Member Avatar for danzona
0
106
Member Avatar for ENG ISE student

I need to do this do while loop but I dont know how to exactly get it to repeat itself I got an error when I tried to compare pointer to integer and thats what i have in the code below, any thoughts as to how this should be done. …

Member Avatar for ENG ISE student
0
97
Member Avatar for BlackNinja

Hi I was just wondering if there was a way to convert a value of double to a string? And if there is what is the command? Thank You in advance

Member Avatar for vijayan121
0
72
Member Avatar for johnnyjohn20

I am trying to filter an array with different elements in using an if statement. So far i have if ( a[i] < 0.001 ) a[i] = 0 which works but i have minus values in the array which i wish to keep. Therefore it would be ideal to have …

Member Avatar for Salem
0
142
Member Avatar for geekyspaz

Hi, I'm fairly new at php and I'm trying to understand how to upload a maximum of 5 images. The images would be uploaded to a common directory. My plan is to save the pathname to a database for later retrieval. Please help. Thanks.

Member Avatar for geekyspaz
0
82
Member Avatar for lydia21

hi i want to check the uname from the database and the session variable... please tell how to write if condition <? $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); echo "<table width='60%'>"; $result=mysql_query("SELECT jobid,jobtitle,cname,uname FROM please"); print "<tr><td>jobtitle </td> <td>cname</td></tr>"; if ($result[3] == $_SESSION[uname]) { for ($i = 0; …

Member Avatar for lydia21
0
100
Member Avatar for ENG ISE student

I am a beginning ISE student taking a C++ programming class and am having trouble with the simplest things. I need to write a program that reads in an address in a single line of text then outputs that address in the appropriate form. input: john doe # 1234 main …

Member Avatar for ENG ISE student
0
114
Member Avatar for kahaj

How do I go about removing leading and trailing spaces from a text field when passed to a script? Also, how do I verify that an email address is in the correct format on a form?

Member Avatar for masijade
0
103
Member Avatar for degamer106

So here's the problem [QUOTE]Write a program that asks the user to input a set of floating-point values. When the user enters a value that is not a number, give the user a second chance to enter the value. After two chances, quit reading input. Add all correctly specified values …

Member Avatar for degamer106
0
198
Member Avatar for pelusa

hi i would like to know how can I checked the name of a file and then retrieve only the first 6 characters. the format of the file names is: dd1234_10x2.xsl i need to get just the first 6 characters up to the underscore, but if the name of the …

Member Avatar for waynespangler
0
145
Member Avatar for darklich13

I have a problem where the user enters in their grades from their homework and exams and then the program will tell the user what their grade is. I have everything worked out below but I am missing one key aspect. There are 12 homeworks and only the best 10 …

Member Avatar for darklich13
0
104
Member Avatar for Barefootsanders

I have a doubly linked list and I know it gets created with the proper values. For some reason when I run through my print function it, only prints 1/2 of the list and then gives me this: the instruction at "0x7c93426d" referenced memory at "0x00000000". the memory could not …

Member Avatar for Barefootsanders
0
95
Member Avatar for ricnyx

fin1 xx.txt -------------------- Paychecks 2500.00 Interest 100.00 fin2 xx.txt -------------------- Car_Insurance 250.00 Cell_Phone 50.00 Book 200.00 Student_Loans 180.00 Rent 950.00 fin3 xx.txt -------------------- Food 350.00 the output become --------------------- [CODE] Paychecks 2500.00 Car_Insurance 250.00 Food 350.00 Interest 100.00 Cell_Phone 50.00 Cell_Phone 50.00 Book 200.00 Student_Loans 180.00 Rent 950.00 [/CODE] ------------------------------ …

Member Avatar for ricnyx
0
132
Member Avatar for john_mark386

Hello, any tutorials in how to use bubblesort, selection and insertion? Help is greatly appreciated. Thank you.

Member Avatar for peter_budo
0
112
Member Avatar for rickster11

If someone has a second, could you please take a look at this. This is just a small part to a large program I have to write for school. Right now I'm just trying to get the arrays to load. I can't get my two dimesinal array to work (the …

Member Avatar for rickster11
0
755
Member Avatar for borgster

Hello, I'm using the following code in a EXE to open excel with vb6.0 : [code] Sub Main() Dim xlapp As Excel.Application Dim wkbKei As Excel.Workbook Dim Key As String 'Check if file exists If FExists(App.Path & "\Kei.xls") = True Then 'Open file Key="test" Set xlapp = New Excel.Application xlapp.UserControl …

Member Avatar for guru511
0
104
Member Avatar for cameron.kay

I have been given the following question in one of my classes, and i know it is probably extremely simple, i am just very thick. Can some one explain to me the steps to work out this problem. "Starting with the following initial values, specify the value of each variable …

Member Avatar for WaltP
0
102
Member Avatar for AbhijeetChavan

I need to develop a Tool to compare 2 XML files using Perl. Can any one give me a start up for this?

0
70
Member Avatar for Taffd

Is it possible to include the character < in a regular expression? I don't seem to be able to find a reference to it anywhere and am unable to build a regex with just this one character.

Member Avatar for digital-ether
0
143
Member Avatar for ix27

Browsing an aspx page results with the following error: [I]The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. [/I] When I checked the Event Viewer, I get "Fatal …

Member Avatar for SheSaidImaPregy
0
53
Member Avatar for Barefootsanders

Hey everyone, I'm attempting to write a program that will contain multiple C-DLLs. I currently have 2 structs: [CODE] struct CDLL_Node { char value[30]; struct CDLL_Node *next; struct CDLL_Node *prev; }; typedef struct CDLL_Node node; struct listHolderRecord { char label[30]; struct listHolderRecord *next; node *headAddr; }; typedef struct listHolderRecord listHolder; …

Member Avatar for Barefootsanders
0
93
Member Avatar for zandiago

Good day. I would like some suggestions/recommendations as to what type of project i could do...so basically you guys get to assume the role of a professor...here it goes: Write a program that uses an array of structures. lt can be on any topic or subject you wish to choose. …

Member Avatar for zandiago
0
561
Member Avatar for BlackNinja

Hi, I am having trouble with skipping lines in a file and inputting the value it reads into variable inside the program. Data Inside the txt file i am trying to read: 00112 yourname 5874.87 176.07 3456.98 what i want to do is take the last 3 numbers and input …

Member Avatar for BlackNinja
0
135
Member Avatar for divya.padukone

Hi, What is the datatype for storing dates? DATE datatype is not working.... I wanted to insert the joining date of an employee into the table...

Member Avatar for CertGuard
0
77
Member Avatar for lifei

hi..currently i am doing my final year project regarding pure tone audiometer. i had found the tone with different frequencies and amplitudes.. however, i dont know how to load in my program. Can anyone help me by teaching me how to load and play those tones by using visual c++ …

Member Avatar for vmanes
0
112
Member Avatar for Taffd

Hello everbody, Despite some serious googling, viewing previous posts here and consulting the php manual, I am still unable to validate my user input. If I can get one simple form to validate, I will be able to adapt the script accordingly to any other, so any help you can …

Member Avatar for Taffd
0
194
Member Avatar for pelusa

Hello, I need to develop an executable file suing vb.net, that will take in an article number as a parameter. Then using this article number a search will be performed in a server directory folder for a file that (if exists) will be named by convention article_number.file_extension the article number …

Member Avatar for emurf
0
816
Member Avatar for HLA91

Hi all My friend sent me a source file that wrote hello world to a text file (im a noob), I tried to modify it and give myself a challange to make a small database but it has gone horribly wrong. I dont know how to get it so when …

Member Avatar for Ancient Dragon
0
115
Member Avatar for Run.[it]

I dont think Im far off, I can get the program to alter a specific record but it seems to overwrite previous records in the array. Ive set the array to have 10 records and I think the flaw is in the 3 section of the FilePut instruction, ideally I …

Member Avatar for Run.[it]
0
304
Member Avatar for aclogics

I have this routine in VB that takes one pipe delimited text file and splits it into multiple text files according to one key field. The records in the text file look something like this: WTX_2.0|O|F|1234|andre.couturier@rrs4.ca |5678|NBSID09876|O_20071121.TXT||1511:AE00001R||11152007||SAMPLE COMMENTS WILL GO HERE ||599|12 |401 WTX_2.0|O|F|1234|andre.couturier@rrs4.ca |5678|NBSID09876|O_20071121.TXT||1511:AE00002R||11152007||SAMPLE COMMENTS WILL GO HERE ||599|12 …

0
55
Member Avatar for mannantes

Hi, plz can u help me i want to sort my file (sort the second column) and i don't find any solution do u have some idea for me plz!! my file : [CODE] 1176890540542339 1 102 2005 4 1176890540575285 0 103 2005 4 1176890540575285 1 103 2005 4 1176890540608694 …

Member Avatar for mannantes
0
82
Member Avatar for raeyshe

[B]Warning[/B]: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [B]/home/content/r/a/e/raeyshe/html/fanlisting/admin.php[/B] on line [B]36[/B] [code]<? // select all unapproved members $result = mysql_query ("SELECT * FROM $table WHERE apr!='y'"); [COLOR=darkred][B]if ($row = mysql_fetch_array($result)) { [/B][/COLOR] do { // display all unapproved members ?>[/code] Line 36 is in bold, …

Member Avatar for shinichi001
0
171
Member Avatar for johny112

i have written this program. it excecutes without any errors and even gives me the correct answer. the program is to tell whether the integer is odd or even. the problem is that i want a series of integers and passes them one at a time to function even. Sample …

Member Avatar for johny112
0
223
Member Avatar for tanalam

Hi all, I am writing a script which parses /* to find out the commented portion of the code. I am using grep "/\*" file.c Following is the code snippet for i in `grep "/\*" file.c`; do . . . done but this is not giving the lines greped from …

Member Avatar for masijade
0
126
Member Avatar for lydia21

hi how to get my database values to my textbox.... i want to update my database content.in order to do that i want to display the existing content in a textbox so that the user can change the content and click update to update the content in the db.

Member Avatar for lydia21
0
144
Member Avatar for squidd

All the help I have received in here has been wonderful and I am very glad that there are good people in here to help us newbies. I know I sure need it! So these last few things would be nice to get some help with and then I will …

Member Avatar for squidd
0
176
Member Avatar for dotNetDummi

I've two tables where their composite keys are foreign keys that references each other. table1 (projId, userId, name, add) table2 (projId, userId, status, responseDate, reason) I need to retrieve table1(name,add) and table2( status, responseDate, reason) with projId only.. my query is [CODE]Select ap.name, ap.add, p.status, p.responseDate, p.reason from table1 ap, …

Member Avatar for pty
0
108
Member Avatar for kahaj

It's been forever and a day since I used frames. I'm sure I have it all plugged in right, but I've never used JavaScript w/ frames. Do I have the links coded properly in the following: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtmll/DTD/xhtmll-transitional.dtd"> <!--leftFrame.html--> <html> <head> <title />Left …

Member Avatar for kahaj
0
249
Member Avatar for tones1986

Hey folks. I am working on a program (really its 2, but they go hand in hand). The first one takes a text file which contains the following: last name first name SSN Salary Years employed There are 7 entries in the text file to be read in... The program …

Member Avatar for vmanes
0
161
Member Avatar for guitarrick

How many bools can I connect?? e.g. if((x>j) || (y<t) || (m=c) && (x != 0)) Please pardon any improper syntax, and any guidance is greatly appreciated (My text doesn't go into great detail with bools, but we're working with classes right now, and in one example there are three …

Member Avatar for guitarrick
0
359

The End.