132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for firepower

I created a button but I don't know the line of code to change the position of the button.

Software Development ide java
Member Avatar for stultuske
0
266
Member Avatar for Ashish_8

Hello i am not able to print the arabic language in java. I have converted the arabic in unicode . But when i read thos unicode as string in java and try to print out .I am getting ????? . Please help soon

Software Development java
Member Avatar for IndieDeV2002
0
1K
Member Avatar for sk8ergirl

I have JList and the JList contain names of fields of table in the db this is my code. I'm stuck in writing the query I understand that the sql query should be like this "SELECT column_name1,column_name2..etc FROM" however now I got the column formated this `// System.out.print(aa + bb);' …

Software Development java sql
Member Avatar for rubberman
0
230
Member Avatar for Deep Modi

This thread may be some what confusing, and not yet sure is this can be done or not. I just get a an idea to this (and yet I am still learning, I am not expert) so I need your Help. **Thread**: I am having a form and add the …

Software Development listview open-source vb.net visual-studio
Member Avatar for oussama_1
0
199
Member Avatar for xNeverx

I have no idea what I'm doing wrong, any help is very much appreciated! #include <iostream> #include <string> using namespace std; int main() int hours, mins, minutes; char day1, day2, choice; cout << "Enter the day of call (Mo/Tu/We/Th/Fr/Sa/Su): " << endl; day1 = getchar(); day2 = getchar(); cout << …

Software Development c++
Member Avatar for ddanbe
0
177
Member Avatar for ACE--

Hi, Currently I don't have any code for this but request you help on this. In the form1 I have Picuter box. I want to view Images (All types of Formats) & PDF files as regular images in Picture box. Is this is possible. Also I need Shortcut keys to …

Software Development image pdf vb.net
Member Avatar for Deep Modi
0
1K
Member Avatar for mizzrain.rain

hi there, can someone teach me how to insert combo box inside the column..

Software Development visual-basic
Member Avatar for belalhamdy
0
87
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 …

Software Development visual-basic
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 …

Software Development data-structure vb.net
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 …

Software Development assembly
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 …

Software Development c++
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 …

Software Development c++
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 …

Software Development vb.net
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. …

Software Development c matrix-multiplication
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" …

Software Development file-stream file-system python
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.

Software Development microsoft python
Member Avatar for raju_6
0
2K
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 …

Software Development c++
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 …

Software Development visual-studio
Member Avatar for Maligui
0
191
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)

Software Development c# image
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

Software Development image mysql python
Member Avatar for Gribouillis
0
2K
Member Avatar for naila.ghafoor.5

i want to learn OOP programing.specialy oprater overloading

Software Development c++ oop
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 …

Software Development java
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 …

Software Development visual-basic
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 …

Software Development mysql storage vb.net visual-basic
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é

Software Development vb.net visual-studio
Member Avatar for dre-logics
0
269
Member Avatar for dre-logics

Can anybody where i can find :crystal reports for visual studio 2012

Software Development visual-studio
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 …

Software Development vb.net
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 …

Software Development printer vb.net
Member Avatar for dre-logics
0
814
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() …

Software Development vb.net
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?

Software Development c++
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. …

Software Development c
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

Software Development c++
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> …

Software Development c
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 …

Software Development python tkinter
Member Avatar for trade19
0
270
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 …

Software Development java
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 …

Software Development image vb.net
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.

Software Development c
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 …

Software Development vb.net
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 …

Software Development c++
Member Avatar for shaykhhamza
0
301
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 …

Software Development java
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 …

Software Development vb.net
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 …

Software Development open-source
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.

Software Development java
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 …

Software Development
Member Avatar for ZER09
0
183
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

Software Development java
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 …

Software Development c++
Member Avatar for glao
0
330
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.

Software Development vb.net
Member Avatar for Thasarath
0
360
Member Avatar for KushMishra

Hello All, I want to design a DataGrid similar to the one in the design picture attached with this article (Please see the pic attached). I want the following bindings and features :- 1. The first column of every Item (Item1,...Item5) for (LineNo=1....LineNo=?) will get bind to "Unit" which is …

Software Development asp.net database-design vb.net
Member Avatar for KushMishra
0
340
Member Avatar for ram619

Hello, I want to duplicate a list in python. The way I want is, I need two list with same content pointing to different memory Location. What I tried is Dup_List = Original_List[:] , but lookes like even this is making both list point to same memory location. Both the …

Software Development python
Member Avatar for vegaseat
0
170
Member Avatar for mixelplik

OK, I've acheived HULK SMASH levels of frsutration with this one. I simply want to parse a date in the form of ##/##/#### The code below works peicemeal, ie each part SEEMS to work, but if I cout at the bottom the day is dissapearing or spitting out erroneous crap. …

Software Development c++
Member Avatar for David W
0
212

The End.