64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for papageorge

Hello, I am developing an application and I use a 3rd party library which is basically Native excel. The problem is that this library does not implement an event which is able to notify me when the value of a cell value changes. Can I do it in my program …

Member Avatar for papageorge
0
156
Member Avatar for babbu

m using visual studio 2005 and sql server 2005. i want to create a backup of the sql server which m doin using the following code.. [CODE] if (saveBackupDialog.ShowDialog() == DialogResult.OK) { SqlCommand cmd = new SqlCommand(); cmd.CommandText = @"backup database dbname to disk =@loc with init,stats=10"; cmd.Parameters.Add("@loc", SqlDbType.VarChar); cmd.Parameters["@loc"].Value …

Member Avatar for babbu
0
195
Member Avatar for shine_jose

Hello, I wish to get the code to pass the log in information (i.e server name,pass word etc) as parameter at the time of calling report Now its asking (user name ,password) before going to the report page each time .please help me.

Member Avatar for Ramesh S
0
466
Member Avatar for chandini.david

Hey!! I am trying to make a 2-player game; where one player plays after the next. I have used socket programming in the code; so that, when the client (player 1) clicks on the window, the co-ordinates are sent to the server (player 2) and vice-versa. (For now, both player …

Member Avatar for chandini.david
0
213
Member Avatar for whiteyoh

Hi All, the following code will allow you to type content, and saves it fine, but it just wont populate that paticular area with the current database entry. Please can somebody advise. Im sure i have missed something so simple. [code] <?php $result = mysql_query("select * from `indexinfo` where id …

Member Avatar for saranya14
0
6K
Member Avatar for dalcocer

I was running into run time errors, and stripped down my code to isolate the problem. From that I was able to write this little piece of code to demonstrate my issue: [CODE] #include <windows.h> class test { private: int a; public: test(); void run(); }; test::test() { a = …

Member Avatar for abhi_elementx
0
106
Member Avatar for songweaver

Hey guys I am a newbie to VB and need help with this form, The idea is that people enter there age and if they over 65 and are a member its one price, if they are under 65 its one price and if they are not a member it …

Member Avatar for pasanbuddhika
0
138
Member Avatar for oluscoa

Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Date Boolean Bytes

Member Avatar for kvprajapati
0
138
Member Avatar for k2k

hi, basically i am trying to write a quick script to remote copy something as follow. "" scp [email]user@192.168.1.5:/var/tmp/file.txt[/email] /var/tmp/newfile.txt "" if i do above cmd on the shell, i will be asked for password: my question is, how i do automate the password part within the shell script to …

Member Avatar for k2k
0
100
Member Avatar for Bheeman89

Hello guys....I just have some doubt about C programming...well I have done a lot of functions for airline booking system but im not able to implement the multi dimensional array... I dont get how should I implement it in this problem as the variables are global and they are used …

Member Avatar for Bheeman89
0
2K
Member Avatar for wonderland

Hi, I'm sorry in advance if this is the wrong section. I wanted to know is it possible to password protect some files in web page ? For example, If someone wants to download file, browsers requests password(one for all visitors), idea is that some files and/or sections of web …

Member Avatar for Alxandr
0
1K
Member Avatar for verbob

I would like to take a string (I have loaded it from the database) and extract it into chunks. The beginning string, lets call it "$string", has the following format: [CODE]<li>item1</li><li>item2</li><li>item3</li>[/CODE] (maybe more li's, maybe less, or even none) What I would like to do is extract to an array …

Member Avatar for verbob
0
128
Member Avatar for violarisgeorge

Hey all, I need to use the PHP mail() function in order to send an email to a number of individuals. So lets say that I have 5 users that need to get a particular email. I was thinking that the correct way of going about using the mail() function, …

Member Avatar for violarisgeorge
0
153
Member Avatar for dotnabox

Or at least I [I]think [/I]that's the issue. Essentially, I am in the process of overloading operators and allowing users to enter data directly into the class objects. I was able to do the first one so I followed the same pattern and I get a segmentation fault when I …

Member Avatar for dotnabox
0
300
Member Avatar for tom.t

I have been asked to find the inefficiency in a piece of pseducode. I've looked at it but can't see it. IF count > 10 THEN WHILE x < 0 DO INPUT x ENDWHILE ENDIF My understanding: Count is evaluated. If count is <10, the app moves onto the next …

Member Avatar for tom.t
0
130
Member Avatar for twilitegxa

Can anyone help me with why my insert statement won't work? I have tried countless tutorials online, but I cannot figure out what I am doing wrong. Can anyone point me int the right direction here? Here is my form: form: [code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="form.aspx.cs" Inherits="_form" %> <%@ …

Member Avatar for twilitegxa
0
109
Member Avatar for kolibrizas

Hello, I am having a difficulty in passing a barrier of JAVA graphics generating. I hope you could explain some things to me, cause I have noone to help me and it is hard to get help in internet, because I feel like missing something important. The thing is I …

Member Avatar for kolibrizas
0
132
Member Avatar for especta

i have problem to allow enter only from 1 to 65535 bicouse example if enter 10000,2000 is ok but enter 99 not. hire 1 example (not working) [CODE]If somthing.Text > '65535 'then ShowMessage(' you enter biger Number from 65535'); Exit;[/CODE] hire 2 example (not working) [CODE]var result : Integer; string1: …

Member Avatar for especta
0
221
Member Avatar for Norua

I'm having trouble with my lab for a computer class. The problem is as stated: Design a program that generates 100 random numbers, and keeps a count of how many of those random numbers are even and how many are odd. Can someone please help me out with this?

Member Avatar for snippsat
0
144
Member Avatar for fatihpiristine

what's wrong here? [code=c] typedef struct person { int age; char name[50]; }; int main() { struct person test; test.age = 20; test.name = "Test"; return 0; } [/code]

Member Avatar for fatihpiristine
0
99
Member Avatar for songweaver

Hey guys here is the problem I have two variables that need their values switched , but only if the value stored in the first is less than the value stored in the second. Tried a couple of things, but am at a brick wall, I am a newbie to …

Member Avatar for songweaver
0
150
Member Avatar for tomshulski

I am working with VB6 (Pro. Edition) and in my tool box I do not have the slider control. Does anyone know how I can add that to my programs?

Member Avatar for mehrzad1373
0
508
Member Avatar for P00dle

Hi. First, I'll explain my task: I have 4 text files. 3 of the files contain xml tags and content. The 4th is empty. I need to read the 3 files, and write them to the 4th file. The reason for having 3 files is that the first and the …

Member Avatar for GreenDay2001
0
141
Member Avatar for kisan
Member Avatar for Gribouillis
-1
193
Member Avatar for gottlieb78

Hi I´m doing homework and it ask for the strcpy function by using pointers. This is my code but I always get some runtime error, don´t know why. [CODE]#include <iostream> using namespace std; void strcpy2(const char* source, char* destination); int main() { char* source = "Hello world"; char* destination; strcpy2(source, …

Member Avatar for Frederick2
0
464
Member Avatar for krusso88

For a computer networking course I was given a project to make a Mail User Agent. We were given a few completed classes, but one of them is giving an error. Here is the part of code in question: [CODE] try { Envelope envelope = new Envelope(mailMessage, serverField.getText()); } catch …

Member Avatar for santiagozky
0
193
Member Avatar for Clawsy

Hello, I am trying to design an java desktop application. My question is: Is there a way to change the whole look? From example different titlebar, different jFrame, buttons... (designed with PNG images, transparency, etc.). Is it possible? If so, how? In VB or C# I can easely change those... …

Member Avatar for Clawsy
0
819
Member Avatar for emhmk1

Hi Guys, a while back i was working on a components list for a marquee firm, the project was put on hold for a while but now i'm taking it up again. A while back i asked how to add extra input fields with an onClick button, this was achieved …

Member Avatar for emhmk1
0
70
Member Avatar for lifeworks

Hi I have a link, which triggers a script, but when the link is clicked, i want it to get a border around it... currently tried using [code=js] onclick="this.style.borderWidth = 1px" [/code] but no luck, lworks

Member Avatar for lifeworks
0
136
Member Avatar for Kolz

Is there a method that, say, for example... you open a file, and usually the cursor would be at the end right? Is there a function or method that would set the cursor back to the beginning of the file? Thanks!

Member Avatar for vegaseat
0
209
Member Avatar for Geekitygeek

I've been making more of an effort lately to build better OO designs, creating classes for distinct collections of members etc. However, i've hit a bit of a wall in my project. The program is designed to control an automated watering system. The system is split into multiple bays which …

Member Avatar for Geekitygeek
0
173
Member Avatar for dalefish

As usual, develop something in FF and as soon as you get near IE everything decides to pack up and go home. I'm getting an object expected error, forgive me if it's simple, I'm new to JavaScript. [B]HTML Code[/B] [code=html] <div id="tabsCon" class="tabsContainer"> <span id="tab1" class="activeTab" onclick="javascript:changeTab('tab1');">Tab 1</span> <span id="tab2" …

Member Avatar for Troy III
0
272
Member Avatar for miskeen

Hello guys, How can I make a switch case using an array of chars. Ex: [CODE]char input[50]; // my code here switch ( input ) { case "abc": // do something break; case "xyz": // do otherthings break; }[/CODE] Is that possible in C? Thank you!

Member Avatar for miskeen
0
130
Member Avatar for wchitamb

I need some help I have managed to get this far (as below), from thatI can put a AAA_NUMBER and be able to get that record details and thats the 1st step that I wanted the 2nd step that I want is say if the DOCID is not available I …

Member Avatar for wchitamb
0
211
Member Avatar for phoenix_dwarf

Hi i'm almost done with my project for our C# ASP.NET class but have just one thing left to do, and that is to print my datagrid view as is, with header included. Now i have absolutely no idea how to do this. I tried some javascript codes etc. but …

Member Avatar for ashtej
0
134
Member Avatar for explore

Hi, I'm new to .net. I'm finding difficulty in figuring out how to Import emails from external email servers using C# ... I want to access any external mail server to import email addresses from it ... Kindly Please guide me !!! I will really appreciate your help ... Looking …

Member Avatar for explore
0
170
Member Avatar for krishna_sicsr

Hi, Below is my output: FF 0 CMA: 0 IPMI port DE 15E0 TTA: 1 Generic Com port DD 15D0 TTB: 2 Generic Com port DC 15C0 SEA: 3 ACPI System Event FF 0 1 MFPCI DB 15B0 DQA: 2 CMD 649 IDE/ATA Controller DA 15A0 EIA: 3 Intel 82557 …

Member Avatar for stephendoyle75
0
163
Member Avatar for P00dle

Hi, I need to read input from 2 different files, take text from both, combine it, then print it to a third file. That part is easy. What I have a problem with is that some of the text I read in have special characters that need to be escaped. …

Member Avatar for P00dle
0
134
Member Avatar for P00dle

Hi I am ery new to Python. I've only started using it yesterday. Please keep that in mind, as the error might seem simple to you, but I can't understand it. I am trying to run the following piece of code: [code] import re foo = open("PREFIX.txt", "r+") text = …

0
75
Member Avatar for Alex_

hello people. I am doing an "os" (small) that's mainly a menu. It just prints some strings and highlights some words when you pres 1,2 or 3. And by pressing enter while a option is selected, it has to do something. The problem is that the program gets stuck in …

Member Avatar for Alex_
0
160
Member Avatar for dylank

Hi, there are several threads on this issue, but none seem to give me a good answer. My current code is this (This program plots points on a graph) : [CODE] //Put line equasion into arrays. #include <iostream> using namespace std; double getData(int counter, double m, double b) { int …

Member Avatar for invisal
0
1K
Member Avatar for jrosh

I did this .. [CODE] String filename = "tempoutfile.txt"; String tablename = "table1"; try{ Connection con = DriverManager.getConnection("jdbc:mysql://localhost/Test","root",""); Statement s=con.createStatement(); ResultSet r=s.executeQuery("SELECT * INTO OUTFILE '"+ filename + "' FROM " + tablename); }catch(SQLException se){System.out.println(se.getMessage());}[/CODE] But I can't find the file that is created!! When I run the query in …

Member Avatar for masijade
0
395
Member Avatar for elanorejoseph

[CODE]hi can any one tell me how i can make a thumb nail of an image?[/CODE]

Member Avatar for elanorejoseph
0
155
Member Avatar for saikeraku

Hi I'm trying to write some functions. This first function is suppose to help shuffle two strings which are the same length into the correct word. So the output would be something like: After shuffling the first string som and the second string trs the word is storms. Here is …

Member Avatar for katharnakh
0
111
Member Avatar for qwertymk

this is what I made for a = operator: [code] matrix matrix::operator= (double a[]) { for (int i = 0; i < rows * clms; i++){ //std::cout << i<< "=" <<a[i] << " "; *(x +i) = a[i]; //std::cout << i<< "=" <<x[i] << " "; } return *this; } …

Member Avatar for qwertymk
0
123
Member Avatar for Brandon515

hey guys, ok here's the situation. i need to turn a C++ style string into an integer now i've used altoi and strtol but they give me different numbers. heres my code [CODE] cout << file << endl << file.c_str() << endl; // debugging purposes num = strtol(file.c_str(), &pEnd, 10); …

Member Avatar for Brandon515
0
131
Member Avatar for mejohnm

I am making a program for a fruit stand and I like for it to show the names of the products and not the name of the derive class. I think I need a method or rewrite my code somewhere, could someone take a look and give me a hand? …

Member Avatar for mejohnm
0
106
Member Avatar for Shanti C

Hai Every one... Im totally new to X-cart open source .Its a e-commerce source actually..And my company needs to create a shopping cart with x-cart.. Any suggestions , tips on this will always welcome... thank you, shanti..

0
108
Member Avatar for CFROG

I'm trying to display a menu option only for certain session id's and for some reason it displays for ALL session id's ... not just the ones i have indicated. Not too sure why it's doing this, it all looks okay to me. [code] <?PHP if(isset($_SESSION['user_id']) && $_SESSION['user_id'] == 1 …

Member Avatar for EvolutionFallen
0
187
Member Avatar for Ryujin89

I am trying to create a program that has a class with a method that accepts a charge account number as an argument. Then the method should determine if the account number is valid by comparing it to the list of accounts in a text file (Accounts.txt). Then method should …

Member Avatar for BestJewSinceJC
0
1K

The End.