132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sai.baranidhara

Hi, I am using an excel sheet containing around 200 records and linking it to my MS-Access database through the Link Table option available in MS-Access. But I need to change it everytime when I go from one system to another as the path of the Excel file changes. That …

Software Development visual-basic
Member Avatar for jireh
0
117
Member Avatar for DotNetUser

I want to allow the user to tell me how many rows and columns of buttons to draw. Then draw the buttons. When a button is clicked, it displays the row # and column # of that button in a msgbox. I would create a button using the following code: …

Software Development
Member Avatar for vckicks
0
970
Member Avatar for lupin99

hi everyone... i'm a newbie to xpath and i don't know how to extract all the ToolAlarm nodes from my xml file... here's the xml file and code snippet: <?xml version="1.0" encoding="utf-8" ?> <ToolConfigurations> <ToolType name ="EQP1"> <ToolAlarms> <ToolAlarm name = "AIR PRESSURE LOW"/> <ToolAlarm name = "FALSE ALARM"/> <ToolAlarm …

Software Development xml
Member Avatar for techtix
0
147
Member Avatar for ruby.n

What does the following piece of code do? document.write("<h" & i & ">This is header " & i & "</h" & i & ">")

Software Development visual-basic
Member Avatar for techtix
0
69
Member Avatar for tegezee

I'm a beginner and like to know how do you get all links in browser1 and display them in a listbox

Software Development display visual-basic
Member Avatar for techtix
0
109
Member Avatar for gleegeld

Hello, I'm trying to create a script that searches for all .pst files on a local pc and gathers the filename, path and size and outputs that data to a file called username.txt. I am having problems with my code. It creates the username.txt but does not write the .pst …

Software Development visual-basic
Member Avatar for techtix
0
77
Member Avatar for ashkash

I am trying to write some information out to a file. I have a string in hex values and I need to write this out to the output file. The hex string I have is 4b70 4772 64. The string equivalent is KpGrd. I have: char a[] = "4b7047726400"; Then …

Software Development c
Member Avatar for ArkM
0
97
Member Avatar for tyserman5674

Hi All, I have a program trying to use mousehover to pause the autoscroll. It is a widows form called: lstOutput System.Windows.Forms.1 Below is how it is in my code. Public Sub lstOutput_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstOutput.MouseHover 'Public EventMouseHover As EventHandler lblPauseScroll.Text = "Output Paused" …

Software Development vb.net
Member Avatar for tyserman5674
0
178
Member Avatar for bbhe

Hi, I am trying to replace a few text strings in a text file (test.txt), and then makeing some spaces, for it to be easier to read Anyone have an example I can use, because I am new to C++ I just want to replace "word1" with red "word2", and …

Software Development c++
Member Avatar for bbhe
0
153
Member Avatar for zhinokin

could someone help me how to reverse a string in a86 ...the program will goes like this.user will input a string of 4 characters or less than 4 for ex..whin then it will output nihw..but if the user will input 5 or more than, for ex. whinz the output would …

Software Development assembly
Member Avatar for sDJh
0
210
Member Avatar for jesseb07

hello, I wrote an expect script to automate ssh commands, and it was working, but for some reason it's not anymore. Just to make sure I didn't do any weird changes that I didn't notice, I tried several of the dozens of such scripts that are online, and for some …

Software Development shell-scripting ubuntu
Member Avatar for jesseb07
0
126
Member Avatar for laspal

Hey, I am trying to create tuple but not able to do it. here is my code: datatuple =() for emailadd in mailing_list: datatuple((subject, message, sender, [emailadd])) send_mass_mail(datatuple) basically it should be in this format: datatuple = ( ('Subject', 'Message.', 'from@example.com', ['john@example.com']), ('Subject', 'Message.', 'from@example.com', ['jane@example.com']), ) so here my …

Software Development python
Member Avatar for woooee
0
238
Member Avatar for bman923

Im supposed to write it as def day(d,m): and then write the function code. I really cant figure out how this is supposed to be done. Can anyone help or give hints or ideas?

Software Development python
Member Avatar for woooee
0
95
Member Avatar for noadek

I'm working on a project graphical based authentication and i need to implement this with C++. I need to understand this concept and all the books i ve read, none has really explained it well. Please I need help and badly.

Software Development c++
Member Avatar for Salem
0
247
Member Avatar for JackDurden

How do I input a string then output a vector from this function? The compiler doesnt seem to like "while(invector>>word)". [CODE]vector<string> example (string invector);//prototype vector<string> example(string invector) { string word; stringstream insert(invector); vector < string > vectemp; while(invector >> word) vectemp.push_back(word); for(int i = 0; i < vectemp.size(); i++) cout …

Software Development c++
Member Avatar for Narue
0
121
Member Avatar for niks1234

hi, Am new to Daniweb. Name is Nik. Am currently doing a project in Python to create a visualization tool for OSSEC HIDS. I created the GUI using Boa Constructor which works with wx.python. But now i am stuck as to how to retrieve data from OSSEC and show them …

Software Development gui python
Member Avatar for niks1234
0
109
Member Avatar for cproud21

I am new to programming and was thrown into an online java course before I took the prerequisite course. I love programming so far, but am lost in java and would appreciate any help that anyone has. I have the following programming challenge to complete. As well as creating a …

Software Development java
Member Avatar for stephen84s
0
216
Member Avatar for OnIIcE

Hello! I’ve started a project that allows users to edited wav files (flange, distortion) and but them in a sequence and make a loop. I want to be able to visualize the actual sound wave of the file (like if you dropped a sound file in Audacity (and then in …

Software Development c++
Member Avatar for skatamatic
0
222
Member Avatar for bmead

Howdy, I'm a total newbie to scripting and I can't figure out the proper syntax to shell script a for loop for the following scenario: I have a directory of symbolic links to backup log files. I want to loop through the dir to cat the last 21 lines of …

Software Development shell-scripting
Member Avatar for bmead
0
107
Member Avatar for PRob99

Ok, I am having trouble getting this loop to continue. It just asks once and that's it. Here is my code: // ---------------------------------------------------------- // ExamScores.java (Application) // // Author: // Entered by: -- -- // Classes: ExamScores (list all the class files related to this problem) // Date: September 22, …

Software Development java
Member Avatar for kingvjack
0
165
Member Avatar for TDN169

Does anyone know how to extract the nth character from a string- nice simple code like: charfromstring(mystring, 33) to extract the 33rd character of mystring obviously this is wrong- what is the correct way to do it. Even better, how could I split a string at the nth character eg. …

Software Development pascal
Member Avatar for TDN169
0
1K
Member Avatar for Mumo

can anyone show me how to go about this. I've been trying to use a log to base 2 in c. the code atually works but it requires me to type in a char after typing the number i'm getting the log of [code=c] #include<stdio.h> #include<limits.h> #include<math.h> void main() { …

Software Development c
Member Avatar for ArkM
0
98
Member Avatar for webzz

I'm using Delphi 2007 and I need to pick and display a character from a unicode font in the range U+1500 to U+15FF I tried: label1.caption := widechar($1513); but it can't be that simple. I have googled unicode, delphi, chr, widechar etc and researched for days and I still can't …

Software Development delphi display pascal
Member Avatar for ExplainThat
0
667
Member Avatar for masterjiraya

[B]filename:[/B] [COLOR="Red"]main.cpp[/COLOR] [CODE=cplusplus] #include <iostream> using namespace std; int main(); using namespace std; #include "BinaryTree.h" int main() { BinaryTree<int> tree[8]; tree[1].makeTree(1, tree[0], tree[0]); tree[3].makeTree(3, tree[0], tree[0]); tree[2].makeTree(2, tree[1], tree[3]); tree[5].makeTree(5, tree[0], tree[0]); tree[4].makeTree(4, tree[2], tree[5]); tree[7].makeTree(7, tree[0], tree[0]); tree[6].makeTree(6, tree[4], tree[7]); cout << "Preorder: "; tree[6].preorder(); cout << "\n"; cout …

Software Development c++
Member Avatar for masterjiraya
0
151
Member Avatar for SoulMazer

I started programming in Python as a hobby a few weeks ago, and I have run into a little problem. I am currently making a script to give me a sort of Vocabulary Test. It is kind of hard to explain so I will just show you the code. [code=python] …

Software Development python
Member Avatar for Dunganb
0
2K
Member Avatar for mus1010

please somebody can help me out to get Pascal's Triangle by using loops ( probably with nested loop ) !! Pleeeeeeeeeeeease

Software Development pascal
Member Avatar for LizR
0
336
Member Avatar for Avaleriona

Write a program that inputs a line of text and uses stack object to print the line reversed. I found this C question in: [url]http://abhaygoel.wordpress.com/c-dac-ent[/url]... I have difficulty to solve it, anyone can help!

Software Development c wordpress
Member Avatar for Narue
0
173
Member Avatar for intelli

i have to write a simple java program write an application that determines the value of coins in a jar and prints the total in dollars and cents. Read integer values that represent the number of quarters, dimes, nickels and pennies so i did it i don't know where to …

Software Development java
Member Avatar for intelli
0
2K
Member Avatar for ravikiran032

i would like to how a host name is stored and it's structure in dns (domain name service) along with ipaddress.by which name a normal client computer is given it's hostname in the dns. here the client availing particular host name does not pay for it. in my computer i …

Software Development dns java
Member Avatar for ravikiran032
0
127
Member Avatar for Agni

Hi, The same code as my previous post, but because of this list thing, i'm not able to run specific commands for different options. Here i have 2 options under the 'Names' Menu, 'rajat','prasun', now when the user selects either of them i should be able to know which one …

Software Development python tkinter
Member Avatar for Agni
0
99
Member Avatar for kux

Compile this code with MSVC2005 [CODE] unsigned short x = 20; unsigned short y = 20; for ( unsigned long i = 0; i < x * y ; i++ ) { cout<<i<<endl; } [/CODE] and u get warning C4018: '<' : signed/unsigned mismatch why? i mean, it all runs …

Software Development c++
Member Avatar for kux
0
133
Member Avatar for ninwa

Howdy. I am very new to C# so I please forgive my ignorance. I was reading about jagged arrays and multidimensional arrays. I am trying to understand why the following code will work as I would expect it to. [code=c#]int[][] intJaggedArray = new int[5][]; intJaggedArray[0] = new int[5]; Console.WriteLine(intJaggedArray[0].Length); [/code] …

Software Development
Member Avatar for LizR
0
128
Member Avatar for shamila08

Hello, dear all, here is my algorithm. i'm trying to reverse the array but its not function and not loop. [code=cplusplus] #include <iostream> using namespace std; void initial(int *v, int N) { int i; for(i=1; i<=N; i++) v[i] = i; } void write (int *v, int N) { for (int …

Software Development algorithm c++
Member Avatar for Nick Evan
0
160
Member Avatar for cutedipti

what dose the error " Null pointer assignment" means and what causes this error?:idea:

Software Development c
Member Avatar for Ancient Dragon
0
68
Member Avatar for dodo_ind

Hi all I'm using a 'STRING' variable to store the entire contents of a file. Is there any possibility of buffer overflow if the content of the file is large? (eg: say size of the file is 30MB). Thanks in advance

Software Development c++
Member Avatar for Alex Edwards
0
202
Member Avatar for Hinche4

Hi guys, I'm new to this but I have no idea what is wrong with my code and I'm going insane trying to figure it out and its due very soon! I would appreciate any help you can give me! Here's my code: [code=cplusplus] #include <iostream> #include <iomanip> #define ROWS …

Software Development c++
Member Avatar for ArkM
0
311
Member Avatar for knightsg

I'm having a problem with an XSL script, using perl's XML::XSLT library. The code I'm dealing with is below: The XML: [code=xml]<eprint><eprint_status>archive</eprint_status><eprintid>3</eprintid><userid>5</userid><datestamp>2004-06-04</datestamp><type>journalp</type><abstract>Issues about young people&#x2019;s use of public and community spaces are now commonly raised in many countries. As urban space becomes more intensely used and the patterns of use …

Software Development perl xml
Member Avatar for knightsg
0
118
Member Avatar for defychaos

Hi friends :P I'm needing some help on an assignment. I'm really not sure about all the argument-passing and structure references I have been assigned for my C++ class. Any help is greatly appreciated. I'll continue to work on it in the meantime, but I cannot get it to compile …

Software Development c++ data-structure
Member Avatar for skatamatic
0
120
Member Avatar for laxviji143

Hi, Can anybody help me plz... I m getting the value of a dropdownlist created dynamically..... and i want to convert that value into a business object in a web application... Im using this code in the windows application and its working fine ...But in the web application its showing …

Software Development
Member Avatar for laxviji143
0
80
Member Avatar for amt_muk

Hello Friendz, Suppose I have a program like [code] // A.cpp int main() { if(some_condition) return 1; return 0; } [/code] Now from another program I want to run the above program, like [code] //B.cpp int main() { ... ... system("A"); ... ... return 0; } [/code] Here how can …

Software Development c++
Member Avatar for Duoas
0
373
Member Avatar for vadan

Hi I want to create an array as shown in the class below everything is working fine, but at the end of execution of the program, there is a memory fault Please help me in finding out the problem [code=cplusplus] class a { int i; int arr[]; public: a(); ~a(); …

Software Development c++
Member Avatar for vadan
0
138
Member Avatar for Trekker182

I'm taking the time from an accessor function and if it's from 0-9, so it displays correctly the hour time position, I have the following statements in my main body: [CODE] if (clock1.getHour() == 00) cout<<"The hour of clock1 is 00"<<endl; else if (clock1.getHour() == 01) cout<<"The hour of clock1 …

Software Development c++
Member Avatar for VernonDozier
0
4K
Member Avatar for tanha

Hi. I am using netBeans 6.1 on windows XP, and when I create a java class and I create a frame inside that class? why I can not see the design of that class? I mean why I can not see the frame and also the control like buttons, text, …

Software Development java java-netbeans
Member Avatar for tanha
0
118
Member Avatar for JackDurden

How do I use a pointer with a 2-dim array? I am converting string to char array. char x[25][100]; const char* A= x; A= x.c_str();

Software Development c++
Member Avatar for Ancient Dragon
0
105
Member Avatar for predator78

Hey guys, I been working on a small project I found on another forum. It's supposed to decode scrambled word from a word list in 30 sec or less. Well I'm pretty noobish so my method might not be all that great, but I'm giving it a go and learning …

Software Development python
Member Avatar for predator78
0
164
Member Avatar for heshan

Apache Axis2/Java, is a popular open source Web service engine. It currently supports xposing services written in Java, Javascript and Ruby as Web services. This [URL="http://wso2.org/library/articles/deploying-python-service-axis2"]article[/URL] discusses the Python data Binding that enable exposing Web services written in Python.

Software Development apache javascript open-source python ruby
Member Avatar for peter_budo
0
107
Member Avatar for rast1979

Hello I am trying to use the find command to search for the last files modifyed under certain directory Example: #find /tmp -mtime -1 find all the files modifyed from 1 hour ago The question is: Somebody knows hou can I do the same but using minutes or seconds instead …

Software Development shell-scripting
Member Avatar for rast1979
0
133
Member Avatar for TheNational22

I would like to take a file that is comma delimited, read it, and in the first column, change every 7 into a 4. I think there are a few ways to skin this cat, looking for the best way, Any ideas? A brief view of what the file looks …

Software Development python
Member Avatar for sneekula
0
84
Member Avatar for Gresakl

I'm working on a bit of homework and I don't need someone to do it for me but to help out with this portion. The rest of it is pretty easy to manage since I already have it mostly done but right now I can't figure out how to get …

Software Development file-system shell-scripting
Member Avatar for JeoSaurus
0
119
Member Avatar for tedobg

Hey guys.I am not sure that what I want to do is possible but if it is can someone help me out... Well I want towrite a program which waits for input for a curtain amount of time and if no input is received it continues its execution.I will be …

Software Development c++
Member Avatar for tedobg
0
269

The End.