199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mackjan

This function arranges a list of number. If we try z= [4, 4, 2 ] the result will be after some steps 4,3,2,1 but my list is z = [ 1, 1] and I want if a cycle of number coming up again and again the main program will discover …

Member Avatar for Mackjan
0
84
Member Avatar for rashmigs84

I'm building a web page that uses a tree view control. If i click on a particular node i want to redirect a value to the next page .. how to do it using the treeview? I would greatly appreciate some insight on this.

Member Avatar for rashmigs84
0
124
Member Avatar for didijc

Hey everyone, I have a question that I'm hoping someone, anyone, can answer... ...I want to create a drop-down menu with the values 1, 2, 3, 4, 5,..., n in it - and I want to be able to select one of those options from the drop down menu and …

Member Avatar for Luckychap
0
78
Member Avatar for herms14

guys I just would like to ask a question. how do i enter 100 random numbers in a array? please help me...im just a newbie programmer...thanks guys

Member Avatar for scut_lmj
0
239
Member Avatar for somename

Hi. i'm trying to copy a binary already with a predefined permissions. I got this code: [CODE] FILE *f1, *f2; char cp; f1 = fopen("file1","rb"); f2 = fopen("file2","wb"); while(!feof(f1)) { cp = fgetc(f1); if(!feof(f1)) fputc(cp, f2); fclose(f1); fclose(f2);[/CODE] but this just copy a file. But what i'm trying to do …

Member Avatar for somename
0
131
Member Avatar for Bouras

Hey... I present myself.. Youssef, 17 years old and i'm currently on my second year of the IB Program ... Computer IB HL i took. As some of you might know our IA = Internal Assessement is a Java Database and now mine is due wednesday... [PART I] and i …

Member Avatar for sillyboy
0
250
Member Avatar for bhavna_816

Does anybody know javascript function to call WebService I have a webservice written in .NET2.0 and I want to call the webservice by JAvascript function and store the data got from the function on local comp by opening save dialog box in javascript itself Do anybody have any idea?

Member Avatar for hp900
0
77
Member Avatar for Sheridan

Hi: I'm not sure that this problem has a solution but here goes. I am retrieving a list of names from a database and displaying them on a web page. The list would have the form: Doe, John Smith, Harry Jones, Dan I want each name to be a hyperlink …

Member Avatar for silviuks
0
270
Member Avatar for tahir_bsit

[code=PHP]<?PHP @session_start(); $userId=$_SESSION['userId']; if(!session_is_registered("userId")) { echo "<Script language=\"javascript\">window.location=\"index.php\"</script>"; } if(session_is_registered("userId")) { $userId=$_SESSION["userId"]; } ?> <?PHP require_once('conn.php'); $status=""; if($_SERVER["REQUEST_METHOD"]=='POST') { $username=$_POST['username']; $userpassword=$_POST['userpassword']; $qury="select * from login where username='$username' and userpassword='$userpassword'"; echo($qury); $res=mysql_query($qury) or die ("can not process the query".mysql_error()); $count=mysql_num_rows($res); if($count>0){ while($row=mysql_fetch_array($res)){ $userId=$row['userId']; $username=$row['username']; } session_start(); $_SESSION['userId']=$userId; $_SESSION['username']=$username; echo "<Script language=\"javascript\">window.location=\"APS.php\"</script>"; …

Member Avatar for silviuks
0
134
Member Avatar for forwardlookguy

Hello again, I previously asked a question about how to seperate text in a form. I understand how to do that now (thanks KKeith29), but my question now is this: How do I use the data entered in the form for the variable I want to perform the substr on? …

Member Avatar for silviuks
0
146
Member Avatar for cyberjoe

Hi to all! What is the worlds biggest .NET open source project? is it NASAs World Wind project? Regards, cyberjoe

Member Avatar for utkarsh.cse
0
87
Member Avatar for FreezeBlink

Iterating over a list, possibly deleting elements. It's the bane of my existence. Suppose, for instance, we have a list of numbers, and want to iterate over it and delete each and every odd one. Sounds simple, right? Sorta. It's trivial, but the code you end up with is pretty …

Member Avatar for jrcagle
0
118
Member Avatar for sarabhjeet

Hi All, first of all thanks to all for helping me out till now, whenever i got stucked somewhere that time u all helped me out.I need some more help of u all.I am using python 2.5 along with wxpython,and i need to increase the visibility of the dialogs and …

Member Avatar for sarabhjeet
0
89
Member Avatar for asianguyjtran

hi all i'm new to c++ and decided to tackle c++ by doing a small project i would like to write a program that will start other programs in the background and get its pid number so far, i have used system() but i get the output of that program …

Member Avatar for asianguyjtran
0
100
Member Avatar for komodo891

Here is my problem... I am developing a portion of my website to sell my floor plans online. I have an access database linked to a Datalist that displays a thumbnail elevation and some basic info about that plan. What I am having problems with is once a person clicks …

Member Avatar for srikanthkadem
0
608
Member Avatar for msaenz

Greetings, I am trying to do a reconnect type of thing for when sqlserver disconnects me i check and reconnect to execute a query. here is some code that i wrote, I really don't know what to use since there is not isconnected method or reconnect method in pymssql. Any …

Member Avatar for jrcagle
0
2K
Member Avatar for bf2loser

can someone show me some code to convert rankine temperature to kelvin? rankine is in the same scale as fahrenheit, but it starts at absolute zero. so 0R = -459.67F, heres is what I have convert to kelvin [code=python] def __init__(self, value=0): Fah=value-459.69 Cel=(Fah-32)*5/9.0 value=Cel-273.15 Temperature.__init__(self, value) [/code] convert back …

Member Avatar for jrcagle
0
1K
Member Avatar for colliincon

Hi I have this coding Set recc = dbase.OpenRecordset(True, "Gate") nfilenum = FreeFile Open "C:\Rentention Program\20080517.daf" For Input As nfilenum With recc .MoveFirst Do Until .EOF Do While Not EOF(nfilenum) If EOF(nfilenum) = True Then GoTo ws: Open "C:\Rentention Program\20080517.daf" For Input As nfilenum Else End If Line Input #nfilenum, …

Member Avatar for selvaganapathy
0
170
Member Avatar for MikeAz

I am quite comfortable with MS Access and have developed a complex relational database for my company. However, we have decided to use FileMaker 9 as our database development software, so I have been asked to re-create this same databse in Filemaker. I am finding it difficult, as the simple …

Member Avatar for dwikstrom
0
120
Member Avatar for rkoehler

I am new to FileMaker Pro 9 and have used MS Access a little. I am wondering if it is possible to transfer files from FileMaker Pro 9 (many files) to a web MS ACCESS database where another company where we send our data?

Member Avatar for dwikstrom
0
126
Member Avatar for Catherinedally

I'm stuck with a problem and can't work it out. I'm needing a visual basic . net program written. What I've worked out is... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim linecount As Integer Dim asteriskcount As Integer Dim asterisk As String Dim spacecount …

Member Avatar for selvaganapathy
0
236
Member Avatar for TheGargoyle

Ok so i have an interesting problem i need some help with. I am a beginner/intermediate user of FileMaker Pro 9 and i maintain a database that contains scanned in files. I am trying to automate the scanning/record making process but to do this i need FileMaker to pull the …

Member Avatar for dwikstrom
0
188
Member Avatar for k2k

can anyone tell me how I can print the first or the last character from a sh file ? i have done research on regular expression and the grep... i couldn't find any cmd that i can use to achieve this task. Thanks a lot.

Member Avatar for ghostdog74
0
142
Member Avatar for faust_g

The following code works fine with "Release" config, but gets this odd "HEAP_CORRUPTION_DETECTED" error when I try to execute in the "Debug" config. I am using visual studio 2005, default settings. Also, I looked into deleting multi-dimensional objects, and it appears I am doing it correctly here ([url]http://www.daniweb.com/forums/thread6511.html)[/url]. Pretty simple …

Member Avatar for faust_g
0
351
Member Avatar for TheWhite

1.) Update Checking. 2.) Score/Record keeping. 3.) Submitting score online. Update Checking: Currently, my program connects to a URL and checks if a new version is available. If one is, it simply opens up a dialog saying a new version is out and to go download it... Is there a …

Member Avatar for TheWhite
0
197
Member Avatar for booly_joon

Hi I have been pulling my hair out trying to figure this out. Please help!!! Here is my project description: By using a pointer to pointers **A and **B and the function calloc() allocate the memory for the 4x4 matrices A[][] and B[][]. By using the pointers *a and *b …

Member Avatar for Ancient Dragon
0
80
Member Avatar for Matthew

Hi, im fairly new to C++ and would like help with using random number generators, i have heard of them but cant seem to find there code structure. Any help is greatly appreciated :D

Member Avatar for tesuji
0
802
Member Avatar for jacobpauls

using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Http; public class Server { public static void Main(string[] args) { // Create the server channel. HttpServerChannel serverChannel = new HttpServerChannel(9090); // Register the server channel. ChannelServices.RegisterChannel(serverChannel); // Expose an object for remote calls. RemotingConfiguration.RegisterWellKnownServiceType( typeof(RemoteObject), "RemoteObject.rem", WellKnownObjectMode.Singleton); // Wait for the user …

Member Avatar for majestic0110
0
440
Member Avatar for ryy705

Hello, mysq_query($query) returns a valid result set. However, [CODE] function query($query) { return mysql_query($query); } [/CODE] returns a 1. Why does this happen? Is there a way around it? Thanks in advance.

Member Avatar for ryy705
0
114
Member Avatar for ViRiPuFF

Hi I am trying to run the code below and get Exception From Hresult 0x800A0046 (CTL_E_PermissionDenied) error only on Button 2. Button 1 does what it is supposed to ie remove all files found in the folders that are older than today. Button 2 should remove all files regardless but …

Member Avatar for scififan
0
165
Member Avatar for cellus205

Im pretty new to VB, using .Net 2008, and I am saving two DataGrids, ComboBoxes, and Textbox to a txt file, using "*99*" as a terminator between each, but I am having trouble reading it back into each field. Heres my open file code. [CODE] Private Sub openbtn_Click(ByVal sender As …

Member Avatar for cellus205
0
118
Member Avatar for linux0id

Hello everyone! I am using pthreads on Linux with C++ which spawns one thread and (tries to) play music. However, as soon as the program gets to the point where any function tries to use any member in the class, program seg-faults. Here - [ICODE]class audio { public: int play(char …

Member Avatar for linux0id
0
1K
Member Avatar for mruane

I am not sure how to word this question. If I am defining function() to be a user input prompt, does the [code] name_of_prompt = raw_input("") [/code] name of prompt equal the name of fucntion or could it be prompt_funct1? If so, when using if...elif statements to call on other …

Member Avatar for slate
0
299
Member Avatar for nirali35

Hello people, While compiling the code in set of files below, I get the following error: [CODE] Error 1 error C2653: 'Member' : is not a class or namespace name c:\personal\nu\csc 300\project\library\library\book.h 50 Error 2 error C2653: 'Member' : is not a class or namespace name c:\personal\nu\csc 300\project\library\library\book.h 51 [/CODE] …

Member Avatar for nirali35
0
559
Member Avatar for Kraai

Hi everyone I have a website, running for years without any problem, and all of a sudden, today, it does not display any pages. All is blank! The website in question is a Xoops installation. I accessed my directory and files via cpanel, and first went to see if I …

Member Avatar for Kraai
0
183
Member Avatar for cellus205

Hows it going everyone. Im trying to compare two tables, and display the rows that are not in both tables in a DataGrid. Im using Visual Basic 2008, and created a query in the TableAdapterManager, but when I try to call the query, it is not displaying the results. Shows …

Member Avatar for cellus205
0
139
Member Avatar for ovesh

Hello, I am a java developer (with a few years experience). I have just been assigned my first C# project. So far I have only written UI in java (Swing), coding by hand. I have found this to be easy and manageable. When I opened Visual Studio (not for the …

Member Avatar for Ramy Mahrous
0
112
Member Avatar for CodeBoy101
Member Avatar for paul1145

[code] Maybe it doesn't exist but any help would be greatly appreciated I'd like to simply save a current playlist to my own directory not WMP1's directory I don't want to mess with WMP1's default directories Private Sub Create_a_PlayList(ByRef songs() As String, ByVal name As String) Dim listCollection As IWMPPlaylistCollection …

Member Avatar for paul1145
0
229
Member Avatar for CodeBoy101

Normally if I want to concantinate two strings I would use: [CODE]strcat (variable_name, "Constant");[/CODE] But is there a function that let's me use (variable1, variable2) ? Any help is welcome. :)

Member Avatar for CodeBoy101
0
199
Member Avatar for kaos

Hi, can somebody tell me how i can generate a random number sequence,within a specific range?

Member Avatar for kaos
0
106
Member Avatar for vb_learner

Hello :) Iam using windows application, I want to know how can I move from textbox1 to textbox2 through the tab control key or enter key..

Member Avatar for Rasb23
0
343
Member Avatar for Alex Edwards

I looked up the method class and thought that it might be useful, but unfortunately Method objects must be public to be invoked. I'm just curious of when I'd actually really need to use the Method class. Maybe to create an array that used a type of algorithm to fire …

Member Avatar for dkerberwra
0
86
Member Avatar for turnerca902

Hi all, I have a little project that I think would be possible to accomplish using python. I'm a beginner at this sort of thing, so I am posting the basic information in the hopes that someone out there could help me get started or point me in the right …

Member Avatar for woooee
0
154
Member Avatar for vivek1
Member Avatar for ithelp
0
58
Member Avatar for joshuabraham
Member Avatar for William Hemsworth
0
96
Member Avatar for ambarisha.kn

Hi, I dont know much about Standard template library(Vectors, Lists, Deque). I want to do one Program which is as follows. Write a program to create a data bank which holds the operator and operands of arithmatic/relational/bitwise(etc.,) operations. (Use STLs) The no. of operand fields(input and output) is variable depending …

Member Avatar for ithelp
0
95
Member Avatar for savinki

Hi, Can someone please tell me, Is there any builtin function to convert decimal value to a fixed format? e.g. 6 to 0006 10 to 0010 123 to 0123 4987 to 4987

Member Avatar for Radical Edward
0
102
Member Avatar for kireol

Hi. I was a developer back in the j2ee 1.2 days. Took a few years off. 5 to be exact. Looking to relearn and get up to date. Looking for a good j2ee book and or tutorial or web site to start getting back up to speed. thanks

Member Avatar for kireol
0
110
Member Avatar for cmrhema

Hi, We have developed a socket program as below, The program works fine, except that it sometimes gives me jumbled messages or same message gets repeated twice. The whole code is produced below. I will let you know what exactly are we doing. This a socket program for tracking vehicle. …

Member Avatar for chsarp_vijay
0
180

The End.