199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lili.edryana

Hello guys. I have a problem to check datetime overlapping in oracle database. I have this kind of data in my table in oracle. [B]START_DATE[/B] 2011-01-01 08:00:00 [B]END_DATE[/B] 2011-01-01 16:30:00 Given datetime from user is something like this : ---------------------------------------------------------- StartDate = 2011-01-01 07:30:00 EndDate = 2011-01-01 16:20:00 [B]OR[/B] StartDate …

Member Avatar for hfx642
0
136
Member Avatar for I<3CPP

Why doesn't this code work [CODE]class myclass { public: int *ptrarray; myclass() { ptrarray = new int[2]; *ptrarray[0] = 5; //here I want to set the value of ptrarray[0] to 5, not its adress *ptrarray[1] = 10;//here I want to set the value of ptrarray[1] to 10, not its adress …

Member Avatar for I<3CPP
0
112
Member Avatar for Marvin Danni

I am very new to assembly language and I have been instructed to make the brightness of a bright white LED to vary according to the brightness of the room that the LED is in, the brightness of the room will be detected by a light dependant resistor and the …

Member Avatar for thines01
0
107
Member Avatar for aiwasen

hi I'm a newbie in learning c++ and java..I was just thinking if what is the best operating system and compiler and why?

Member Avatar for Rashakil Fol
0
255
Member Avatar for senator22

I am relatively new to C++ programming but conversant with C# programming. I am currently working on connecting to Avaya Aura Contact Centre RTD tables. The issue I am having is that the compiled software download from Avaya website connects to the server and download data to the console screen, …

0
163
Member Avatar for l0ns008

This is a redone post as my last one contained all of my code and I wanted to simply for the post. Here is what I am doing: I show the categories that the user has placed a referral in on the page "my_categoreis.php". The user then can select a …

Member Avatar for l0ns008
0
193
Member Avatar for bangor_boy

Hi, There is a small blogging system where a user posts small blogs and they are time stamped, if this system was expanded into a distributed environment the main issue I can for see is with so many people using the system then posts will go out off order, the …

Member Avatar for bangor_boy
0
146
Member Avatar for jonnyboy12

Hello, i have been coding for quite a while now. Up until now i have not figured out weather or not to do this. [CODE] somthing * newsomthing; newsomthing->funtion(); [/CODE] or this [CODE] somthing newsomthing; newsomthing.function(); [/CODE] I know what a pointer is , but often i dont know weather …

Member Avatar for mrnutty
0
113
Member Avatar for bibiki

Hey there, I have taken earlier this tutorial on adobe's site for building an application for mobile devices. The tutorial provides a war file. After deploying the war file on my tomcat server, a few directories are built. Most importantly, WEB-INF folder. This folder contains some java files on one …

Member Avatar for bibiki
0
93
Member Avatar for Cyph0n

Hello everyone. Today I decided to write a little Caesar cipher script in Python. After tweaking the code and testing it, I shot up my browser and had a look at other snippets on the web. I was shocked at what I saw. All of the Python solutions I went …

Member Avatar for lrh9
0
246
Member Avatar for Cally_Law

Hi,I'm currently using vb8. i need help in coding. How can I increment a number in a textbox everytime when the form is loaded? I want that first time when the form gets loaded Company_id should appear in the textbox as NEW010101. Second time it should appear as NEW010102. Third …

Member Avatar for debasisdas
0
882
Member Avatar for muff1n

Hi all, I'm about to start on my Java course next semester. Since I've only coded in C/C++ til now, I'm a bit stumped. I'll give you an assignment from last year, maybe some of you guys can show me how this program would look like in Java. Here goes: …

Member Avatar for muff1n
0
179
Member Avatar for [Prototype]

Hello DaniWeb! How can I check the state of a socket to see if it's connected or not? [CODE] SOCKET sock = socket(AF_INET, SOCK_STREAM, 0); SOCKET client; //I know that this isn't binded to an address but nevermind that. client = accept(sock,NULL,NULL); if (client == [COLOR="Green"]HERE - Need to see …

Member Avatar for L7Sqr
0
130
Member Avatar for yousafc#

Hello,This is my code.I have in big problem anyone have a solution. I want view crystal Report by using studentid. [CODE] { CrystalReport1 objRpt; objRpt = new CrystalReport1(); string con = ("Data source =DATA;Initial Catalog = Schooldata;Integrated security = True"); SqlConnection objCon = new SqlConnection(con); // Here I am writing …

Member Avatar for yousafc#
0
146
Member Avatar for Derren

hiya, What i am trying to do is save text from a number of text boxes to a user named file then subsequently be able to reload the data back into the same text boxes at a later date. so far i have this which was provided for elsewhere on …

Member Avatar for codeorder
0
266
Member Avatar for Hendo

Okay, this may sound silly but I haven't done a console app in over two years. I have two quick questions: [LIST=1] [*]1 For a console app, does .NET need to be installed on a PC to run the app executable? [*]2 What is the line code to launch an …

Member Avatar for gusano79
0
201
Member Avatar for bd338

Hi! Basically I'm receiving user input, storing it in a buffer, and then (so far) testing the first of the three digit combination. However, when I CMP the first digit to the first number in the correct serial code it always tell me that I've entered the wrong serial code, …

Member Avatar for bd338
0
302
Member Avatar for Derren

hi, So heres the deal i am still learning VB (bet you guessed that), now what i am tryiing to do is create a form with a number of text boxes (say 25) where a user can enter their own data. Which they can then save as a file and …

Member Avatar for Netcode
0
89
Member Avatar for lukename

Hi. I have visual studio 2005 and i'm wondering does every header file has source (*.cpp) file with same name? For example windows.h and windows.cpp? If yes then where are all these source files? When using search on my computer i can find 3 times less cpp files than headers...

Member Avatar for venomxxl
0
108
Member Avatar for Prankmore

I'm trying to determine then print the country of origin of a product based on its bar-code. I have isolated that part of the bar-code and stored it as countryCode, now what i am trying to do is determine its country then store the country name as a string so …

Member Avatar for Prankmore
0
201
Member Avatar for nomin-ginger

i have a very long string like this: [ICODE]TGTGCAACGTATATTCCAACGAAAAACCTGGAGAAGAAAAGAATAAGTAAAATGAACTAGAGGCTGATGGCACAGTAAACACAAATGCCTGAAGTCAAAATACATTCTTTATAAGCCCAAAGCG[/ICODE] i want to convert it into array but i wanna split it by length of 5 array elements: [ICODE]array[0] = "TGTGC"; array[1] = "AACGT"; ..... array[n] = "AAGCG";[/ICODE] any idea? plz....... help thanks :)

Member Avatar for sathya88
0
316
Member Avatar for zaxahmed

I'm trying to draw the rhombus into each grid section of the 3x3 square grid. Both the codes are pasted. I've tried various methods but could not succeed. Any insight on this matter is greatly appreciated. Thank you. [B][U]3x3 square grid[/U][/B] [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class threebythree …

Member Avatar for NormR1
0
168
Member Avatar for Juriy

part of index page [CODE] <form id="form1" name="form1" method="get" action="show.php"> <select id="mark" name="mark"> <option value="">--</option> <option value="100">BMW</option> <option value="101">Audi</option> </select> <select id="series" name="series"> <option value="">--</option> <option value="1" class="100">1 series</option> <option value="3" class="100">3 series</option> <option value="5" class="100">5 series</option> <option value="6" class="100">6 series</option> <option value="7" class="100">7 series</option> <option value="11" class="101">A1</option> <option value="23" …

Member Avatar for Juriy
0
325
Member Avatar for mars001

hello people, I have got a problem. I have written a program to simulate round robin scheduling program using visual c++ , version 6.0. Now, I want to add some simple graphics in my code so that a graphical representation of RR scheduling can be made. But, I don't know …

0
135
Member Avatar for bluehangook629

Hey guys, Im trying to include an item called "Please select ..." in a combobox which is populated using a dataadapter. As you can see below, combobox items are inserted into the item list using a tableadapter. It is followed by a set of codes that inserts "Please select ..." …

Member Avatar for bluehangook629
0
151
Member Avatar for ajst

Hi DaniWeb, I'm new to delphi and was wondering if it is possible to embed forms inside one another. Example I have several forms working by it self and I want to move them forms onto a new blank form. Rather then copying and pasting the code is there a …

Member Avatar for ajst
0
138
Member Avatar for chris_j_haines

Hi, I have found this forum very useful so far so I was hoping someone could offer me some help again as I have run out of ideas. Basically here is my code: addcontact.php [CODE] </head> <body> <div id="container"> <div id="header"> <table width="980px"> <tr> <td align="left"><img src="images/lcaclogo.gif" width="100px" height="100px"></td> <td><h1>LCAC …

Member Avatar for ddymacek
0
190
Member Avatar for robpal

Hi there, I hope someone can tell me what I'm doing wrong here. I have a SelectCommand in my asp.net page (v4) that pulls a variable from the Profile to run a subquery to get the value to test within the main query. (Confused yet?) This works for 2 of …

Member Avatar for robpal
0
119
Member Avatar for riseguim

I would like to know if it is possible for someone to fill a form on my website, but instead of sending it to a email or database, simply print it? Because we can't handle credit cards here, and I want people to fill in the form, print it, and …

Member Avatar for riseguim
0
145
Member Avatar for tapandesai007

I have form where 4 buttons(Platinum, Diamond, Gold and Reset) are there, I have 3 Panel Control one for each of the first 3 buttons, what I want to do is that when I click on any one of the first three buttons the Panel for the respective buttons should …

Member Avatar for nick.crane
0
349
Member Avatar for skatamatic

I work for an instrumentation company as an in-house software developer. We are thinking of restructuring our database that we use to record data. I am wondering what would be more efficient. Basically theres an array of sensor values Starting at Data0 and ending with data appended with the sensor …

0
114
Member Avatar for tubby123

Hey, is there a way to replace a single characters by 2 characters in a string ???? This was asked to me at 1 of the interviews. I answered linked list, I mean, take each node as a character, so u can easily insert 2 nodes, if u want to …

Member Avatar for Narue
0
124
Member Avatar for cgull

Hello, As much as I try I can't totally understand how to use preg_match. I have downloaded an open source system from the internet that I want to use, but they use ergei in their code. When I change it to preg_match I get all kinds of errors. Can someone …

Member Avatar for cgull
0
148
Member Avatar for abhinavM

I want to create a new variable with each run of this while loop the syntax of loop is [CODE]while(rs.next() && i<=num) { String str(i)=rs.getString(1); }[/CODE] I want that with each run the value of i should be appended with str so that with each run a new string variable …

Member Avatar for Majestics
0
12K
Member Avatar for ChaseRLewis

My current project requires quite a bit of function pointer passing to guarantee the flexibility desired. Given how messy and annoying I find functions pointers to be I decided to create a wrapper class listed below. Works fine, however it would be nice if their was a method so I …

Member Avatar for Narue
0
101
Member Avatar for lainey_nix

I apologise if i have placed this query in the wrong forum - I'm new here. When i try to access the index or default pages of my website i get this error... [QUOTE] Server Error in '/' Application. -------------------------------------------------------------------------------- Could not load file or assembly 'FredCK.FCKeditorV2' or one of …

Member Avatar for stbuchok
0
408
Member Avatar for eslenik

Hi everybody, i am trying to get IPs from a switch with vbs through telnet. i am recording that IPs to excel sheet. the problem is when i try to read that IP data vbs copy or paste it as a string. so telnet can not recognize string as a …

Member Avatar for hkdani
0
123
Member Avatar for stbuchok

I've seen a lot of people having issues debugging JavaScript code. So here is how you can easily debug your JavaScript code using Visual Studio (I believe firebug has similar functionality). Also if someone has Visual Web Developer can you confirm that you can do it in that as well …

0
124
Member Avatar for Martin C++

Hello, Is there any infinty sign to assign to a variable ? I need my program to check if the value of one variable is smaller than the other, but i cant do it cause if i dont set a value to my variable at the beginning of the program …

Member Avatar for Fbody
0
4K
Member Avatar for Cap'nKirk

Hi, I am trying to build a Twiiter website widget using the Twitter API, that will display a list of recent tweets. I am stuck on one piece which is the display of the URLs in the tweet. I am using preg_replace to look through the text and find a …

Member Avatar for Cap'nKirk
0
302
Member Avatar for Jake.20

Need help in increasing the size of my array. i have this code but i don't know which of these code does not increase the size of my array even though i increment it. This is the declarations: [CODE] Dim movieArray(0) As String Dim ratingArray(0) As String Dim i As …

Member Avatar for G_Waddell
0
864
Member Avatar for JoshuaBurleson

So I've finally fixed up the functionality of an address book I've been writing (not on to utilizing a GUI yet of course though.)However to save or reclaim the data from the last use of the address book I, obviously, need to write and reclaim it from a .txt file, …

Member Avatar for JoshuaBurleson
0
252
Member Avatar for ialuvtimos

[CODE]# include <iostream> # include <string> using namespace std; int main () { string s1,s2; getline(cin,s1); for (int i=0;i<s1.length();i++) { if (s1[i]!='.' && s1[i]!=' ') { s2[i]=s2[i]+s1[i]; } s2=s2+' '; } }[/CODE] //string subscript out of range error why??

Member Avatar for Fbody
0
116
Member Avatar for DotNetKnight

Hi, We are currently facing a strange issue. We are having an error logging functionality that logs errors occurring to a database. A scenario occurs where there is an error occurring in the application, custom error page comes up. When looked in the database for error description error is not …

Member Avatar for migandhi
0
231
Member Avatar for Armanious

Hi guys, I'm trying to create a "pool" of data that once added to is saved on a public domain. For example, data is stored at "url.com/data.txt". data.txt: [CODE]18473,948263,384292,47239,[/CODE] Client 1 connects to some url (which I need help with, thinking some PHP) with data as arguments. Adds: 39458,359835 Client …

Member Avatar for JeffGrigg
0
153
Member Avatar for SWORDfreak1

*Feel free to read only parts of the post and reply concerning only specific algorithms* Hello there, I have recently started making a simple web browser game (Coded in VB) in order to make time go by. I have moderate development finished (details shortly) and need some help with my …

Member Avatar for SWORDfreak1
0
199
Member Avatar for Madawar

Why is this not working [CODE]//Character Manipulation #include <stdio.h> int main() { int x; //for loops int counter=0; //for input char character; char sentence[20]; printf("Press 1 to use getchar \n Press 2 to use gets \n Press 3 to use sscan \n "); scanf("%d",&x); switch(x) { case 1: printf("Enter something"); …

Member Avatar for plebbeh
0
1K
Member Avatar for YMCMb

Hello everyone, i have a gridview on my form, and i have some data which gets calculated once the user select a row, however the user does not need to see a specific column. Is there anyway that i dont display that certain column however be able to use the …

Member Avatar for YMCMb
0
74
Member Avatar for tapandesai007

I have added a panel control at the design time and I want to add some buttons in the panel at the runtime, the code for adding the buttons in working perfectly, but the problem is with the Panel control, when the Buttons are added at the run time, the …

Member Avatar for tapandesai007
0
218
Member Avatar for dips10

SELECT * INTO NewTable FROM existingdb.dbo.existingtable; I am executing this query but it is showing me the error as undeclared variable:Quanti (as quanti is my NewTable)

Member Avatar for Netcode
0
90

The End.