199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jyotidagia

hey all.. i was wondering if anyone culd help me wid this.. i've a html file with javascript and a php file.. i need to access the db result generated by the php file in my javascript..to dynamically load drop down menu in the html file.. was wondering if i …

Member Avatar for network18
0
161
Member Avatar for jomamik

Hi to all, May I ask any help for a code in VB6 in saving images in either SQL server or MS Access databases? Please give me some idea thanks a lot in advance.

Member Avatar for MansoorAhmedK
0
255
Member Avatar for AnkitKumar

Dear All I am new in ADO.Net and i am using C#. My problem is I want to execute one trigger in my program I am having name of student in my student table now from my C# program I will pass any name which is in table from textbox …

Member Avatar for AnkitKumar
0
4K
Member Avatar for amitcs100

I am doing project on printing a passbook of bank in which i have 8 fields those are transactiondate, particulars,chequeno,debit,credit,balance,print and serialno and i wanted to print that in passbook and print is a boolian type if i mark on one row it must print the other rows present in …

Member Avatar for BestJewSinceJC
0
198
Member Avatar for tsr.linkan
Member Avatar for naveen g

i run vb6.0 code in xp for getting hdd physical id and it run ok. but when i run same programme in vista it does not display any hdd physical id. please solve the problem

Member Avatar for naveen g
0
183
Member Avatar for kat_stephens

I'm currently working with a group of my classmates on a recipe measurement converter, and I'm currently on the most difficult code of the three that is my part of the project. The code is basically for getting the amount from the user, a fraction. I have based my algorithm …

Member Avatar for mrnutty
0
73
Member Avatar for vuyiswamb

Good Day All I have the Following Query [CODE] DECLARE @CurrentTime DATETIME SET @CurrentTime = CURRENT_TIMESTAMP select tr.Descr [Room], tb.Purpose [Purpose], tb.Description [Description], convert(varchar,datepart(hour,tb.starttime))+':'+convert(varchar,datepart(minute,tb.starttime)) [Start Time], convert(varchar,datepart(hour,tb.endtime))+':'+convert(varchar,datepart(minute,tb.endtime)) [End Time], tu.name [Requested by] from tbl_booking tb inner join tbl_resource tr on tb.resources = tr.id inner join tbl_user tu on tu.id = …

Member Avatar for vuyiswamb
0
97
Member Avatar for punchinello

Here's the code: [CODE]#include<iostream.h> int test(); int main() { cout<<test(); return 0; } int test() { int a=1; a==1? return 1: return 0; }[/CODE] Could anyone please help me by telling me why VC++ 6.0 rejects this piece of programming code? Is the line" a==1? return 1: return 0;" grammatically …

Member Avatar for mrnutty
0
131
Member Avatar for riya0707

I am a perl beginner and need some help with regex Input for this code is : aatgatgataaggtaaggtatgatgatgatgatgatagtagannnnnnnnnatgcatga'/atgca.atgactagca/atgactagcaaggtaaggtaaggtaaggtaaggtatgatgatgannnn./atgatgactagactgacaaggtaaggtaaggtatgatgatgatcgatgacgat... and so on Here i am trying to assign input file as a scalar variable and trying to find a match of "aaggtaaggt" and then skip some 100 characters whether they are …

Member Avatar for thangdd
0
152
Member Avatar for diru
Member Avatar for diru
0
94
Member Avatar for jeeter19

I need to print out the following values on std-out: -CPU Type and Model -Kernel Version -Amount of time since the system was last booted, in the form dd:hh:mm:ss This is all on Ubuntu 8.04 I have looked through my Linux Kernel book but it is very vague about how …

Member Avatar for dkalita
0
193
Member Avatar for freddyvf
Member Avatar for mrnutty
0
74
Member Avatar for cookware_ok

Easily allows temporary message to be displayed on any label for a programmable length of time. This is a very simple way to display a temporary message on an existing label (or textbox)without doing a lot of coding.

Member Avatar for muzaffar85
0
318
Member Avatar for punchinello

As I was told, recursion is a good way to make things simple in terms of writing programming code, but the outcome usually involves extra overheads. I was also told that for some recursion algorithms it is possible to adapt them to make corresponding nonrecursion ones. I wonder if there's …

Member Avatar for punchinello
0
84
Member Avatar for restrictment
Member Avatar for magica

Hello, I keep getting a "Error Fetching http headers" when I make a soap call. It looks like something is interrupting my process exactly after 5 mins and forces this error. I have already set 'default_socket_timeout' in php.ini and restarted apache. Also I can't find any other reference in the …

Member Avatar for magica
0
840
Member Avatar for sivak

can anyone explain tranaction in .net ..when we go for it ? explain locking in .net along with example plz?

Member Avatar for avirag
0
104
Member Avatar for Se7Olutionyg

[CODE]#include <iostream> using namespace std; int main() { //delcare varialbe char selection; //declare function void counting_loop(); void impossible(); void missing_item(); void odd_even(); void poem(); void pause_m(void); do { cout << " Welcome to the Fun Program" << endl; cout << " Select from the menu " << endl ; cout …

Member Avatar for VernonDozier
0
114
Member Avatar for samsons17

i'm trying to determine the age of the people by entering their id card number..i'm trying to do this without having the database.. is this code possible??because i got error when try to run it.. if this possible,could you tell me the correct way to do this? Thanks... [CODE] #include …

Member Avatar for jonsca
0
108
Member Avatar for torbecire

I have put an array list in a hash map, but the problem is the old values of the hash map are over written everytime. So the old values of the hashmap aren't stored. Could someone tell me what mistake I am making? [CODE] import java.util.*; public class Cain { …

Member Avatar for torbecire
0
148
Member Avatar for vnproduktionz

[code]# Reading the .csv file energyFile = open("EnergySources.csv","r") stateDict = {} for line in energyFile: line = line.strip() fields = line.split(",") if fields[0] == "State" or fields[0] == "": continue state = fields[0] total = fields[-1] float(''.join(total)) coal = fields[1] float(''.join(coal)) naturalgas = fields[2] float(''.join(naturalgas)) petroleum = fields[3] float(''.join(petroleum)) nuclear …

Member Avatar for vnproduktionz
0
127
Member Avatar for EntangledDesi

I have created form resembling a standard dialog box where some enters there name into a text box and then hits 'ok' taking them to the main form..On this form I need to get the name that is typed into the text box to be displayed on the main form. …

Member Avatar for EntangledDesi
0
390
Member Avatar for Kezoor

Hello, I begin in Python, and I have the following problem: I retrieve an excerpt of a HTML webpage from the web, and then want the result to be hold in a variable (before being processed by a reg-exp). The function do get the HTML source, but when I assign …

Member Avatar for Kezoor
0
333
Member Avatar for fadia

Hello guys.. I have this tutorial that i keep getting errors on no matter what i've tried.. Would someone kindly check it out for me?! Here is the question: [B]Q1:- Write a program that reads students’ names followed by their test score. The program should output each student’s name followed …

Member Avatar for jonsca
0
110
Member Avatar for ah124131

After completing my code I got an error message at the second to last closing bracket that said I was missing a return statement, I looked in to it online and found that some said to put return 0; but that didn't work it just gave me a new error …

Member Avatar for ah124131
0
339
Member Avatar for rookanga

I am amost done with the code but I need a little bit more help I need to add the bubble sort code & write exchange increment line and add the selection sort code & write exchange increment line, but I don't know how to do it can anyone help …

Member Avatar for Fbody
0
249
Member Avatar for ryno365

Hello again DW. Tomorrow I have an interview and I'm trying to make a jar of my latest project. Using netbeans, I've created a jar and everything looks fine. I can see all the card IconImages in the Jlabels and it looks fine. But when I repaint the frame, the …

Member Avatar for ryno365
0
126
Member Avatar for Samyx

I have this code, but instead of implementing class enumeration I want to create an anonymous class in the method getEnumeration that does the job right in the return, hwo do I do that? [code] // File: TestList.java (Module 10) // // Author: Rahul Simha // Created: Nov 2, 1998 …

Member Avatar for Samyx
0
92
Member Avatar for fulcrum9

Hello, I'm a beginner in Visual Basic and I was wondering if it is possible to shorten twenty subs into only 1 sub. example: [code]Private Sub box1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kist1.Click Dim box1Click As Boolean = True End Sub Private Sub box2_Click(ByVal sender As System.Object, …

Member Avatar for kplcjl
0
153
Member Avatar for crazyboy

I want to establish a VPN network between two PC of different lan network.Can i obtain this through my C# code. I am having no idea regarding this. Can any one tell me how can establish VPN through. TO obtain this in which direction i should progress. IF any one …

Member Avatar for crazyboy
0
98
Member Avatar for Mohammed S

Hi, i was searching for a correct url regex, but unsure how would i do it. I am not very expert in regex. So can't be sure that this will always work. I wanted to be able to match even inner urls, such as: [url]http://google.com[/url] [url]http://www.google.com[/url] [url]http://google.com/something?some=unsome&w=anything[/url] i only wanted …

Member Avatar for Mohammed S
0
81
Member Avatar for xirosen

Here my code to display the menu: Private Sub Text5_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = 2 Then PopupMenu t5menu End If End Sub But my problem is the default popup menus such as undo, copy, cut etc. keeps in taking place …

Member Avatar for xirosen
0
112
Member Avatar for A Tripolation

Hey all. I'm really new to programming and would like some help, if you all don't mind ;) I'm not actually having trouble with the programming, but rather, what I'm being asked to do. Here is what I'm supposed to do (and yes, it is an assignment, but I'm only …

Member Avatar for A Tripolation
0
168
Member Avatar for Ishaniwp

Hi! I'm a beginner to VB.NET. I'm working on an application which is created using VB.NET 2005 and the DB is created in SQL server 2005. I'm able to delete a record from a table when it is not used in another table as a Foreign Key. For eg. If …

Member Avatar for kplcjl
0
699
Member Avatar for ITfav

Hey guys, i'm confused... wat's e diff btn [B][COLOR="Green"]LPD3DXMESH [/COLOR][/B]and [B][COLOR="green"]ID3DXMesh[/COLOR][/B]? Including their uses and so forth... help me understand e diff. Ok, i'm learning Direct X 9. Thx in advance! :icon_smile:

Member Avatar for ITfav
0
145
Member Avatar for tomtetlaw

When I try to compile this: [code=c++] void *BaseEnt::GetVar(char const *varname) { char name = *varname; switch(name) { case "id": return (void*)id; case "name": return (void*)name; case "count": return (void*)count; default: return (void*)NULL; } } [/code] I get these errors: [code] ------ Build started: Project: Test Classes, Configuration: Debug Win32 …

Member Avatar for slackingjuggalo
0
716
Member Avatar for nevets04

Why are there so many people doing c++. I've heard even from c++ coders, that python is better. Is this maybe because c++ has been around longer? What do you think the future of python is? Do you think It will eventually beat out c++?

Member Avatar for jbennet
0
227
Member Avatar for blindkilla

When my servlet creates a session, even if it is the first time running the servlet, the session.isNew() returns false. I checked to make sure the session ID's are different each time I run it and they are, yet isNew() still returns false. I'm trying to do the following in …

Member Avatar for peter_budo
0
467
Member Avatar for Goalatio

So, I was trying to re-create the CMD command "set /p", where it prompts the user to type text, and is ended by a carriage return. Upon trying this, however, I found that a word (dw) will only hold the last thing passed to it. You can type "abcdefg", but …

Member Avatar for Goalatio
0
159
Member Avatar for Impact4ever

Hi everyone, In part of my script, I'm trying cut out couple of columns from the df -h command. The ones I want is the Filesystem column and the Mounted On column. This is what I have so far. [CODE]df -h | cut -d " " -f1 [/CODE] And that …

Member Avatar for sknake
0
173
Member Avatar for RunTimeError

With apologies to ddanbe, I just have a question regarding using the IDE toolbox vs programmatically creating form objects at run time. I use to fall into the habit of only using the tool box to create from objects such as buttons or picture boxes but have now started to …

Member Avatar for sknake
0
132
Member Avatar for mnewsome

I write as a systems administrator and own VS Team 2008 Team Suite. I would want to learn about the features within the package that allow developers to collaborate with other developers either real-time or otherwise. Additionally, I would want to learn about the features that would allow me to …

Member Avatar for sknake
0
93
Member Avatar for nateysmith

[CODE]#include <iostream> using namespace std; int main() { int TESTS = 0; int testScore[TESTS]; int testNum = 0; int a; double total = 0; double average; testNum = 0; cout<<"How many scores are there? "; cin >> TESTS; cout<<"Enter a score: "; cin >> testScore[testNum]; while(testNum < TESTS && testScore[testNum]) …

Member Avatar for nateysmith
0
2K
Member Avatar for help-me-please

Hi Guys I was wondering if anyone could assist me by telling me / correcting my code as to where I am going wrong. I'm trying to simply excute flvmeta.exe, and pass the parameters: "flvmeta input.flv output.flv" when I do this manually it works fine, however when I build and …

Member Avatar for mikiurban
0
127
Member Avatar for alien2006.happy

Let say we have N number and N is odd. Among the N numbers, two of them equal to each other except one. For example, let's say we have 7 numbers, which could be 5, 3, 4, 1, 3, 5, 1. Only 4 is distinct, other number always has anther …

Member Avatar for Rashakil Fol
0
291
Member Avatar for RunTimeError

Hey guys, I just have a question regarding the separation of UI code from business/logic code. I always seem to get in trouble for putting to much code in form classes. I don't understand where the line is drawn between code that needs to be in form/UI code vs code …

Member Avatar for mikiurban
0
316
Member Avatar for xxunknown321

Write a C++ program that ask the user for the name of a file. The program must have a function that prompt the user to enter a file name and open the file. The program should display the last ten lines of the file on the screen. Each line of …

Member Avatar for xxunknown321
0
187
Member Avatar for mr_steve

I am attempting to write a simple chess program (starting with just pawns), and am currently at the stage of initialising the board. The initial board is declared using an array of numbers, with '0' indicating a white piece, '1' indicating a black piece and '2' indicating an empty square. …

Member Avatar for mr_steve
0
170
Member Avatar for phouse512

Hello, I've been using a book to learn php, and when I try to make it work for my own use, there seems to be an error when I try to login. First it says that the log in is invalid, and it comes up with this warning message: [b]Warning: …

Member Avatar for phouse512
0
233

The End.