199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for blue_moon

This is my vB.NET assignment and i have no idea what it requires. I have not done this practical before b'cause the lecturer has not taught us about the joining the SQL in VB.NET and I'm seriously dont know how to do this......so i need help and pls do help …

Member Avatar for Jx_Man
0
102
Member Avatar for LightSystem

I have a simple question. Is it possible for a C variable to have a user-defined name? Imagine this: I have a function lets call it: create_new It receives a string, lets call it: name[ ] So the function looks like this: [B]char create_new(char name[ ])[/B] My question is, can …

Member Avatar for Salem
0
77
Member Avatar for nschessnerd

why does this work? [code=php]function restrict($string){ $words = @file('restrict.txt');//found at [url]http://verve2.org/runningStory/restrict.txt[/url] $me= "(((((())))))))("; $me = str_replace($words, '',$me); echo $me; }[/code] no output and this not [code=php]echo restrict("(((((())))))))("); function restrict($string){ $words = @file('restrict.txt'); $string = str_replace($words, '',$string); return $string; }[/code] output: (((((())))))))( i noticed on the second one it only does …

0
70
Member Avatar for ku4n

This is my Default.aspx.cs using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { …

Member Avatar for ku4n
0
109
Member Avatar for FaridMasood

Hi, I have a client/server chat application, with tcplistner and tcpclient. It is working fine when i send message from client to server but still i am not able to send the message from server to client. If any one can tell me that how to send data or message …

Member Avatar for FaridMasood
0
83
Member Avatar for achandra

hi, can anyone please tell me which is better in #include<stdio.h> and #include"stdio.h" and why? bye chandra

Member Avatar for jephthah
0
64
Member Avatar for HelenLF

I am new to Visual Basic so this question may be a bit simple but it has me stumped. I have written some visual basic code where I reference 3 text files in the same directory. When I reference the files as /filename.txt the program works but when I reference …

Member Avatar for selvaganapathy
0
308
Member Avatar for rajarajan2017

I have to connect asp.net with SQL Server, the normal windows authentication established fine, but not with sa login and What is the default password for sa in sqlserver?

Member Avatar for rajarajan2017
0
55
Member Avatar for jimcc

So I have a simple dice program that lets the user make bets. If their current money pool is larger than the money pool in highscores.txt it will write the new score to the file. The program works as intended except for the high scores. When I try to write …

Member Avatar for Fuse
0
123
Member Avatar for smithsf22

Hello, I am exporting 3 seperate Selects to a csv file. What i have is a button that when clicked I would like to have to export. The problem that I have is that I can only get one of the three to work. All three do work just not …

Member Avatar for smithsf22
0
114
Member Avatar for daviddoria

I have a file that contains lines like: 2/3/4 5/6/7 8/9/10 and I want to extract the 2, the 5, and the 8 So I am parsing the line by the ' ' delmiter to get 2/3/4 5/6/7 8/9/10 then I need to parse each of those to get the …

Member Avatar for Duoas
0
146
Member Avatar for MDGM

Hey, Im designing a website hosting business's website and have a relatively simple whois script which when you enter the website, it checks if it is available then returns some text in a span just under the form. At the moment the user types in any domain type (.co.uk / …

Member Avatar for MDGM
0
74
Member Avatar for ff4930

Hello, I have a project that needs to implement a Safe Array which is an Array that has bounds checking. On top of that I need to create a "Matrix" class which implements 2D which is basically a Safe array within a Safe array. This is also templatized. The problem …

Member Avatar for Radical Edward
0
807
Member Avatar for JimmyW

I'm trying to load a registry hive (C:\Users\test\NtUser.dat) but I get error 1314. This is something to do with permissions. I'm using RegLoadKey. I converted this [url]http://support.microsoft.com/kb/297060[/url] example to vb.net, but as I said I get the error 1314 on RegLoadKey part. The other apis to change the permissions all …

Member Avatar for Maike13
0
905
Member Avatar for Latte

How to count line of code in text file or file .cpp (this .txt file or .cpp file is the input file of program) and what's function for count line of only mark code for example of this code(file input) , I want to count only "do" function that have …

Member Avatar for VernonDozier
0
191
Member Avatar for FastCat

My first vb.net post...:) What I've got: On a form, I have 'Add New Tab' button, a 'Select Picture' button and a TabControl. On the first Tab I have a textbox1and a picturebox1, when the user uses the 'Select picture' button (which calls opentdialog) I load the picture into the …

Member Avatar for FastCat
0
2K
Member Avatar for Bomma9

Hi All, I have to develop an application that needs to send a sms to any cell/mobile using a CDMA connection. This application is for an voluntary organisation, which involves in free medical service. I appreciate if any one can help me in this regard. Thanks every one for your …

Member Avatar for Jishnu
0
229
Member Avatar for bops

Hey, I am trying to make a little MDI control with tabs, but my problems lies in the following: I want it so that when the mouse is over a tab, a close button i.e. an X is displayed on the tab, then the user may click this button to …

Member Avatar for Ezzaral
0
575
Member Avatar for Jishnu

Hello, I'm using MAPI component to send email messages via VB6. Here's my code: [CODE] Option Explicit Private Sub cmdEnd_Click() Unload Me End Sub Private Sub cmdSend_Click() MAPISession1.SignOn MAPISession1.DownLoadMail = False DoEvents MAPIMessage1.SessionID = MAPISession1.SessionID MAPIMessage1.Compose MAPIMessage1.RecipAddress = txtSendTo.Text MAPIMessage1.ResolveName MAPIMessage1.MsgSubject = txtSubject.Text MAPIMessage1.MsgNoteText = txtMessage.Text MAPIMessage1.Send False MAPISession1.SignOff End …

0
395
Member Avatar for Black Magic

Hey, I was bored and had not made a program for a short while so decided to make one, Just have a few questions and some "How do you.." questions, well heres my code.. [CODE=C++]#include <iostream> #include <fstream> using namespace std; int main() { int registerID, ID; char name[20]; char …

Member Avatar for Sky Diploma
0
110
Member Avatar for dangermini

Hi, i've been working on simple code just prototyping the system i'd like to make. This all works and is going great apart from my "quit" button, the button appears. however when you click on it, it doesn't close the interface..i think it just stops the code from running or …

Member Avatar for woooee
0
4K
Member Avatar for TheWhite

I'm trying to create a JButton in 1 of my 2 JFrames which exits the top or current JFrame... If I try: [code] System.exit(0); [/code] The entire, currently running Java Virtual Machine, exits... (both frames) I'm basically trying to get the same result as [code]setDefaultCloseOperation(DISPOSE_ON_CLOSE);[/code] does to the X button …

Member Avatar for Ezzaral
0
120
Member Avatar for Flixter

[CODE]#include <iostream> #include <vector> using namespace std; class Pair { public: Pair(int a, int b) {x=a; y=b;}; int get_x() {return x;}; int get_y() {return y;}; private: int x; int y;}; int main() {vector<Pair> set; \\input of the set of points, with 50 points Pair* a1 = new Pair(70, 64); set.push_back(*a1); …

Member Avatar for Flixter
0
130
Member Avatar for xav.vijay

Hi friends I am trying to connect to a Linux machine from a Windows PC. I used to do it thru TELNET, but now I want to use SSH for better security. I tried with PYSSH, but I am going nowhere with it... Parmaiko is not working in Windows... Is …

Member Avatar for xav.vijay
0
579
Member Avatar for ashish1234

hi, i am new to jsp..i am trying do sort out a pblm.. i have 2 jsp files.. file1.jsp.. which is used to select all the records from a table called staff and display the records in a table..each record is coming with a check boxes which is used for …

Member Avatar for jwenting
0
1K
Member Avatar for nihardhruva

Hey all, I have a very strange problem and expecting to receive your answer very urgent... I have a class in my package named MyPackage on my tomcat server. I am using one method of this class, which is very time consuming, as follows in my jsp page... HeavyClass hc …

Member Avatar for jwenting
0
245
Member Avatar for ztwalsh

I am creating a movie database. Right now I have each movie set up as its own table. Inside each table there are fields for title, summary, rating and so on. On one of my web pages, feeding off this database, I want to show the movie title, summary and …

Member Avatar for nav33n
0
76
Member Avatar for fm_hyudin

I am doing a a form to add a new product to the database.when i try to run the form i am having this error.please help.I have attach my coding below: [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html> <head> <style type="text/css"> <!-- body { …

Member Avatar for nav33n
0
70
Member Avatar for CoolGamer48

Hey, im trying to use the mail() function, but its not working. This is the script: [CODE=php] <html> <head> </head> <body> <?php if(mail("coolgamer48@gmail.com","Test","Test","From:coolgamer48@gmail.com")) { echo "Success"; } else { echo "Failure"; } ?> </body> </html> [/CODE] I keep getting "Failure". Is there an issue with my syntax, or is it …

Member Avatar for nav33n
0
99
Member Avatar for himsymcpp

Hi friends, This may a childish question but please help me out. I want to know whether there is any dfference between Heap and free Store in C++ (dynamic memory) or they are the same i.e just the synonyms used? One more thing i want to know is that where …

Member Avatar for vijayan121
0
136
Member Avatar for ardeezstyle

Hi Everybody! How are you doing? I've come across a problem which I'm unable to solve. Actually itz related to window.opener method in javascript. The problem is the code which is very well working in IE is not working in Firefox. Let me provide the code which will help you …

0
55
Member Avatar for ambarisha.kn

Container V1: 1 2 3 4 5 6 7 I want to print the elements which are greater than equal to 3 but less than 6. How to do this using Standard template library functions.. We have logical_and, greater_equal and less_equal Predefined Function Objects. But i dont know how to …

Member Avatar for vijayan121
0
89
Member Avatar for pranabmohanty

hello all, i m new to asp.net.....can anyone send me the complete code to write into the mysql data base.....plz mention the complete code to insert data to mysql database..... i m using asp.net and C#...... thanx in advance

Member Avatar for a496761
0
117
Member Avatar for MAXPAYNE88

Hey guys. I've been having this problem with a Dynamic list using pointers. I have built the class, then defined a MAX size to the list when first created. Then I thought about maybe the user wants to enter more values, so I made some changes. Here's the code: [code] …

Member Avatar for MAXPAYNE88
0
101
Member Avatar for edek

I need to check if registry value exists from within .bat ('batch') file, and it seem to be quite hard to do - not many ideas on it I have found. Maybe you can help? I believe I should use the reg.exe programm to do this but what syntax should …

Member Avatar for Keviel
0
5K
Member Avatar for chrisfrolich

I was wondering if programming a hangman game would be possible. I took a little bit of time to make something, but it doesn't seem to be working very well. Any info is appriciated! [code] #include <iostream> using namespace std; int main() { char solution[20]; //holds solution char blank[20]; //holds …

Member Avatar for chrisfrolich
0
364
Member Avatar for Aamit

I am creating client -server architecture ... 1 server and 20 clients..are attached ... when computer starts client sends abc.txt file information to server ...through socket port no 8000...server take this file and rename with that comp name... problem is -> when number of clients machine on at same time …

Member Avatar for Ancient Dragon
0
138
Member Avatar for vamp.ali.ca

i need some help i wana talk about security in mysql 5.2.5 plz send me links (i searched mysql.com site and still i'm not able to get anything about mysql 5.2.5 , no informations were found) 10x

Member Avatar for pritaeas
0
80
Member Avatar for jem00

Hey guys, I need to find out the length of wav files so as to set a timer. How do I find the length of a wav file? Thanks, jem00

Member Avatar for selvaganapathy
0
101
Member Avatar for paldss

Hello all. I have an HTML page that displays a list of comments left on a site. The administrator needs to go in and put checks next to the comments he wants to delete, and click submit. echo "<td width=\"75\" align=\"center\"><input type=\"checkbox\" name=\"toApprove[]\" id=\"approve\" value=\"approve\" />"; echo "<td width=\"75\" align=\"center\"><input …

Member Avatar for kvdd
0
108
Member Avatar for jem00

Hi guys, I'm pretty new to VB and am having a little bit of trouble with scroll bars. I have a text box and I want the user to input a value in there but I also want them to increase the value through a scroll bar or decrease the …

Member Avatar for jem00
0
249
Member Avatar for colcar2008

Hi, Can anyone help me here, I want to display an image using the path of the image and the image title from a mysql db? I can upload the info to the db, but I have trouble displaying the image. Here is the code: [code=sql]CREATE TABLE `trailer` ( `id` …

Member Avatar for kvdd
0
931
Member Avatar for adadadad

Hi, I have an html file and I have to extract information from its table. I am new to perl but I would give my approach below so I could get some help.. In the html file the table is like for example a 1 b 2 c 3 d …

Member Avatar for katharnakh
0
121
Member Avatar for abhijeet_raj

Hi, After installing jdk1.5 my program is compling but at the time of execution its giving error as Exception in thread main java.lang.NoClassDefFound error.I think it is problem of classpath.

Member Avatar for tsr_tvsk
0
170
Member Avatar for ambarisha.kn

Hi, I need some algorithms with syntax to work out logical operations using Standard template library(STLs). Please get me some examples of these or teach me regarding logical operations using STLs.

Member Avatar for ambarisha.kn
0
99
Member Avatar for heshan

Hi, I have written a web service and have deployed it using Apache Axis2. What I want to do is to invoke this service using a python script. Can anyone point me in the direction of how to do this. I will be grateful If anyone can give me a …

Member Avatar for heshan
0
597
Member Avatar for hamishrock

I am trying to create a sql statement like set @sql = 'select @stage1 = count(MY_ID) From VW_OPEN where ' + @filter and run it with exec (@sql) However this generates an error Must declare the variable '@stage1'. If I run statement select @stage1 = count(MY_ID) From VW_OPEN the var …

Member Avatar for hamishrock
0
172
Member Avatar for wellibedamned

okay, this one's supposed to take n numbers, ints/floats, sort them, spit them out... now i have my code, and it looks fine to me, i'm doing bubblesort while checking with a bool function is the first larger than the second string... if i use two numbers, it works fine …

Member Avatar for wellibedamned
0
211
Member Avatar for ganeshk

Hai All, i have just completed a course in learning VB.net and would like to do a small project using VB.net. It would be of great help if anyone could suggest a project. -Ganesh

Member Avatar for hollystyles
0
219
Member Avatar for jainendra.shah

hi frds. i want to get path of new created folder by save file dialog box. hope you will help me

Member Avatar for jainendra.shah
0
50

The End.