199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for magicmarkuk

Hi I am having a bad day! I am running an INSERT INTO and SELECT query which is working. One of the SELECT parts is: [CODE](SELECT title FROM exp_forum_topics WHERE topic_id = p.topic_id) AS post_subject,[/CODE] which brings back a title. What I want to do is prefix this title with …

Member Avatar for magicmarkuk
0
135
Member Avatar for markdean.expres

Guys is it possible to get the details of an mp3 file like the Contributing Artist, Artist, Album, Year etc. and display it into a form? I am using the IO namespace and I have almost tried all the methods and properties under my variable. Does anyone know?

Member Avatar for Reverend Jim
0
241
Member Avatar for Heinz Stapff

Hey guys, Name input value should be entered as shown on credit card eg. 'John P Smith'. I'm trying to prevent 'Aaaaa B Ccccccc' being sent to the sever. Any suggestions appreciated. I'm pritty sure the var rep=regex is causing the script to hang on the first if it acctualy …

Member Avatar for Heinz Stapff
0
595
Member Avatar for Labdabeta

I have some code in C++ that uses an std::vector of std::strings to store an array of strings. I need to convert it into C. I thought that I would just create c versions of the functions I need (vector.back,vector.push_back,string.operator+=) but am getting lost in the double pointers. Can anybody …

Member Avatar for Ancient Dragon
0
179
Member Avatar for deucalion0

I want to create an Android application where a user can create an account which basically stores their username and password, and photos. I want to use a Microsoft Access Database, a user once logged in can take a photo using the android device and the photo is automatically sent …

Member Avatar for jbennet
0
314
Member Avatar for accra

Am trying to validate these variables with an if statement,but it not working,any help will do. [CODE] if($navtype == "xxxx") { $com_name = $_POST['com_name']; $loc = $_POST['loc']; $name_mech = $_POST['name_mech']; $vtype = $_POST['vtype']; $s_veration = $_POST['s_veration']; $remnder_ver = $_POST['remnder_ver']; $vreg = $_POST['vreg']; $last_startdate = $_POST['dy']."-".$_POST['dm']."-".$_POST['dd']; $mileage = $_POST['mileage']; $current_mileage = …

Member Avatar for simplypixie
0
116
Member Avatar for cisumma

Hello. I have a Java Desktop App. I am trying to code to capture properties or db fields to send emails. Please find specs below. Please find the example word doc attached that I am trying to engineer. JavaMail quick start.doc I can not make heads or tails of how …

0
149
Member Avatar for jlk1380

Hi guys, I have a trouble with updating the updatepanel. I have a repeater inside my updatepanel which I load a list of data into it. for refreshing the data I need to update my updatepanel to refresh dispaly. what will be happend after that is my "submit" button which …

Member Avatar for jbisono
0
99
Member Avatar for Quinncunx

Hi, I was wondering if anybody who is a more experienced VB developer than I would mind casting an eye over my source code and offering any advice on how it could be improved. The application is timer that runs for 7 minutes, the first minute is phase 1 and …

Member Avatar for jlego
0
240
Member Avatar for tunlinaung

Hi ....... I tried an Android application with Map View. When i launched this application, the Map View only show grey grid instead of a Google Map. In my application, I have already inserted Internet permission in Manifest file and api key in Main.xml file. Plase See Detail in below..... …

Member Avatar for rkara924
0
501
Member Avatar for aishapot

I have to save 4 different pictures in my database. NSO, GoodMoral, ReportCard & TOR. Here is my code. [CODE] Sub savepic() Dim str As String = "My connection" Dim con As New SqlClient.SqlConnection con.ConnectionString = str Dim ms As New IO.MemoryStream() nsopic.Image.Save(ms, nsopic.Image.RawFormat) goodmoralpic.Image.Save(ms, goodmoralpic.Image.RawFormat) repcardpic.Image.Save(ms, repcardpic.Image.RawFormat) torpic.Image.Save(ms, torpic.Image.RawFormat) …

Member Avatar for aishapot
0
964
Member Avatar for anand01

hi all, i need to display time table for students and staff my table design looks like --------------| timtable --------------| classid hour subjectcode day --------------| --------------| Working hours --------------| hour starttime endtime --------------| --------------| timtable --------------| classid hour subject code day --------------| --------------| subjectmaster --------------| subjectcode subjectname subjecttype . . …

Member Avatar for anand01
0
223
Member Avatar for kww228

Just as the title says I have a question with a program I am doing. I am just starting out using MASM assembly and kind of stuck any help would be great. I need to calculate the sums and differences of arrays that are shown below. The little bit of …

Member Avatar for zalia64
0
179
Member Avatar for shielaolid

Hello Good day everyone, anyone can help me with error " Undefined index: is_ajax" I've encountered it. Im new in AJAX and im trying to use it on my login page. This is the code for my main.php [CODE]<!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 …

Member Avatar for jstfsklh211
0
622
Member Avatar for binoy.mathew

Hi, I am using a Dynamic SQL to create a stored procedure. The stored procedure is as follows: [CODE]CREATE PROCEDURE spRetrieveBalanceSheet (@Pfcode varchar(5), @period varchar(10)) AS BEGIN DECLARE @tablename varchar(12), @sql varchar(2000) SET @tablename='SALFLDG'+Upper(@Pfcode) SET @sql='SELECT S.ACCNT_CODE As Code, SUM(S.AMOUNT) AS Amount, A.ACCNT_NAME AS Name FROM '+ @tablename + ' …

Member Avatar for vinayphadke
0
308
Member Avatar for tokick4

Hello, First let me start of by saying that I am new to javascript and ajax, but I thing I need them to accomplish what I am trying to do and here it is. I have there search forms, 1 search owner, 2 search contractor, 3 search properity. Then I …

Member Avatar for jstfsklh211
0
211
Member Avatar for Esmerelda

Is this proof right?? Claim: Let #0(w) and #1(w) be the number of 0s and 1s in w, respectively. Then A = {uv ∈ {0, 1}∗ : |u| = |v|, #0(u) = #1(v), and #0(v) = #1(u)} is not a regular language. Proof : Say there is some pumping length …

Member Avatar for Esmerelda
0
89
Member Avatar for JustineAubrey

Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first …

Member Avatar for JustineAubrey
0
254
Member Avatar for magicmarkuk

Hi I am having a problem with my syntax for the following code: What I am trying to do is: 1. Check if sticky = 'y' then give a value of 1 2. If not then check whether announcement is 'y' then give a value of 2 3. If not …

Member Avatar for magicmarkuk
0
166
Member Avatar for pixelss

Hello, i'm having problem with this code, the program have to multiply 3 number and provide the result. But i always get zero for the final result [CODE] ORG 100 input A store A output A input B store B output B input C store C output C loop, load …

Member Avatar for zalia64
0
478
Member Avatar for scott_liddle

Hi, firstly i'm gonna be honest and say that this is homework for my programming class, but the teacher doesn't have a problem with us using the internet to get help aslong as we dont blatantly steal code. The problem is to take a text file containing for example the …

Member Avatar for Lucaci Andrew
0
174
Member Avatar for Gaiety

Hi, I want to print the word that start with h(not case sensitive). i tried with below code but its printing only one charater 'H'. i dont understand the metacharaters and regular expressions much. i understood that $1 will have the first match and $2 will have second match and …

Member Avatar for Gaiety
0
152
Member Avatar for jcgldr

hi i'm a beguiner in visual basic i have a datagrid view filled with a dataset table thats combined by 2 tables 1-persons 2- actions i want to select a row in the grid view and get the person table where personid is selected in datagridview i assume that it …

Member Avatar for M.Waqas Aslam
0
329
Member Avatar for M.Waqas Aslam

hello! i am working on a Asp.net project using C#, now i want to connect mssql server 2008 using JS or AJAX , i am very new with JS so i have no idea where to start .can anyone help me in this . Regards M.Waqas Aslam

Member Avatar for stbuchok
0
200
Member Avatar for Eric Hamilton

Hi I have a bunch of VB6 code and I want to translate/upgrade it to VB.Net. I have used the "upgrade wizard" and it generates massive errors. Is there any document that lists the differences between VB6 and VB.Net? I have lost many of my important functions, such as MouseDown, …

Member Avatar for Eric Hamilton
0
214
Member Avatar for LisaMcOsker

Customers of 65 years and over are entitled to discount of 20% on all purchases from an online shopping site. Write compile and test a program which will read in a customer’s age, and inform them whether or not they are entitled to discount on purchases. I have this so …

Member Avatar for deceptikon
0
92
Member Avatar for abhijeet P

Hello all, I have a function in which onclick one window opens and there is logout option on the parent page. when I log out i want the child window to close as well. My native code is in Java and I need something in javascript. Plz help

Member Avatar for AleMonteiro
0
169
Member Avatar for nell16

Pls help me on this. I really dont have an idea of solving this. Here's the question .. 1. Write a c++ program that generates the following series: 0 -1 4 -9 16 -25 36 -49 64 -81 100 and also this one 2. write a program that generates the …

Member Avatar for Ali_2101
0
279
Member Avatar for loudube

I have the code shown below that nicely fills a Combobox but I have no idea how to have it on a form so that the user can select an item and the resulting $_POST would be availabe to another page the same way it would be if the Combobox …

Member Avatar for diafol
0
89
Member Avatar for Labdabeta

I was wondering if there is any way using the mingw g++ compiler to make code that acts like this: [CODE]#define myLanguageBlock(X) doMyLanguageBlock(#X) void doMyLanguageBlock(const char* code){/*this executes the code as if it were in another language, I have already written this function*/} int main() { myLanguageBlock( this is all …

Member Avatar for Labdabeta
0
305
Member Avatar for Webville312

Hello, all. I am doing a project, which supports users such as Administrators, teachers and students. Since I will not always be available when they are registering, I want a user to create for themselves an account. However, the challenge is that, I do not want a user to register …

Member Avatar for Webville312
0
161
Member Avatar for calebcook

Hi. I need to make a system where I can accept input from the audience, and it'll show live on a PowerPoint Slide. I can create the user input system, but I don't know how to make a PowerPoint macro that when run will either: [LIST=1] [*]Retrieve text from a …

Member Avatar for StephNicolaou
0
379
Member Avatar for Tuz

I have three classes Client,Product and Main.How can I call the client and the product from the main ?

Member Avatar for JamesCherrill
0
147
Member Avatar for Artix123

Hi I am working on web for some group, but i have problem my code is [ICODE]<?php session_start(); $username = $_POST['username']; $password = $_POST['password']; if ($username&&$password) { $connect = mysql_connect("http://mysql.ic.cz/phpmyadmin/","USERNAME","PASSWORD") or die("Nemůžu se pÅ™ipojit"); mysql_select_db("vy_promm") or die("Nemůžu najít databázi"); $query = mysql_query("SELECT * FROM uživatelé WHERE username='$username'"); $numrows = mysql_num_rows($query); …

Member Avatar for diafol
0
104
Member Avatar for Quinncunx

Hi,I have looked around here for the correct way to use Modules and I have not come across anything that seems to point me in the right direction. I am wondering if I can use modules to define what a button would do but I keep getting the error "ModStart" …

Member Avatar for Reverend Jim
0
229
Member Avatar for vuquanghoang

My teacher has just teach me about complexity of algorithm and he has gave me some homework. I have solve almost all except for this ex: Consider a robot arm that is fixed at one end. The arm contains two elbows at each of which it is possible to rotate …

Member Avatar for tungnk1993
0
157
Member Avatar for BasicBoy

I am on VB6. I am using the notiyicon procedure according to Microsoft document : [url]http://support.microsoft.com/kb/176085[/url] All works very well, but I cannot restore the form. It seems to me that it does not fire the mousemove event when the form is minimised/hidden, neither does it show the popup menu …

Member Avatar for BasicBoy
0
61
Member Avatar for Vasthor

hey guys, k, already 1 month I'm "leaving" my self-study on C++ for certain personal reason, I just learned the C++ two months before also, not much... I still can type in code and remember how most of the keyword works(that I learned), but I'm losing my ability to "think …

Member Avatar for thines01
0
144
Member Avatar for surajrai

I have a method that returns void. say: Public void CreateRectangle(double z, double y, IRectangle rectObj) { Vector3d recPos1 = new Vector3d() recPos1.X = 0; recPos1.Y = some double vale; Vector3d recPos2 = new Vector3d() recPos2.X = some double value; recPos2.Y = 0; rectObj.SetVectors(recPos1, recPos2); } now, in my unit …

Member Avatar for thines01
0
520
Member Avatar for TIM_M_91

Hi guys well I have created a JComboBox that lists all my values from a String. However I want instead of the values for the JComboBox to be in a String the values to be displayed in the JComboBox from my database so if more values are added to the …

Member Avatar for rushikesh jadha
0
144
Member Avatar for nzaman
Member Avatar for GAiXz

I have a question programmer's... we know that in Visual Studio...you can open a different kind of database... like: Access, SQL server or file, Oracle... is there any reference that you'v know on how to make that kind of program?? i don't know where to start... VB.NET codes please..... TIA! …

Member Avatar for GAiXz
0
152
Member Avatar for mweshk

Hi Gurus, I have an assignment am doing. The user should enter details of 5 students and return results on the screen.I have the code below and its return 1 error. Can someone kindly help me.With regards #include<iostream> #include <string> #include <sstream> using namespace std; int main () { typedef …

Member Avatar for DJSAN10
0
118
Member Avatar for Sunshine2011

I wrote a little program to read soma data from a *.txt file. The content of the file is "5 , 10, 15". The program shall identify the numbers, e.g. "5" and "10" and "15". This works until the last two numbers. Unfortunately the program doesn't read the last two …

Member Avatar for DJSAN10
0
106
Member Avatar for niyasc

This is the question appeared in our sessional exam related to shell programming What do you mean by $?,$#,$* and $$. Can anyone help me to answer this question?

Member Avatar for adrianfrederic
0
89
Member Avatar for laghaterohan

I have 2 Listboxes say ListBox1 and ListBox2. After unzipping the folder the files are listed in the ListBox1 . Then the user can select multiple files using ctrl button and then click on Add button whereby the users can transfer the selected files to ListBox2 . How can i …

Member Avatar for vongkol
0
607
Member Avatar for AlexTrott

Hello! I've been looking into using listbox as for part of my assignment and i was wondering if you guys could help point me in the right direction of what to look into next. I know how to make a list box, add objects to the list, modify, and delete …

Member Avatar for manojkumar2004
0
196
Member Avatar for anand01

Hi all , I need to develop a tool which have the same feature of outlook. By using this too l we have to config our own email id and we can view send our e mails. Plan to do in java,what are things should I learn to complete this …

Member Avatar for anand01
0
105
Member Avatar for sujan.dasmahapa

I want to create a button on a php pafe like a form now after pressing this button i should load an image. Now the I have done this. when the image is appearing it's on the other page than where the button was. I want to have the button …

Member Avatar for pritaeas
0
212
Member Avatar for rohan121212

So here is what i have done I did the basics of c++ and was quite comfortable with them Now i wanted to start with the allegro gaming library so i downloaded the library and linked it with my compiler i compile a program and it compiles fine but when …

Member Avatar for DJSAN10
0
110

The End.