43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for renzlo

Hi, All, I am just wondering is this is doable. I've tried searching it in google but still no luck. I want to merge my 2 CSV files by column. For example: File: coded.csv "Header A","Header B","Header C" "Data A","Data B","Data C" "Data A","Data B","Data C" "Data A","Data B","Data C" …

Software Development vb.net
Member Avatar for renzlo
0
1K
Member Avatar for arudhumbu

visualbasic assignment how to draw a multicolored worm! pliz help

Software Development vb.net visual-basic
Member Avatar for ddanbe
0
173
Member Avatar for Violet_82

Hi, when I started to look into programming, one of the things I remember many programmers are quite keen on are setters and getters. I totally understand the importance of them but there is one thing that isn't really clear to me. If I have a class with some private …

Software Development java
Member Avatar for Violet_82
0
173
Member Avatar for Violet_82

Chaps, I am having some problems with a return statement in a function. I have this situation: public boolean isFine(){ for( int i = 0; i < myarray.length; i++ ){ for(int j = 0; j < myarray[i].length; j++ ){ if( myarray[i][j] == myEnumeration.FRIDAY ){ return false; } else{ return true; …

Software Development java
Member Avatar for Violet_82
0
172
Member Avatar for spowel4

I am opening a tab-delimited file in Excel 2010; the delimited file displays correctly in Excel but when I do a save as, to save it as a native Excel 2010 format, the resulting saved file is empty. The resulting saved file generates no errors when debugging and saves with …

Software Development file-system microsoft-office
Member Avatar for spowel4
0
314
Member Avatar for Erslich

Hi all, I am trying to get the Mouse Coordinates that are relative to my form. At the moment I am using: [CODE=c#] xs = Cursor.Position.X; ys = Cursor.Position.Y; [/CODE] However this doesn't get the "local" form mouse coordinates. My form is x = 640 y = 480. And I …

Software Development
Member Avatar for gouthamarul
1
9K
Member Avatar for LeNenne

Hi and thanks. I am wondering if there is a way to clear the screen before the program is loading. Lenny

Software Development visual-basic
Member Avatar for rishif2
0
787
Member Avatar for GeoEqual

.ConnectionString = "Driver=MySQL ODBC 5.2a Driver; SERVER=localhost; UID=asdsadafg; PWD=sadsadsJFKSKF9; DATABASE=SampleDB; PORT=3306; OPTION= 1 + 2 + 8 + 32 + 2048 + 16384 can anyone explain the OPTION, what this connetion string will do... i have no idea.. please explain

Software Development visual-basic
Member Avatar for imBaCodes
0
197
Member Avatar for Hazuan Nazri

Hello Friend, i hope someone can help me to solve my problem, i already put my database on datagridview, but my boss dont want it in standard color, so now i dont now how to change it, can i change the color using datagridview or i need to use another …

Software Development listview vb.net
Member Avatar for Hazuan Nazri
0
459
Member Avatar for SLMQC

Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum …

Software Development mathematics vb.net visual-basic
Member Avatar for SLMQC
0
421
Member Avatar for Octet

I am attempting to learn Python, to add to my collection of languages and to get at least one programming language under my belt. So far I've only done the basics, and to test what I've learnt I made an extremelly simple calculator: #PyCalc Version 1.0 Loop = 0 print("-------------------------------------") …

Software Development python
Member Avatar for Octet
0
429
Member Avatar for Violet_82

Chaps, sorry I have a silly question. I am not quite sure if this is right, but what is the differenct between the two below: public class myclass{ public static void main( String args[] ){ boolean variable1 = false; boolean variable2 = false; ... System.out.print(variable1 + " and " + …

Software Development java
Member Avatar for Violet_82
0
183
Member Avatar for NiescierJ

I am trying to set "myimage" as the background for my GUI but having problems with self.canvas.create_image(myimage,750,450) def __init__(self): self.root=tk.Tk() # The number of times the GUI is updated self.ctr = 0 #creating the Canvas self.canvas = tk.Canvas(self.root, width=750, height=450, bg = "black") #Sets the background as an image myimage=PhotoImage(file='world.gif') …

Software Development html-css image python
Member Avatar for vegaseat
0
339
Member Avatar for NiescierJ

hey i am working with python 3 and i am trying to set a gif file as my GUI background. The canvas.configure(bg=myimage) does not work. Any ideas? width, height = 800, 500 canvas = tkinter.Canvas(width=width, height=height, bg="black") canvas.pack(fill=None, expand=False) #Sets the backround image myimage = PhotoImage(file='world.gif') canvas.configure(bg=myimage)

Software Development html-css image python
Member Avatar for vegaseat
0
14K
Member Avatar for joseph.lyons.754

Hey Guys, I am working on a search that takes in a value via textfield. Once taken in it should display another Jframe with the info but the searchbox crashes the second I run it. Its some stupid mistake I have made or i have gone about it the wrong …

Software Development java java-swing oracle
Member Avatar for JamesCherrill
0
379
Member Avatar for lewashby

I'M wanting to write my own command/script for compiling my c++ files. I use g++ -g -Wall filename.cpp -o filename I'M trying to figure out how I can trip of the last four characters (.cpp) from a string. Any ideas?

Software Development shell-scripting
Member Avatar for rojomoke
0
249
Member Avatar for jeansantos

It is possible send an e-mail from a remote .exe/.aspx through Outlook Web Access?

Software Development asp.net vb.net
Member Avatar for jeansantos
0
528
Member Avatar for dougy83

Hi all, I'm writing a simple application in C# but I'm having an annoying ArgumentOutOfRangeException thrown by Invoke() saying "Text length must be less than 64 characters long.". Is this usual that strings passed through delegates have to be shorter than 64 characters? What's the usual neat way around it? …

Software Development
Member Avatar for dougy83
0
253
Member Avatar for Papa_Don

Group, I'm trying to write the commands to update a row within a SQL table. I've written the following: USE DATADESIGNSOLUTIONS SET IDENTITY_INSERT LocationID ON INSERT INTO LOCATIONS_SETUP(LocationID, LocationNumber, LocationName, LocationAddress1, LocationAddress2, LocationAddress3, LocationCity, LocationState, LocationZipCode, LocationZipCodeExt, PhoneNumber, FaxNumber, BillToAnswer, BillToLocation) VALUES(10, 1, 'Traditions in Tile / Buford RDC', '4325 …

Software Development sql vb.net
Member Avatar for Papa_Don
0
215
Member Avatar for Aerigon

I have been working on a project that requires arrival date, departure date, number of nights, price per night and total price. I have everything working somewhat but can not seem to figure out how to get the last three items to display in the text boxes instead of a …

Software Development vb.net
Member Avatar for tinstaafl
0
290
Member Avatar for Labdabeta

Hello. I was reading http://xkcd.com/287/ while bored and thus decided to write a program that would solve such np complete problems. Here is what I got: #include <iostream> #include <vector> using namespace std; template <typename T> T NPMenuProblem(T desired, vector<T> options, vector<T> &ret) { vector<T> save=ret; T remainder; T min=desired; …

Software Development c++
Member Avatar for Labdabeta
1
212
Member Avatar for yankeetooter7

I am working on a password project for school, and I am stumped on one part. I know how to test if a string (or file) contains a digit, or a letter, but in this case we have to verify that there is at least one character that is not …

Software Development c++
Member Avatar for yankeetooter7
0
208
Member Avatar for Papa_Don

Group, I'm working to use a second for to do task that will be populate texts boxes in the first form. However I'm getting an error that says, "An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an …

Software Development vb.net
Member Avatar for Papa_Don
0
751
Member Avatar for TexasJr

I thought I was finished with my code until I tried to compile it and came out with an error that I really don't know where it's coming from. Can anyone look over and see if they can find the source of the error? Please and thank you! These are …

Software Development c++ open-source
Member Avatar for TexasJr
0
2K
Member Avatar for kshahnazari

I was writing a data structure but suddenly after a little coding a strange error gives that no operator">>" matches these operends and also no operator"=" matches these operends . its just after if (right==1) in the cin>>a[i] and a[i]= mininfinitive the code : #include <iostream> #include <iomanip> #include <fstream> …

Software Development algorithm c++ data-structure queue
Member Avatar for Moschops
0
263
Member Avatar for LeNenne

Hi I have tried evrything in a list box. The listbox contain this 04-25 ene and I will deselect 04-25 when I am going to dbclick on that item the name "ene" shall I display in a book Any Help Lenny

Software Development visual-basic
Member Avatar for LeNenne
0
157
Member Avatar for George_91

Hi, it's a very simple question, but I cant see how to solve it! I'm doing a web form, I have a button inside a table, the thing is, I can't access to the code of this button, Usually you just double click on the design view over a button, …

Software Development gui microsoft-access web-design
Member Avatar for JorgeM
0
194
Member Avatar for Papa_Don

Hello group! I've seen one short discussion of ensuring that the controls within a form will shrink, grown and stay in their proportional position as the user changes the form size. Unfortunately it covered parent/child forms, etc. It didn't make a lot of sense to me. Ultimately I do want …

Software Development vb.net
Member Avatar for Papa_Don
0
556
Member Avatar for Labdabeta

Hello, I am making a program that deals with bitmap files and I want to try to load bitmap data manually. The issue is that I cannot find a good resource for exactly what bitmap files can contain. [Wikipedia](http://en.wikipedia.org/wiki/BMP_file_format) has a decent article, but it is missing some important information. …

Software Development c++
Member Avatar for Labdabeta
0
695
Member Avatar for sliobra

I was doing my assignment till I reached this point. Add a static Date toDate(String str) method to the DateTest class. If the method is called with a string like “23/5/2013”, it will create and return the corresponding date object. If the input string is not valid date, the method …

Software Development java
Member Avatar for JamesCherrill
0
205
Member Avatar for cucolino

Hello One more question. Can't seem to find any info wether it's possible to disable Alt+F4 while MessageDlg pops-up or not. The thing is, that the OnKeyDown event in main form works ok, while set with begin if ((ssAlt in Shift) and (Key = VK_F4)) then Key:=0; end; But that …

Software Development pascal
Member Avatar for cucolino
0
232
Member Avatar for trishtren

Hello, I was hoping someone can help me, im looking for a way to extend a basic shape class in particular the roundedrectangle2d class and be able to draw it in the same way we could handle an object with a simple call to g.draw(object instance); However im having problems …

Software Development java java-swing
Member Avatar for JamesCherrill
0
383
Member Avatar for imBaCodes

I have this code. pdfCreator.ActiveSheet.PrintOut copies:=1, ActivePrinter:= _ "PDF Complete on PDFC", collate:=True How can i add a save location to this code . My default is the desktop when i save all the the file to be converted my desktop becomes a mess . can anyone help me how …

Software Development pdf visual-basic
Member Avatar for imBaCodes
1
337
Member Avatar for Chris450

Hi I just started playing around with Visual Basics today and thought it would be cool if I could make a program to work out the weight and the price of a square peice of steel. I have tried to solve the problem and fixed many errors but now I'm …

Software Development os-x visual-basic
Member Avatar for Chris450
0
236
Member Avatar for TarkiB

Hi all! I'm trying to create a program that produces a memory leak. I have a program that looks like it works, but I was wanting to verify whether it actually is causing a memory leak, and that it's not just some other type of issue. It's in C++, which …

Software Development c++ motherboards-cpu-ram
Member Avatar for mike_2000_17
0
380
Member Avatar for game06

making a scrolling background. There is one problems with this code below. I am drawing a image and it stay there on left of screen. i want to del it and create new one so there aren't 100's of background images on left. i just want to keep 2 background …

Software Development image java
Member Avatar for game06
0
186
Member Avatar for Jacobah

Hi I try to convert ppt to video:; i know that CreateVideo is part of presentation. but, when i try this i have this error: Inline Code Example Here Looks like createvideo is not part of presentation. Microsoft.Office.Interop.PowerPoint.Application pptApplication = new Microsoft.Office.Interop.PowerPoint.Application(); Microsoft.Office.Interop.PowerPoint.Slides slides; Microsoft.Office.Interop.PowerPoint._Slide slide; Microsoft.Office.Interop.PowerPoint.TextRange objText; // Create …

Software Development c# microsoft-office office-suite video
Member Avatar for Jacobah
0
1K
Member Avatar for rahulinfy

code part1: name1="rahul" name2="rahul" code part2: name1=[1,2,3] name2=[1,2,3] If I run the following code: print name1 is name2 I get "True" for code part1 and I get "False" for code part2 why? why the "reference" is same for name1 and name2 in "code part1" and different for name1 and name2 …

Software Development python
Member Avatar for snippsat
0
216
Member Avatar for tony75

Hi I need to Write a function which takes as input two strings and count how many words are both in the two strings. Display the results sorted according the length of the word (longer first) and in case of equality by the alphabetical order?

Software Development python
Member Avatar for tony75
0
175
Member Avatar for zachattack05

I'm not really sure how to accomplish this task and would like some help with ideas or, if someone knows how to do this, some advice would be greatly appreciated! I am working on a custom usercontrol. The usercontrol has a listbox (or rather it IS a listbox, just docked …

Software Development
Member Avatar for Ketsuekiame
0
217
Member Avatar for fx.eko

hi all I have a problem with the error message "System Error & H80004005 (-2147467259)", this happens or appears when I make a program with VB6 and now I have created a program that will save me. Please enlightenment, thanks for the help

Software Development visual-basic
Member Avatar for fx.eko
0
994
Member Avatar for nova37

i want to know that how can we keep an eye on one process that its alive or terminated , actually i have service which will always check my process if my process terminated then service will start it again so i want to know how to check process status …

Software Development c++ windows-api
Member Avatar for nova37
0
904
Member Avatar for dancks

I'm going through an exercise in a mac programming in cocoa book, where there is a GUI and from a textfield I enter and to a list of strings displayed on a table. There are plenty of things that aren't working, the most confusing of which is I keep leaking …

Software Development gui linked-list objective-c
Member Avatar for dancks
0
291
Member Avatar for bluekb

#include <stdio.h> #include <stdlib.h> #include <string.h> #include "queue.h" #include "stack.h" #define NAME_SIZE 20 #define RECORDS_SIZE 100 typedef struct { char studName[20]; int timeEnter; int timeUpdate; }STUDENT; typedef struct { char tutorName[NAME_SIZE]; int tutorTime; STUDENT *ptr; }TUTOR; QUEUE *queue1; STACK *stack1; void getData(STUDENT *studArr[], TUTOR tutorArr[1]); int main(void) { STUDENT *studArr[RECORDS_SIZE]; …

Software Development c data-structure file-system queue
Member Avatar for bluekb
0
349
Member Avatar for alek.mieczkowski

Hi All, Im working on a program for school which combines 3 programs together(one transposes a 2d array, one adds up the diagonals and tells them, and one adds the rows). The problem Im having, is with importing all the data into the 2 Dimensional array "input" so it can …

Software Development java
Member Avatar for alek.mieczkowski
0
191
Member Avatar for DyO1

I have trouble accesing images that are located IN the application (in solution explorer) What I want to do is theme options in one of my programs If TreeView1.SelectedNode.Name = "wood" Then main.background*.BackgroundImage= End If *PictureBox

Software Development image vb.net
Member Avatar for tinstaafl
0
192
Member Avatar for tony75

Hi How can I parse html files for example daniweb.com 1.Extract all the links pointed (the content of the href tag) 2. how can I List all of them after having removed the duplicates (means that there is two links pointed the same page, only one should be displayed) I …

Software Development html-css perl
Member Avatar for tony75
0
289
Member Avatar for peymankop

Hi...! I'm Working on mind challenge game i nearly cmepleted it but i've got a problem... when a player choose a button it shows it's number but when it choose the second button it won't show the second button number because of this lines: foreach (var ctrl in this.Controls) { …

Software Development
Member Avatar for tinstaafl
0
156
Member Avatar for Suzie999

(edit) this is solved, was a unicode issue. Hi I'm hoping someone has used the library [pugixml](http://pugixml.org/) I'm just trying to use a simple example provided but I'm not getting the result I expect. int _tmain(int argc, _TCHAR* argv[]) { pugi::xml_document doc; pugi::xml_parse_result result = doc.load_file("tree.xml"); //pugi::char_t * c = …

Software Development c++ xml
0
160
Member Avatar for game06

i just finished one game in java using JApplet. is there a way for me to use a database so i can keep track of scores? I am using xampp control apache for my website database to keep track of username etc.... in php. Can i connect to it using …

Software Development apache java
Member Avatar for jwenting
0
168

The End.