199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mike.mcwhinney.3

Hello, I have been struggling a little bit with an issue in a relational database that supports queries. Originally I was going to use an OleDB data adapter and connect to an Microsoft Access database (created with Access 2000). The problem is that when I use a connection string like: …

Member Avatar for deceptikon
0
148
Member Avatar for ganesh641

One of my server has $_SERVER['HTTP_CONNECTION'] is set to close need to set it to keep-alive in my phpinfo() any idea where to change that?

Member Avatar for ganesh641
0
451
Member Avatar for divyakrishnan

Hi.. I used the following code to download a file from fedora 14 FTP configured(VSFTP) to local machine(Fedora 14). The same code worked fine in windows machine. In fedora machine it listing all the files,but not downloading the files.Showing the error like following "There was a problem". <?php $countfiles = …

Member Avatar for pritaeas
0
204
Member Avatar for cucolino

Hello. I wonder if anyone can tell me something about calling the external dll file from delphi. I have a main form, which has the procedures locating the dll file, and then I have about 30 other forms, in which I use these commands. Now my question is, is it …

Member Avatar for pritaeas
0
294
Member Avatar for ComputerFirstAde

Hi Guys, i am currently creating a database in c#, this i can do, the problem i am having is trying to network it to my wifes pc, after i build (release version) i transfer to my wifes pc, but it doesnt work, says that the database is read-only? and …

Member Avatar for ComputerFirstAde
0
168
Member Avatar for romz

Hi, I'm new in VB.NET and I'm having trouble with creating a **public sqlconnection** in a VB Module. I have declared **conn** as public sqlconnection but when I use it to the other forms its value is equal to "**nothing**". I hope you can enlighten me here. thanks in advance. …

Member Avatar for romz
0
717
Member Avatar for jonsan32

Is there any way to get this to work in Internet Explorer? It shows/hides multiple rows in every other browser, but will only show one class's row in IE. Any help would be great. Here's the code. Thanks! <style type="text/css"> li.merk { list-style:none; display: block; width: 925px; padding:8px; margin-top:-20px; } …

Member Avatar for Airshow
0
722
Member Avatar for Chin6043

I'm currently doing a project to display data. And I'm new in vb.net. I want to use combo box to display two columns data from data grid view in one time. But I get an error while run the program. Can anyone help me? Is it possible to display two …

Member Avatar for Reverend Jim
0
195
Member Avatar for ranvijay005

Hello guys, i m new to this community i m working on a library project i have been told to provide the facility to the users that they can import and export the database again. EXactly, the case is that when the pc gets corrupt again the software be installed …

Member Avatar for ranvijay005
0
106
Member Avatar for Poody

Hi. I used this code, to create a label while the program was running when I pressed the button int i=0; private void NakupRyby_Click(object sender, EventArgs e) { Ryby[i] = new System.Windows.Forms.Label(); Ryby[i].Text = "<°])))>("; Ryby[i].Size = new System.Drawing.Size(38, 13); Ryby[i].Location = new System.Drawing.Point((10 * i) + 100, (10 * …

Member Avatar for samsylvestertty
0
169
Member Avatar for tingwong

Hi everyone I have a final exam for my Java class tomorrow and wondering if anyone could tell me if my answers are right? The questions are True/False. Thank you all! 1. True/False — An interface may only contain method headers. 2. True/False — An interface may not contain instance …

Member Avatar for stultuske
0
301
Member Avatar for sethwcaton

I'm using the exact code snippet (Step 1 of the Simple Version) from this page hosted by the developers of BreezingForms for Joomla!, modified only to have the correct table and field names, and the name of the select list in the form: http://crosstec.de/media/kunena/attachments/59203/BreezingFormsscriptdev.txt All I want to do in …

Member Avatar for pritaeas
0
589
Member Avatar for ssh9411

I have an anagram program that if you type in a word's characters in any order, the dictionary file will be able to export it. However, my assignment is to build words that are shorter than the inputted search area in a one-to-one letter correspondance. An example of this would …

Member Avatar for Lucaci Andrew
0
160
Member Avatar for honhito.troy

Why do I get the following error? and How to fix? Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in/home/gaogier/public_html/pages/monsters.php on line 217 If i add the or die part, I get this message. You have an error in your SQL syntax; check the manual that corresponds …

Member Avatar for pritaeas
0
123
Member Avatar for coder91

I have a button that when clicked produces a PDF report. However I have validation on the page so that if the required fields are left empty when the button is clicked a validation summary appears. This doesn't work though. When the buttons clicked if fields are left empty it …

Member Avatar for coder91
0
108
Member Avatar for richjohn.bulante

i have a problem on how to code for automatic generate an employee id whenever i registered an account in my system. i used asp.net as my front end and Sql Server Database 2005 as my back end.. thnx a lot!

Member Avatar for sandeepmittal11
0
3K
Member Avatar for angel06

Hey guys does anyone here knows what is the code for inserting the current day in a form? I'm creating an Employee Monitoring System. I have here a part of the codes of my program Private Sub Command1_Click() If Text1.Text = "2036251" Then Adodc1.RecordSource = "select * from Table4 where …

Member Avatar for vonnoy
0
148
Member Avatar for xterradaniel

I was given a programming exercise which calls to: "Write a program to create a file named Exercise09_19.txt if it does not exist. Write 100 integers created randomly into the file using text I/O. Integers are separated by spaces in the file. Read the date back from the file and …

Member Avatar for nate.nelson.566
0
3K
Member Avatar for bymak87

I am supposed to create a file that will generate 100 random numbers and then sort them. I am stuck on the sorting. I think it would be a really simple solution but i cant seem to figure it out. I have tried the arrays utility and creating a method …

Member Avatar for nate.nelson.566
0
1K
Member Avatar for riahc3

Hi This is related to 3 threads: http://www.daniweb.com/software-development/java/threads/438729/recursive-ftp-listingmakingcreatingetc-access http://www.daniweb.com/software-development/java/threads/439941/recursive-ftp-listingmakingcreatingetc-access...-part-2 http://www.daniweb.com/software-development/java/threads/442142/recursive-ftp-listingmakingcreatingetc-access...-part-3 At first, I had NO clue where to even start. Over a couple of weeks, Ive slowly but surely started to make the process correctly but Im stumpped so (for the third time) ive thought of rewriting everything from sratch. …

Member Avatar for riahc3
0
255
Member Avatar for foxwizzy

This is "part" of my code Imports System Imports System.IO Imports System.Text Public Class Form2 Public fo1 As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim path As String = Directory.GetCurrentDirectory() & "\test.txt" If File.Exists(path) Then My.Computer.FileSystem.WriteAllText(path, fo1, True) Else Dim fs As FileStream …

Member Avatar for foxwizzy
0
162
Member Avatar for dancks

My code technically works, as it registers the user, but it won't keep the user logged in. (yes, once a registration is successful, they should be logged into their new account). It should go right to the index page on success and have the user logged in. On failure it …

Member Avatar for Zagga
0
2K
Member Avatar for nezar
Member Avatar for ImZick

i have a listview in a form that contains a name like "Aileen-EB" , "FEMA-EB" , "CARMEN-EB7" , "TONETTE-A" something like that I need to get them and put it on a Dim AccountName as String I use if statement but i want my code to be like this For …

Member Avatar for ImZick
0
200
Member Avatar for woooee

The problem is explained by the comments in the code. It is a fundamental question about the method call...every time I try text_box_name.tk_textBackspace() I get the TclError message. That's why I asked the question without the code... # When user enters a search word in the +search_box' text widget and …

Member Avatar for woooee
0
287
Member Avatar for gbenro.selere

Hello People, I am trying to create a java program that inputs an infix expression, then gives the output in postfix and prefix. So far the code compiled without errors but the answers for the postfix and prefix are not coming out correctly. Also the outputs come out wrong when …

Member Avatar for Taywin
0
251
Member Avatar for daniel.conlinjr.1

add user.php <?php include '../_class/_class.php'; $obj = new modernCMS(); //Setup connection vars $obj->host = 'localhost'; $obj->username = 'root'; $obj->password = ''; $obj->db = 'cms'; //connect to db $obj->connect(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="css/main.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DCJR …

Member Avatar for daniel.conlinjr.1
0
522
Member Avatar for VIPER5646

Hi all I have the folowing to calculate the Number of weeks between two dates. The OpenDate= Nov-1-12 and closingDate= Nov-29-12. When Executing the the NumberOfWeeks=3 If I go to the calander 4 weeks why is the NumberOfWeeks=3 NumberOfWeeks = DateDiff(DateInterval.Weekday, OpenDate, ClosingDate) Thanks In Advance.

Member Avatar for TnTinMN
0
147
Member Avatar for AndrewEPage

Just a thought that woke me up this morning. A means of providing 'property' type constructs in C++ classes similar to python properties. # Header # #ifndef _HXX_CPROP #define _HXX_CPROP /** * Helper class to connect a 'property' in a * c++ class to getter/setter methods * */ template<class T, …

Member Avatar for mrnutty
0
3K
Member Avatar for pratham3090
Member Avatar for javanoob101

Hello everyone! It has been quite sometime since I was on Daniweb, and a lot has changed. Anyway, I have decided to "fix" my old Java school ISU and make it better. (I am not in school so don't worry, I'm not cheating.) Here is my problem: I want a …

Member Avatar for javanoob101
0
179
Member Avatar for Stuugie

Hi all, I have a csv that has over 800,000 records that gets loaded into my db via SSIS package routines. However, there are about 190 records that I do not want to be loaded into the the database. The csv comes from an external source and is unaltered at …

Member Avatar for BitBlt
0
141
Member Avatar for LaughingOtter

Hello! I've just nearly finished a mobile app for my company, and there are quite a number of Activities in it. I've also been advised (here, in fact!) to check out the possibility of using Fragments for the various screens. Fragments in this case sounds like the way it should …

Member Avatar for LaughingOtter
0
78
Member Avatar for clubberlangMayo

need to design a code for my first assignment in dev c++ for olmypic judging, 5 judges, 10 competitors, need to score each competitor between 0.0 and 5.0. i cant use the highest score for each competitor or the lowest and must average the remaining results. any help? i have …

Member Avatar for clubberlangMayo
0
1K
Member Avatar for karlcunanan

Good day Geniuses! I am a beginner and would like to ask for your assistance regarding my Javascript not working ONLY in IE :( I dont know where to start debugging since I only use Chrome and Firefox for testing. Hope someone can help me on this. Javascript <script type='text/javascript'> …

Member Avatar for gon1387
0
1K
Member Avatar for GraficRegret

Here is my code: <html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>inner_pages</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> .divTagContent { background-color: #F9FBFA; height: 367px; width: 691px; overflow: auto; } .divScrollLinks { background-color: #F9FBFA; height: 370px; width: 205px; overflow: auto; } </style> <script type="text/javascript"> function MM_swapImgRestore() …

Member Avatar for GraficRegret
0
145
Member Avatar for sofien.fkih

I did a code which can run cmd of windows from java, and also I stored the result of that cmd in a string variable, my question is is it possible to get a substring from that variable from where I had stored the output of the cmd. I want …

Member Avatar for sofien.fkih
0
229
Member Avatar for Vish0203

I wrote a program, in which my code is checking the word entered by user and the word in a file. If the words are not same, the file is deleted. i closed the file using **fclose(fp)**, (where fp is file pointer) and to delete the file i used **system("del …

Member Avatar for Vish0203
0
87
Member Avatar for aVar++

Hello, i have my naughts and crosses code as pasted below. Can someone help me with code to recognise if the game has come to a draw and recognising any invalid moves. Row1 = [" "," "," "] Row2 = [" "," "," "] Row3 = [" "," "," "] …

Member Avatar for slate
0
179
Member Avatar for meowmonkey

What would be the best way (or any way) to print out a pattern, that may cut off at any point dependant on the x & y length? for example, if i wanted a pattern 4 up (y = 4) and 14 across (x = 14) I would need it …

Member Avatar for NP-complete
0
242
Member Avatar for HunainHafeez

i have tblScrutiny , COLUMNS: teamid name userid now confusion is that every team has many members, so how how would i mention them, like e.g i mention 1 member in teamid =1 , then in next row the teamid changes (identity=ON) , so how to mention 2nd member ?

Member Avatar for HunainHafeez
0
149
Member Avatar for salford6129

Okay, so my hurdle here is to Serialize a list that has a bunch of objects in them, write them to a file, and be able to open the file to load the list of objects back into a listbox. I've read the MSDN articles and browsed some Forums, but …

Member Avatar for salford6129
0
200
Member Avatar for Alexkid

Hi there, I have an array of unsigned chars SOURCE, i need to combine into DESTINATION, i want to turn: SOURCE[0] = 3 SOURCE[1] = 9 SOURCE[2] = ' ' SOURCE[3] = 0 SOURCE[4] = 4 SOURCE[5] = ' ' SOURCE[6] = 7 SOURCE[7] = d into DESTINATION[0] = 39 …

Member Avatar for deceptikon
0
4K
Member Avatar for hotelsinger

Hi Folks, I'm brand spankin' new to developing but was assigned a web app to develop in ASP.NET 4 with C#. I am using JavaScript for validation. The problem I'm having is that the date validation alert box that pops up displays a lot of unneccesary time and timezone information, …

Member Avatar for hotelsinger
0
711
Member Avatar for tomz6

I'm using Visual C++ express 2010. Whats wrong with this code: (A video tutorial uses this code and works fine on theirs) #include <iostream> using namespace std; int main(){ string myString = "hello"; cout << myString << endl; return 0; } ??? Says: error C2679: binary '<<' : no operator …

Member Avatar for mike_2000_17
0
3K
Member Avatar for gogs85

How to show some content from other sites on my web sites, and when other site change content then change also in my website? Please help!

Member Avatar for diafol
0
160
Member Avatar for shahai.ali

hi i have a table in which m storing some data like in the following: table => uploads string_file and file_name and m trying to select the string_file. the data for this column is like in the following; ab323892,416a75f4, e732ced3 and blah blah. and following is the query that m …

Member Avatar for diafol
0
194
Member Avatar for gurlzlubme

I'm using phpbb forum and I would like to know how I can allow my members to incorporate a blog rss feed? Thank you in advance!

Member Avatar for broj1
0
250
Member Avatar for Mike Bishop

I have a datagrid and when populated I would like to loop through the rows and add the rows to a email below is how I setup the datagrids 'Sets up the DGVInvItems DGV Public Sub setupRMAItems() DGVRMAItems.DataSource = GetRMAItems() DGVRMAItems.Columns("DetailID").Visible = False DGVRMAItems.Columns("PCode").Width = 150 DGVRMAItems.Columns("PDescription").HeaderText = "Descripton" DGVRMAItems.Columns("PDescription").Width …

Member Avatar for tinstaafl
0
245
Member Avatar for prahesh

#include<iostream> #include<string> #include<vector> #include<set> #include<map> using namespace std; struct PoiDetails { int x; std::string s; }; int main() { struct PoiDetails oBj; std::map<std::string, PoiDetails> vName; oBj.x = 1; oBj.s = "str1"; vName["Jhon"] = oBj; oBj.x = 2; oBj.s = "str2"; vName["Ben F"] = oBj; oBj.x = 3; oBj.s = "str3"; …

Member Avatar for NathanOliver
0
197

The End.