64,152 Solved Topics
Remove Filter ![]() | |
[CODE] [I]Server.aspx[/I] <%@ Page Language="C#" CodeBehind="Server.aspx.cs" AutoEventWireup="false" Inherits="AMChat.Server" %> <p> </p> [/CODE] [CODE] [I]Server.aspx.cs(excerpt)[/I] namespace AMChat { /// <summary> /// Summary description for Server. /// </summary> public class [B][U]Server[/U][/B] : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { . . . [/CODE] When I build this application, I get … | |
[CODE] [I]Server.aspx[/I] <%@ Page Language="C#" CodeBehind="Server.aspx.cs" AutoEventWireup="false" Inherits="AMChat.Server" %> <p> </p> [/CODE] [CODE] [I]Server.aspx.cs(excerpt)[/I] namespace AMChat { /// <summary> /// Summary description for Server. /// </summary> public class Server : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { . . . [/CODE] When I build this application, I get … | |
I have a number of functions I would like to reuse in multiple pieces of code. I have put these into a single header file that looks something like the following: [CODE] #ifndef FUNCTIONS_H #define FUNCTIONS_H //function prototypes extern float sum(vector<float> &v); //calculate sum of a vector float sum(vector<float> &v) … | |
Hi, I have a problem related to BACK button in browsers. In [U]very first page[/U] my basket shows "0 item". I go to [U]next page[/U] to add one item to basket and it shows "1 item" in [U]current page[/U]. If I hit BACK button in browser to go back to … | |
Hi all, I am working on a data file that looks like the following: [CODE]value1: 0.7586 +/- 0.00473 value2: 0.664901 +/- 0.0357 value3: 0.662784 +/- 0.00447 ------------------------------------------------------------------------------------------------------------------------- value1: 0.765217 +/- 0.00425 value2: 0.694663 +/- 0.0277 value3: 0.66438 +/- 0.00393 ------------------------------------------------------------------------------------------------------------------------- value1: 0.758317 +/- 0.00332 value2: 0.648057 +/- 0.0201 value3: 0.660746 … | |
I wish to call a form with the form name contained in a variable using a declaration such as [CODE]public myform as form[/CODE] will work if the formname is used. but myform will not accept a variable containing the form name | |
Hi,I want to retain value of checkbox,when some validation error occours. In this i am calling a function checkCheckBoxes() & want to call this function when validation error occours. [CODE]<input type="checkbox" name="chk1" onclick='checkCheckBoxes() <?php if (isset($_POST['chk1'])) echo ' checked="checked"'; ?>'/>check for Birth year only [/CODE] function [CODE]function checkCheckBoxes() { if(document.myform.chk1.checked) … | |
hello guys. i got a method that someone showed here BUT it doesnt work 100%... i mean..i put this folder C:\Users\chris\Documents .. if i search for *.docx, it finds only the docx files that are in SUBFOLDERS inside the Documents.. it does NOT find docx files that are in C:\Users\chris\Documents … | |
Hello, somehow my program passes directly to else statement after [QUOTE]System.out.println("Would you like to draw another triangle? (Yes/No): ");[/QUOTE] something is wrong with if statement at the end...please help [CODE] import java.util.*; public class Triangle { public static void main (String [] args) { System.out.println("Welcome to the Triangle Program"); int … | |
I've searched a while, can't find this... I'm looking for a way to present two choices for values, then to have a result immediately appear based on those choice. IE... The first choice is an option between 1, 2, 3, 4, or 5 players... and the second choice is an … | |
Hi Frendz, In my vehicle tracking system, I have got the latitude and longitude points of the vehicle for every 30 secs while the vehicle moving. Now i need to get the report of the vehicles when it crosses from one state to another state and one district to another … | |
Hello, I wanna ask about scan card. Is there any way to disallow keyboard input and only allow scan card input to key in a field? FYI, I am using vbscript, html and javascript for this program. So, may be doing something with the javascript? How about limit the time … | |
Hello, I need help with an assignment, been trying to figure it out for couple of hours with no luck, hope someone here can help me, i would be extremely grateful. I need to create a 2D array 5x4, each row represent a student and each column respresents a subject. … | |
Alright so whatever i do i cant get this to work. Now...im not a wizzard or anything but why does it have to be so damn hard to find out if its more than 2 minutes or more in difference by the time in database to now. The "timed" in … | |
After running the command [CODE] find . -name "R*VER" -mtime +1 -exec sh -c 'grep -H ^err "{}" || echo "{}:No error"' \;[/CODE] my files look like this [CODE] RRR1~COS~COSMETICS~40048~jgmdtv113~1~P~R22-200~029053662549~20110607~102151.VER No error RRR1~COS~COSMETICS~ETT03~jgm14652.~3~F~R16-500~000907009757~20110607~085109.VER err 3922 [/CODE] Using the tilde (~) symbol as delimiter in the file name, can I extract … | |
What does it mean for a hash function to be 32 and 64 bit? [URL="http://www.isthe.com/chongo/tech/comp/fnv/index.html"]http://www.isthe.com/chongo/tech/comp/fnv/index.html[/URL] | |
Hello Guys! :) I am just wondering how I would be able to echo a random [B]hour[/B] timestamp. Any help would be appreciated! Yours, Public-Image | |
[code] ListBox2.Items.Clear() Dim myCoolFolder As String = "F:\" Try For Each myCoolFile As String In My.Computer.FileSystem.GetDirectories _ (myCoolFolder, FileIO.SearchOption.SearchAllSubDirectories, "*.*") ListBox2.Items.Add(myCoolFile) Next Catch ex As UnauthorizedAccessException MsgBox(ex.Message) End Try MsgBox("Total Files: " & CInt(ListBox2.Items.Count).ToString("#,###,###")) [/code] This code is for listing all folders including subfolders. but when i run this code … | |
Not sure if I should out this here or in the php forum, I have a question that's probably gonna include both SQL and php... I'd like to add an image field to a table I have but I've never stored images in an SQL database before and I'm not … | |
Hi I am working on fast fourier transform where I have to use std::complex<> template class types. I have a situation where I want to calculate nth roots of unity as follows w = pow(e, 2*pi*j/n) Where e is eulers constant, and j=sqrt(-1.0); But this doesnt work for me as … | |
Hi, I'm working on a unofficial app to get the movie listings from a webpage [url]http://cinepolis.com.mx[/url]. In order to get the correct movie listings, the user must select his city. Now, using HTMLParser I was able to get the list of cities, but because some of these have non english … | |
Hi everyone! I'm trying to add the class="" to an image tag in php but I can't make it work. The code is this: [code] echo "<td width=\"$columnWidth%\" align=\"center\"><a href=\"$url\"><img class="pImageCenter" src=\"$image\" border=\"1\" /><br>$name</a></td>\r\n"; [/code] Help please | |
hay guys... i m new here and having problem in finding a row through a combobox i did that with a simple text box it is working fine here is the coding [CODE] private void btnFind_Click(object sender, EventArgs e) { string searchFor = textBox4.Text; int results = 0; DataRow[] returnedRows; … | |
Hi, in oracle 10g express, I logged in system/HR. I typed: CREATE USER SHIPU IDENTIFIED BY SHIPU1. click Run. Then I typed, GRANT SELECT, INSERT, UPDATE ON EMPLOYEES TO SHIPU WITH GRANT OPTION click Run. I logged out and logged back in as SHIPU/SHIPU1 I typed SELECT * FROM EMPLOYEES. … | |
Hi, I am new to php development! I have email table in my database which has email records. On the page read_emails.php, i have two buttons, one is of Reply and second is of Delete. My delete button is not deleting the email record in the database.[B] Please help me … | |
Hello all, I have a database which has 10 tables. Each table has an id, a title and a date. Now i'm having difficulty finding the best way to extract the [B]latest date[/B] from each unique table, while also doing a count(*) attribute to show how many rows I have … | |
Hi there guys I need some help I am creating an inventory with loads of exception handlers, I got a problem with isalpha and isdigit because supposedly it will detect whether an input is a char or a digit... Ok I tested a simple program to show my problem. I … | |
Hi there, I am in the process of implementing draggable/droppable interaction using the JQuery UI. This is something that I have very little experience with so please be gentle. I can drag and drop using <tr> elements which looks great, but I need to get the <tr> attributes (perl variables) … | |
How could I register a function to receive an event when the user presses the space bar in a text field? Better yet, where in the fine manual should I be reading about how to do this? I'm not finding much by googling, and I think that I should be … | |
Hi all.. I've learnt a bit of html and css in the last week, and am eager to start with more complex website actions than simply posting widgets.. For instance, allowing comments to be made and feedback etc.. I was wondering whether PHP is a good place to start for … ![]() | |
Hello all, I have been working on a card game for the last month or so and sofar have created the basics ie. cards, deck... The language is ANSI-C and is created in programmers notepad with devkitpro and MLlib. Everything is working greate so far as in I can shuffle … | |
I am using crystal report of VS 2008. I want to open a crystal report in PDF even when it is loaded with out showing the crystal report . I also not want to show the save dialog box while opening in PDF. With code below the report is opening … | |
Hi Guys, I am working on converting a console application into a user friendly GUI. The actual application is written in visual C++ and person has no information none what so ever on how to run it. So to understand the technique I am trying to experiment with the application. … | |
Variable 'loNode' is used before it has been assigned a value. A null reference exception could result at runtime. does anyone know why I am getting this error? [CODE]Imports System.Xml Module Module1 Sub Main() Dim doc As New XmlDocument Dim loNode As XmlNode Dim nodes As XmlNodeList doc.Load("C:\Desktop\Template.xml") nodes = … | |
Hi all, I am doing a small project which needs Tab control in JSF page.. so i went for MyFaces Tomahawk. While using it I experience a different error. While using components like Input Calendar, Input date etc, Its working Fine.. But while using TabbedPane It throws me an excpetion … | |
Can someone tell me wy image/png dos not workinig in IE Her i have the code [CODE]<?php session_start(); if(!session_is_registered(myusername)) { header("location:../../../weinachtfeier.php"); } ?> <body bgcolor="blue"> <?php if (isset($_POST['senden'])) { if($_FILES['cover']['size'] === 0 || empty($_FILES['cover']['tmp_name']) || $_FILES['pic']['size'] === 0 || empty($_FILES['pic']['tmp_name'])) { echo("<form action='albums.php' <div style='background-color: blue; border: solid red 3px; … | |
I have 2 applications. one is a console application and the other is a windows form application. I need both of these to run together in order for my application to work. for example: The console application - has controls over the cursor, so it'll navigate 5cm blocks from left … | |
Hello, Im creating a TS3 server admin tool. And Im having a Problem adding items to the DAtagrid View. Ive got like 8 Columns and I want to add this data to the correct Column But IDK What Im Doing Wrong [LIST] [*]# [*]Server ID [*]Server Port [*]Server Status [*]Clients … | |
Is it possible? I have three midlets. I want only one running first and others should be available to the user after lauching the 1st midlet. How can I achieve this?? | |
Hi, I am using windows form. Now in this window i have 2 textboxes which have their validation using the error provider. Now i want that when the user clicks on the close button it closes not rests until u enter something in the textboxes. How can i do so? | |
This is a snippet of global.asax.cs. [CODE] . . . . namespace AMChat { public class Global : System.Web.HttpApplication { private System.ComponentModel.IContainer components = null; public static AMChat.[B][U]ChatEngine[/U][/B].IChatEngine Engine = new AMChat.[B][U]ChatEngine[/U][/B].ChatEngine(); . . . . [/CODE] I have a folder 'AMChat' in which there is another folder 'ChatEngine' which … | |
hello, i am creating a api, but i have run into a problem, its not returning anything when i call the action "profile" but everything else if working perfectly, please can you help me diagnose and ammend this problem thanks... [url]http://api.bititude.com/blueniverse/wardrobe.php?action=profile&friend=patch[/url] [CODE]<?php //////////////////////////////////////////////////////////// // Title: Blueniverse Developers API // // … | |
![]() | I had a problem with some program I wrote that edit specific values within a specific file. When I saved the values, using fstream's write() function, everything between these values became null. I've looked again in the I/O tutorial - [URL="http://www.cplusplus.com/doc/tutorial/files/"]http://www.cplusplus.com/doc/tutorial/files/[/URL] and saw that they use memory block at the … ![]() |
hi, i came up with an idea of doing a music recognition for my theses but i do not know where to start from. basically this app will be that one plays a song from his PC (for now) and the program will recognize the song and finds the name, … | |
Hi I'm working on a function which involves multiplying by 0.5 and I've got a bit of a problem with it. I think I'll be able to solve it in overall, however, I just wonder if multiplying by 0.5 in javascript could be causing a trouble. Sorry I tried searching … | |
Hi everyone. So one of the last things of my shopping cart is to fix the currency. The problem is that it is on the left side like this $10, and I want it to be on the right like this 10$. Here is the file: [code] <?php header ('Content-type: … | |
[CODE] . . . . namespace AMChat { public class Global : System.Web.HttpApplication { private System.ComponentModel.IContainer components = null; public static AMChat.[B][U]ChatEngine[/U][/B].IChatEngine Engine = new AMChat.[B][U]ChatEngine[/U][/B].ChatEngine(); . . . . [/CODE] I have a folder 'AMChat' in which there is another folder 'ChatEngine' which includes two .cs files - ChatEngine.cs … | |
I am trying to pass two variable using javascript but i dont really know the syntax [CODE] if(entity==3){ var month = document.getElementById('mymonth').value; var program = document.getElementById('mylist').value: location.href = "view_results.php?month="+month; [/CODE] i only how to pass month but i cant figure out how to pass both month and program thanks in … | |
How to i implement loops to print the initialised word as foloows: Thanx in advance. p pr pro prog progr progra program programm programmi programmin programming programmin programmi programm program progra progr prog pro pr p | |
I don't know know how to get ASP.Net and Web Authentication components for IIS 7.0. I could install IIS 6.0 Metabase and Configuration compatibility. I am using VS 2008 and Windows Vista Ultimate ! Please Help ! Thnx |
The End.