199,114 Archived Topics
Remove Filter ![]() | |
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) + " " … | |
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 | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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) + … | |
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 … | |
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 … ![]() | |
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.*; … | |
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 = … | |
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 … | |
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. … | |
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. | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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);// … | |
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. | |
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"; … | |
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, … | |
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 … | |
If I have a string. String msg = "I love mickey mouse"; What method can I used to display the string, "mickey"? | |
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. … | |
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 … | |
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 … | |
[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; … | |
hi i want to develope a community site plz some one give suggestion which cms system i have to use. -keval ![]() | |
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 … | |
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 … | |
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 | |
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 … | |
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. … | |
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 … | |
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! | |
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 … | |
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 … | |
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] | |
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:( | |
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. … | |
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.*; … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.