199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for WaltP

I've been trying to find out the error returned from [iCODE]MkDir[/iCODE] to no avail. [iCODE]Err.Number[/iCODE] is 0 and I can't find any other error mechanisms available. [CODE] On Error GoTo mkError MkDir txtDir(Index).Text On Error GoTo 0 Exit Sub mkError: On Error GoTo 0 Text1.Text = Str(Err.LastDllError) + " " …

Member Avatar for vb5prgrmr
0
190
Member Avatar for bdell11

I am relatively new to visual basic. I have VB 6 professional complier. I am working to play .wav files in a program. I'm having a problem understanding APIs and functions can you direct me to a beginners tutorial that might help me? Thanks, Bill

Member Avatar for vb5prgrmr
0
332
Member Avatar for abbyo

I've recently downloaded the package that allows you to work an excel file using python at: [url]http://www.python-excel.org/[/url] I'm new at installing things from a programmer perspective... can anyone tell me how I'm able to determine if I have installed the programs correctly?

Member Avatar for ultimatebuster
0
103
Member Avatar for leahrose87

Hello! It may sound silly but I really need help. I am just a beginner in vb .net. I am now developing a window-based software. This is the problem: 1. After the user log-in, the system must show the parent form and automatically show the main transaction form base on …

Member Avatar for leahrose87
0
534
Member Avatar for No1momof3

Hi I have a very simple database which lists students who have went on exchange both in and out of our university. I am able to do a simple user entered query along the lines of [Enter university] or 'between [enter year] and [enter year]' but here is where it …

Member Avatar for ans025
0
147
Member Avatar for blackoprogue

So far I've got this iframe to refresh every minute. What I would like to do is have the scr of the iframe be a variable. When the iframe loads to the main site if it find that the page cannot be dislayed then switch to the second site. I …

Member Avatar for blackoprogue
0
219
Member Avatar for aranjan

I am having problems primarily with the sorting function. What I need is for the polynomials after being entered to be sorted from the highest exponent to the lowest and then added and to have that displayed. The other thing is that I need to do a pushback for the …

Member Avatar for StuXYZ
0
153
Member Avatar for DAmanding

I'm attempting to write the formula for a computed column in SQL Server 2005 using SQL Server Management Studio 2008. I get the error validating formula and I'm not sure how to write the formula to work. If it were standard math the formula would be: (mmtot * 22) + …

Member Avatar for tesuji
0
557
Member Avatar for Dennis M.

The title in and of itself is fairly descriptive, however, I am looking for some help. I am writing a program which reads the output of a command-line based program and puts that output to a GUI. Due to my need of asynchronous i/o, I have had suggestions to use …

Member Avatar for wisaacs
0
3K
Member Avatar for Dalelandry

Hello, I am new to php code (month or so) and mysql, I am pretty much teaching myself, I am good with HTML, CSS, JS, etc... I am trying to create a DB for a client that is fairly simple; Add members (got that done); Verify member and post data …

Member Avatar for diafol
0
106
Member Avatar for SashaC

I am creating a GUI calculator. When I enter amounts and press submit, negative infinity appears in the monthly payment area instead of the dollar amount. I'm not sure what is causing the problem. My code consist of three files: the GUI, calculation, and text file. GUI [code] import java.awt.*; …

Member Avatar for NormR1
0
238
Member Avatar for interjuan

Hi again! Pls some one help me to find out what is the problem with this code.... [CODE]import java.io.*; import java.net.*; public class NewClass2 { public static void main (String args[]) { try { // Construct data // Send data String data="Something"; URL url = new URL("http://www.google.co.uk/"); URLConnection conn = …

Member Avatar for NormR1
0
130
Member Avatar for Green Anorak

Hi All Can anyone tell me how to read a file but only print to the screen certain parts of it? Below is what I've got already - apologies if it's very basic, I'm new to this! All I can do is get a program which prints the whole file …

Member Avatar for Ancient Dragon
0
85
Member Avatar for technocratic

Hello, I'm having a little trouble learning some python and I'd appreciate a little direction. One of the exercises in my books says to create a string list [CODE]list = ["a","b","c","d"][/CODE] Convert each character in the list to it's ascii equivalent and then populate that information into a new list. …

Member Avatar for TrustyTony
0
3K
Member Avatar for roishtraifler

Hello, im trying to write to an external program and the inputs and outputs works fine for the first time that im printing the stdin. After this time the program look like it stuck. Help Please.

Member Avatar for NormR1
0
148
Member Avatar for aosmith

Hi All, I wrote a web service that I'm using to more or less move some files around. The client is written in python (uses the HTTP POST interface). If I put the client on the server, and do a test run everything is fine, but then from a remote …

Member Avatar for aosmith
0
62
Member Avatar for technology

Fellow coders Ive contributed this code to show how to send an email using winsock but Im having problems working out what to do to get this to be SSL oriented and know that it requires something to do with Secure Sockets and SetSockOpt and GetSockOpt and WSAIOctl but Im …

Member Avatar for technology
0
902
Member Avatar for AngelicOne

I am inserting an int value using numericupdownvalue from a form to database, using the following code [CODE]SqlCommand cmd = new SqlCommand("insert into student where student_no='"+numericupdown1.value+"'",con)[/CODE] Now I have another form that is when loaded, will read the inserted value made by the numericupdown.value, using the following code [CODE]numericUpDown1.Value = …

Member Avatar for AngelicOne
0
713
Member Avatar for lotrsimp12345

In the following code how to fix problem that the batch file won't get created. When I run in debug mode exception I get is "could not find part of path" Thanks [CODE] StreamWriter sw = null; try { if (AgilentNVisaDriver.Checked == false && RequiredDlls.Checked == false) { MessageBox.Show("Please select …

Member Avatar for Lusiphur
0
352
Member Avatar for scrupply

I am having a problem spitting out text saved into a MySQL database and displaying it in an HTML form input field. The text will spit out fine unless there is a single or double quote, then the text is spit out until the quote. The text is all in …

Member Avatar for Fbody
0
152
Member Avatar for loveforfire33

Hi, i have followed a tutorial and modified it to get a image stored as a blob from MSSQL, it is working perfectly - however i utilised handlers in this tutorial. and while it is working fine - id quite like to understand what is going on! [code] <%@ WebHandler …

Member Avatar for Lusiphur
0
164
Member Avatar for ans025

Hello I am very new to Java and I really don't know exactly what I am doing. I know a little bit of other programming languages so I'm trying my best to figure it out for myself but I am supposed to: [B]Write a Java Application which will read a …

Member Avatar for NormR1
0
1K
Member Avatar for abbyo

I was given a font finder program, but I need to resize the applet... any suggestions on where and what code is needed to fit the applet to a specific size? If not, is there a setting in eclipse that will work? [CODE] public Dimension getPreferredSize() { return new Dimension(800,800);// …

Member Avatar for abbyo
0
95
Member Avatar for zachattack05

Hi! I was wondering if anyone knew a way to have a date/time picker only allow the selection of months/years? Like January, 2010...etc and not the specific day of the week? Kinda like the attached image.

Member Avatar for zachattack05
0
87
Member Avatar for azegurb

hi everyone i have image rollover code. and i want to add functionality, for ex-this scripts roll overs images (slides them) . i would like let it stops when onmouseover event here is script [CODE] <html> <head> <title>HTML ders | 09.07.2010</title> <script> var sekil1=new Image(); sekil1.src="bir.jpg"; var sekil2=new Image(); sekil2.src="iki.jpg"; …

Member Avatar for azegurb
0
194
Member Avatar for danny4444

I am trying to call a function from a link or button like the example below, however I would like to call the function whilst passing a variable along (not a string). I was wondering if this was even possible, if not what is another solution? This isn't my code, …

Member Avatar for danny4444
0
113
Member Avatar for java_programmer

Could anyone please explain what is Idempotent method in Java? After google, what I found about this is [B]Idempotent methods are methods, which are written in such a way that repeated calls to the same method with the same arguments yield same results[/B]. And am not getting any example to …

Member Avatar for java_programmer
0
329
Member Avatar for makan007

If I have a string. String msg = "I love mickey mouse"; What method can I used to display the string, "mickey"?

Member Avatar for java_programmer
0
138
Member Avatar for hockeygurl35

I am working on a school assignment and have gotten my code down to one error, but I've tried multiple changes and can't figure out how to fix it. I am trying to pass an array from my main() to my class and then have it print out when called. …

Member Avatar for hockeygurl35
0
1K
Member Avatar for omesa

Hello, Salaams from Nairobi-Kenya. I have two problems with some scripts I downloaded a while ago. In script one, the scripts installed OK, but I can't login. If I enter the login name and password, nothing happens, just stays there, I have run the query on phpmyadmin and it returns …

Member Avatar for johnmahugu
0
93
Member Avatar for ischuldt

I'm getting an error saying: error: passing `const model::container::Item' as `this' argument of `void model::container::Item::get_fields()' discards qualifiers I'm getting the message for each of the getters in my class which are declared like this [code=c] const int& division()const{ get_fields(); return division_; } [/code] I'm assuming I'm getting this error because …

Member Avatar for arkoenig
0
124
Member Avatar for khanrock

[code] public partial class Form1 : Form { int row, col; int num = 0; public Form1() { InitializeComponent(); } private void generatebutton_Click(object sender, EventArgs e) { int rows = Convert.ToInt32(rowBox.Text); int cols = Convert.ToInt32(colBox.Text); for (int i = 2; i <= rows+1; i++) { for (int j = 4; …

Member Avatar for nick.crane
0
120
Member Avatar for keval_hack

hi i want to develope a community site plz some one give suggestion which cms system i have to use. -keval

Member Avatar for diafol
0
116
Member Avatar for hg_fs2002

Hi,Is someone could help me how is it possible to implement Generalized Linked Lists? I've implemented it somehow but I'm not sure it works or not. Now I'm going to print the nodes I've implemented.When I want to declare the print function in class Glist with first1 argument,I get this …

Member Avatar for hg_fs2002
0
1K
Member Avatar for hgbreton

Hi. I've got to write some code to get data from an XML document and turn it into C# objects. Problem is that the XML document will not always have the same nodes, since it is produced from a web form that people have filled in varying amounts of (which …

Member Avatar for hgbreton
0
156
Member Avatar for acrocephalus

Hello! I am very new with Python, so it may be a stupid question. How can I get the height and the width of an image in pixels? Cheers! Dani

Member Avatar for Beat_Slayer
0
11K
Member Avatar for p3p3p3

hi im new in vb.net i need to make a form like this [url]http://img138.imageshack.us/img138/8861/randome.png[/url] [url]http://img153.imageshack.us/img153/7952/random2o.png[/url] [color=#FF0000]For Firstname and Lastname[/color]: When you click to random Button it will auto pick random Firstname from [b]Firstname.txt[/b] and random Lastname from [b]Lastname.txt[/b] [color=#FF0000]For Username:[/color] when you click to random Username Button it will auto …

Member Avatar for p3p3p3
0
103
Member Avatar for cmutzel02

Hi all, I am having a problem when trying to compile this. from compiler: error: name lookup of 'pixel_number' changed for new ISO 'for' scoping error: obsolete binding at 'pixel_number' I understand that I cannot use the pixel_number variable outside of the for loop, have read so in other posts. …

Member Avatar for cmutzel02
0
271
Member Avatar for melton16

I have a project that queries a set of times from a database and uses these entries to populate a dropdownlist. Once the page is loaded, the user can select one of the items in the DropDownList. When the "Save" button is clicked, the Selected item value is returned to …

Member Avatar for melton16
0
259
Member Avatar for kelskels

I am new to C# and have been given someone elses' code to edit. One of the things that needs to be edited is the windows interface. Is there a way to pull up the IDE to edit the generated windows from the .designer.cs file? Thanks!

Member Avatar for ddanbe
0
129
Member Avatar for judithSampathwa

hi there, this question have posted before also, but i ahave some more questions as well. when i try to validate the datagridview cell which evet should i use in the datagrid view. i and using the dgvActions_CellValidating event,but the thing is i want to validate the cell after the …

Member Avatar for judithSampathwa
0
1K
Member Avatar for CheeseDonkey

This is making me angry. I keep getting a "this method must return a result of type int" error message, but obviously I have a return statement. This is a program that is supposed to perform a sequential search for a string index. [code=java] public static int nameSearch(String[] inOrder, String …

Member Avatar for JamesCherrill
0
187
Member Avatar for wwefriend

hi there, currently i starting to learn C++.i using VC++ 2010.hmm,i want to ask why this code must be compile under console application [CODE]#include <iostream> int main() { std::cout << "123"; return 0; }[/CODE]

Member Avatar for wisaacs
0
141
Member Avatar for VB 2012

Can somoene please help me I want to Know how to Drag and Drop to cut files/folders and it opens a folderdialog for the destination:(

Member Avatar for VB 2012
0
96
Member Avatar for jaweth_r

Hi... I am new to this community... I am new to PHP... I was doing some basic websites with HTML,CSS,Javascript. I have to do a course registration web form for my department. I need help from you guys.... My question : I host the website from my Univesity web server. …

Member Avatar for crivion
0
80
Member Avatar for sasidhar1229

I am doing servlet program. It is working when I run it as a GUI appliction. But when I run it as a web application it arises java.lang.NoClassDefFoundError: java/lang/StringBuilder at SDBApp.service(SDBApp.java:14)please help me. Here is my code. SDBApp.java [code]/*servlet which takes care of inserting rows in Data Base*/ import javax.servlet.*; …

Member Avatar for Amit Tomar
0
560
Member Avatar for judithSampathwa

hi there, i have asked this question several times but i coudn't solve this problem. i have two datetime picker one as the start date and the othere as the end date. when the user clicks a date in the start date he should not select a date that has …

Member Avatar for judithSampathwa
0
170
Member Avatar for djenoe

Trying to get this code to work (bit of guidance and help would make a difference) explanations only are fine.. main method doesn't accept arrayProperty() import java.util.*; class Property { private String ID; private String description; private String location; private double weeklyRR; private char status ; private boolean visibility; public …

Member Avatar for shrekting
0
125
Member Avatar for stevebush

Hi, I am studying algorithms and how efficient they can be. So I have a question concerning merging of linked lists. If I have two linked lists. One is double the size of the other. And and larger one is sorted, where as the smaller one is unsorted. Is there …

Member Avatar for AuburnMathTutor
0
111
Member Avatar for Dzero

I cannot figure out how to get my icon to display, or get the GUI to flip through my array object. i have many errors that i cannot solve. i hope some one can help me. here is my code. [code] import javax.swing.JFrame;//imports java's JFrame component //----------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------- //Main Class …

Member Avatar for NormR1
0
221

The End.