132,726 Archived Topics
Remove Filter ![]() | |
my database on sql server 2005. my application is completely working in my computer. but on other machine sql server 2005 login error.sql server does not allow remote server. please how can i load my application on other computer. Software Development vb.net | |
Hello, Please help! I"ve created a form with three comboboxes and a datagrid. I've connect the comboboxes to the database and they all work but when i try and fill the datagrid based on the final selection from the last commbobox but it will not populate the datagridview..Help! [CODE] cmbVendor_MouseClick … | |
Request for following excerpt's explanation. [URL="http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=/com.ibm.xlcpp8l.doc/language/ref/param_decl.htm"]http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=/com.ibm.xlcpp8l.doc/language/ref/param_decl.htm[/URL] [QUOTE]Except in certain contexts, an unsubscripted array name (for example, region instead of region[4]) represents a pointer whose value is the address of the first element of the array, provided that the array has previously been declared. An array type in the parameter list … Software Development c | |
Hi, I've just downloaded GNUstep onto my Vista machine, installing the GNUstep MSYS System, GNUstep Core and GNUstep Devel components mentioned on theGNUstep website ([url]http://www.gnustep.org/experience/Windows.html[/url]). I installed into the standard folders but when I try to open the shell for GNUstep the window flashes up and disappears again. I've checked … Software Development c windows-vista | |
Hi, I am writing a program in VB6 where I'm adding an "Import/Export" option to the file menu. Starting with export, I basically need to find all files matching a particular filename and zip and export them to a folder. Currently I am simply finding all the files (with different … Software Development visual-basic | |
Hello, Is this function "EscapeCommFunction" is correct to set RTS signal? Here is my code. I want to set on RTS before sending data to rs232, and set off RTS after sending data. // RTS on. EscapeCommFunction(*hComDevice, SETRTS); // Sending data to port. fWriteStat = WriteFile(*hComDevice, txbuf,(DWORD) iTxPosition,&dwBytesWritten, NULL) ; … Software Development c++ | |
Write a program that generates a pyramid of numbers from a users input (kbReader = new Scanner(System.in)) for example the number 5 is inputted and the wats printed is... 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 help? Software Development java | |
Hey i have a filename in this format RECORDddmmyyyy on my PC. I want to include it into mysql table.I solve the problem of getting date but still have one issue,how to pass it to the database. char filename ="RECORD" i append later on the date to it as well … Software Development c | |
This is the code of my key listener for a game.The keys move a plank upwards and downwards for two players.The problem is when one player keeps a key pressed then the other key event does not execute.what i want to do is that both players should be able to … Software Development java | |
Ok so to give you a brief summary of whats going on our original assignment was to make a password directory that adds, saves, looks up, and removes a name and password that are connected together in an array. So now we need to alter the code so it works … Software Development file-system gui java java-swing storage user-interface | |
Im trying to insert items into a BST from a txt file. For arguments sake the data file is just the integers 1 2 3 4 5 6 7 8 9. When i try to do a inorder traversal, all that is outputting is the first and last number. I … Software Development c++ | |
Hey guys, im getting a null pointer exception... but i dont know what is wrong. Im trying to get data from a hashmap, and place it in a swing tabel. [CODE=java] ArrayList planes_array[] = null; //planes_array[0] = new ArrayList(); for(int i=0; i<planes.size(); i++) { ArrayList tmp_array = new ArrayList(); tmp_array.add("1"); … Software Development java java-swing | |
Hi guys, I am writing project for bank operation in MFC, before running my application i have to check the username and password. But i have some problem in my code, my main frame window is closed after enter username and password.Any one tell me the reason..... [CODE] class CLoginDialog … Software Development c++ | |
Hi all! I am trying to manage and understand dates with c++, but the output that I am having does not help much. Basically I would like to adjust a localtime that can be seen in the string "s_prueba_time" to a UTC time (in my case -2 hours in summer … | |
[CODE]import javax.swing.*; import java.text.*; public class Postage3{ public static void main(String args[]){ double weight, cost, count; int choice, choice2; DecimalFormat df = new DecimalFormat ("0.00"); choice2 = 1; while(choice2 == 1){ weight = Double.parseDouble(JOptionPane.showInputDialog("Enter weight of postage according to ounces")); if(weight <= 1){ cost = weight * 0.30; } else{ … Software Development java java-swing | |
Hi, there i didn't even know is that how its called but can you help me and tell me what is that LLIST from the structure into the type function and why its used in this case: [code=c] typedef struct node { int data; struct node *next; /* pointer to … Software Development c data-structure | |
Sorry if this is repetative but still struggling with this. i wish to multiply 2 long integers together. if the result is outside of int64 range i want the loop to break otherwise i want to keep the result and increment the second number. have tested this, but when the … Software Development c++ | |
How to connect a listbox to another listbox by their index? can someone help me with this? some codes please. thank you! Software Development vb.net | |
Hello I'm looking for the correct method/way for reading & writing raw JPEG image binary data. I am obtaining the raw data via TCP stream, the official JPEG specs say that the raw JPEG image data starts at HEX value 0xffd8 & ends at HEX value 0xffd9 as below... [CODE]Start … Software Development c++ file-stream ios | |
First, sorry for posting this here, but I couldn't find a VBScript forum on Daniweb (which I find surprising). I'm working with binary data in several different projects. Below is an example of code that works to retrieve a static map image (PNG) from Google: [CODE]strFileURL = "http://maps.google.com/maps/api/staticmap?markers=2200+S+Western+Ave+Lisle+IL&zoom=14&size=400x400&sensor=false" Set objXMLHTTP … Software Development api daniweb-api google-api microsoft-access open-source pdf vbscript | |
Hello. Can anyone please tell me if there are any sites where i can practice programming? i mean sites like TopCoder, SPOJ, CodeChef. But i needed a site where there is an explanation for problems(so that i can understand the basic algorithmic concepts) and then go on practicing it. i … Software Development c++ | |
Hi there, I've just switched to Eclipse. I've been using TextPad so Eclipse is pretty cool.. But I've been getting weird error messages that I don't understand/not used to. Here they are: [CODE]JButton btnEnter = new JButton("Enter"); btnEnter.addActionListener(this);[/CODE] Here the Error says: Multiple markers at this line. -Syntax on token … Software Development java | |
[CODE]import java.util.*; public class DiscountBolts { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); double bolts, nuts, washers; double total; System.out.println("Enter number of bolts: "); bolts = keyboard.nextDouble(); System.out.println("Enter number of nuts: "); nuts = keyboard.nextDouble(); System.out.println("Enter number of washers: "); washers = keyboard.nextDouble(); total = (bolts … Software Development java | |
HI Friends i have create this simple code in visual C++ [CODE]#include<iostream> int main() { std::cout<<"Hello World!!"<<std::endl; system ("PAUSE"); return 0; } [/CODE] can anyone help me to write log file on base of this please Software Development c++ | |
| |
some one know good toolbar for picturebox control in c#.net? one that have zoomin and scroll options. Thanks Software Development c# | |
Hello guys, i'm studying the Java programming language. every thins were going very well, but once i have encountered RECURSION i started to feel so bad. there is a recursive method that is blowing my mind. I can't figure out how does it print that the sum of a set … Software Development java | |
Hello everyone: I'm a C++ newbie. I have written code for performing calculations that needs data from another code. These data are in text files. I know how to read in an ENTIRE text file, but I can't figure out how to extract certain pieces of it. I would very … | |
how to select multiple buttons on a flowlayoutpanel? Software Development | |
i'm writing a Java program that ask the user to input words using JOptionPane.showInputDialog() Then look at each letter in the word and add up the points for each letter. Vowels (a,e,i,o and u) are valued at zero.The letters "x" and "q' are valued at 5.All other are 1.Anything not … Software Development java java-swing | |
I am using an overloading operator to add two polynomials. I have gotten it to work, but I am wondering if I can improve on my if statement by not changing the value of degree for the rest of my program. The if statement is used if the second polynomial … Software Development c++ | |
Hi, I would like to create a table as attachement below is VB6, may I know what component name of this table? is this DBGrid? Thanks! Software Development visual-basic | |
i have 2 program one of them in C# and the other one in visual c++. i use Socket programing in 2 of them and i want to connect them. the program in C# is Client and the program in c is server. when i connet client to server, conect … Software Development client-server socket-programming | |
An account has the properties account number, balance, annual,interest rate, and date created, and methods to deposit and withdraw.Create two sub classes for checkings and savings account.Checkings account has an overdraft limit, but a savings account cannot be overdrawn. One problem that i'm having is that when I withdraw x … Software Development java java-swing | |
Before I start, I would like to stay thanks to the people who helped before in my previous threads. Sorry if I can't reply quickly at that time due to connection issues. Back to the problem. I am working on a stemplot([url]http://en.wikipedia.org/wiki/Stem_and_leaf_plot[/url]), which prints the data(the plot thing) into the … | |
I'm learning C mostly for linux development, but right now I am working through a few general books to get me started. But I am having some problems understanding #define versus declaring a variable directly(?). I know that #define declares a constant, but for example normally I would declare a … Software Development c | |
Hey there, I'm having trouble getting my program to read the last instruction of the file, and so far, I haven't been able to figure out why. Any help would be appreciated. [CODE]/* The Simpletron Machine Language Program. The purpose of this program is to simulate a primitive computer. This … Software Development c++ file-system operating-system | |
Let me show you how do I create setup file of my program. [Code] Project>WindowsApplication1 properties>Compile>Advance compile option>Target CPU : AnyCPU Target framework(all configurations): .NET Framework 3.5>OK File>Add>New Project>Other Project Types>Setup and Deployment>Setup Project>OK Setup>Properties>Prerequisites>Select Create setup program to install prerequisite components & Windows Installer 3.1 & .NET Framework 3.5 … Software Development file-system flash vb.net visual-studio | |
hey need some help with my loan program i have two problems how do you add the total of the variable sumtin from a while loop and i need to show the inital loan first then after the calculations are done show it again like i want it to show … Software Development c++ | |
I have recently voluteered to be a mentor for a local inexperienced FIRST robotics team. The main area I will be mentoring is the programming aspect of the competition. The controllers for last years robot was programmed using LabView but they also can be programmed in C++. The better teams … | |
I am working on a couple projects where I need to upload files from a client using my software to my webserver and then do some other things. But I would like the software to handles this automatically so the user doesn't have to worry with it. I am currently … Software Development asp asp.net client-server | |
#include "stdafx.h" #include <iostream> using namespace std; void main(); int _tmain(int argc, _TCHAR* argv[]) { double sum_positive=0,sum_negative=0,sum_total=0,num; int total_negative_number=0,total_positive_number=0; cout << "Enter number.\n" << endl; for (int i=0;i<10;i++) { cin >> num; sum_total +=num ; if (num>0) { sum_positive+=num; total_positive_number++; } else { sum_negative +=num; total_negative_number++; } } cout <<"Sum … Software Development c++ | |
Hello can you help me,i have problem of this if i will use scanf("%c",&repz); my porgram will exit it will not loop to menu..but if i will change to %s this will loop to menu...but i declare variable repz as char...can you help me or explain on this why it … Software Development c | |
I'm working on a basic "banking" program. The most recent change I've made to it is to use inheritance so that instead of just an Account, you can make either a checking or savings account specifically. Everything is working fine, except that the checking account is supposed to have a … Software Development java | |
Here is my code, what I'm having problems with is taking values from a 10 field file (scores.dat) and putting them into a list. How would i go about this? [CODE]def main(): fileIn = open( "scores.dat", "r") lineIn = fileIn.readline() while len(lineIn) != 0: print lineIn lineIn = fileIn.readline() parse(lineIn) … Software Development python | |
Could anyone help me with these; 1. Create a new line in vb 2008 (endl in c++) 2. Steps in updating a database when the database resides into another computer (for my client/server application) Thanks averyone, hope you could do something for this! my system is almost done... Software Development client-server vb.net | |
Hey guys, i am working on a program and it deals with arrays. Basicaly its a conversation program i am working on. I have alot of it done but i am stuck with the displayiong of the info. Now being this is an assignment i would really like advices and … Software Development c | |
I'm writing this in VB.NET, so I figured I'd post here. So, I'm writing a program to convert some pdfs to jpegs. This is all well and good, and the program seems to work well for the most part. Unfortunately, I've come across a bit of a problem. The pdfs … | |
wen i write the data to notepad,i get the result below: <SRT>,160,[COLOR="Red"]161,[/COLOR] NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,4127288.4600,0.0000,31-12-07,0,AGF,MYR,100101 NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,175000.0000,0.0000,31-12-07,0,AGF,MYR,102101 <END>,[COLOR="Red"]4302288,[/COLOR] wat i wan is like below: <SRT>,160,[COLOR="Green"]161[/COLOR] NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,4127288.4600,0.0000,31-12-07,0,AGF,MYR,100101 NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,175000.0000,0.0000,31-12-07,0,AGF,MYR,102101 <END>,[COLOR="Green"]4302288[/COLOR] i don't wan [COLOR="Red"](,)[/COLOR] behind 161 and 4302288 Hope hav sum1 can answer my question.Thanks... [CODE] For Each row In dt.Rows … Software Development vb.net |
The End.