132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kingcoder210

I have created setup file of my program. I have tried to install it there in two pcs to test it that its working properly or not. One pc has visual studio & my program worked there after being installed but another pc doesnt have visual studio & my program …

Software Development asp.net vb.net visual-studio
Member Avatar for nore
0
358
Member Avatar for danholding

[CODE]Traceback (most recent call last): File "C:\Documents and Settings\Administrator\My Documents\textprocessing\test files\keep 6 latest file.py", line 37, in <module> shutil.move(file_name, dst_file) File "C:\Python31\lib\shutil.py", line 278, in move copy2(src, real_dst) File "C:\Python31\lib\shutil.py", line 113, in copy2 copyfile(src, dst) File "C:\Python31\lib\shutil.py", line 66, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No …

Software Development file-system python
Member Avatar for danholding
0
421
Member Avatar for abelingaw

Here i am again. I would like to to know how to use/connect a database for my login program to a Database from another computer. I will be using 2 pc unit and connect them with a CROSSOVER connection UTP Ethernet cable. My Dbase will be on the other unit …

Software Development open-source visual-basic
Member Avatar for AndreRet
0
268
Member Avatar for fvar

Here is my sample xml [CODE] <STUDENT_INFOs> <STUDENT_INFO> <STUDENT_COUNT>1</STUDENT_COUNT> <STDNT_ID>xxxxxxxxx</STDNT_ID> <STDNT_NAME>someone1</STDNT_NAME> <STREET_ADDRESS>address1</STREET_ADDRESS> </STUDENT_INFO> <STUDENT_INFO> <STUDENT_COUNT>2</STUDENT_COUNT> <STDNT_ID>yyyyyyyyy</STDNT_ID> <STDNT_NAME>someone2</STDNT_NAME> <STREET_ADDRESS>address2</STREET_ADDRESS> </STUDENT_INFO> : : upto 50 student info </STUDENT_INFOs> [/CODE] I would like to display this using xslt such that I have 5 student names in the first row and the next 5 …

Software Development display xml
Member Avatar for fvar
0
104
Member Avatar for kumpul101

we have a case study to accept user input or should i say... INPUTS from user input :: must not exceed 5 digits. when the user inputs 0 (zero) .. it will reverse his inputs from before. how can i reverse them?? can this could do the job? [CODE]public static …

Software Development java
Member Avatar for JamesCherrill
0
278
Member Avatar for ecoloney

Friends, My main form is located toward the right side of my screen so as not to cover up other open programs. I wish to locate MessageBoxes in relation to my main form (typically centered over my main form) instead of a relation to the screen. How do I do …

Software Development
Member Avatar for Nemo_NIIT
0
93
Member Avatar for _neo_

Hi. I want to run some shell commands on linux machine with python Popen, for ex. "ping". How I can terminate the process, if it isn't finished normally in a given time? I've tried write some code, can anybody improve it or give some better idea? Any suggestions appreciated. Thanx. …

Software Development python
Member Avatar for Gribouillis
0
1K
Member Avatar for imolorhe

Please, How do I properly add a Winsock Control in WPF for purpose of LAN applications? I tried adding the Winsock control dynamically but then the event functions are not available then. Note: Using WindowsFormHost does not show in my WPF application. Help please!

Software Development asp.net lan-wan vb.net
Member Avatar for jdsurgeon
0
457
Member Avatar for RaoxFaello

I've been severely troubled on putting a cout whereas will tell me [COLOR="Red"]"Error"[/COLOR] if i didnt put an integer and put a symbol or alphabet instead here's my code.. [CODE] #include <iostream.h> #include <conio.h> int larger() { int x,y,z; cout<<"enter 1st integer : "; cin>>x; cout<<"enter 2nd integer : "; …

Software Development c++
Member Avatar for Narue
0
144
Member Avatar for myk45

Hello. For 2D matrix multiplication, i tried a new method, which uses only 2 for loops. (im basically using a 1D array to access the elements). Here is the code: // Mutiplication.cpp : Defines the entry point for the console application. // [CODE]#include <stdio.h> int main(void) { int a[] = …

Software Development c++ matrix-multiplication
Member Avatar for myk45
0
132
Member Avatar for shandow

I have a project to create a game. This is my code since i am the way improvement. But now i face a problems is, when i run the code and play it, there have a bug and i don't know how to fix it, pls help me. When i …

Software Development java
Member Avatar for NormR1
0
525
Member Avatar for Rayanjaha

Hi guys ! I am trying to find out how to do this problem using construction with useful value , here is Can I use cons traction with [CODE]public : void set_value (int e, int r) …

Software Development c c# c++
Member Avatar for sundip
0
129
Member Avatar for D33wakar

make failed Error: Error: Unresolved external '_main' referenced from C:\BC5\LIB\C0X32.OBJ I got above error when trying to build one of the examples given in \BC5\examples directory.What is the cause?

Software Development c++
Member Avatar for D33wakar
0
236
Member Avatar for pr1sm

[code] private void button1_Click(object sender, RoutedEventArgs e) { ShellWindows shellwindows = new ShellWindows(); string filename; foreach (InternetExplorer ie in shellwindows) { // Get the document mshtml.IHTMLDocument document = ((mshtml.IHTMLDocument)ie.Document); // Get the script object. object script = document.Script; filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower(); if (filename.Equals("iexplore") && ie.Document.parentWindow.name = "Test") { // Make …

Software Development c# java javascript
Member Avatar for pr1sm
0
1K
Member Avatar for iqlas
Member Avatar for Oxiegen
0
207
Member Avatar for acrocephalus

Hello! I have a problem which I think it is related to Python, however I may be wrong. I am writing a database using wx.Python and MySQLdb. My problem is that when I want to send some string which contains accents to the MySQL database (for instance, 'Empordà') it is …

Software Development mysql python
Member Avatar for acrocephalus
0
417
Member Avatar for acrocephalus

Hello! I am trying to set up a masked combobox using wx.lib.masked.combobox.BaseMaskedComboBox with autocompletion. However, I've found a couple of problems. On one hand, if I run the code as I provide it (code at the end of the post), I get an error caused by the 'Antigua and Bermuda' …

Software Development python
Member Avatar for acrocephalus
0
166
Member Avatar for Ashena

Hi everyone. I have two dictionaries. In dictionary1 I have numbers as keys and the occurrence of those numbers as values. In dictonary2 I have numbers again as keys, but there are more numbers here than in dictionary1. The values in dictionary2 are the description of the numbers. From dictionary1 …

Software Development python
Member Avatar for Ashena
0
107
Member Avatar for tomo_uni

I am currently wanting to know how to find out two different dates from a list of dates for each customer. I can find out the first date for each customer but I need to know their 6 month and 1 year visit. But the problem is not all the …

Software Development sql visual-basic
Member Avatar for AndreRet
0
185
Member Avatar for jcfans

i wan set a timer in my program to execute a certain function daily,weekly or monthly(which will decide by the user)!User also can execute manually the certain function at anytime! any1 can teach me how 2 do these 2 function in my program? thanks............

Software Development vb.net
Member Avatar for mr_mark_king
0
3K
Member Avatar for sarkar.manab

Can some one help me in find out which other threads are created as we start our main program, like "main" thread will be followed by "Finalizer" and then followed by "Reference Hanndler" etc. It may be System threads. But my questions is how i came to know and starting …

Software Development java
Member Avatar for sarkar.manab
0
102
Member Avatar for recyan

Hi, Am a total newbie to programming & trying to learn python thro pdf tutorials. I have this working code which uses four numbers as arguments to calculate the distance between 2 points. Tried to unsuccessfully convert it to use Class. Can some one guide me & can I request …

Software Development pdf python
Member Avatar for recyan
0
2K
Member Avatar for suncica2222

I want to change icon on remote exe with one that is stored in RC_DATA in my original program (exe) I'm using VC6 where is the error? here's the code [CODE]HINSTANCE hExe = LoadLibrary(nameExe); // first icon HRSRC hRes = FindResource(NULL, MAKEINTRESOURCE(101), RT_GROUP_ICON); HGLOBAL hResLoad = LoadResource(NULL, hRes); PBYTE lpResLock …

Software Development c++
Member Avatar for usagi
0
247
Member Avatar for man3388

I want to add first two columns of excel file into hashtable.. I wrote following code but it is giving me eror saying indexing not allowed in datacolumn... [CODE] Hashtable ExcelSheets = new Hashtable(); System.Data.DataColumn dc; // adding excel file into hash table if (dt1.Columns.Count > 0) { for (int …

Software Development microsoft-office
Member Avatar for kvprajapati
0
236
Member Avatar for cwestern

Hello, I am new to vbs and I am trying to copy 'multiple folders' out of a folder called 'voice profiles' into the 'my documents' folder. I've tried this script I wrote and haven't got the results I've wanted. dim filesys, tempFile, readFile, fileText, fileVer On Error Resume Next '' …

Software Development visual-basic
Member Avatar for AndreRet
0
193
Member Avatar for SolemnSolitary

Afternoon all! Was hoping for a bit of help with something. I am oringally a C++ developer so this way of thinking may be way out there when coding in c# but I thought I would ask the experts first. I am currently creating an XML Viewer. I have a …

Software Development xml
Member Avatar for SolemnSolitary
0
404
Member Avatar for johnnyturbo3

Hi, I have an application with a main form, and a TabControl in the centre. When a user creates a new tab I want to have controls (Textboxes and labels etc) loaded onto the tab. I was thinking of creating my own class that have these controls already defined in …

Software Development
Member Avatar for johnnyturbo3
0
414
Member Avatar for blackrandom

Alright so I'm completely stuck I don't understand my assignment. My biggest problem is learning what gets passed where since our instructor has us working across 2 .cpp files and a header file. I think I might be able to write the code if I understood HOW it was being …

Software Development c++
Member Avatar for VernonDozier
0
101
Member Avatar for aldoc1

I have a form (vb.net, VS2010) which retrieves product orders and displays the result to a datagridview and text fields. I also have a combo box which displays a list of all products in a product file. I need to set the displayed text of the combo box to match …

Software Development vb.net
Member Avatar for poojashah623
0
2K
Member Avatar for discovery-power

Hi All, Hope everyone is well, it has been a while since I last posted. I am creating a Yahtzee game, the first thing I want my game to do when it loads is ask for the player/players name/names, so that there scores can be saved to a high scores …

Software Development vb.net
Member Avatar for codeorder
0
85
Member Avatar for logicmonster

I'm working on a code that will multiply two matrices and print the result. This specific code is meant to ask the user to define the bounds of the matrices (i.e. the (M)x(N) of the matrix) then ask for each matrix by row. The trouble I'm having is that I …

Software Development c
Member Avatar for N1GHTS
0
140
Member Avatar for nutsxiera

hi all.. do anyone know how to add a new column in gridview using vb.net syntax? the column that i want to add is not bind to any database unlike the other column in the same gridview. i try to use GridView1.Columns.Add("Percentage") but it turn out to be error. the …

Software Development vb.net
Member Avatar for poojashah623
0
273
Member Avatar for shawnisalk

Hi, I'm trying to write a program for Windows that will control the mouse with the keyboard, but I'm not sure I understand how Windows works. My theory is that I will need to send mouse event messages for the mouse and hook the messages from the keys that are …

Software Development c++ microsoft pc-peripheral
Member Avatar for shawnisalk
0
326
Member Avatar for sundip

Hi all Can we convert a string to function name in c. I am not looking for function pointer. Like:- [CODE] void fun1(); voide fun2(); char *fun = "fun1"; (*fun)(); [/CODE]

Software Development c
Member Avatar for sundip
0
259
Member Avatar for sss33

When you have a file with a lot of lines of numbers. I want to know if instead of writing the formula to calculate the numbers for everyline of data. Is there a way to tell it to apply the formula I have made to every line until there are …

Software Development file-system python
Member Avatar for Gribouillis
0
99
Member Avatar for xcarbonx

Hi, im using visual studio 2010, and for my recent assignment i am having difficulty when closing a text file. My program is to read in the data from a text file and then do some calculations and then output the result. My text file Measurements.txt looks like this: 5 …

Software Development file-system vb.net visual-studio
Member Avatar for codeorder
0
410
Member Avatar for abhi_elementx

Hello all. I want to find the return address where execution should jump after returning from a function. Say this is my code: [CODE] void foo(){ } int main(){ foo(); printf("After foo.."); return 0; } [/CODE] After foo() returns, how to find the rturn address where control will be passed? …

Software Development c
Member Avatar for abhimanipal
0
836
Member Avatar for flyingcurry

For homework, we have to find the time complexity class of certain algorithms and explain why it has that certain complexity class. So, I have a couple of questions: - Why is the first running time always so much longer than the ones after? (setting up the application or something??) …

Software Development java
Member Avatar for tong1
0
214
Member Avatar for headedtomexico

I'm distributing a binary that users are required to install the following: Microsoft Visual C++ 2005 Redistributable Package (x86) Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) If they don't have them the program puts up a ambiguous error message. I'm not really sure how static linking works, but I …

Software Development c++
Member Avatar for Ancient Dragon
0
160
Member Avatar for Steve_Jones

My program lags the computer because i have it going through a while loop to continue check if a condition is true. Is there any way i can have a wait for user input such as pressing a key to perform the evaluation. Or is there any way to have …

Software Development
Member Avatar for Steve_Jones
0
98
Member Avatar for XodoX

Ok, I'm wanting to do the following... A C++ program that can edit a sentence with word insertions and deletions. You can assume the sentence has words and numbers separated by spaces and punctuation symbols. The input is a regular text file, where each line is terminated with an end-of-line …

Software Development c c# c++
Member Avatar for XodoX
0
115
Member Avatar for NewbieProgram

Our professor decided to give us a really hard assignment in our 2nd week in the course. I really have no clue where to start. Requirements Writing reusable code to check a user name and password can be a challenging task. Three major things can change between one password checker …

Member Avatar for NormR1
0
265
Member Avatar for samuel17

Hi all, Me again. I am having issues with a looping program. My current issue right now is that it wont compile, it keeps saying i need another perentheses at line 20. This program is suppose to calculate the investment and show for every year. The year and amount of …

Software Development java java-swing
Member Avatar for tong1
0
240
Member Avatar for gus7984

The assignment was to write a C++ program that implements Insertion, Bubble, Merge Sorts for sorting Arrays of non-negative integers. The three Algorithms should return as output not just the sorted Array but also the number of COMPARISONS needed to sort the array. The array is has randomly generated numbers …

Software Development c++ visual-studio
Member Avatar for kes166
0
166
Member Avatar for aaronmk2

I am having trouble with the evaluate class. An error message is coming back for the pow(x, degree). I have included the cmath library and have cast x and degree into double. Any hints or tips would be greatly appreciated. I have tested the program without the pow(x, degree) and …

Software Development c++
Member Avatar for sfuo
0
97
Member Avatar for Ghostenshell

How would I pass something from a driver into a list inside a class. I then need remove a word from the list and replace it with a new word.

Software Development python
Member Avatar for griswolf
0
156
Member Avatar for jimbob90

OK so I'm doing this assignment and i'm confuzzled: write a basic class, with a constructor, default constructor, setter and getter functions. This is what I got: [code=c++] class Car { private: int yearModel; string make; int mpg; public: Car(int, string, int); //constructor void setDefault(int, string, int); // def constructor …

Software Development c++
Member Avatar for jimbob90
0
93
Member Avatar for Jeneo W.

Hello How do I deal with Trees as Linked Lists ?? View Photos, [URL=http://img832.imageshack.us/i/49362381.png/][IMG]http://img832.imageshack.us/img832/4553/49362381.png[/IMG][/URL] Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL] I think I would need for TL* son ,TL* father, TL* brother. [CODE]struct ff { int id; ff * son; ff * father; ff * brother; }; class formula_s { public: ~formula_s(); formula_s(); …

Software Development c++
Member Avatar for Jeneo W.
0
94
Member Avatar for kratoras

Hello everyone, i have a problem using the replaceAll method and i hope that somebody can help. I want to remove substrings (sub) from a string (message). The message string looks like that: prop(ag1,0,1,4,5)/prop(ag2,2,5,3,3)/prop(ag1,0,1,4,5).... I want to take each prop(...) and put it in a list, but not the duplicate …

Software Development java regex
Member Avatar for Rajesh1202
0
241
Member Avatar for eman 22

I'm now studing Object Oriented programming course,and I want to do a gui and implement all rules of object oriented programming in it . so what's the best recommend language to do gui other wise library swing in java ??

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
55

The End.