199,111 Archived Topics
Remove Filter ![]() | |
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? | |
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 = … | |
/** * @(#)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 … | |
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. ![]() | |
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 … | |
when i click in the search button it must display whatever i type in | |
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 … | |
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 … | |
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 … ![]() | |
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 | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
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 | |
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 = … | |
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 … | |
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 ? … | |
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 … | |
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? … | |
Can anybody help me please? My codes does'nt seem to work and i don't know the error. | |
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(" "); } … | |
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 | |
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 | |
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 … | |
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 | |
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); … | |
Hi.. I want redirect a frame into next frame. In swing method how to redirect a frame into next frame ? | |
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 … | |
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 … | |
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 … | |
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 … | |
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]; } … | |
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 … | |
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 … | |
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? | |
please help me how to do it ,,, step by step please.... hahahahaha | |
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 … | |
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 … | |
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]; … | |
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 ? | |
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!!! | |
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 … | |
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 … | |
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, … | |
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. ![]() | |
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 | |
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 … | |
// 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 { … |
The End.