199,126 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for baker4

Hi, I am fairly new to vb.net and seem to be having some probelms doing an SQL statement. I am selecting data from more than one table from my Access database. A surname held on a database is typed and it is supposed to display results, related on the MemberID. …

Member Avatar for Jx_Man
0
118
Member Avatar for Black Magic

Hello, I was wondering if you could change the program icon (it's usually a picture of c:\), and without making a gui progra, just a normal one if you get me? Like you can change the title by; system("title This Is Your Title"); Help a.s.a.p please :). ~ Black Magic

Member Avatar for Black Magic
0
101
Member Avatar for Time Indicator

Hi, I have a question regarding my vb.net code. I have a button called 'Add New Item', when the user clicks on that button, the text fields should be clear. I tried this code 'txtAddNewItem.clear() and this code too 'txtAddNewItem.Text = "" ' , but I am getting an error, …

Member Avatar for Jx_Man
0
163
Member Avatar for jaydude23

[code=php] <?php if (isset ($_POST['chk8'])) { $req1 = "Service Protection Plan (SPP)\n"; } else { $req1 = "None\n"; } if (isset ($_POST['chk9'])) { $req2 = "Three Product Welcome Kit (Scientific Atlanta)\n"; } else { $req2 = "None\n"; } if (isset ($_POST['chk10'])) { $req3 = "Three Product Welcome Kit (Motorola)\n"; } …

Member Avatar for ultra vires
0
156
Member Avatar for BluePaper

Seeing as I like being able to have as much control over the things I make as possible it means I will rarely use the inbuilt ASP.net controls (i.e. the login system provided or the inbuilt verification) I will however use the <asp:****> controls in order for my applications to …

0
88
Member Avatar for Taker

[code] #include <stdio.h> struct places { char places1[100]; char places[10][10]; int distances[10][10]; }; main() { int menu; char userinput1[10]; char userinput2[10]; char userinput3[10]; int cost; int other; int a; int b; int c; int distances; char places[50]; struct places names[10]; FILE *fp; /*creates a file pointed named fp*/ /* reading …

Member Avatar for Taker
0
233
Member Avatar for Lensva

I'm trying to make so it would check if letter i and i+1 are alike. If so it'd drop "denied" else "accepted". i dont understand what I did wrong though: [code=c++] #include <iostream> using namespace std; int main() { char pass[5]; bool correct=false; cout<< "pass: "; cin>> pass; for (int …

Member Avatar for Lensva
0
94
Member Avatar for CodeBoy101

Hey wassup? I need to know how to detect arrow keysand the escape key, and any help would be greatly appreciated, thanks!

Member Avatar for CodeBoy101
0
352
Member Avatar for sonia sardana

Private Sub Command1_Click() Dim a, b As Integer a = 10 b = 20 sum1(a,b) End Sub Private Sub sum1(a, b) Dim c As Integer c = a + b Print c End Sub i have called the procedure bu simply the procedure name & arguments within the parentheses as …

Member Avatar for choudhuryshouvi
0
96
Member Avatar for mansi sharma

--Que-4)Create a Query to pull all emails that contains --characters +,^,*,&,! [code=sql]create table mail3(email varchar(50)) insert into mail3 values('mansi.sharma@yahoo.co.in') insert into mail3 values('mansi.sharma+yahoo.co.in') insert into mail3 values('mansi.sharma^yahoo.co.in') insert into mail3 values('mansi.sharma*yahoo.co.in') insert into mail3 values('mansi.sharma&yahoo.co.in') insert into mail3 values('mansi.sharma!yahoo.co.in') insert into mail3 values('mansi&sharma!yahoo.co.in') select * from mail3[/code] [icode]select * from …

Member Avatar for mansi sharma
0
109
Member Avatar for n3XusSLO

hello! i'm doing some memory altering but i've come to an standstill. here is my problem: (ill try to write it as an example somwhow..) i have an int (lets say int x). this int has an value of an memory address but in decimal not in hex value. now …

Member Avatar for n3XusSLO
0
308
Member Avatar for spuddy1515

These is my code and i need to change it so that the second out put replaces the first and so on. [code]#include <iostream> #include <stdlib.h> using namespace std; int main() { int a = 0; int h; int m; int s; mistake: cout << "What is the current hour?\n"; …

Member Avatar for spuddy1515
0
118
Member Avatar for markhammill

Hi, I'm trying to insert a php page into my webpage. I succeeded inserting plaincart [shop.php](http://www.michton.com/shop.php) but now I have come to upgrade to zencart I can’t seem to do it. I have attempted it using an inline frame [shoptest.php](http://www.michton.com/shoptest.php) it worked in firefox but not IE. I haven't bothered …

Member Avatar for markhammill
0
274
Member Avatar for geetasks

Hello, I had a login page developed in asp(not .net), in which if user login details are OK, then usercd and other details are stored in session. Now, I had developed one page in .net (aspx.cs) in which I want to access usercd defined in session variable(on asp page). How …

Member Avatar for DayaKumar
0
109
Member Avatar for sandeep_2482

I tried this if i select abc i should get rrr or if i click wer i should get sky in two list boxes please help me out [code=html]<%@ page import="java.sql.*" %> <html> <script > function fun() { f1.Server.length=9; f1.Server[0].value='abc'; f1.Server[0].innerText='abc'; f1.Server[1].value='wer'; f1.Server[1].innerText='wer'; } function myCodebaseList() { if(f1.Server.value=="abc") { f1.Codebase.disabled=false; …

Member Avatar for panther786
0
89
Member Avatar for dks1383

Hi I need some information about working with memory by vb6: 1-How can I directly read a byte with special address in memery? 2-How can I find the start address of an exe file (that run) in memory? Thanks.

Member Avatar for Jx_Man
0
112
Member Avatar for ajithraj

haii I have a problem while accessing a class(A) through "reflection" from class B.... i want to pass a parameter to class A... My code is like this... Method idMethod = Class.forName(ClassName).getMethod(FunctionName,null); Method getMethod = Class.forName(ClassName).getMethod("getInstance", new Class[]{Class.forName("java.lang.String")}); Object object = getMethod.invoke(Class.forName(ClassName()),new Object[]{dboption}); lists = (ArrayList)idMethod.invoke(object,personId); i will get correct …

Member Avatar for Ezzaral
0
125
Member Avatar for drjekil

hi I am from chemistry background and no idea about programming,trying to learn biopython.Can u tell me pls which books explain things very simply? i will be greatful thanks in advance.

Member Avatar for bumsfeld
0
74
Member Avatar for relm86

Hi I just started to learn to program and I choose python cause I heard it was easy to learn. But I already ran into proably a very stupid problem that a only a noob like me would need help with. I'm using idle to program with in windows and …

Member Avatar for ZZucker
0
111
Member Avatar for bis student

how can I check the donor if valid by using switch function Is_BloodBroup_Valid // takes a string as parameter and return true if it is a valid group and false if not. The only possible blood groups are A+, A-, B+, B-, 0+, 0-, AB+, AB-. also if I have …

Member Avatar for Luckychap
0
140
Member Avatar for compsci

Hello all, I am using MySQL version: 5.0.37 I am creating a forum. I am designing the tables for the threads and their replies and the relationship between them. Please have a look at these images and give me your thoughts. I have also included the schema. [URL="http://i284.photobucket.com/albums/ll40/JavaPHPNinja/threadsTableDesign.jpg"]http://i284.photobucket.com/albums/ll40/JavaPHPNinja/threadsTableDesign.jpg[/URL] [URL="http://i284.photobucket.com/albums/ll40/JavaPHPNinja/threadsLogicDesign.jpg"]http://i284.photobucket.com/albums/ll40/JavaPHPNinja/threadsLogicDesign.jpg[/URL] [CODE]CREATE …

0
96
Member Avatar for bbradley

I have a problem with my edit boxs. I am adding value 0.1 to an edit box on a button click. How can I make it so that there is always 4 values i.e 00.1 if the value was 0.1. or 01.0 if the value is one. At the moment …

Member Avatar for jsosnowski
0
91
Member Avatar for sjcomp

Hello, I'm using Microsoft Visual Studio 8.1 (2005) to compile and link a library and my application that uses this library. Linking complains that a symbol can not be found. I looked at the lib file and this is what happens: [code] dumpReadable@OGRGeometry@@UBEXPAU_iobuf@@PBD@Z - Lib has this dumpReadable@OGRGeometry@@UAEXPAU_iobuf@@PBD@Z - My …

Member Avatar for sjcomp
0
111
Member Avatar for sauronbrad

Hi all, please help. I m trying to create an "empty" table from existing table for the audit trigger purpose. For now, i am trying to create an empty audit table for every table in a database named "pubs", and it's seem won't work. Please advise.. Thanks in advance. Here …

Member Avatar for manoshailu
0
104
Member Avatar for Adrian99420

Hi, I am using VS C++ 2005 express edition. I developed a simple GUI with a single tabControl (contain tabpages with some combobox). I wish to add a button which able to add another tabpage which contain the same item as previous tabpages. For example. my previous tabpage contain 2 …

Member Avatar for Narue
0
107
Member Avatar for foreverold

I'm attempting to create 5 card stud poker game, I'm almost in the final step of it but I am not understanding how to implement it. Evaluate each players hand to determine winner(This is where my difficulty reside at the moment) Sorry if the code is messy and long, still …

Member Avatar for BearofNH
0
202
Member Avatar for Vic842

Well guys and gals, I am the beginner at this that is talked about when signing up in these forums. Looking for a good direction to get a grasp on C++. Always been very interested in programming and learning the different languages and would mind being fluent in the other …

Member Avatar for Vic842
0
172
Member Avatar for Lance_Wassing

Well I have a question which could stem some confusion. I'm using C++ to develop some software which i will release as freeware on my website. I'm not new to database programming, however i have only ever worked with xbase and dbase... I would like to start making software with …

Member Avatar for Lance_Wassing
0
122
Member Avatar for c_plus_plus_for
Member Avatar for Ancient Dragon
0
308
Member Avatar for lostandconfuzed

Hi folks! Was wondering if you could help with a problem. I'm supposed to write a function that writes n, n-1, n-2, …, 3, 2, 1. I'm pretty sure I've got it but for some reason I keep getting 0 whenever I run it. It doesn't have to be a …

Member Avatar for Agni
0
102
Member Avatar for rikkie

Hi guys, Could someone point me in the right direction, please? I'm trying to expand my system to accommodate the reservation of consecutive seat numbers. The user is prompted for a row number, seat number and then the amount of consecutive seats he would like to book. For example: The …

Member Avatar for rikkie
0
180
Member Avatar for munkey_boy

I made a network chat program on my desktop pc and it works fine, but when I try to run it on my laptop it does not work and comes up with this error: [URL="http://ecp-clan.frih.net/untitled.PNG"]http://ecp-clan.frih.net/untitled.PNG[/URL]. Here is a description of the error: EventType clr20r3, P1 p2pchat.exe, P2 1.0.0.0, P3 47fc0f45, …

Member Avatar for munkey_boy
0
106
Member Avatar for GLT

Hey guys! I was wondering if anyone could help me. I am a student on my work placement year and I am developing a web based database. I have been asked to design it so users can if need be add a new table to the database or add a …

Member Avatar for peter_budo
0
205
Member Avatar for tlly

Hi everyone.I've got a question on dynamic cast.Dynamic_cast allows us to downcast a data type from one to a more specific one in the same hierarchy. But why not declare the variable we need to the appropriate type during programming time rather than downcasting it at run time? I don't …

Member Avatar for Ancient Dragon
0
359
Member Avatar for kursist

Hi, I have problem putting a value to 16 bits variable. Here is, how I am doing it. [CODE]typedef unsigned int UINT; typedef UINT* ID_PTR; unsigned short int myclass[5]; const ID_PTR arr16_bit[5] = { (UINT*) &myclass[0], (UINT*) &myclass[1], (UINT*) &myclass[2], (UINT*) &myclass[3], }; [/CODE] Now accessing the myclass like this. …

Member Avatar for kursist
0
94
Member Avatar for Adrian99420

Hi, I created a few window forms and I faced problem when try to link them up. I am able to link up two window form but the problem comes when I tried to link up more than 1 window forms. For example when I want to link up the …

Member Avatar for Nick Evan
0
89
Member Avatar for santoo

[B]Hi, I have some radiobuttons which I grouped them as set1..and another set of radiobuttons which I grouped as set2 which are disabled by default.When I click a radiobutton in set1 all the radiobuttons in set2 should be enabled and when I uncheck, all the radiobuttons should again become disabled. …

Member Avatar for Traicey
0
158
Member Avatar for vishakha_ate

Under Windows XP-SP2 I can view videos (e.g. embedded in on-line newspaper content or via YouTube) perfectly with FireFox, but despite every attempt, so far NOT AT ALL with IE7(a blank space is displayed where video appears in IE display). I get no error message! What settings do I have …

Member Avatar for vishakha_ate
0
115
Member Avatar for usman_2x

Hi Guys, I'm new to C and OpenCV, my postgraduate project requires me to find different body parts in an image, like legs, hands and torso and head. And then determine if the person is lying on the ground or standing upright. Please help if you have some ideas. Thanx

Member Avatar for Nick Evan
0
104
Member Avatar for queenc

hi, [CODE]$lines = file('http://www.website.com/jd.rtf'); foreach ($lines as $line_num => $line) { print "<table width='30%'>"; print "<tr><td><a href='http://www.website.com/jd.rtf'>". htmlspecialchars($line) . "<br />\n</a></td></tr>"; print "</table>"; }[/CODE] the above code uses array,i want all the array data to get stored in a string...it is not working.[U]Error:page cannot be displayed[/U].But the is there the …

Member Avatar for kevin wood
0
123
Member Avatar for Batfred

Hi all, this may be a simple one (hopefully). I am new to Dreamweaver 8 (I miss dreamweaver 4, but Vista seems to hate it) and have just defined my site. The code all looks right, but the display looks ... well, just wrong. I can write in code, but …

Member Avatar for Batfred
0
85
Member Avatar for welbyobeng

I am trying to create a java password code where the password is at least 6 characters Long, at least 1 UPPERCASE, & at least 1 lowercase & at least 1 Digit.Here is an example: Passw3 Can someone help me because it is not working. Here is the code private …

Member Avatar for javaAddict
0
106
Member Avatar for shanevdw

Hi Can someone please help me. I have created a crystal report in visual studio 2005 crysatl reports. I create a dateset with all my necessary fields and parameter from a stored procedure. I create the report using the wizard. It add all my field, but it does not add …

Member Avatar for jerry32uk
0
167
Member Avatar for Peppercat101

Im writing monopoly, Im still a beginner so please help.... I wrote this for loop but for some reason it starts at 28 and not at 1.... For r := 1 to 28 do If STekoop[1,r] = plek then If messagedlg(STeKoop[r,2] + ' FOR SALE.' + #13 + 'Price: ' …

Member Avatar for Peppercat101
0
122
Member Avatar for rajeshkhanna_in

Hi all, I'm developing a software in vb 6.0 with MS Access as backend. This software requires to save the text files in the table. Now the problem is the text will be formatted (Bold, Underline, it may even have MS Word Tables). I have on the form a RTF …

Member Avatar for QVeen72
0
167
Member Avatar for Samudricka

i am trying to remova last tokenised string as i am mentioning in below sample....i have stored a data in a hashtable like this.....[ICODE]Hashtable h = new Hashtable(); h.put("111", "A/B/C/d"); h.put("222", "A/B/C/D/e"); h.put("333", "A/B/C/f"); h.put("444", "A/B/C/D/E/g"); h.put("555", "A/B/R");[/ICODE] in order to tokenise these strings and to remove last elements.......for example....here …

Member Avatar for Samudricka
0
94
Member Avatar for hasmiza

hello..please help me i need to edit data using form(user fill in details)..but after editing the record in database.nothing changes happen otherwise it create new row of date [ICODE][/ICODE] databook.Recordset.Edit databook.Recordset("name") = txtname.Text databook.Recordset("ic_num") = txtIc.Text databook.Recordset("room_type") = cboroom.Text databook.Recordset("check_in") = cbocheckin.Text databook.Recordset("check_out") = cbocheckout.Text databook.Recordset("Month") = cbomonth.Text databook.Recordset("Year") = …

Member Avatar for choudhuryshouvi
0
92
Member Avatar for gurusundar

i have configured virtual host for apache in my window os. i am having a site named lead capture in my c://appserv/www/ normally i will type in browser as [url]http://localhost:81/leadcapture[/url] after setting up the vhost i typed the url as [url]http://leadcapture[/url] which must work normally and show my website. But …

Member Avatar for gurusundar
0
126
Member Avatar for turquito

Hi all I would like to know how i can obtain the address from intent radio staion for download music. The program RadioTracker do it, but what is the base for to do that?, first to have the web address where is the file (mp3, wmv, ...) and second according …

Member Avatar for choudhuryshouvi
0
93
Member Avatar for dream_ankur

Hi, I am developing one website in which i have around 21 table in my database out of which 8 are master tables and rest are secondry tables. I want the data stored in some columns of master table to be displayed as drop down menu in my secondry table. …

Member Avatar for kaushik259106
0
220

The End.