199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
(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. … | |
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" … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) | |
Hi all, i am new to python how to store image into database blob using python please help me for this its urgent | |
| |
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 … | |
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 … | |
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 … | |
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é | |
Can anybody where i can find :crystal reports for visual studio 2012 | |
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 … | |
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 … | |
What is the best Way to start working on projects if u already familiar with php and mysql? | |
![]() | 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() … ![]() |
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? | |
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. … | |
take an input date of birth from the user and display star of entered date of birth Plz help me in ths programm | |
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> … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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. | |
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 … | |
#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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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. | |
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 |
The End.