132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HibaPro

I need to know if there is any diferences when i create an application that connected with sqlserver for 1 pc or for a local network ?? anyone can help ??

Software Development vb.net
Member Avatar for Reverend Jim
0
93
Member Avatar for doomsday1216

I don't know if this is the right place for a post about Scheme, but i was wondering if anyone knew if there are loops and if statements in Scheme? (I am very new to Scheme, i know there are 'cond' statements, but i don't know if there are if's, …

Software Development shell-scripting
Member Avatar for sepp2k
0
368
Member Avatar for sofien.fkih

//Hi, //I want to make an application that sends email; the email need to be taken from an oracle database, I had make the email code and it is working succseeful and also I made the coonection to the database in the next class which is also working successfully, but …

Software Development email java oracle
Member Avatar for JamesCherrill
0
355
Member Avatar for nyuszi

Hi all, i need a little help for haskell. i try to make a program which makes the romans numbers in a good form, so for example if u put in [I,I,I,I] it change it to [I,V] but something always wrong with the patterns :( what did i wrong? data …

Software Development
Member Avatar for sepp2k
0
181
Member Avatar for sofien.fkih

Hi, I am trying to read a value which is in a class (in a public void) in anothe class and I couldn't do that, so please can someone reply me and tell me how to do that using these code. public class CDB { public static String main(String[] args) …

Software Development java
Member Avatar for JamesCherrill
0
397
Member Avatar for dppd

how to multiply two integers when one of the integers is user-input ?

Software Development java mathematics
Member Avatar for JamesCherrill
0
128
Member Avatar for ceck30s

Hi, I'm a beginner at python and I'm trying to extract specific columns from a text file, and then use those columns to make a line plot. The files contains the following few lines of data: # Raw SIFs at Crack Propagation Step: 0 # Vertex, X, Y, Z, K_I, …

Software Development python
Member Avatar for Gribouillis
0
772
Member Avatar for shivcena24

i having the string array,, String[] strrr=null; String[] aa ; aa=strrr[3].split("\\!"); if i debug this it shows source not found but i want to return from the string if the strrr[3] value having null or 0 ,how to do it,, use above three line of code to check it,exactly what …

Software Development java
Member Avatar for Majestics
0
163
Member Avatar for hubber92

Hey Guys, Got a question on storing a value from protcted method to a public variable then using that public variable(with value from protcted method) in another protcted method.. My explaination, so I'll show my code. I'm new to coding so pls be easy on me.. You help is appreciate …

Software Development vb.net
Member Avatar for hubber92
0
158
Member Avatar for rahul pareek
Member Avatar for rahul pareek
0
191
Member Avatar for BadVinegar

I'm fairly new to visual basic. I was trying to make a program that generates code for you, based on whatever the user inputs. But whenever I click generate, I get this error "Invalid CastException was unhandled. Conversion from string "//Generated using MAYAN. Minecr" to type 'Double' is not valid." …

Software Development vb.net visual-basic
Member Avatar for BadVinegar
0
236
Member Avatar for valestrom

I kinda want to code in binary just for the fun of it. But I have no idea how to compile my code. Anyone know how?

Software Development
Member Avatar for ModernC++
0
2K
Member Avatar for KoRnKloWn

I am currently working on an app to convert documents (specifically Open Document Text, at least for now) to epub format. The problem I'm running into right now is this, I am using etree ElementTree to parse the xml files extracted from the .odt file, right now I'm working on …

Software Development python xml
Member Avatar for KoRnKloWn
0
274
Member Avatar for ibpet11

Hi guys, I have a apps that I need your input inorder to improve efficiency, the apps can read a text file (A) and also another text file (B) then spit lines in both files, it can further compare to see if there is any common line using a unique …

Software Development vb.net
Member Avatar for Reverend Jim
0
3K
Member Avatar for 24x24

Hello All, This may be the wrong place for this and if so I apologize in advance. I have been tasked with organizing a drive full of marketing assets on a mac server. It is currently in use so we have made a duplicate share so that any changes will …

Software Development pdf shell-scripting
Member Avatar for L7Sqr
0
189
Member Avatar for crazyvonzipper

HI. I have a situation where we need to pull data from multiple data sources into one dataset. Once we have the data in one dataset we would like to somehow manage to execute some sort of [complex] select query on the data in order to generate a new DataTable …

Software Development dataset microsoft-access sql
Member Avatar for Michael27
0
264
Member Avatar for godzab

The difference between using refrences(&var), and pointers(*var) is that using refrences is more efficent because you do not have to derefernce the object. Am I right, and if I am why use pointers then? Take this code for example: #include<iostream> //function prototype void rFunc(int &rNum); void pFunc(int *rNum); //main method …

Software Development c++
Member Avatar for deceptikon
0
98
Member Avatar for triumphost

I've hook a game that uses OpenGL and I'm trying to draw text on the window but when drawn, it has a background that I do not want. Currently i'm using: void glPrint(HDC DC, COLORREF Colour, int X, int Y, const char* format, ...) { if (format == NULL) return; …

Software Development c++ opengl
Member Avatar for triumphost
0
382
Member Avatar for DeeperShade

Ok, i'm trying to create vertex normals for each vertex. I'm fairly sure i've got the math right, I'm just having trouble finding out to which faces a point belongs... The points are store in: `vector <texTri> texvert` texTri contains, x, y, z, nx, ny, nz, u, v; I identify …

Software Development c++
Member Avatar for DeeperShade
0
360
Member Avatar for loserspearl

I've been writing a project in C# using VS2010 .Net 4.0 on my project and am trying to do NUnit testing (version 2.6) which I haven't done before. I added the nunit.framework reference to my project and created a test class: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace …

Software Development assembly visual-studio
0
137
Member Avatar for daudiam

I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying '.' in the CLASSPATH variable …

Software Development java
Member Avatar for odubanjo.ismail
0
185
Member Avatar for BlitzX

I'm writing a program that searches for particular sequences of bytes in a USB stick. The problem is that I don't know how to search effectively. ReadFile() allows me to buffer 512 bytes each time. If my sequence is fully present in that block, then there is no problem. But …

Software Development c++
Member Avatar for BlitzX
0
123
Member Avatar for SakuraAssassin

I am writing a program with java and i am having trouble displaying my .txt in my JTextArea. it shows it as 1 appended line and i want it to display the way it is set out in my text file. Here is my code: import java.awt.*; import java.awt.event.*; import …

Software Development display java java-swing
Member Avatar for SakuraAssassin
0
127
Member Avatar for silvercats

#include <iostream> #include<string> using namespace std; int main() { string admin_pwd="testing"; string encrypted ; string unencrypted; char key[5] = "abcd"; for (int x=0; x < admin_pwd.size(); x++){ encrypted += admin_pwd[x] ^ key[x/100%30]; } cout << "Encrypted = " << encrypted<<endl; for (int x = 0; x < admin_pwd.size(); x++){ unencrypted …

Software Development c c# c++ encryption
Member Avatar for WaltP
0
2K
Member Avatar for 3e0jUn

How do you make Python delete a string or a number (in this case, .0) from a file? Example: #Error Fixing if '.0' in open('ship.$','r'): #Delete the '.0'

Software Development python
Member Avatar for snippsat
0
485
Member Avatar for lakshmi dorai

Hi, I have taken checkboxes in datagridview....i want to insert the values of field checked into the databse......anybody can help??????????

Software Development c c# c++
Member Avatar for Mitja Bonca
0
111
Member Avatar for marky101

How to get the correct and current date and time in vb.net even a user change the computer's system clock? Let's say the correct and current date and time is 7/20/2012 11:00 AM then I change the clock to 7/19/2012 11:00 AM. How to retrieve the original date(7/20/2012) in vb.net? …

Software Development vb.net
Member Avatar for gusano79
0
162
Member Avatar for nstruzik

Im pretty new to coding in C++ and Im a student at devry unversity. I have to sort this class by credit hours in ascending order and Im having some trouble. If anyone could help it would be greatly appreciated. #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace …

Software Development algorithm c++
Member Avatar for Ancient Dragon
0
222
Member Avatar for triumphost

So... I'm looking into learning Assembly. I downloaded the FASM assembler and I want to know how useful is assembly? I want the opinion from Cpp programmers because assembly programmers always tell me it's the best language -__- Also quick question: How do I know which register to put stuff …

Software Development assembly c++
Member Avatar for DeanMSands3
0
167
Member Avatar for DannyW

Hi all, This *is* a Java question, despite the set up looking long! I am writing a program that involves constructing and using the inverse of a large correlation matrix many times. Suppose you have a data matrix X with d columns representing d variables and n rows representing the …

Software Development java
Member Avatar for DannyW
0
726
Member Avatar for venus87

Here is the code for extract RGb values from a single image.... and now i need to read set of images from a folder , can anyone pls give me idea for that since im very new to java ,,thanks in advance :) [code] import java.io.*; import java.awt.*; import javax.imageio.ImageIO; …

Software Development java
Member Avatar for 9894443485
0
8K
Member Avatar for xostman

am new in java and am rtying to code a program for lotto punters which generate as many numbers of 6 as the user request

Software Development java
Member Avatar for stultuske
0
233
Member Avatar for pn1925

I am trying to write a python script to open file, read each line, and replace the 18th position of each line with a a user specified character (sysargv[3]) IF AND ONLY IF that 18th position is another user specified character (sysargv[2]). It should then save it as a file …

Software Development python
Member Avatar for pn1925
0
148
Member Avatar for emclondon

Alright please bear with me for few posts, I am trying to design a scoreboard application using HTML. The data for scoreboard (including headings and rows and columns) are stored on a server at a remote location. I am trying to develop an ASP.NET script to fetch that XML and …

Software Development json web-browser web-design xml
Member Avatar for emclondon
0
150
Member Avatar for coroll

Hi, i get an NullPointerException in this line:if (let==currentLink.aLetter) in search method. This is node class public class Letter { char aLetter; int points; Letter next; public Letter(char aLetter,int points) { this.aLetter=aLetter; this.points=points; } public Letter() { } public String printLink() { // System.out.print("{" + aLetter + ", " + …

Software Development java java-swing
Member Avatar for JamesCherrill
0
124
Member Avatar for pradeepptp

Hi guys, i m new for ths java progrmming.Please me the diff between array and arraylist. Both are dynamically allocated values.any added mechansims in the arraylist. Please let me asap. Regards, Pradeep

Software Development java
Member Avatar for JamesCherrill
0
331
Member Avatar for kenneth.goh.754

I'm doing a project that require the user to type in the phonetic sounds for example, "th". then the program will play a wave file that produce th sounds. As there are many different wave files for a phonetic sounds, i decided to group them into separate files, which means …

Software Development c++ file-system
Member Avatar for speakon
0
633
Member Avatar for lorrainecarla

Hello. I would like to ask about adding two-digit numbers. There is a part there where it has to be converted to ascii code, my question is why it has to be converted to ascii code? What will its effect? Thank you for your help. I really need this problem …

Software Development assembly
Member Avatar for resha.mendoza.3
0
7K
Member Avatar for bhagawatshinde

Hi guys, I have save file in rtf from Richtextbox (okay it saves). But when i open this file manually it's asking me to save changes but i am not changed or edit anything. why this happens ? Is SaveFile() doesn't save file properly.

Software Development
Member Avatar for bhagawatshinde
0
163
Member Avatar for Trak

Hi :) i'm kind of new to this site and everytime I read a thread someone else makes i don't understand what anyone is saying.... :sad: well anyways, please help me python pros. I have been on my very first exercise of "Learn Pyhton the Hard Way" since two weeks …

Software Development python windows-vista
Member Avatar for brikbrat
0
605
Member Avatar for BinodSuman

There are many ways to read properties file in java. Here explained two wayS, using 1. ResourceBundle 2. Properties Class How to use this tutorial 1. Create one directory src and put both below files (MyProp.properties and ReadPropFile.java) 2. MyProp.properties name = Binod Kumar Suman roll = 110 city = …

Software Development java
Member Avatar for softswing
0
500
Member Avatar for sazbaztaz

Hello, I found a PERL script in my root directory (public_html) and I have no idea who uploaded it and how. I know this itself is a concern to me but what I really need to know is what this script can do in worst case scenario. It was on …

Software Development perl
Member Avatar for TerraBlade
0
1K
Member Avatar for helpneeded87

Hello, I was seeking help in why my small program/script is not performing the way I would like. Here is the question. Write a program to calculate the credit card balance after one year if a person only pays the minimum monthly payment required by the credit card company each …

Software Development python
Member Avatar for helpneeded87
0
246
Member Avatar for lrh9

I had been wanting to write an IRC bot with asynchronous IO for a while. My bot responds to pings, but can be extended by defining functions and registering them to get called when the bot receives certain commands. My bot uses the RFC 1459 USER command and parameters, but …

Software Development python
Member Avatar for lrh9
0
263
Member Avatar for rithish

what is determinanat of matrix i have a code i dont understand what is the logic behind

Software Development c
Member Avatar for sepp2k
0
116
Member Avatar for jnbradl

First I am new to C#. I attempting to build a simple windows form where you can send textbox info to an access database on the machine. When viewing online tutorials and book, I notice their is a step, form missing from my Visual Studio 2010 program when I try …

Software Development dataset microsoft-access visual-studio
Member Avatar for svfox2000
0
426
Member Avatar for tendaimare

I am usiing the code below to calculate the sum of rows in my datatable with the productcode in the textbox but if the code is not in the datatable I get the error "conversion from dbnull to sting is not valid". How can i trap this error in this …

Software Development vb.net
Member Avatar for Reverend Jim
0
590
Member Avatar for deshazer.jad

My goal is to create a clone of minesweeper. I've created a custon component that extends the JButton class, for each of the minesweeper buttons. I've called this new class SweeperButton. the game board is going to be made in another class by creating a two deminsional array of SweeperButtons, …

Software Development gui java
0
173
Member Avatar for TrustyTony

As in C++ was some question about speed of simple hard disk based lookup, here is a version of unscramble program completely HD based lookup, which gives all possible candidate words for multiword anagram. Program is not sensitive for case of words but does not ignore special characters like ' …

Software Development python
Member Avatar for svfox2000
0
1K
Member Avatar for chriswelborn

This is a script that was supposed to be very basic, just running a command with my scripts arguments attached. I didn't realize that if user 'cj' opens firefox, when user 'root' does '**firefox -new-tab**' it doesn't work. Firefox will just open a new window, and thats exactly what I …

Software Development python seo web-browser
Member Avatar for chriswelborn
0
314

The End.