199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for minitauros

Hello there, I would like to know if anyone knows a solution for excluding a group within a group in a regular expression. For example: /(name|(?:last[ ])name|(?:first[ ])name)/i I would only like the word "name" to be returned (this is just an example), but when I take match number 1 …

Member Avatar for minitauros
0
345
Member Avatar for natehome

I'm working on a music streaming website for iPads and iPhones the website is programmed mostly with php and html. The website uses the website layout iwebkit (http://snippetspace.com/portfolio/iwebkit/). My question is how do I make box appear at the bottom of the screen that is always on the screen even …

Member Avatar for natehome
0
345
Member Avatar for ahmed.m.alshammari

Write a C++ program that reads two numbers at a time representing the diameter and its frequency. Then calculate and print the mean diameter.Use a for loop.

Member Avatar for <M/>
0
97
Member Avatar for savedlema

First, I would thank all the Daniweb team for making this useful site available for us. I'm developing with mysql database. I always declared the details about the database I use at the top of every form. I mean, the database name,username,password and everything about it. We know this will …

Member Avatar for savedlema
0
183
Member Avatar for samir_ibrahim

Hi I have a dataset created programatically and I want to use this dataset to bind it to Microsoft ReportViewer. I tried the Microsoft ReportViewer with DataSet created at design time and it works well. I have searched a lot and this is the best thing I can find but …

Member Avatar for savedlema
0
1K
Member Avatar for savedlema

Hi all! I have a big problem that I would like some help. I use Mysql Workbenc 5.2CE. I changed the default port to 3301. The mysql server is up and running well (I access it from an app I'm making with VB.NET). The problem is I can't get mysqldump …

Member Avatar for savedlema
0
3K
Member Avatar for dinhunzvi

i am working on web application and i'm looking for a way to create and display reports. tried Crystal Reports but the reports are not being displayed. what other options do i have?

Member Avatar for dinhunzvi
0
135
Member Avatar for Sammys.Man

hi guys, sorry to pester you all again. im having a problem trying to show the hidden main form, any ideas? becuase only way i know hpw to do it (in C#) is to create a new form, but then that loses my data cheers

Member Avatar for TnTinMN
0
187
Member Avatar for shakayu

`** login form Hello Guys, am actually working on a website... I want a login on the top left corner...login..then when the user click on this ..a modal form would appear asking them for their user-name & password.. I have a already do the login form controller ?php function index() …

Member Avatar for shakayu
0
963
Member Avatar for Nandomo

I am making a battleship game with 2 boards, each is on a JFrame, but I do not know how to get them to close when a button is pressed in order to show the new one. package battleship; import java.awt.Color; import java.awt.GridLayout; import java.awt.Toolkit; import java.awt.event.WindowEvent; import javax.swing.JButton; import …

Member Avatar for Nandomo
0
267
Member Avatar for samuel terngu

pls someone should help me to format the date_made and date_expired on my form's datetimepickers to "dd/MM/yyyy" date format.See the code below: Dim listofdrugs As New List(Of Drug) For Each ListItem As ListViewItem In lvDrugs.Items 'change list item and subitems to drug Dim newdrug As New Drug With newdrug .drug_id …

Member Avatar for tinstaafl
0
1K
Member Avatar for beginnerpals

I wanted to give my admin the power to search professors by name and provide them with a corresponding checkbox for each search result returned to help them select entries that he wants to delete (like we have in phpmyadmin for example). I'm posting the prof_name from a form that …

Member Avatar for beginnerpals
0
254
Member Avatar for overwraith

I thought it would be really cool if JOptionPane could be extended to accept an array of strings that represent messages, and have the method return an array of strings that represent user answers to the messages which are entered into the dialog box. This would make getting GUI input …

Member Avatar for overwraith
0
2K
Member Avatar for fheppell

I'm trying to find the errors in this sql statement INSERT INTO images(user, server, img-name, download, download-url, image-loc) VALUES(test@test.com, 3, Penguins.jpg, no, GaNfT, 69Z8PwE0uJLfRNDijPenguins.jpg) I also have an auto increment column but as I understand it you shoudln't supply a value It comes out with this error You have an …

Member Avatar for fheppell
0
271
Member Avatar for fheppell

I've written this code that takes two variables via POST. Some file and a checkbox to say whether the image can be downloaded. I then have this processing code to upload multiple files: <?php require_once('Connections/koding1.php'); if(isset($_FILES['file']['tmp_name'])) { // Number of uploaded files $num_files = count($_FILES['file']['tmp_name']); /** loop through the array …

Member Avatar for fheppell
0
195
Member Avatar for yuvjeeth

Hi Guys, I would like to know of any way avaliable to Import / Convert Vb6 Projects to Vb10 Project. It would be very helpful to me because it is a large program which has too much of coding which I cannot redo in the Vb10. Any post would be …

Member Avatar for Reverend Jim
0
383
Member Avatar for MasterHacker110

I am kinda bord and dont know what to write. I have lerned the basics of strings, references, pointers, file I/O, classes, enums (simple error functions). Also some basic exceptions. And ofcourse all the other basics of chars, ints... So what are some cool "mini" project that i couldd work …

Member Avatar for MasterHacker110
0
158
Member Avatar for MasterHacker110

I have this code: #include <stdio.h> int create_logfile(char *name, char *field, char *joindate) { FILE *ofile; ofile = fopen("test.txt", "a+"); if(ofile == NULL) return 1; fprintf(ofile, "%s\t%s\t[%s]\n", name, field, joindate); fclose(ofile); return 0; } int main() { char name[100], field[100], joindate[100]; printf("Name: "); fgets(name, sizeof(name), stdin); printf("Field: "); fgets(field, sizeof(field), …

Member Avatar for MasterHacker110
0
219
Member Avatar for MasterHacker110

I am getting an error when i try to compile this code int StartProgram(string sProgramName){ ShellExecute(NULL, NULL, sProgramName, NULL, NULL, SW_SHOW); }

Member Avatar for MasterHacker110
0
4K
Member Avatar for MasterHacker110

I am trying to write a basic link list, so that I can understand how to implement it in C++. The tutorial I read was extremely advanced (giving more code than needed to understand and not explaining really how). So i tried to write this simple linked list: #include <iostream> …

Member Avatar for MasterHacker110
0
189
Member Avatar for MasterHacker110

I am trying to do something like this: public Boolean CheckLogin(String accNumber, String pin) { String checkAccNumber; String checkPin; String line; String[] splitedLine; StreamReader sr = new StreamReader(FILE); while (line = sr.ReadLine()) { splitedLine = line.Split(' '); checkAccNumber = splitedLine[0]; checkPin = splitedLine[1]; if ((checkAccNumber == accNumber) && (checkPin == …

Member Avatar for MasterHacker110
0
342
Member Avatar for pixma

Hi there! What I am used to declaring database connection is that in every form I type the codes for it which is a tiring way. Now, I want to use module instead but I really don't know how. And also, how will I call the connection to every forms …

Member Avatar for savedlema
0
2K
Member Avatar for sharmeen.batool

Task 1 This assignment will consist of writing a couple of small programs that involve practice writing Filename: Seconds.java In a class called Seconds: 1. Write a method called toSeconds that takes in three integer parameters (representing hours, minutes, and seconds) and returns the number of seconds since the last …

Member Avatar for JamesCherrill
0
136
Member Avatar for edensigauke

I know apache exists, and the WAMPP, but i would like to know the handler settings for PHP on Windows 8 IIS, it would really be helpful. I was thinking it might be the same as with windows 7, but i am not getting the mapping parts.

Member Avatar for edensigauke
0
254
Member Avatar for Kirielson

Hello everyone, I'm trying to implement qsort on a struct with the double as a pivot: typedef struct{ char sequence[9]; int occurance; double prob; }tuple; ...... int compare (const void *x, const void *y){ if (x < y) return -1; if (x > y) return 1; else return 0; } …

Member Avatar for deceptikon
0
703
Member Avatar for Sammys.Man

hi guys, i have a piece of code i wrote in VB (login system) and it works great, but i want to have the same code in C# but i can't seem to get it to convert, does anyone know how to do this? many thnaks

Member Avatar for Sammys.Man
0
148
Member Avatar for ringo_tech

Hi there, I have a database which contains the paths of different files, what I want to do is to store the paths in an array to create an array of paths then download these files with one click. How to do that? please help

Member Avatar for pritaeas
0
124
Member Avatar for daniel36

I am working on a cms type project.In this project when i uses get variable to fetch data from database and display.The layout of website shifted to left.and i am unable to solve this problem.please help me.

Member Avatar for daniel36
0
114
Member Avatar for hassan12345

hi friends i have made 1 application in c#,,,,,,,,,,,,,,,it has lot of loop so when it are doing process in loop my window application form hang and dumb so i cant access any button of form ???????????????????????? how can i solve it ???????????????????????????????????? Thanks in Advance

Member Avatar for sumoncse05
0
1K
Member Avatar for <M/>

How do I create a pop up effect that appears when you click on a link? I am looking at some web tutorials and I can't find a tutorial where I can create a link that if you select it a pop up shows up but it keeps you on …

Member Avatar for <M/>
0
165
Member Avatar for A Tripolation

For my Optics course, we need to write a program that will take a certain input, perform a matrix computation, and output a system matrix. The program also needs to check for nonsense input and be able to "be adjusted" for any amount of matrix elements. I took a course …

Member Avatar for A Tripolation
0
252
Member Avatar for Nandomo

Is there any way I can place a video in a JFrame/JPanel? Can someone point me to a tutorial, I can't find anything useful through Google.

Member Avatar for Ezzaral
0
196
Member Avatar for Thirumuruganp

I want to create xml file using asp.net c#.xml file have multiple paragraph. I upload document it split into multiple paragraphs. And then fetch into aspx page.

Member Avatar for Thirumuruganp
0
178
Member Avatar for ehpratah

Hi to all just wanna ask how to achieve something like on show all data if a certain field on the table is equal to **2**. basically what im trying to make is a search form by the way the searching part is working it just that its showing all …

Member Avatar for ehpratah
0
170
Member Avatar for venky019

Hi, I have to open and read multiple files which are in same folders. I can search and collect the whole size of those files. But the problem is with when I'm copying the files to a buffer. How can I read the multiple files? I'm using this example for …

Member Avatar for venky019
0
449
Member Avatar for ScarWars9

Hello, I have been working on a time clock application, and I'm trying to be able to select an employee from the DataGridView and populate their information into text boxes. I have done some research and what I have found works . . . sometimes. So sometimes when I click …

Member Avatar for ScarWars9
0
2K
Member Avatar for TMacFarlane

This is a very complicated problem. I have an existing web page with multiple drop-down fields-- now I want to add a keyword search text field. I have managed to create a page with the text input only, and that works fine. The trouble comes when I try to add …

Member Avatar for pritaeas
0
370
Member Avatar for preetham.saroja

can anyone,plz send m the code for retreiving & updating images onto the sql-server using vb.net...ASAP... regards, preetham......

Member Avatar for dakarai.mlambo.7
0
564
Member Avatar for maurices5000

I keep getting an error "not all code paths return a value." I've tried placing the return statement in several places to resolve the issue. Obviously I don't understand how to resolve this seemingly simple and common problem. Also I'm using a using statement for the datareader and a try …

Member Avatar for zachattack05
0
361
Member Avatar for ACRDepos

Hello everyone, If you haven't seen my form code so far here it is: <?php $host = "xxxxxx"; $username = "xxxxxxx"; $password = "xxxxxxxx"; $database ="xxxxxxxx"; $conn = mysql_connect ($host, $username, $password) or die ("could not connect"); $db = mysql_select_db($database, $conn) or die ("could not select DB"); $id=mysql_real_escape_string($_POST['id']); //This value …

Member Avatar for ACRDepos
0
142
Member Avatar for Suzie999

Hi. How can I properly, and explicitly destroy std vector? Here is how it is created. std::vector<std::wstring> vData = StringSplit(sData,L',');// StringSplit returns a vector of wstring Shortly after using and converting the contents of the container, I no longer need it, or want it hanging around in memory. I don't …

Member Avatar for Suzie999
0
322
Member Avatar for coolbeanbob

Hi Everyone, I am trying to get the program below to work correctly. The line below is where I'm having trouble. (line 33 in PrefixCalc.java) calc = new ExpressionTree(new Scanner(console.nextLine())); When I run the program and enter "4 + 8", the scanner only picks up "4". Apparently this program was …

Member Avatar for deceptikon
0
343
Member Avatar for l.worboyz

I need help reducing my JavaScript code down to between 4 - 7 lines of code. The idea of this program is to include the number 1-9 in a 3x3 table. I have included both my JavaScript code and the HTML code that creates the table. The javascript code that …

Member Avatar for JorgeM
0
2K
Member Avatar for silvercats
Member Avatar for ZeroZen

Hey folks I've finally figured out how in WPF to template all my buttons so they all behave they way I want. Basically, I want all my buttons, when clicked, to drop down and to the right a few pixels then pop back up. The problem is, I can't set …

Member Avatar for ZeroZen
0
493
Member Avatar for samish

Pls can someone help me i want to package from VB.net 2008 but when i reached Add project Output is empty . How can i fixed that error. Thanks to All

Member Avatar for TnTinMN
0
580
Member Avatar for chdboy

This is my code : import java.awt.Button; import java.awt.Component; import java.awt.Container; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.*; import javax.swing.AbstractButton; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.SpringLayout; public class SpringSample extends Frame implements ActionListener { private static final long serialVersionUID = 1L; SpringSample() { …

Member Avatar for chdboy
0
2K
Member Avatar for Suzie999

I'm having a bit of a problem with how to code something. Here is how it is in my head. I want a function which is not part of a class to access members of that class, so I want to make the class global. I have done this with …

Member Avatar for Suzie999
0
475
Member Avatar for funkey100

Hey guys! I am working on a school project where I choose "The Evolution of Technology" as my topic. It'll be from making stone tools and fire to the modern information age. I choose a videogame to represent my research and outcome and I'll use Java. I already knew a …

Member Avatar for funkey100
0
300
Member Avatar for l.worboyz

I am trying to create a JavaScript program that displays a different face of the dice depending on whether the user has entered a number between 1 and 6. I am using this in conjunction with HTML which is supplied to me in a learning interface online. The different faces …

Member Avatar for JorgeM
0
352

The End.