199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for king03

hi guys I tried to generate random numbers in a console app but my code doesn't work. Anyone who can help me fix my code? Here's mine: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication { class Program { static void Main(string[] args) { private int RandomNumber(int min, …

Member Avatar for ChrisHunter
0
269
Member Avatar for astian

Hi, again Im hoping to be on the right topic. So here it is: I am publishing a SilverlightApplication that uses a WCF service to read from a database. The application uses Bing Maps to visualize some polygons. The thing is, that after I publish it ONLY on some machines …

0
154
Member Avatar for alaa sam

hey everyone Well currently I'm on a very long holiday and I'm trying not to waste my time doing nothing . So can any one tell me where I can get some tasks or anything to tell me what to implement ?? so that I can learn new things in …

Member Avatar for madelinekim
0
326
Member Avatar for newbie1234

How to implement sizeof api. Means sizeof is already there but i do not want to use that. Major question is .... If i want to use size of int. than i can get by pointer but do not know in the case of array of int. I think that …

Member Avatar for sepp2k
0
129
Member Avatar for pritaeas

The `ReplaceStrings` function replaces all strings in `APatterns` found in `ASubject` with the value in `AReplacement`. As an example, I added the `RemoveStrings` function which replaces everthing with an empty string, thus deleting all strings found. Usage examples are in the XMLDoc comments. A good test will be to rewrite …

Member Avatar for pritaeas
0
283
Member Avatar for mits28

I'm new to PHP.I'm trying to do something very simple,I have tried to search on google but still i'm not understanding why its not working. I'm trying to send information through a url, and having a script pick it up using the $_GET super global. This is FORM.php script: `<form …

Member Avatar for tyson567
0
195
Member Avatar for lucasalf11

Hey guys, I want that when I press the F2 button on the textbox, a new form shows up. I have KeyPreview setted to true, and I am using a KeyDown event, here is the code: private void txtnumero_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode == Keys.F2) { fmrplantnum sfpn …

Member Avatar for lolafuertes
0
156
Member Avatar for nquadr

# What's wrong with this code? # Hi I have defined wb1 as a Workbook. I am trying to run this code `wb1.ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Select` It is supposed to select the last row in a cell, however it gives me an error Run-time error '1004' Application-defined or object-defined error. I am …

Member Avatar for samsylvestertty
0
106
Member Avatar for king03

hi guys just wanted to ask what's the purpose of a this.GetType() in c#. I saw it in our professor's example. Also what's the purpose of that little maroon circle on the left part of my screenshot and why is every code beside it highlighted in maroon as well? Please …

Member Avatar for ChrisHunter
0
297
Member Avatar for skiabox

I have two panels. One with the price (OHLC) and a moving average, and one with the volume. I want to create a middle panel with to oscillators that oscillate around zero. Each oscillator is the difference of two moving averages of the chart above it. Is it possible? Thank …

Member Avatar for skiabox
0
198
Member Avatar for Raakesh399

hi, i want to create a website with web services facilities in php. is this possible?

Member Avatar for Raakesh399
0
99
Member Avatar for SoftEngGroupE

I need to load a BMP into C++ and code a program to convert it into a JPEG. I have very little programming experience and am wondering what libraries should be used to efficiently convert an image in this way. Is there a library that will convert the BMP straight …

Member Avatar for palanethra.ag
0
653
Member Avatar for kerek2

Hi, I'm already using ORacle 11G . The problem is when i'm using System.Data.Oracleclient to pull blob into picturebox it's ok, but when i'm using OracleDataaccess.Client / Types.....there no image appear n comeout error " Parameter is not valid" in this coding :- > Quoted Text Here Dim bmp As …

Member Avatar for kerek2
0
563
Member Avatar for libathos

I want to consume a WCF service with DataContracts from my Android app, and I'm using Eclipse as my IDE. In .NET when I add a service reference I automatically get metadata and automatically-generated code for calling that service. Is there a way to do so in Java/Android/Eclipse? I wouldn't …

Member Avatar for libathos
0
126
Member Avatar for tyson567

//$time in the second php code hold the time stored in the database in the same format as above(ie TIMESTAMP Format) //Save the first php code as timeago.php //include first php code u saved in the second php code as i have done.. //Use the Second Php code Wherever You …

Member Avatar for tyson567
0
1K
Member Avatar for triumphost

I have: 39H4-GTT7-LGLN And I'm trying to find every possible combination of sets. Basically each section is scrambled within itself. So there's only 16 combinations for each section. Example the first section I wrote it out as: 39H4 394H 349H 34H9 49H3 4H93 493H 4H39 9H34 934H 943H 9H43 H493 …

Member Avatar for Lucaci Andrew
0
107
Member Avatar for bhagawatshinde

Hi, I am new in asp.net. I have created an user control containig 3 dropdownlist (date/month/year) now how to get the value of the user control in aspx page. Thanks in advance.

Member Avatar for GarryHillton
0
166
Member Avatar for alex130

I'm trying to compile the following program (file named test.cpp): #include "stdafx.h" int main(int argc, char* argv[]){ INPUT *buffer = new INPUT[1]; //allocate a buffer buffer->type = INPUT_MOUSE; buffer->mi.dx = 100; buffer->mi.dy = 100; buffer->mi.mouseData = XBUTTON1; buffer->mi.dwFlags = MOUSEEVENTF_LEFTDOWN; buffer->mi.time = 0; buffer->mi.dwExtraInfo = 0; SendInput(1,buffer,sizeof(INPUT)); delete (buffer); //clean …

Member Avatar for JananiSekar
0
589
Member Avatar for Subless

I need a little help creating a current page link system that makes the link text bold but not linked. The basic concept is setup like this: <strong>Link 1</strong> <-----------Current page is bold not linked <a href="test.php">Link 2</a> <a href="test2.php">Link 3</a> <a href="test3.php">Link 4</a> The pages that I am not …

Member Avatar for diafol
0
186
Member Avatar for lucasalf11

Hi guys I'm new here and willing to help in the future. Right now I'm developing a program, and I need to store the data selected in a combobox in a global variable, and use it in another form. Basically I have a combobox where you select a company, these …

Member Avatar for hericles
0
143
Member Avatar for rahul.ch

Here when I execute the program, the output I'm getting on all the tries is 342 (naturally first 34 prints together then 2 seconds later 2 prints). My doubts is that is the order of start() [x.start() followed by y.start()] important in order of execution? Shouldn't the output be 234? …

Member Avatar for rahul.ch
0
267
Member Avatar for srinivas88

Hi, i'm using the following cmd to remove all lib files ending with .a find . -name "*.a" -exec rm -rf {} \; I have a file which i dont want to delete , say test.a, I just want to know how to make rm not delete test.a, but delete …

Member Avatar for ramaakella
0
238
Member Avatar for shibu2all

void quick_sort (int *a, int n) { if (n < 2) return; int p = a[n / 2]; int *l = a; int *r = a + n - 1; while (l <= r) { while (*l < p) l++; while (*r > p) r--; if (l <= r) { …

Member Avatar for sethlahaul
0
188
Member Avatar for sparsh610

hey starting data structers through pointers , i don't know how to reverse a singly linklist? pls help

Member Avatar for sethlahaul
0
172
Member Avatar for lastbencher

I made the following functions for deleting a node of a singly linked list. 1. Can these functions be improved furthur? 2. Is it necessary to free the memory of the node that is deleted? nodep deleteByValue(nodep p, int value) { nodep temp = p; if(temp->data == value) return temp->next; …

Member Avatar for sethlahaul
0
215
Member Avatar for TyroneDavis

Can anyone recommend any software that can be used to combat software piracy?

Member Avatar for Techjunkie1900
0
113
Member Avatar for rileyganimator

Not sure if this is in the right forum because I didn't really know where else to ask this, but I need some help with my site. Version of apache on my site: 2.2.17 //not sure if this helps people answer my question or not The problem I'm having is …

Member Avatar for rileyganimator
0
163
Member Avatar for CaptCuffs

Hi guys, I was wondering if anyone can help. I need to count the number of lines of text in an array (they are separated as bullet points at the moment) and after a certain amount of lines, the array will carry on from a new column. Really struggling at …

Member Avatar for Crakken
0
137
Member Avatar for ParadoxNiner

When I plug in the USB joystick, I'll have to go to the control panel and select game controllers. I click on the properties and a pop-up is displayed. On the top left hand corner of it, there's this small square 'picture' with a plus sign at the middle indicating …

Member Avatar for ParadoxNiner
0
263
Member Avatar for kRod

Hello all. I have a question on searching a List(Of CLass). I am not sure how it is labeled List<OF T> or List(Of Class) However you label it here is the Class EXT Public Class EXT Implements IComparable Private m_extension As String Private m_exe As String Private m_description As String …

Member Avatar for kRod
0
480
Member Avatar for hericles

OK, I've wasted 2 hours on this so it time to ask for help. I opened up my latest website that I'm working on (VS 2010) this morning and whenever I access a page that uses server side code I get errors like these: CS1061: 'System.Web.UI.WebControls.Image' does not contain a …

Member Avatar for hericles
0
208
Member Avatar for noobphp

Guys I need ur help please >=< I finished adding database and all but i need help with search can someone help me? The description is this Display the student’s id, name and contact number ONLY in tabular format. The data must be sorted according to the student’s id, hence …

Member Avatar for akmozo
0
147
Member Avatar for poloblue

Good Afternoon, I'm reviewing structs, but don't get the concept very well. Assume the following structure declaration is given struct Rectangle { int length; int width; }; write a function that returns a Rectangle structure. The function should store the user's input in the members of the structure before returning. …

Member Avatar for poloblue
0
202
Member Avatar for LastMitch

Hi I'm trying to open a file from my **OS** (**Window 7**) from my web host server. But it can't load the files. I try fget() but it seems like it's not reading it? <?php session_start(); header("Cache-control: private"); include("include/capable.php"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> …

Member Avatar for LastMitch
0
202
Member Avatar for jameswj83

I am having trouble with this assignment, especially the input file and how to get the data into an array: You will design a set of classes for storing student information, along with a main program that will read student information from a file, store the data, compute final grades, …

0
261
Member Avatar for 4344

.386 .model flat,stdcall option casemap:none WinMain proto :DWORD,:DWORD,:DWORD,:DWORD include \masm32\include\windows.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc include \masm32\include\gdi32.inc include \masm32\include\winmm.inc includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib includelib \masm32\lib\gdi32.lib includelib \masm32\lib\winmm.lib .data ClassName db "SimpleWinClass",0 AppName db "SimpleVirtualPiano",0 szText db 'This is a Simple VirtualPiano----------->made bu liuwei 2003.11.19',0h .data? hInstance HINSTANCE ? hdc HDC ? …

Member Avatar for GunnerInc
0
127
Member Avatar for unrealni

Hey guys I have a problem with my login form.I made a site and i run that site on xampp localhost and it's work fine, but then I transferred files to web hosting and my login form show this error : **"Warning: mysql_num_rows() expects parameter 1 to be resource, boolean …

Member Avatar for diafol
0
375
Member Avatar for on93
Member Avatar for Lucaci Andrew
0
293
Member Avatar for ryan461

I've got an XML file that looks like this: <routingTable> <router> <id>1</id> <ip>1.1.1.1</ip> <nexthop>1.1.1.2</nexthop> </router> <router> <id>2</id> <ip>2.2.2.1</ip> <nexthop>2.2.2.2</nexthop> </router> </routingTable> With possibly more than two router entries as time goes on. What I would like to do, is take each router instance and throw it into a dictionary. This …

Member Avatar for ryan461
0
213
Member Avatar for kris222
Member Avatar for iamthwee
0
127
Member Avatar for Yomet

Hi all, Here's to hoping that a SQL Server guru is hiding among the ranks of DaniWeb members. I have two servers, DB01 - the production database server and BKP01 - the backup server, that are in two different geographical locations. Since some queries on DB01 are accessing BKP01 there …

Member Avatar for cutepinkbunnies
0
5K
Member Avatar for elmer0727

Hi, We have an SQL Server 2000 with one 138GB database currently used. I am worry of the performance because as time goes it becomes slower and slower. So I tried googling out the solution and I found out the DBCC Reindex command. As what I read, first you have …

Member Avatar for cutepinkbunnies
0
345
Member Avatar for Nirvin M

Why does the following snippet produces different result than expected? #include <stdio.h> int main() { int i = 5; printf("%d %d %d", i++, i++, ++i); getchar(); } I compiled and run this code with Visual C++ 2010 and it produces the output 7 6 8 instead of 7 6 6 …

Member Avatar for TrustyTony
0
185
Member Avatar for Sadia fatima

Is it possible to reuse an identity field value after deleting rows in SQL Server 2005? Here is an example. Suppose I have a table with an Id field as a primary key (identity). If I add five rows, I will have these 5 Ids: 1, 2, 3, 4, 5. …

Member Avatar for cutepinkbunnies
0
776
Member Avatar for xbat

I have two ajax mysql php 2 drop down select that I am populating... i'm doing something stupid... anyone have any suggestions... or pointers....? 1.php <?php require_once('dbconfig.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() …

Member Avatar for xbat
0
409
Member Avatar for Danja

Hello all, I have a long list of coordinates which are supposed to trace the outline of a city. They are supposed to go into a program which plots the trajectory from one coordinate to the next, thereby plotting the outline. For some reason (I'm not sure why; I'm trying …

Member Avatar for hkwhitten
0
1K
Member Avatar for brunoccs

I've writen the following MIPS assembly code to test for arithmetic overflow .text add $s0, $zero, 0x80000000 add $s1, $zero, 0xD0000000 add $t0, $s0, $s1 MARS is translates the code above into this: lui $1, 0xffff8000 ori $1, $1, 0x00000000 add $16, $0, $1 lui $1, 0xffffd000 ori $1, $1, …

Member Avatar for Schol-R-LEA
0
502
Member Avatar for gahhon

First i introduce what is my assignment doing. I'm doing a Ordering System of Donuts which getting customer order product and quantities, and the System will calculate the FINAL PAYMENT after discount. Problem: Now i have a customer order and added into shoppingCart (ListBox), and inside the listbox will display …

Member Avatar for gahhon
0
106
Member Avatar for *sharath*

can anyone help me in providing a way to zoom an image with a zoom in and zoom out button. I tried using webViews but i want the zooming to be done in any other way. I also checked the code for zooming touching the screen but it didnt help …

Member Avatar for *sharath*
0
143
Member Avatar for Venks

Hai Friends, How to access multiple result sets in java? iam using getMoreResults, but iam able to access only half of data from second table... is there any way to access. please help me for this problem

Member Avatar for jeremfg
0
151

The End.