199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Alyssa_1

Sooo...I was told to start a new thread about this. So I'm trying to make a link between TextBox1.Text on Form1 to TextBox2.Text on Form 2. What I currently have is a line of code underneath my TextBox2_Change code reading: TextBox2 = Form1.TextBox1.Text This ALMOST does what I want it …

Member Avatar for belalhamdy
0
717
Member Avatar for Patrick_3

Hi, for the life of me, I am unable to get my program to drag/drop to a textbox. Elsewhere in my program i am dragging to a panel just fine however I always get the "drag not allowed" mouse symbol when attempting to drag to my text box. I HAVE …

Member Avatar for Reverend Jim
0
3K
Member Avatar for C-Money

I am attempting to write a Mips code that will take a user input string, and display it without the vowels. I have gotten to a point where it removes the first vowel, but when it displays the string, it only displays the letters before the first vowel. Such as …

0
219
Member Avatar for OpenTheTrollGate

bool operator!= (CustomString &str1, CustomString &str2) { std::vector<string>:: iterator s2 = (str2.vec).begin(); for(std::vector<string>:: iterator s = (str1.vec).begin(); s != (str1.vec).end(); ++s) { if( *s2 == *s) { cout << *s2 << *s << endl; return false; } ++s2; } return true; } I don't know why, but this returns true …

Member Avatar for Ancient Dragon
0
123
Member Avatar for OpenTheTrollGate

StringVec func(StringVec & str1, Stringvec & str2) { std::vector<string>::iterator s2 = str2->vec.begin(); for (std::vector<string>::iterator s = str1->vec.begin(); s != str1->vec.end(); ++s) { if(s2 == NULL) { cout << "str2 is smaller than str1" << endl; } ++s2; } } When a iterator goes out of bound, because the vector is …

Member Avatar for OpenTheTrollGate
0
90
Member Avatar for adam.wolnikowski.9

I'm writing a program that generates labels at runtime, and then has them be "dragged and dropped" by the user. I have the drag and drop code working, but right now I can only get it to work on labels that I explicitly name in the code, like this: `Private …

Member Avatar for adam.wolnikowski.9
0
357
Member Avatar for glao

(Continued from [here](http://www.daniweb.com/software-development/cpp/threads/474128/column-major-not-shown-right#post2070227) ) I am trying to use column major order to a 2d matrix which I am using as 1d. int N=3,R=2; for (int i=0;i<N;i++){ for (int j=0;j<R;j++){ //printf("\nX[%d]=%d\t",i+j*N,res[i+j*N]); //column major // printf("\nX[%d]=%d\t",i*R+j,res[i*R+j]); //row major } printf("\n"); } but the column major doesn not work as it should. …

Member Avatar for David W
0
439
Member Avatar for arty.net

I have written some code just to practice verbosity in python. Verbosity is embedded by means of the ArgumentParser module....however, I'd also like to write the stdout to file also when verbosity is disabled : #!/usr/bin/python from optparse import OptionParser from argparse import ArgumentParser import sys def printable1(): print "1" …

0
191
Member Avatar for raju_6

Hello I am looking for a way to open command prompt of my remote windows machine with python code. could somebody help me with that ? Thank you.

Member Avatar for raju_6
0
2K
Member Avatar for CarterLangley

I am trying to populate a select box from my database. The value chosen must be the id of the item, and the text shown the name of the item so that once selected it will insert the id into the table column and not the name so that the …

Member Avatar for jj.dcruz
0
505
Member Avatar for UK-1991

I have created an account an account on insightly web to get contacts from my web to the CRM throught which I created an HTML form to do so. But on a page i also want to get information to show on the page which is entered by the user …

Member Avatar for Alberto Bucur
0
246
Member Avatar for furalise

Hello everyone.. I am a little bit stuck on this small problem. I'm trying to understand callbacks but seem to be no understanding something. It is probably something very simple. I've never used callbacks so am probably misunderstanding something here. The below is pointless but I'm doing it to improve …

Member Avatar for furalise
0
782
Member Avatar for karlicek

Hi everybody, give me please advice.I have proposed a class for serialization in namespace "Xml_form_application"and it looks this way: namespace Xml_form_application { public class RecordStore { public MyObject MyObjectProperty; } public class MyObject { public string item = "thing"; } } //Class form2 with button2 to calling this action private …

Member Avatar for Maligui
0
191
Member Avatar for davy_yg

Hello, In my contact us I just add project combo box, yet I do not feel the programming for information form capturing is correct (after I add the project combo box), if anyone can help me would be great. Thanks before. contactus.php <div id="contactform"> <?php require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email …

Member Avatar for davy_yg
0
151
Member Avatar for Sasi_1

How to find a word in a text file in c#? I need highlighted text in image ? (http://social.msdn.microsoft.com/Forums/en-US/85836723-2f35-44e2-ab0f-277b6d814da2/how-to-find-a-word-in-a-text-file-in-c-i-need-highlighted-text-in-image-how-to-get-that?forum=csharpgeneral)

Member Avatar for ddanbe
0
352
Member Avatar for rajeshwari_ib

Hi all, i am new to python how to store image into database blob using python please help me for this its urgent

Member Avatar for Gribouillis
0
2K
Member Avatar for naila.ghafoor.5
Member Avatar for David W
0
136
Member Avatar for eldiablo1121

Hello, I have to write a program which reads in a text file and sees the parsing symbols brackets, parentheses, and braces, and use stack implementation to have a balance symbol checker. My code compiles fine, but the output is strange, I know it has to do something with my …

Member Avatar for JamesCherrill
0
166
Member Avatar for dre-logics

Use visual basic 2008 Form1 with a text box (ScanArtikelBarcode.txt )on it barcode scanner I use now this code to read a barcode Private Sub ScanArtikelBarcode_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ScanArtikelBarcode.KeyDown ' This way I collected the scanned barcode and process it against my table and …

Member Avatar for dre-logics
0
351
Member Avatar for dre-logics

I use visual basic 2008 and MYSQL (Storage engine is innodb) Is use this code to retrieve informatie (see below) The SQL string ="select * from articles where articlenb=12345" I want to check of this record is used by een othor user in the network. Can use innodb for row-based …

Member Avatar for dre-logics
0
655
Member Avatar for dre-logics

Dear developers, I develop for years in visual studio 2008, but I want to switch to Visual Stuido 2012. But I discovered there is no setup projects exist anymore. I now choose from InstallShield or WIX. Which should I use and what version? Thanks, André

Member Avatar for dre-logics
0
269
Member Avatar for dre-logics
Member Avatar for dre-logics
0
167
Member Avatar for dre-logics

I use vb.net 2012 with Crystal reports I have a report with two database fields : streetname (char 25) and house number (char 10) waterstreet 12a walkingstreet 2544 But if i print the report it looks like this: waterstreet 12a walkingstreet 2544 But i want no only space(1) between streetname …

Member Avatar for dre-logics
0
246
Member Avatar for dre-logics

I use vb.net 2012 ,Windows 7.0 printer on local USB port On my development PC , develop program witn the print action with "PrintDocument1_PrintPage" works good (runtime and with EXE) But on the PC from the customers, I get this message "A StartDocPrinter call was not issued" The customers pc …

Member Avatar for dre-logics
0
814
Member Avatar for paramesh23

What is the best Way to start working on projects if u already familiar with php and mysql?

Member Avatar for engrjd91
0
123
Member Avatar for aabbccbryanmark_1

im having this as my problem my connection to database is purely coded with the connection to the datagrid Public Sub btnProdSave_Click(sender As Object, e As EventArgs) Handles btnProdSave.Click Dim res As New DialogResult res = MsgBox("Do you want to save data?", MsgBoxStyle.YesNo, "Inventory") If res = DialogResult.Yes Then Save_Record() …

Member Avatar for aabbccbryanmark_1
0
198
Member Avatar for murnesty

Hi, I'm looking for embedded system or os source code example. Just to learn some common error or good way to write some device process. Probably in C or C++. Is there any good suggestion?

Member Avatar for David W
0
232
Member Avatar for COKEDUDE

Can you please explain what this weird int declaration does. Here is the block of code. void show(void *u, int w, int h) { int (*univ)[w] = u; printf("\033[H"); for_y { for_x printf(univ[y][x] ? "\033[07m \033[m" : " "); printf("\033[E"); } fflush(stdout); } This is the line I'm talking about. …

Member Avatar for Ancient Dragon
0
264
Member Avatar for hafza.sana

take an input date of birth from the user and display star of entered date of birth Plz help me in ths programm

Member Avatar for David W
0
153
Member Avatar for Jason_9

I'm totally new to programming and taking an intro class. When i prompt the user for a state code the program just exits, nothing in my book really goes over this and all im given is crappy youtube videos for reference. Any help is greatly appreciated. #include <stdio.h> #include <stdlib.h> …

Member Avatar for David W
0
270
Member Avatar for trade19

Hi I think this topic is beyond my lame python abbilities. I hope the program can run, it is writen by using error messages until it worked. I am using python 33. I am trying to learn info on adding leading zeros to the output.(File & Windows) I am not …

Member Avatar for trade19
0
270
Member Avatar for Violet_82

HI I am looking into object literals, a topi that I am afraid I really don't know much about. Anyway, I thought I'd try something but I didn't get it to work and I am not sure what I am doing wrong. I have an HTML page: <html> <head> <title>This …

Member Avatar for Troy III
0
197
Member Avatar for humorousone

Ok, here's the situation. I've got a package filled with 4 .java files. Mainpackage: Console.java ReadTextFile.java WriteTextFile.java Main.java In Main.java, I'm trying to call a method within AQAReadTextFile2013.java, which also happens to be called "AQAReadTextFile2013". I've tried calling it using the line: * AQAReadTextFile2013.AQAReadTextFile2013("filepatharguement") * AQAReadTextFIle2013("filepatharguement") Within 'main', but they …

Member Avatar for humorousone
0
423
Member Avatar for roguexe

I have 2 buttons, one is a browse button that allows you to choose which folder you want to select the images from and a GO button that gets a random image from that folder here is what i've gotten so far: Public Class directory Private Sub browsebtn_Click(ByVal sender As …

Member Avatar for Reverend Jim
0
898
Member Avatar for COKEDUDE

Can someone please explain what unistd.h does and the purpose of it? I have been googleing the last hour and I don't understand it.

Member Avatar for COKEDUDE
0
132
Member Avatar for adam.wolnikowski.9

I'm writing a program where I need to "click and drag" labels across the form. I'm planning on doing this by moving them to the position of the cursor. However, I'm having trouble finding the position relative to the top left corner of the form, and regardless of whether or …

Member Avatar for adam.wolnikowski.9
0
408
Member Avatar for learner_new

#include<iostream> using namespace std; int main() { int len1; cout<<"please enter the length of arrayn 1"; cin>>len1; cout<<"creating array now"; int *arr1= new int[len1]; cout<<"please enter the elements now"; for(int i=0;i<len1;i++) { cin>>arr1[i]; cout<<endl; } return 0; cout<<arr1; delete [] arr1; } In the above code, the program stops execution …

Member Avatar for shaykhhamza
0
301
Member Avatar for shaidur1982

Hi i am new in this site and want to know PHP properly.I also visited w3schools.com for this but it is not enouh for me .So if any one can help me to learn PHP.

Member Avatar for shaidur1982
0
148
Member Avatar for rpv_sen

Hi I am selecting wdays1 checkbox is checked and remaining checkbox is unchecked after submitting, i am getting an error message as below can any one please help me to resolve the issue **Error** `1 Notice: Undefined index: wdays2 in C:\xampp\htdocs\smart\checkvalue.php on line 10 0 Notice: Undefined index: wdays3 in …

Member Avatar for cereal
0
735
Member Avatar for edward.park.94

My program should use `print` and `println` statements to draw a building on my console window. The building will have a variable number of stories and windows on each story. The windows also will be of varied heights and widths. Everything works fine, but I am having trouble with the …

Member Avatar for JamesCherrill
0
148
Member Avatar for jbyal1

Purpose of the program: The Windows application opens a text file with the populations of the 10 largest cities in the united states. The user selects a city and displays the population for next five years with a projected 3% growth per year. A menu selection also can show the …

Member Avatar for Reverend Jim
0
123
Member Avatar for GagaCode

Hey All i really have an issue that it is really stopping me here so basicly i have a form that i use to add some Address Book data so i have combobox's that is synchronized with each other so @ first i'm populating the combobox with the following function …

Member Avatar for GagaCode
0
214
Member Avatar for firepower

i'm testing a metdhod that is filled with how the window is going to be like.I use assertequals but i don't know what to type in the expected.

Member Avatar for firepower
0
67
Member Avatar for ZER09

hello to all good day, BTW is there way to know what item of the bindinglist has been edited? i came up with this problem when i create a view in mysql and a class in c# then i populate the binding list with that class, then i used it …

Member Avatar for ZER09
0
183
Member Avatar for centenond

Didnt know where to post this question mysql or here, since im working with php i decided to put it here.. Im starting to learn mysql now :) SO i just wanna retrive a full name from a user how would i do this? im imaging this should be done …

Member Avatar for centenond
0
189
Member Avatar for ganges

hi friends, have nice time I am using Eclipse kepler 32 bit i am using windows 7 32 bit jdk, jre 1.7 32 bit versions previously its working fine now its not opening i cant rectify this problem can you people help me to fix this problem

Member Avatar for ganges
0
152
Member Avatar for glao

I am trying to use column major order to a 2d matrix which I am using as 1d. int N=3,R=2; for (int i=0;i<N;i++){ for (int j=0;j<R;j++){ //printf("\nX[%d]=%d\t",i+j*N,res[i+j*N]); //column major // printf("\nX[%d]=%d\t",i*R+j,res[i*R+j]); //row major } printf("\n"); } but the column major doesn not work as it should. Also,if I want to …

Member Avatar for glao
0
330
Member Avatar for gbhs

Hi Experts I don't have the least idea on how to rank (desc) the following sample ExamScores by CourseID , grouping by Level. Some help needed. gbhs Newbie Level StudentID CourseID CourseName ExamScore ScoreRank A 101 1 Math 11 A 101 2 French 3 A 101 3 English 7 A …

Member Avatar for eralper
0
138
Member Avatar for Thasarath

I need to add Column1 + Column2 And Display Result In Column3 But I need to do it for all rows in column3 automatically. I need a very short code. Thankyou.

Member Avatar for Thasarath
0
360
Member Avatar for anand01

Hi all, I am having two different jsp files which having different applet embedded it. I want to run both jsp files in different jre in the client machine. kindly help Thanks in advance

Member Avatar for anand01
0
191

The End.