199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fantasma

Greetings, I'm having some trouble creating a trigger that, before I insert something in a table, it resets an existing record field to 0. Example I have in the table a field named "Name" and another named "Active". Each field has a diferent ID The last entry of a "Name" …

Member Avatar for fantasma
0
171
Member Avatar for Skrljutak

Hi people. I'd like to allow HTML code in my forum but I don't know how :) Would any of you explain to me how I could do it? Regards

Member Avatar for diafol
0
377
Member Avatar for SacredFootball

Hello everyone. I'm just about finished with my degree and am now taking a Data Structures class. So far, it doesn't make sense to me. I'm seeing code snippets of 100+ lines that I could solve in 10. Hopefully I begin the realize the power of Data Structures soon. Anyways, …

Member Avatar for Moschops
0
195
Member Avatar for riahc3

Hey This might sound like a dumb question but I simply dont know how to do it. Not only that but for some reason I do not know, my professor refuses to teach me how to use debugging and watch variables. He wants the "change, try, and test" method.... I …

Member Avatar for riahc3
0
903
Member Avatar for ksaroj

Hi, I have made simple database in MS access. I want the front end for that database which can be easy to use the database for 3rd person. Can anyone help me. Saroj

Member Avatar for al_aeena
0
83
Member Avatar for love_dude1984

Hi, I'm trying to build an windows application in C#, where i will be using Cache Application Block. I have downloaded the Microsoft's Enterprise Library (5.0), & also tried a sample too.. The sample works fine but there is a catch. I'm not willing to use a configuration file in …

0
118
Member Avatar for abelingaw

Regarding my earlier post. [URL="http://www.daniweb.com/forums/thread327097.html"]http://www.daniweb.com/forums/thread327097.html[/URL] I encounter an error saying [ICODE] Run-time error '462': The remote server machine does not exist or is unavailable [/ICODE] Haven't notice this error earlier. Code: [CODE] wrdApp.Documents.Open App.Path & "\Reports\Locatorslip.docx" wrdApp.WindowState = wdWindowStateMaximize wrdApp.Visible = True [/CODE] The code works fine. Error only appears …

Member Avatar for AndreRet
0
115
Member Avatar for bleedi

Hi, I was programming with POSIX threads and I was using semaphores. All of a sudden the program didn't work anymore, and I started searching for the problem. It turns out that my first semaphore command "sem_open()" causes the problem. It returns value "0", or "SEM_FAILED", and sets errno to …

Member Avatar for bleedi
0
147
Member Avatar for sam1

I am kind of new to wpf and I searched all over google and couldnt find specific answer to this, but if i have missed it sorry :). Anyway I want to extend the textbox control in wpf and use it in winforms. so basically i did inherit from TextBox …

Member Avatar for sam1
0
170
Member Avatar for VikkiC

Hello I’m trying to create a simple facility booking system using PHP/MYSQL for a leisure centre as part of my final year project. I’ve been looking online for the best way to do this and I can’t find anything of use. Does anyone have any idea what would be the …

Member Avatar for VikkiC
0
745
Member Avatar for felix001

Can anyone help ? Im looking to find a MySQL query using regular expressions to allow me to remove any paragraph html tags within block quote tags. An example is : [CODE]<blockquote> <p>TEXT</p> </blockquote>[/CODE] Should be : [CODE]<blockquote> TEXT </blockquote> [/CODE] Thanks,

Member Avatar for smantscheff
0
127
Member Avatar for shuipint

I create a form which use the check box to get the info from user, but don't know how to write it in php for send to my mail, did any one can help me? my 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> <meta http-equiv="Content-Type" …

Member Avatar for shuipint
0
173
Member Avatar for grandfso

Hi, I am a beginner, and would like to do something like: I have a mysql table with date column. I would like to select all the rows from table, and print them out in tables. One table per month. E.g. January: ... ... ... February: ... ... ... etc. …

Member Avatar for pritaeas
0
117
Member Avatar for mikeylala

I'm working on a project in vb.net 2010 that has 3 RichTextBoxes. Two of the RichTextBoxes can be loaded with text from text files. How do I take the multiple lines of text from each RichTextBox and combine them into the 3rd RichTextBox. For example, if 2 of the RichTextBoxes …

Member Avatar for bhagawatshinde
0
1K
Member Avatar for kunalch
Member Avatar for Gants
0
101
Member Avatar for Nemo_NIIT

Hi I want to generate sequence number in C# window application I have got one link on Google, but I it is not helpful. I want that on click to add button an order sequence number should generate and stored in SQL Database i have written this code but it …

Member Avatar for ashishkumar008
0
1K
Member Avatar for jonnafun

Hi All I've checked around all kinds of sites, but to be honest I'm literally just learning PHP and not a clue what people are saying. Basically all I want to do is make some fields required before the form is submitted. At the moment all it does is go …

Member Avatar for Gants
0
90
Member Avatar for rscubelek

Hey guys, I've been lurking around these forums for a few weeks now, and this website is by far the most helpful of any site I've visited as far as honing my newfound Python skills, and I figured it's time I jump in and ask some of the more specific …

Member Avatar for rscubelek
0
597
Member Avatar for SamPrat

Hi Folks, I have written a read function which reads values from serial port(LINUX) . It returns values as pointer to char . I am calling this function in another function and storing it again in a variable as pointer to char . I occasionally got stack over flow problem …

Member Avatar for SamPrat
0
180
Member Avatar for shahiduop

hi all i have my personal website and i have created an email account [email snipped] in it.now i want tht i check all my emails received on the above email address, through gamil, how can i setup my account to use gmail services for my own email address with …

Member Avatar for darrylsaladino
0
92
Member Avatar for bluehangook629

This is the code I have to validate control number that we use to keep track of our inventory. However, I dont know much about Access so I have written and tested this function in VB.Net on Visual Studio. Now, I need to convert my code so it work in …

Member Avatar for AndreRet
0
186
Member Avatar for pardeep3dec

Dear Experts, I am working on a TCP/IP project but my problem is that whenever my programme trying to reconnect again to server then server giving message port number is different. i.e. every time my programme is run its port no showing different in server so kindly guide how can …

Member Avatar for AndreRet
0
233
Member Avatar for Java-Newbie

Can anybody tell me why I keep getting this error? [CODE]Asig02_Attempt2.java:37: <identifier> expected public void sincronizarCanal(canal)[/CODE] Am I mixing a [I]class [/I]with a [I]method[/I]? This is just a small program that simulates a TV. I'm trying to pass a number (chanel) to a method that tells the user that they …

Member Avatar for javaAddict
0
6K
Member Avatar for afaque01

Ihave been working on database but Though iam able to create But Cannot Write in data base.. [CODE] Dim ADOXcatalog As New ADOX.Catalog Dim ADOXtable As New ADOX.Table Dim ADOXindex As New ADOX.Index On Error GoTo errhandler ADOXcatalog.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & "c:\info.mdb") On Error Resume Next ADOXcatalog.ActiveConnection = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" …

Member Avatar for afaque01
0
123
Member Avatar for afaque01

Hello! Is there Any way to Attach Files ... Like A button on form Which When Clicked open a dialog to select Word Files from computer then it Uploads to the Server or Attach it to Database so that It can be viewd after form fill up Is completed!...

Member Avatar for afaque01
0
170
Member Avatar for neosonic

Hi, I am using vb6 to manipulate my word 2003 template .dot and save it into .doc. My current method is: I am creating I word class, called W. then I use: W.activedocument.SaveAs "documentname.doc", 0, 0, "". 1, "", 0, 0, 0, 0, 0 It can be used perfectly for …

Member Avatar for AndreRet
0
2K
Member Avatar for emen24

Please see php script below. When I log in, the screen goes blank and on the same /login.php web page. If I enter a wrong password, it will tell me it is wrong, and I registered and activated the user/password successfully. It is just when I login in, it doesn't …

Member Avatar for emen24
0
115
Member Avatar for pseudorandom21

For some reason, and it's probably one of those accessibility things like tab ordering, when I hit the spacebar after selecting a button on my form, the spacebar clicks the button. This is NOT acceptable, and I have considered a work around of selecting an invisible panel or other "dummy" …

Member Avatar for pseudorandom21
0
73
Member Avatar for TheDocterd

Can anyone perhaps help me with my problem please? I want to apply security to my winform application but I am stuck.. This is the code I have that will run when the view job button is clicked and I it doesn't work [CODE] private void viewJobBtn_Click(object sender, EventArgs e) …

Member Avatar for TheDocterd
0
207
Member Avatar for jainendra.shah

hi frds, i have create a .txt file and write some data. i want to open on screen that .txt file for reading by a click a button. if you have the answer, so please help me. thanks in advance ....

Member Avatar for Amit Dhemar
0
194
Member Avatar for ptaylor965

I have a Crystal Report that shows images using a SQL Database with the image paths When viewing the images in a report everything is fine untill you get to a page in the report when the error pops up [B](Request could not be submitted for background processing)[/B]. The image …

Member Avatar for costaivo
0
185
Member Avatar for Nitin Daphale

In my Online Exam project, user creates a test, Test contains different different subjects, each and every subject having percent easy,percent medium,percent hard no of questions. Test also have total no of questions. All Subject's total no of questions must equal to Test's total no of questions. No worries if …

Member Avatar for Nitin Daphale
0
216
Member Avatar for exca

Hi all, I am trying to write a program that computes the areas of intersecting rectangles. The coordinates of the rectangles are given. A rectangle may intersect another one or just stand alone. My code is: [CODE]Rectangle class: #include "Rectangle.h" Rectangle::Rectangle(){ this->parent=this; this->area=0; this->x1=0; this->x2=0; this->y1=0; this->y2=0; this->visited=false; }[/CODE] [CODE]/* …

Member Avatar for exca
0
101
Member Avatar for Amuthaalbe

I want to implement gabor filter in java. I got gabor filter code in Matlab. i tried to convert it into java but it had some mistakes. pls check the code and fix the errors. i post both the matlab code (which i got) and java code which i had …

Member Avatar for Amuthaalbe
0
545
Member Avatar for abelingaw

i have to make a log in form that displays a msg if the user uses the username 'letmein' if not, a msg will also be printed. But the message to be printed aren't showing. Here's my code: [CODE] <html> <head> <?php if (isset($_POST['submit'])) { $username = $_POST['username']; if ($username …

Member Avatar for dietdew12z
0
100
Member Avatar for Pundia

Hi people, I'm trying to make a program that reads and counts words and their frequency. After a few days trying I just make the program read a text, counts the words and everything BUT just if there's no more than one ' ' space character at a time. And …

Member Avatar for Pundia
0
381
Member Avatar for jrhitokiri

I am trying to get Domain names/URLs from the title and description in ebay, but the text varies a lot. Note that the url/domain names are limited to *.com, *.net, *.info, etc. For instance, I'd have to parse through text such as: IPAD SCREEN LENS.COM 3 4 5 Letter LLLL …

Member Avatar for jrhitokiri
0
127
Member Avatar for Kadafiz

[CODE] class test{ function load($mailID,$message){ echo $mailID; echo $mesage; } function test1($arr,$message){ foreach($arr as $mailID){ $mailID = $mailID.","; $this ->load($mailID,$message); } } }[/CODE] this is my code ... bt this is nt correct.. actually i need is function test1 get mailadresses and message for the mail.. arr is a array. …

Member Avatar for Kadafiz
0
169
Member Avatar for jlivvers

Hi, in my project I need to allow the user (admin user) to have the ability to run custom queries on the database. Ive done this pretty simply whwer the user enters their query and the reults are set to a datagridview. It would also be great however to allow …

Member Avatar for sandeepparekh9
0
230
Member Avatar for yukikazemedia

I have this code which sorts any given number to ascending order, but I'm having difficulties figuring out how to sort the numbers given into a descending order. Code: [CODE] import javax.swing.*; import java.util.Arrays; public class sort7 { public static void main(int[]array) //public static void main(String[]args) { String str1=""; String …

Member Avatar for Eric Cute
0
325
Member Avatar for phpDave

Hi, I'm trying to display an image inside a php tag using a file path name I stored in mysql. So far not working. [CODE]<td><?php echo "<img src='images/$image'/>";?></td>[/CODE] $image is the path to mysql. I can echo the path name so I know it works there but I can't display …

Member Avatar for phpDave
0
112
Member Avatar for gunneronaspooky

Hey guys...Need some help with a program for class...here's the assignment If your program detects an error condition, you can make it raise an exception. Here is an example that gets input from the user and checks for the value 17. Assuming that 17 is not valid input for some …

Member Avatar for gunneronaspooky
0
178
Member Avatar for ThatGuy2244

I can't get my pointers in assembly to work, I'm using nasm and trying to use pointers in real mode with 16-bit registers. Here is my code: [CODE] mov di, Pointer mov ah, 0x0e mov al, [di] int 0x10 Pointer: db "W" [/CODE] This code should print out the character …

Member Avatar for ThatGuy2244
0
877
Member Avatar for fuston05

I normally use PHP. However I am interested in learning asp as well. My question is what is a good development environment to use for my personal private development at home? Is there a free environment I can use? I am a total stranger to asp, so please forgive my …

Member Avatar for fuston05
0
72
Member Avatar for EricIskhakov

Hi. I'm intrested in finding out if a client watched an entire video, and i was wondering if it is possible using JS or any other client-side language? and if not what would be the best approach? Thanks in advance, Eric

Member Avatar for Wraithmanilian
0
95
Member Avatar for lyrico

Hi to all again, Can anyone one help me with this? The scenario goes like this. I have this PHP script: [code] <?php $to = "email_address_here"; $subject = "SAMPLE AUTOMATIC MAIL"; $body = "Hi to Every one. Please help me with this ^^,"; if (mail($to, $subject, $body)) { echo("<p>Message successfully …

Member Avatar for lyrico
0
2K
Member Avatar for prosperr

1. Bob has n friends: a1,a2,...,an, Bob has also a list L which is a subgroup of {a1,...,an}x{a1,...,an} which specify which of the friends knows each other (i.e. the pair (ai,aj) belongs to L if and only if ai knows aj, ai knows aj if aj knows ai). Bob organize …

Member Avatar for mrnutty
0
124
Member Avatar for phpDave

Hi, I am trying to insert an image path name into mysql. I not sure how to insert the path only if the path name "image name" does not exist. Also, I get duplicate rows when uploading image path name, not sure why. Here is some code. Any suggestions would …

Member Avatar for phpDave
0
167
Member Avatar for lielee

Hello. Sorry if you find this not interesting. My project is to create a cash register for a cafe. It has the features like in the pic. It also has a record sales staff can see in datagrid view. The table can be filtered to find specific item. It also …

Member Avatar for lielee
0
165
Member Avatar for dalymiddleboro

I'm getting the following error when trying to write to a file: 1>Linking... 1>mit_lesson1.obj : error LNK2019: unresolved external symbol "int __cdecl do_stuff(int,int,int,int)" (?do_stuff@@YAHHHHH@Z) referenced in function _main 1>C:\Users\Michael\Documents\Visual Studio 2008\Projects\MIT\Debug\MIT.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Users\Michael\Documents\Visual Studio 2008\Projects\MIT\MIT\Debug\BuildLog.htm" 1>MIT - 2 error(s), …

Member Avatar for Fbody
0
149

The End.