64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nschessnerd

hey im using vb 6 on a 64 bit vista computer in vb express 2008, is there some way i can compile a lightweight program for use on a mac? thanks m

Member Avatar for bbqchickenrobot
0
89
Member Avatar for new_2_java

Hi all, I have a program which downloads a bunch of documents from a remote server and after bundles them up in a .zip file using ZipOutputStream. The problem is that when I download the files, there could be more than one file with the same file name. So, when …

Member Avatar for new_2_java
0
4K
Member Avatar for Jennifer84

I wonder. When you are in dubbingmode and develop you program you refer to ifstream like in the code below. [code] ifstream OneFile("Text.txt"); [/code] "Text.text" is in the folder debug. Later when the application is finished. I want the file "Text.txt" to be in a folder like this: C:\NewApplication\FileFolder\Text.txt How …

Member Avatar for Jennifer84
0
140
Member Avatar for Nemoticchigga

Hi, I am writing a simple program to read and write a serial port. I only have access to one serial port on my pc so I am using a HugePine RS-232 to USB convertor. The driver is installed and windows recognizes it is attached. My question is what comm …

Member Avatar for Nemoticchigga
0
148
Member Avatar for gcardonav

Hello Well I have this coding and I thought I set it up ok to catch this simple exception, but as of right now, the program continues to run after the exception happens and its not even catching it. where did I go wrong. Thank you all Your rookie programmer …

Member Avatar for gcardonav
0
100
Member Avatar for ptaylor965

Is it possible to issue SQL Style Commands to manipulate data from XML Files ie. SELECT, INSERT, UPDATE and DELETE The reason i ask is the i want to write an appliclation that will store the database with the application but with out the user needing to have MSAssess (for …

Member Avatar for binoj_daniel
0
113
Member Avatar for ansari.wajid

Hi All, I have created a table called tblState in access with 2 columns: id and state and am populating a dropdownlist with state. I am in need of code to delete a selected value of dropdownlist from database in asp.net2.0 using c#. Can anybody help me please. Thanks Wajid

Member Avatar for ansari.wajid
0
1K
Member Avatar for mmxbass

How can I make my pygtk windows switch to another workspace. I'm working on a box-oriented task selector and I need my boxes to follow windows to their new workspaces when they change workspace. This is my code thus far: [code] import wnck import pygtk pygtk.require('2.0') import gtk import gobject …

0
183
Member Avatar for mmxbass

I am trying to make a box-oriented task selector similar to the style of nextstep. I am currently having problems painting the box background and application icon onto my window. If I just use a normal gtk.Image widget it works fine, but that won't let me have both the box …

Member Avatar for mmxbass
0
105
Member Avatar for vishalkhialani

Hi, My below code compiles and builds ok but it behaves a bit unexpected. Please see my comment where I am having the problem. Any advice will be highly appreciated. [code] while(count<9) { system("cls"); printf("\n\n\n"); printf("\t\t\t PURCHASE ORDER SYSTEM \n\n\n\n\n\n\n\n\n\n\n"); printf("\t\t\t\t INPUT NEW ORDER DETAILS MENU\n\n\n\n\n\n"); printf("PLEASE SELECT ONE OF …

Member Avatar for vishalkhialani
0
106
Member Avatar for Squeeker

Hello all, I am working on a program that takes input from a file, removes extra white spaces and outputs the edited text to another file. So far my program deletes 1 whitespace whether the whitespace should be deleted or not. I have read about peek() and putback(). I am …

Member Avatar for Squeeker
1
1K
Member Avatar for larryperl

Here is part of my code- [Code] extrafiles1=$(ls mt.*.*.*.*) if [[ $(ls -l $file 2>/dev/null) = *$today* ]]; then if [[ $file -eq $extrafiles1 ]];then rm $file fi fi [/code] when i am running the script it's showing an error-- mtclean[239]: ./mt.log.8882.-5.1202989443474: bad number. when i just ran this command …

Member Avatar for DimaYasny
0
122
Member Avatar for sanzilla

Hi I am really little bit new to java , actually J2ME , really , can anyone know the API or libraries that can freely download to handle the vcf business card format that come with outlook express ? I really feel lazy to write my own code , anyone …

Member Avatar for sanzilla
0
144
Member Avatar for aircraft

How can in the output, I want ONLY ONE LINE from 1 to 99, the windows is not enough.. myvector contains: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 …

Member Avatar for Ancient Dragon
0
128
Member Avatar for aircraft

How to correct it? ompiling... 27.cpp C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2065: 'aTable' : undeclared identifier C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2109: subscript requires array or pointer type C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2228: left of '.size' must have class/struct/union type C:\Documents and Settings\ashida\My …

Member Avatar for aircraft
0
242
Member Avatar for lydia21

hi i have a application were the user admin will select a key word from the drop down based on the dropdown selection....it should search all the rows in a particular table.the corresponding matching data should get displayed to the admin.

Member Avatar for lydia21
0
164
Member Avatar for Roebuc

Hello all, yes yet again an Assignment problem I need help with haha ;) Anyways this time my code is correct, I think, but I am getting hung up on an ifstream issue. Here is the code: [CODE] ifstream infile; ofstream outfile; infile.open("C:\Users\***\Desktop\School\chapter5.txt"); if (!infile) { cout << "Cannot open …

Member Avatar for Roebuc
0
252
Member Avatar for orangejuice2005

I have an assignment dealing with polynomials and adding two of them together. Am using vectors to approach this and i have one vector assigned for coefficients and the other exponents Am very very new to c++ and am at a lost. Here is my + operator [code] Polynomial operator+(Polynomial& …

Member Avatar for Duoas
0
2K
Member Avatar for shAq

I have to dynamically add user controls to a asp.net web page. I know that can be done as follows: [code=C#] WebUserControl webug = (WebUserControl)Page.LoadControl("WebUserControl.ascx"); cntrlHolder.Controls.Add(webug); [/code] In the above code cntrlHolder is a PlaceHolder/Panel. I need to add more controls of type WebUserControl into the same page. How can …

Member Avatar for boisellea
0
165
Member Avatar for Ankita B

Hi, What needs to be done to connect TOAD with oracle database ?....i have installed oracle client 9i..

Member Avatar for Jx_Man
0
127
Member Avatar for jaggesh

The question goes like this: You are given a file in which each line contains a list of space separated words. Write a program to find out: 1. List of words that are present in all the lines (words common to all lines) 2. List of unique words that are …

Member Avatar for Aia
0
103
Member Avatar for hallinan

write a bit of code to read from a file and compare a string but it dies before it finishes. the complier tells me there is a segment fault on line 31 can anyone help. [CODE] [LIST=1] [*]#include <stdio.h> [*]#include <string.h> [*]#include <stdlib.h> [*]#define max 100 [*]struct customer{ [*] [*] …

Member Avatar for Aia
0
162
Member Avatar for Jennifer84

How is a string vector array declared using a Form application ? This seems to work for int in a Form Application: [Code] std::vector<int> Value(10); [/code] But if you change int to string in the same example the compiler says that 'std::vector' : class has no constructors

Member Avatar for Jennifer84
0
159
Member Avatar for pitbro

This doesn't work. Please help. (line 8: invalid conversion from `const char' to `const char*' ) const char *alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int i=0; do { new_ptr = (struct node *)malloc(sizeof(struct node)); new_ptr->next = NULL; if (start == NULL) { strcpy(new_ptr->letter, alphabet[i]); start = new_ptr; current = new_ptr; } else { strcpy(new_ptr->letter, alphabet[i]); …

Member Avatar for WaltP
0
95
Member Avatar for Morty222

I am using the following query to pull categories from the DB then creating a select list. Can some tell me how to make the current value selected in the list when they open the category? <?php include("mysql.php"); $queryc = "select * from tbl_category WHERE active = 'yes' ORDER by …

Member Avatar for nav33n
0
124
Member Avatar for m.cliter

Hi, I m new to JavaScript. And I have a webpage where a user can upload 5 images. so I have five input tags, but I want to give him add extra image option,when a user hit add extra image a new input tag appeare. how can I do that …

Member Avatar for m.cliter
0
121
Member Avatar for Mr.Wobbles

First I will show you my sql, just in case it is some obvious syntax error on my part: [code] "INSERT INTO tblResults(status, enthusiasm, communication, knowledge, interaction, organization, responsiveness, instID, comment)" & _ "VALUES(""" & status & """, """ & enthusiasmB & """, """ & communicationB & """, """ & …

Member Avatar for Mr.Wobbles
0
92
Member Avatar for nezumi4

I am to open a text file, copy it, increment its ASCI characters by ten and then write it into a created text file. This is the code that I have so far.(visual c++ 6.0). The problem is that I cannot increment the characters. It gives me and overwrites my …

Member Avatar for Lerner
0
101
Member Avatar for linux0id

Hello everyone! I have seen some code where some variable gets inserted into string throught the % sign, like so - [CODE]("insert into songs values (%Q ,%d, %d, %Q, %Q, %Q, ... ", someInt, someChar, someChar... )[/CODE] I have tried to look it up in google but I do not …

Member Avatar for linux0id
0
13K
Member Avatar for Web_Student

Hello. I am trying to get the difference in time between two fields in the database. One is start_time and the other one is stop_time. They are in "0000-00-00 00:00:00" format. I want to do this in php/mysql. I already got the times pulling from the database, just need the …

Member Avatar for Web_Student
0
95
Member Avatar for dami06

I'm trying to create a webpage where by I have the questions in the database instead of it being hard code which is writing it down in php. How do i go about that. Just a simple page which will have a question and a blank box where the answer …

Member Avatar for nav33n
0
650
Member Avatar for Wiizl

I'm sorry if it's not the right place for this question, but I really need help on this one. The problem is quite simple- I've got many text fields that user has to fill. The thing I can't figure out is how NOT to allow go to next field if …

Member Avatar for Wiizl
0
310
Member Avatar for dragonheart

i am using VB with access. i need to load the values of a particular field in a table to a listbox . i used the following coding in the Form_Load event. [COLOR="Green"]Set db = New Connection db.Open "PROVIDER=Microsoft.Jet.OLEDB.3.51;" & "data source= " & App.Path & "\test.mdb;" Set rs = …

Member Avatar for dragonheart
0
701
Member Avatar for dudegio

Hello everyone! Im new to ASP and this is my first time to work with it. Pls help me with my problem. I was given a tasks to edit an existing website (for 2 days only). One of those is sending e-mails based on a queried data from a database. …

Member Avatar for x2per14
0
184
Member Avatar for majestic0110

Hi all. just wondered if there was a quick and easy way (or good tutoriaL) to validate user input (on a login control) against a SQL database where the users username and password credentials are stored. Any suggestions will be greatly appreciated! Thanks for your time.

Member Avatar for majestic0110
0
343
Member Avatar for vishalkhialani

Hi, I am getting a syntax error : \Sainath.C(24) : error C2059: syntax error : '__stdcall' for the below code: [code=c++] int main() { COORD WINAPI GetLargestConsoleWindowSize( __in HANDLE hConsoleOutput ); printf("%d",x.WINAPI); // I know its the printf statement which is wrong as only when I wrote it I got …

Member Avatar for vishalkhialani
0
469
Member Avatar for C41R0

374 / 9 = 41.6 (from calculator ) if in c++, it will become 374 / 9 = 41.555 how do i make the final calculation become 41.6 ? i've tried ceil() and setprecision(1) , the answer i got quite big different compare with the answer from calculator. answer from …

Member Avatar for C41R0
0
208
Member Avatar for palej

Hey folks, I have this problem, lets take this text from from 24ways.org just for example-> [QUOTE]Elbow room Paying attention to your typography is important, but it’s not just about making it look nice. Careful use of the line-height property can make your text more readable, which helps everyone, but …

Member Avatar for SheSaidImaPregy
0
116
Member Avatar for serkan sendur

what is the required t-sql for getting all the child categories in a parent category? my table is like this : id | name | parentid

Member Avatar for serkan sendur
0
178
Member Avatar for drsmith

I am using FCKeditor for my Drupal website. For whatever reason, FCKeditor does not allow a file to be overwritten...it will rename it instead which is no good for static links. I have found some code I think is responsible for renaming and have commented it out. [code] while ( …

0
83
Member Avatar for jamello

Hi there ladies and gentlemen! I have this code that works in ASP.NET 1.1 but I could not find its equivalent in v 2.0. I had expected it to work having the usual backward compatibility preached by microsoft in mind. But I am yet to succeed. The code 'translation' worked …

Member Avatar for jamello
0
247
Member Avatar for jaepi

Hello there. Is there someone kind enough to please explain to me the difference of using fork() and exec() with system() in invoking a process. I just want to know their difference according to well experienced with processes here. And what is the most efficient in invoking a process between …

Member Avatar for Nick Evan
0
323
Member Avatar for lordx78

[code=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Test </title> <script language='javascript'> redirTime = "5000"; redirURL = "/common/index.php"; function redirTimer() { self.setTimeout("self.location.href redirURL;",redirTime); } </script> </head> <body> <script language='javascript'> onload="redirTimer()" </script> </body> </html> [/code]

Member Avatar for lordx78
0
95
Member Avatar for Venom Rush

Hi everyone I have a csv file with data such as first name, surname, tel etc and I'd like to populate a table inside my MySQL database automatically. So far I have this but I keep getting an access denied error and I don't know why: [code=php]<?php $server = 'localhost'; …

Member Avatar for nav33n
0
585
Member Avatar for ebabes

Can anybody help me identify the code in ASP.Net that is equivalent to MessageBox (C#) or Alert (JSCript). I need a message box that will pop up when a certain condition is not fulfilled. Your response is highly appreciated.

Member Avatar for serkan sendur
0
608
Member Avatar for c++noobie

I am fairly new to C++, as I began learning it two days ago, with some very basic background in java and python. I was trying to write a code that could simply store, recall, and delete entries in a class I named address_book. I did it first without using …

Member Avatar for Dave Sinkula
0
2K
Member Avatar for CodeBoy101

I'm trying to make a shooting video game in conole mode but the game pauses to recieve an input from the key board. Ho can I get around this? How do game engines work? DFor exaple in a game like pac-man where the ghosts and other elements in the game …

Member Avatar for CodeBoy101
0
134
Member Avatar for Acidburn

Hey guys i'm trying to split up my classes into packages but I seems to stumble upon this error quite alot: OPPS please delete I figured it out sorry

0
60
Member Avatar for jelab89

I'm experiencing a little problem here with my code: DataSet _ds = new DataSet(); //convert xml to dataset _ds.ReadXml(textBox1.Text); try { //Create a relation between the Authors and the Titles tables. _ds.Relations.Add("Level", _ds.Tables["HEADER"].Columns["IDMAT"], _ds.Tables["ITEM"].Columns["IDNRK"]); } catch(DataException dt) { util.logThis("ERROR while Adding Dataset Relations between tables / UI / ProcessClick event …

Member Avatar for jelab89
0
157
Member Avatar for johnRiley

Hi, I'm trying to do a vector of stringstreams so i can edit/manipulate them using vector functions as i have already done using strings. everything was going fine using... [code] std::vector<std::stringstream> myVector [/code] However i'm getting the error "cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'" on this line... [code] …

Member Avatar for johnRiley
0
3K

The End.