199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mrhankey

Hi, I have tried to Google this but cant find anything. I want to use a select AS statement to select multiple columns. i.e. [CODE]Select unitno country price AS propertyref[/CODE] is this possible using multiple columns AS one reference? many thanks

Member Avatar for mrhankey
0
2K
Member Avatar for katmai539

Hi there, I'll be dropping in quick: I'm trying to pull four <t> nodes from a XML file, eg. [CODE='XML']<?xml version="1.0" encoding="UTF-8"?> <tasks tid="TERMINAL012345"> <t> <reqs>keuringen/bammens3h.xml</reqs> <deadline>200120111600</deadline> <desc>WML keuring BAMMENS-3H</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000001</sn> </t> <t> <reqs></reqs> <deadline>200120111630</deadline> <desc>Vulgraad meting</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000002</sn> </t> <t> …

0
150
Member Avatar for dre-logics

I have an application X version 1.0 in Visual Basic 2008 and forwarded through setup installed on a user's PC. In this application was in these settings: Imports System Imports MySql.Data.MySqlClient Now you have a link to webshop and uses HttpWebRequest. There fore I added the following settings : Imports …

Member Avatar for Teme64
0
113
Member Avatar for u_v

create a Report of Customers and my database are MicroSoft Access 2000 Coding are Following Plz somebody hlp me in my project [code=java]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class FrmCustomerReport extends JDialog{ public static JTable JTExpTable; //Start create variables JButton JBSearch = new JButton("Print",new ImageIcon("images/print.png")); JLabel JLPic1 = new …

Member Avatar for Akill10
0
110
Member Avatar for kitt_simple

How do I make Two frames? when frame1 is open the frame2 is hide,and when frame2 is open the frame1 is hide?

Member Avatar for Akill10
0
94
Member Avatar for prem2

Dear all, Scope resoultion operator is used to call the properties or methods of the class. Properties : =========== Variables Constants Why scope resoultion operator cannot be used for non-static variables . Can any one help me out . Thank you, With Regards, Prem

Member Avatar for Akill10
0
152
Member Avatar for sketchiii

Hello fellow c programmers( I made a "hello world" program so I'm a c programmer too :) ). Anyway I want to know if there is anyway to make a Dev C program perform an action if it is a certain day such as printing the schedule for the day …

Member Avatar for MosaicFuneral
0
392
Member Avatar for jsefraijeen

Implement the following integer methods: a.Method celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calculation b. C = 5.0 / 9.0 * ( F - 32 ); c. Method fahrenheit returns the Fahrenheit equivalent of a Celsius temperature, using the calculation d. F = 9.0 / 5.0 …

Member Avatar for masijade
0
911
Member Avatar for meensatwork

I tried many codes in internet for this but it says Access violation. Can somebody provide me the code snippets in C++ and C# for this?

Member Avatar for ddanbe
0
246
Member Avatar for vineeshvs

[code] #include<stdio.h> #include<stdlib.h> #include<math.h> #define pi 3.14159265 int **transpose(int **x,int m,int n); int **matrix_mul(int **m1,int **m2,int r1,int c1,int r2,int c2 ); int **dc4(int **x,int nrows,int ncolumns); main() { printf("hi"); int nrows=80000,ncolumns=1,i,j,**x,**dc4_x,**ix,M=nrows,N=ncolumns; //memory allocation for x x = malloc(nrows * sizeof(int *)); if(x == NULL) { printf("out of memory\n"); return 0; …

Member Avatar for vineeshvs
0
111
Member Avatar for tendaimare

i recently posted a code that i had that i needed assistance for and it was solved it was for displaying all tables in a database.but now i have this code for showing all column names in a table i was in the process of turning it from oledb to …

Member Avatar for tendaimare
0
159
Member Avatar for pikkas

hi, i m trying to make something like a login page and i used the following code to compare the Users password from a password text box and then compare it with the Database password to see if it is the same. nevertheless when i compare the strings the system …

Member Avatar for pikkas
0
271
Member Avatar for PM312

i have created a user control for text box to enter date. I have saved time and effots to type for each text (date) box code to check date validity and key typed. but i have lost text and locked property of text box as it is not available on …

Member Avatar for AndreRet
0
130
Member Avatar for happygeek

Want to know how to fix an election without resorting to bribery and corruption? Ever thought about throwing some Return Oriented Programming into the voting equation? Ordinarily, the hacking into of an electronic voting machine might spark a little bit of interest if there were an election looming perhaps. That …

Member Avatar for MosaicFuneral
0
628
Member Avatar for lochnessmonster

beth = ted; // beth equal to ted ( 1776 ) beth = *ted; // beth equal to value pointed by ted ( 25 ) [B]beth = &ted; // is this statement result in a compiler error? if beth is an int variable[/B]

Member Avatar for ravenous
0
116
Member Avatar for soft_coder

Hi! I have created a modal dialog using Jquery and I am opening an aspx page inside the modal dialog. The code is as follows: ASPX Page: [CODE]<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, …

Member Avatar for soft_coder
0
151
Member Avatar for Chinjoo

[CODE]#include<stdio.h> #include<conio.h> #include<math.h> void hanoi(int x, char from,char to,char aux) { if(x==1) { printf("Move Disk From %c to %c\n",from,to); } else { hanoi(x-1,from,aux,to); printf("Move Disk From %c to %c\n",from,to); hanoi(x-1,aux,to,from); } } void main() { int disk; int moves; clrscr(); printf("Enter the number of disks you want to play with:"); …

Member Avatar for yash00yash
0
481
Member Avatar for eiven_05

hi there i want to ask if how to transfer data from datagrid to textbox using vb6.0!i'm using Ms Access 2007!!!the code that i have are already ok when saving the information on the Access my problem is i dont know the codes to transfer the data from datagrid on …

Member Avatar for peter_budo
0
153
Member Avatar for kokwd9

I am creating a website that is going to allow customer's to view photography on the site and purchase it when selected for download. I have created all the php and mysql to be able to display the data correctly. But... to display the search results or recordset, how do …

Member Avatar for litchi
0
131
Member Avatar for tcollins412

i have a register and a log in page and it will not work. Here is the script for the register:[CODE]$myusername=$_POST['user']; $mypassword=$_POST['pass']; $cleanpwd=md5('$mypassword'); $myusername = stripslashes($myusername); $cleanpwd = stripslashes($cleanpwd); $myusername = mysql_real_escape_string($myusername); $cleanpwd = mysql_real_escape_string($cleanpwd); $sql="SELECT * FROM $tbl_name WHERE email='$myusername' and password='$cleanpwd'"; $result=mysql_query($sql); $count=mysql_num_rows($result); if($count==1){ setcookie('username', '$myusername'); setcookie('password', '$cleanpwd'); …

Member Avatar for rch1231
0
178
Member Avatar for raven_rainagi
Member Avatar for AndreRet
0
56
Member Avatar for tendaimare

i have corrected my conn string i am now using sql connection but now when i run the code it gives me he error Object reference not set to an instance of an object. [CODE] 'I put this code in the load event ListBox1.Items.Add(CType(GetTables().ToString, String)) [/CODE] [CODE] Public Shared Function …

Member Avatar for tendaimare
0
1K
Member Avatar for prem2

Dear all, Why below program not working .It gives fatal error. NOT WORKING [code] <?php class Class_access{ const a="50"; public $bb="Class Variable \n"; function display(){ //$Function_Variable; echo "Function Display \n "; //echo $this->bb; } } $obj=new Class_access(); $obj->display(); echo Class_access::a; echo "\n"; echo Class_access::$bb; ?> [/code] WOKING ====== [code] <?php …

Member Avatar for Shanti C
0
126
Member Avatar for hachikocares

uhm, hello, i was hoping if anyone here can help me with my project its due on next week, im gonna fail if i dont submit this one, problem is i dont really understand visual basic, so im seeking for help here.. well here it goes.. i was asked by …

Member Avatar for AndreRet
0
118
Member Avatar for 3d0army

I noticed in vb 2008, you can right click a text box, and in that menu it says, "Text" or something of that variation. You can paste all of the text right there, and your program will start with that text in it. I was wondering if there was a …

Member Avatar for AndreRet
0
251
Member Avatar for pseudorandom21

Hi, I am in need of a good reference for C++/CLI. Right now I need to know how to exit the main loop of a form, such as if the user clicked the 'X' at the top right. Nevermind, the function Close() is what I needed.

Member Avatar for jonsca
0
312
Member Avatar for Acute

In facebook or twitter time of post is changing every minute on every post. Any idea how to make it?

Member Avatar for steelshark
0
93
Member Avatar for dinesh.isuranga

this is the way that i used to fill dataset in the formloader (); [CODE] String Query; DataSet ds; SqlDataAdapter myadapter; SqlCommand mycommand; connInterface conn = new connInterface();//connection class private void Form1_Load(object sender, EventArgs e) { cmbEmpID.DataBindings.Clear(); Query = "select * from dbo.bind_tab b"; mycommand = new SqlCommand(Query, conn.createconnection()); myadapter …

Member Avatar for dinesh.isuranga
0
172
Member Avatar for insanely_sane

Ok.. so uptil now I've been using the DOS compiler and IDE for C++, version 3.0 by borland...(which is like ancient history).. But now I think it's about time to upgrade :P So since I have been away from C++ for a loooooong time, I need to start from scratch. …

Member Avatar for mike_2000_17
0
194
Member Avatar for stevelll

I am a total Visual Basic (VB) novice & am thinking about learning VB; but, before I do expend the time, there’s three question that I need answered first: Can anyone tell me if a VB program can control mouse clicks & program options in a PhotoImpact (a non-Microsoft photo …

Member Avatar for AndreRet
0
105
Member Avatar for smcr01

I got this program that supposed to display a diamond but I only got the top part of diamond to work. As for bottom part I am not sure what calculation I could use. Any hint would be appreciated! Thanks This is the part: [CODE]//Bottom Part for ( row = …

Member Avatar for masijade
0
134
Member Avatar for frexyang

Hi, Need help in creating backup/restore on database using SQL Server 2005 with VB6.0 code when the database is on the network. Please Help. frexyang

Member Avatar for AndreRet
0
2K
Member Avatar for caz1224

Hi guys, Issue is I have a grid view that I need to select certain values from to go into a SQL table. The following is my code from creating the grid though to the select button. [CODE] Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal …

Member Avatar for kvprajapati
0
88
Member Avatar for phpDave

Hi, My script works but not the way I would like it to. [CODE]$file = $_FILES['content']['tmp_name']; if (!isset($file)) echo "please select an image."; else { $content = addslashes (file_get_contents ($_FILES['content']['tmp_name'])); $content_name = addslashes ($_FILES['content']['name']); $content_size = getimagesize ($_FILES['content'] ['tmp_name']); $user = $row_Recordset1['user_id']; if (!$content_size) echo "Thats not an image"; else …

Member Avatar for kkjay
0
127
Member Avatar for GeekInTraining

I have a program which needs to take the logical drives returned from the GetLogicalDriveString function and store them in a string array for later use in a filepath. I tried doing this directly and it failed. Here's my code: [CODE]#include "stdafx.h" #include <iostream> #include <io.h> #include <time.h> #include <string> …

Member Avatar for MosaicFuneral
0
451
Member Avatar for MasterGberry

Ok, so there is a place where the code is being converted into ASCII standard, and then being converted back I believe. I think I know how to do it, but I wanted to get help to make sure that when i am testing for bugs later that this isn't …

Member Avatar for MasterGberry
0
191
Member Avatar for caut_baia

Hello everybody.Say i have a template declaration of a class: [code] template <DWORD Style=BS_DEFPUSHBUTTON, LPSTR Type="button"> class WndObj { WndObj (); }; [/code] Now in the cpp file the definition should look something like this: [code] template <DWORD,LPSTR>WndObj<>::WndObj () {} //so i can go ahead and typedef WndObj<> Button; [/code] …

Member Avatar for mike_2000_17
0
109
Member Avatar for RLB31384

Okay, I have to pick a topic and tell why its acceptable. I have to work with an advisor to understand the topic and prepare a written report on the results. I have to prepare a 12 page paper in a publishable format. (10 pages if I have over 500 …

Member Avatar for griswolf
0
383
Member Avatar for alonewolf23

using textpad w/ jdk When trying to use single print line: System.out.println("\n" + var1,"\n" + var2); I get error: symbol : method println(java.lang.String,java.lang.String) location: class java.io.PrintStream System.out.println("\n" + var1,"\n" + var2); I understand that \n is new line, and My instructor told me to just use + "Integer name" for …

Member Avatar for alonewolf23
0
19K
Member Avatar for Thropian

I'm looking for a way to get the first letter of of a string. I already know about the .startswith() but that is for "if" statements I want something like [CODE]print text.startswith() # to give me the left most symbol[/CODE]

Member Avatar for Thropian
0
282
Member Avatar for newbie14

Dear All, I am planning to show dynamically the different wheels setup of vehicles for eg. 4 wheels, 6 wheels etc. Then I want to allow for instance the user to click the front tyre into a icon representing for instance repair, rethread etc. Any idea how make this realise? …

Member Avatar for newbie14
0
99
Member Avatar for michaelzip

Hi! I am currently using LZW algorithm for compressing files but it cannot compress multimedia. What possible process am I missing? Is there any method be done before entering the algorithm? Enlighten me please. Any help will do. Thanks in advance.

Member Avatar for michaelzip
0
168
Member Avatar for oldSoftDev

Hi guys, I am planning to jump into android development and also into Game development for now I am planning to develop a Battleship game can you guys help me out how to start and develop from scratch. Any help would be appreciated thanks

Member Avatar for oldSoftDev
0
104
Member Avatar for thekitoper

My c++ program asks for input of a integer type if the user inputs a character/string then the program crashes is there another method for this or another way to fix it thank you.

Member Avatar for pseudorandom21
0
341
Member Avatar for vedro-compota

Hello) Explain to me please - that's what does this error mean - [CODE] static void SearchPathBetweenCities(out string ReturnValue, CITY StartPoint, int n2 ) { // ReturnValue += "\n"; n2 += 2; // if (StartPoint.roadmass!=null) {} }[/CODE] error - [QUOTE]Error 2 The out parameter 'ReturnValue' must be assigned to before …

Member Avatar for saravind84
0
199
Member Avatar for winky

Hey everyone, Relatively new to Perl and had a quick question. Is it possible to assign a SQL query result to a variable? The query will always return a single interger result. This is what I have thus far: [CODE] use DBI; use DBD::DB2::Constants; $dbh = DBI->connect("dbi:DB2:SLOGAN","","") or die "Cannot …

Member Avatar for d5e5
0
2K
Member Avatar for XerX

[CODE]#include <cstdlib> #include <iostream> #include "ccc_time.h" using namespace std; int main(int argc, char *argv[]) { double r[10]; Time now; int seed=now.seconds_from(Time(0,0,0)); srand(seed); for (int i=1; i<=10; i++) { r[i]=(rand()%10+1); cout << r[i] << endl; } system("PAUSE"); return EXIT_SUCCESS; } [/CODE] This generates numbers between 1 and 10. What do I …

Member Avatar for MosaicFuneral
0
3K
Member Avatar for navi17

Hello, I want to build a online channels website where user can watch online channels in php. I have already done a lot of research. Can anyone tell me how can i get the live stream url of various channels E.g live stream url of sky sports is mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k so …

Member Avatar for chrishea
0
415
Member Avatar for jordankaushik

Hi everyone I need a general formula that is used for finding the determinant value of a NxN matrix.. please help me out...........

Member Avatar for DavidB
0
65
Member Avatar for Enders_Game

If I have example code: [CODE]url = "someurl" values = {"username" : USERNAME, "password" : PASSWORD} data = urllib.parse.urlencode(values) req = urllib.request.Request(url, data) urllib.request.urlopen(req)[/CODE] it passes username and password to the url that you request. So I want to post a thread in a forum. When I look at the …

Member Avatar for snippsat
0
224

The End.