199,111 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for garyjohnson

I have created two database tables, One which holds all of the users information, and another which holds the name of the videos they uploaded and who uploaded it. How do I get information from both tables?

Member Avatar for garyjohnson
0
200
Member Avatar for SteveyD

Using the snippet below, how would I make the *String songName* a Global for use in other areas of the code? a return? get;set;? Any help would be appreciated. public void Initialize(IExecutable executableObject, SetupData setupData, XmlNode setupNode) { this.m_setupdata = setupData; this.m_setupnode = setupNode; this.m_channels = executableObject.Channels; EventSequence sequence = …

Member Avatar for SteveyD
0
105
Member Avatar for DahliaBasik

/** * @(#)GeometricObject.java * * GeometricObject application * * @author * @version 1.00 2012/9/10 */ public abstract class GeometricObject { private String color = "white"; public GeometricObject(){ } public GeometricObject(String color){ } public String getColor(){ return color; } public void setColor(String color){ this.color=color; } public String toString(){ return " the …

Member Avatar for DahliaBasik
0
2K
Member Avatar for jacob21

Hi, my website svnnews.in is hacked yesterday. Now its showing some hackers messages. I need my website back.Need suggestion to make my website hack free.

Member Avatar for iamthwee
0
126
Member Avatar for JudyBetch

So my task was to write a boolena method to count the number of live neighbour of a cell t is a 2D boolean array with a row and column position, i have to count the number of surrounding cells that contain the value true. So the index number given …

Member Avatar for deceptikon
0
192
Member Avatar for andyy121
Member Avatar for andyy121
0
266
Member Avatar for strizh

I need to override String toString method so it woud print my deposits I dont't know how to override it, since in makeDeposit method I pass two variables I'm posting just a saple of my code, I'm not sure if you need the whole code public class Bank { private …

Member Avatar for stultuske
0
164
Member Avatar for Angle90

Hello Everyone, I need your help please, using htaccess, I like to know how to deny access to an index.php file from all visitors except me. I have tried the following; <files index.php> order allow,deny deny from all </files> That works denying all access to that file. I would like …

Member Avatar for Angle90
0
180
Member Avatar for gilgil2

Hi I am trying to write a password reset script. An email with a link is sent to the user, and then if the username and a 32 character string in the link match the info in the database they can change the password for that account. Here is what …

Member Avatar for iamthwee
0
1K
Member Avatar for andyy121

hi i wont to change the activatet value of user log in in database example:when i log in in the page the value must change from 0 to 1 any idea

Member Avatar for andyy121
0
237
Member Avatar for Eager_Beever

I am trying to build a Web Application using Visual Studio 2005 and C# 2005. I need to accept a date in a particular textbox. I tried to use AJAX Calendar Extender for the purpose. I have added AJAX Script Manager and CalendarExtender controls to the webpage and set the …

Member Avatar for Eager_Beever
0
1K
Member Avatar for r0vanz01

I am trying to output an arbitary double number (which might be negative) using only the printDigit for I/O, but when I run this program and you enter in a number is doesn't output anything. #include <iostream> using namespace std; void printDigit( int n ) { cout<< n; } double …

Member Avatar for np complete
0
714
Member Avatar for muhammads

Hi, I am having this problem when i try to execute the .exe of my application "Debug assertion failed !, Expression invalid null pointer" After a bit of googling i think so i know where the problem lies, but have no idea how to solve it. Below is the relevant …

Member Avatar for np complete
0
260
Member Avatar for Tinnin

Hi all, I'm trying to set up a typedef for vector type in a header file I've named Container.h The struct is called Student_info and is in a file called Student_info.cpp with header file Student_info.h My code in Container.h is as follows; #ifndef GUARD_Container_h #define GUARD_Container_h #include <vector> typedef std::vector<struct> …

Member Avatar for NathanOliver
0
233
Member Avatar for ssreevidya.m

Hi, I have 2 tables tbl_class & tbl_Divisions. structure: tbl_class tbl_Divisions tbl_class_division ---------- ------------- ------------------- class_Id (pk) division_Id(pk) class_division_id(pk) class_name division_name class_Id(fk) division_Id(fk) In my application I want to select division_Id,division_name by passing more than one class_id. if I pass 3 class_Id's , I want to get only those divisions …

Member Avatar for BitBlt
0
162
Member Avatar for opman234

Please help me. I want to make my software a trial version for 30 days. Help me with code to use , and the steps. •̸ŤђαϞĸs

Member Avatar for ObSys
0
346
Member Avatar for 7c00h

i have some code i am working on andit keeps throwing an expression expected error. this code is designed to cheeck a RichTextBox form and highlight text, specified by a dictionary. Dim location As UInteger = 0 Dim dict As Dictionary(Of String, ULong) = getWords(rText1) Dim wcount As Integer = …

Member Avatar for ObSys
0
2K
Member Avatar for devianleong

Currently all the images got no extension after I upload and mysql store the images with no extension too. Any solution? This is the code: <?php if(!empty($_POST['Name'])){ if(!empty($_POST['SellPrice'])){ if(!empty($_POST['RentPrice'])){ if(!empty($_POST['Quantity'])){ if(!empty($_POST['CostPrice'])){ $name = $_POST["Name"]; $SellPrice = $_POST["SellPrice"]; $RentPrice = $_POST["RentPrice"]; $Quantity = $_POST["Quantity"]; $CostPrice = $_POST["CostPrice"]; $Category = $_POST["Category"]; $name …

Member Avatar for pritaeas
0
173
Member Avatar for nitin1

actually, I was thinking arbitrary that i should make my own sizeof function. till date, i have made many many my own C functions which are also defined in C libraries. but i got strucked in sizeof operator desiging. can anyone give me hint how to start with this ? …

Member Avatar for deceptikon
0
169
Member Avatar for HunainHafeez

i have an issue , when i click on YES or NO (radio button) to enable/disable DIV section (EmployerInfo), it causes the whole page to refresh and scrolls back to the top of firefox every browser. i set Autopostback to true and i put MaintainScrollPositionOnPostback="True" in page directive but still …

Member Avatar for HunainHafeez
0
132
Member Avatar for toby.thomas.79

I have developed an Opengl based desktop game and wish to publish it in net. I want to host the final setup/installer of the game which is around 150mb, so that anyone can download it from the link. Can anyone please recommend services that offer free publishing of such applications? …

Member Avatar for Anddos
0
169
Member Avatar for benjie.v.sanpedro

Can anybody help me please? My codes does'nt seem to work and i don't know the error.

Member Avatar for Reverend Jim
0
86
Member Avatar for aabbccbryanmark

public class asterisk { public static void main(String[] args) { int row, col, spc=3, spc1=2, spc2=1, spc3=0; for(row=1;row<=1;row++) { for(col=1;col<=1;col++) { for(spc=spc;spc>0;spc--) { System.out.print(" "); } System.out.print("*"); System.out.println(); { for(spc1=spc1;spc1>0;spc1--) { System.out.print(" "); } System.out.print("**"); System.out.println(); { for(spc2=spc2;spc2>0;spc2--) { System.out.print(" "); } System.out.print("***"); System.out.println(); { for(spc3=spc3;spc3>00;spc3--) { System.out.print(" "); } …

Member Avatar for stultuske
0
592
Member Avatar for HunainHafeez

i knwo that validation controls actually validates asp:net contols but the thing that confuses me is that "Wheter it validates at server side or client side " ? i heard that it validates at client side so what does it have an attribute "Runat=server" ? plz elaborate

Member Avatar for HunainHafeez
0
84
Member Avatar for Arpita Asthana

hello I m 3rd year enginnering student in computer science field. I have to make project in DBMS using connectictivty with VB. could you plz suggest me the topics and guide me with ur valuable ideas. thanx Arpita Asthana

Member Avatar for priyanka.shinde
0
1K
Member Avatar for crazydevelopervish

I have Table named Product Have Fields as Prod_ID int Prod_Name varchar(50) Price int Image varchar(50)----save as url I have form which have one DropDownList Having Boung To Prod_ID Coloum it shows all the data from prod_Id coloumn and have one gridview... if user selects prod_ID from dropdown then it …

Member Avatar for MARKAND911
0
131
Member Avatar for sonakrish

Hiii Alll I need to display a message to the user after clicking the button control. How to do this in c#.net? I could not find Msgbox() option as we hav in vb.net. can any one help me

Member Avatar for walflo
0
2K
Member Avatar for Secone

I'm trying to use a while loop to read in some files, but it only reads once and quits. Not sure what's wrong, professor says this is how it should work as long as I'm understanding him correctly. void populateStruct(ifstream &filein, WordStruct Words[1000], int &itemamount) { while (filein >> Words[itemamount].Word); …

Member Avatar for Secone
0
167
Member Avatar for gurusubramaniam

Hi.. I want redirect a frame into next frame. In swing method how to redirect a frame into next frame ?

Member Avatar for stultuske
0
137
Member Avatar for anitg

I have no issues with the query in the below code. But the second code is throwing the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Working code …

Member Avatar for smantscheff
0
293
Member Avatar for Dzulham

I want to have 60 buttons that each button has same function with other but not the output when its selected/focused. I don't want to make one by one function. Here is what i mean: Private Sub Button_Click() Handles button1.click, button2.click, .... ,button60.click Dim ST As Button [ST As Selected/Focused …

Member Avatar for Dzulham
0
106
Member Avatar for triumphost

How can I get a DLL's Parent Window Title? OR How can I get the PID of the process that loaded my DLL? I need this so I can make a file for each process that loads my DLL but the file has to contain some sort of identifier. Something …

Member Avatar for Ancient Dragon
0
354
Member Avatar for poojavb

Hello All, I have a Java program which is using a JOptionPane in it. eg. Are you sure u want to close the application? Yes No When I click with the mouse on the No button it works correctly but if I select the No button using the TAB key …

Member Avatar for poojavb
0
412
Member Avatar for eric.mashiyane

private void button4_Click(object sender, EventArgs e) { { SqlConnection conn = new SqlConnection("Data Source=user-PC;Initial Catalog=URBAN-AUTO-CLINIC;Integrated Security=True;User Instance=False"); SqlDataAdapter adaptor = new SqlDataAdapter(); DataTable table = new DataTable(); DataSet ds = new DataSet(); adaptor.SelectCommand = new SqlCommand("SELECT FirstName,LastName FROM ClientNCar WHERE FirstName ='" +txtFName.Text +"'AND LastName='"+txtLName.Text+"'",conn); adaptor.Fill(ds); ClientSearchDisplay.DataSource = ds.Tables[0]; } …

Member Avatar for nmaillet
0
1K
Member Avatar for johnray31

Hello friends, I was trying to brush my programing skill and was not able to get answer of "why array size is different inside function solution1?" Inside main, size of array is 11 but inside solution1 its size is just 2. Here is my code... #include <iostream> #include <stdio.h> using …

Member Avatar for johnray31
0
178
Member Avatar for elmer0727

Hi, Please help on this. How can I let the buttonmenus shows when the toolbar menu is clicked? Here is my code: Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) Select Case Button.Description Case "Maintenance" 'I want to display submenus when this is clicked! 'button menus: '1.) Employee '2.) company '3.) department …

Member Avatar for AndreRet
0
657
Member Avatar for navogatoo

How can I make ONE database be updated from multiple terminals connected through a LAN network? How can I access the database through a LAN network in visual Basic 6?

Member Avatar for AndreRet
0
559
Member Avatar for VisUaLBAsiCNewb
Member Avatar for michael.vanrooyen1

i want to change the path so it saves to the current file location. so lets say my current file is 'Z:\cdrfiles\myfile\123'then it should save to the current file open Dim SaveOptions As StructSaveAsOptions Set SaveOptions = CreateStructSaveAsOptions With SaveOptions .EmbedVBAProject = True .Filter = cdrCDR .IncludeCMXData = False .Range …

Member Avatar for AndreRet
0
280
Member Avatar for dante123

Hi I have a menu that is included in all my pages. When the menu item is clicked it opens a new page and the clicked item changes his color to magenta this, is perfect. Each Item has a submenu the problem starts when i open one of the submenu …

Member Avatar for broj1
0
228
Member Avatar for borchu

Hello everyone, I have question about how AudioTrack instance should be used for streaming applications. Below my code example and some brief explation about code ... /* some work before */ InputStream in = client.getInputStream(); AudioTrack output_stream = new AudioTrack(AudioManager.STREAM_MUSIC, 8000, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_8BIT, 8192, AudioTrack.MODE_STREAM); byte[] buffer = new byte[8192]; …

Member Avatar for borchu
0
543
Member Avatar for HunainHafeez

what if i have two dropdown lists.....which has list items with same values ? is it harmful ? mean list item with same values of 2 different drp dwn lists ? and what does it mean actually ? usage ?

Member Avatar for HunainHafeez
0
79
Member Avatar for <M/>

I wrote a slider that fades... but how do i get it to display randomly... but still fades :) Thanks Will post my code if needed!!!

Member Avatar for lps
0
85
Member Avatar for RozenKristal

So my assignment is make a dynamic array to read integers from a file, which the first integer is the size used to create a dynamic array. But I am lost at how to specifically take the first integer. main(int argc, char **argv) { float average; /* SET this variable …

Member Avatar for nitin1
0
139
Member Avatar for owenransen

I want to port some graphics applications in C++ which compile to Windows Executables to run as WEB apps. I don't want to throw away all the code I've written in C++, so it seems to me that Microsoft Azure would be prefect. My idea is that I learn to …

Member Avatar for owenransen
0
200
Member Avatar for benjie.v.sanpedro

strsql = "insert into amenity_tbl values (?,?,?,?,?)" strs = "delete from amenity_tbl where amenityid = ?" Using cn As New OdbcConnection(connM), _ cmd As New OdbcCommand(strsql, cn), _ conn As New OdbcConnection(connA), _ com As New OdbcCommand(strs, conn) cmd.Parameters.Add("?", OdbcType.VarChar, 20) cmd.Parameters.Add("?", OdbcType.VarChar, 200) cmd.Parameters.Add("?", OdbcType.Double, 20, 2) cmd.Parameters.Add("?", OdbcType.VarChar, …

Member Avatar for Reverend Jim
0
160
Member Avatar for garyjohnson

I have found the program ffmpeg and have been looking into it, and I can see that you can use php to convert the videos that are being uploaded but I want to know where I need to start with this program to get it working.

Member Avatar for LastMitch
0
189
Member Avatar for garyjohnson

Here is a basic join code for two database tables, I want it to compare the two tables with a users email, it would have to be the current user logged on. How do i do so with php? SELECT column_name(s) FROM table_name1 INNER JOIN table_name2 ON table_name1.column_name=table_name2.column_name

Member Avatar for garyjohnson
0
2K
Member Avatar for garyjohnson

Hello I have made a php file upload for the visitors of my site to upload small videos too, now I want the users that are logged into their account to have the videos they upload be linked to their user id, so anyone vewing the small video can know …

Member Avatar for garyjohnson
0
3K
Member Avatar for dreday92

// Can Someone help me with the last function at the bottom. I am trying to display the top scorers, not just top scorer. If someone could point me in the right direction it would be greatly appreciated. #include <iostream> #include <iomanip> #include <string> using namespace std; struct Players { …

Member Avatar for WaltP
0
288

The End.