199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dean_Grobler

Hi there, The thread title pretty much says it all. How exactly do you send data to, and from portlets? Does it have something to do with the RenderRequest and RenderResponse objects? I haven't a clue... There's hardly any information on the net regarding portlet development, very frustrating. Thanks in …

Member Avatar for peter_budo
0
115
Member Avatar for bennywt

Hello, I am new to vb and I need some help from you all. I have to do a project which is interface an vane anemometer to computer by parallel port. I have done almost everything now i only left with the programme. My idea is the anemometer will give …

Member Avatar for njul1
0
528
Member Avatar for leo88

hi, now I wants to insert some records into table in Microsoft Access and C#, below is my codes : [CODE] SQLStr = "Insert Into RegisterEmployee(EmployeeName,Password,Gender,ContactNumber,Position) " + "Values ('" + SQLStrCmd.ReplaceStr(nameReg.Text) + "', '" + SQLStrCmd.ReplaceStr(passReg.Text) + "', '" + SQLStrCmd.ReplaceStr(genReg.Text) + "', '" + SQLStrCmd.ReplaceStr(Hptxt.Text) + "', '" …

Member Avatar for leo88
0
218
Member Avatar for souravsikka

I am getting this error while working on curl code[CODE][/CODE] Warning: curl_setopt() expects parameter 1 to be resource, string given in C:\xampp\htdocs\ [CODE]<?php //initialize the request variable $request = ""; //this is the username of our TM4B account $param["username"] = "kacs"; //this is the password of our TM4B account $param["password"] …

Member Avatar for souravsikka
0
2K
Member Avatar for PinoyDev

Good day! I just to ask why require_once function display the content of the whole page in the second page? I have two pages index.php and mem_accnt.php. I have session in index.php. Now i need to get the session in index.php and display it in mem_accnt.php. In order to get …

Member Avatar for PinoyDev
0
193
Member Avatar for Avrajit

Hi, I am unable to run my c# application on a different computer other than my own computer. I have an attached mdf database file in my project. I have 'SQL SERVER 2008' as pre-requisite in the setup project. The application is installing & running fine on my machine, but …

Member Avatar for Avrajit
0
643
Member Avatar for cliffcc

I want to limit the length of text shown in php. What is the code in php? But i want to keep the full of text in database.

Member Avatar for diafol
0
89
Member Avatar for veledrom

Hi, When i hit the F5 key on the keyboard after Insert into process, it adds same record into database again. How can solve this problem? Thanks

Member Avatar for diafol
0
179
Member Avatar for cliffcc
Member Avatar for rayidi
0
526
Member Avatar for suvisoya

hi i am using visual studio 2008 and i have multiple textbox with my form. After i submitted the button data need to fill in same textbox . so i set enabledviewstate = "false" for form but its not working can u give anyone solution f this thanks sureh.S

Member Avatar for shakeb@techwave
0
92
Member Avatar for hirenpatel53

hi all i am creating a software which is used by the textile company into that i want to create a barcode system like it can be created by the combination of product code ,size and Colour so anynody have idea about this Please help me on this topic i …

Member Avatar for hirenpatel53
0
147
Member Avatar for jacob21

How to call a PHP function on submit button My function is [CODE]function sendSMS($mobile, $msg, $sender, $sendPass, $sendID) { $msg=urlencode($msg); $ch = curl_init(); $url="abusms.com/pushsms.php?username=kas&password=6117&sender=SHRIA&to=$mobile&message=$msg"; //echo $url; $url=urlencode($url); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1)or die("error1"); curl_setopt($ch, CURLOPT_POSTFIELDS, $curlPost); $data = curl_exec($ch); echo $data; echo curl_close($ch); …

Member Avatar for karthik_ppts
0
7K
Member Avatar for virendra_sharma

Hi frnz , i want to indert , update , delete and search data in .csv file . data like record first name, last name, phone no , email-id .

Member Avatar for abelLazm
0
158
Member Avatar for sngapoonage

Hi everyone, I have a stored procedure which takes 2 integer parameters and returns either a 1 or a 0. It's quite long so I won't post it here unless you feel it's nessesary. Currently I have a table named 'Books', a table named 'Filters'. Each row in 'Books' has …

Member Avatar for urtrivedi
0
160
Member Avatar for mattloto

I'm trying to make a calculator that parses input like [TEX]( 3 + 2 ) * 5[/TEX] I want to use formal grammar for this, and I'm wondering how to organize this. I was thinking having a class for Value, which would basically just be a number. Then I want …

Member Avatar for mike_2000_17
0
137
Member Avatar for music613

I need to tackle the question of threading in Visual C# application development. In its most basic use, I will need to "branch out" to SQL SPs (for example), but need to be able to inform the user that "I'm doing something" - such as the following outline: 1- user …

Member Avatar for abelLazm
0
308
Member Avatar for duonglg

i have 2 column PRICE and PAYMENT in Datagrid when i change value of 1 any cell in this Datagrid, other cells also change the value. Example: PRICE | PAYMENT 100 | 80 | 20 | 10 | 10 | 5 | Note: Row2.cells[0] = row1.cells[0] - row1.cells[1] similar: row3.cells[0] …

Member Avatar for duonglg
0
134
Member Avatar for ctrlaltcasper

Ok this is my situation I have this header file: [CODE]struct dir { char name[3]; int root_dir; int has_children; int num_children; int offset_to_children[2]; int offset_to_files[16]; }; struct files { char name[5]; int size; int offset_to_beginning; int has_fragment; int next_fragment; }; struct fat { int files; int dirs; struct dir *dir_array; …

Member Avatar for Ancient Dragon
0
225
Member Avatar for Ahmed sunny

hello.. [COLOR="Red"]i need code for finding all possible combination of repetitive characters using recursion function.[/COLOR] actually the question i s "Imagine a robot sitting on upper left corner of NxN grid. the robot can only move in two direction "Right" and "Down". write a recursive function to find all possible …

Member Avatar for predator78
0
388
Member Avatar for weblover

Hello all, i was working on an R script that will read a huge text file and make some calculation inside it, but i figured out that it will need long time to do the job , so i'm trying to convert it into python. is there any way to …

Member Avatar for TrustyTony
0
180
Member Avatar for pseudorandom21

I wanted to minimize changes to code in my save-file function by only making changes in the class that will be saved. Instead of making a "save-file" function in the class, I decided to try making it serializable but I receive a runtime error saying "PublicKeyToken=null" not marked as serializable. …

Member Avatar for pseudorandom21
0
106
Member Avatar for scarcella

Hi guys i was wondering if you guys could let me know how i can post a form field using jquery and then be declared in a variable after post. The code for the html: [CODE]<table cellpadding="0" cellspacing="0"> <tr> <td></td> <td>Name:</td> <td>Email:</td> </tr> <tr> <td><label for=fri accesskey=f>Friend 1</label></td> <td class="tablePadding"><input …

Member Avatar for scarcella
0
175
Member Avatar for [V]

I have a string that looks like: IiiiiiiiiiiHHHHHHHHHHHHHHHHHHHHHHHHHooooooooooooooooHHHHHHHHHHHHHHHHHHHHiiiiiiiiiiiiiiiiiiHHHHHHHHHHHHHHHHHHHHHHHHHooooooooooooooooHHHHHHHHHHHHHHHHHHHHHHHHHiiiiiiiiiiiiHHHHHHHHHHHHHHHHHHHHoooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOooooHHHHHHHHHHHHHHHHHHHHHHHHHiiiiiiiiiiiiiiiiiiHHHHHHHHHHHHHHHHHHHHooooooooooooooooooooooHHHHHHHHHHHHHHHHHHHHHHHHHiiiiiiiiiiiiHHHHHHHHHHHHHHHHHHHHHHHHHooooooooooooooooooooooHHHHHHHHHHHHHHHHHHHHi I want to to capture all the segments that have H's in them and return their respective start & stop string positions. [CODE] tms = re.compile("H+") print tms.findall(string) [/CODE] This will find all the Hs but I cant get the string positions …

Member Avatar for Lardmeister
0
209
Member Avatar for Labdabeta

I have the following working fine from the command line: [CODE] telnet (my email smtp) 25 helo mail from:(my email address) rcpt to:(my email address) DATA SUBJECT:(my subject) (my message) . [/CODE] This is sending me an email. My problem is that I need to emulate all of this from …

Member Avatar for Labdabeta
0
176
Member Avatar for sofiastrange

Hello everyone, i have written a program in c++ using Microsoft visual studio which runs perfectly, at least to my satisfaction. However i thought it would be nice to create a graphical user interface to it, and i have used Ms Visual C++ to design one and Visual c++ can …

Member Avatar for drkybelk
0
278
Member Avatar for seahawk182

Hey guys! I know I'm bothering you and it's probably a dumb question anyway but i just can't seem to find a good tutorial on this... I'm creating a website and I'd like the admin of the site to be able to post to the site without having to change …

Member Avatar for diafol
0
211
Member Avatar for Uzair Malik

can some one tell me a prog of making different combinations using recursion in c/c++ and it should also be a function

Member Avatar for predator78
0
288
Member Avatar for adamworld

I have this script that I am using that work to upload a file and to make sure the file is either jpg, jpeg, or gif. However, I want to restrict the user with the image width no larger than 150px. Is there an easy way to implement in the …

Member Avatar for adamworld
0
260
Member Avatar for can_surmeli

Hello. I was wondering if any of you know a good online resource for the subject, principles of logic design. My final is coming & so an online source that could guide me with good explanations or demonstrations and etc would be really nice. Any ideas?

Member Avatar for griswolf
0
113
Member Avatar for virusisfound

I want to pass multiple select queary to datareader. how to do it. I know how to pass queary for one condition : [CODE] SqlConnection cn = new SqlConnection(); cn.ConnectionString = ""; cn.Open(); SqlCommand cmd = new SqlCommand(); SqlDataReader rdr; string s = "select * from abc where id like@find"; …

Member Avatar for virusisfound
0
199
Member Avatar for Labdabeta

How can I send an email through C++. I need to make the following: [CODE]bool SendMail(char* from, char* to, char* title, char* msg) { //What now? //Return true on success, false otherwise }[/CODE]

Member Avatar for Labdabeta
0
130
Member Avatar for spurfilm

I have a mySQL database of individuals who do several different activities at various start dates in the year. I need to sort all the data by start date. But because each record contains several activities and associated start dates, how can I best extract this data for sorting? For …

Member Avatar for spurfilm
0
129
Member Avatar for galhajaj

Hello! i am new in C# and i am trying to make a simple chess game but i need to clearify some things i guess... i understand how to add components to the Form1 with code - in my example i manage to add 8X8 squares class that inherit from …

Member Avatar for ddanbe
0
177
Member Avatar for paresh_thummar

I use two reader rdr1,rdr2 after usage of first reader i close that by rdr1.close(); then I used second reader but i found run time error which is illustrate below [COLOR="Red"]There is already an open DataReader associated with this Command which must be closed first. [/COLOR] [CODE] SqlDataReader rdr1 = …

Member Avatar for stbuchok
0
115
Member Avatar for mangel.murti

i am reading file and getting content , on localhost it is working and displaying result. but after uploading on server , not displaying or echo relevant content of file? any help appre thnx [CODE]$tcnt = 0; $file = fopen("/home/uploads/date/".$list."_".$Type.".txt", "r") or exit("Unable to open file!"); $file_rl = $file; while(!feof($file)) …

Member Avatar for almostbob
0
83
Member Avatar for lexusdominus

Hey, does anyone know which function/s i need to use to copy a file from one subdirectory to another, without changing the name? im on windows if that helps.

Member Avatar for WaltP
0
147
Member Avatar for n3red

Hi, i am still learning i want to make a simple shell script. I wish to make a function that will receive 2 arguments (two dates) and will return all users who logged in during that period, how many times and how long were they logged in. I wish to …

Member Avatar for griswolf
0
364
Member Avatar for samreen36

hello i am making a project shape detection i started in c# but i have to face alot of problem in it. Infact i am working on background subtraction till last 4 weeks kindly help me it is better to make in c# or matlab? i have no idea about …

Member Avatar for skatamatic
0
205
Member Avatar for Smartflight

Ok, I received an assignment today, and we have our weekly test tomorrow. I was going through the 25 questions, and this is my first problem... The question is as follows: Write a program to keep count of created objects for a class. Make suitable assumptions. For example, in the …

Member Avatar for mike_2000_17
0
118
Member Avatar for egmik3

I am a noob at shell scripting and have been reading up on this topic in random google searches. The only way that I saw that worked was creating a tmpfile. IE: [CODE] crontab -l > $tmpfile edit $tmpfile crontab $tmpfile rm $tmpfile [/CODE] I need a script that will …

Member Avatar for gunasek12
0
7K
Member Avatar for OldDeveloper01

I have been playing with some code but had little success, i have hacked it quite a lot. Before i started removing things from the form, the code worked and it was to add products to a list to be displayed. I am working on a separate page but only …

Member Avatar for ko ko
0
135
Member Avatar for crazycat503

Is there anyway to do it? I find a msoft tool that does it for sql server 2005. There is an import feature in sql server 2008 but it doesn't do it correctly. Anyway to convert my database with all its relationships to sql server automatically??

Member Avatar for BitBlt
0
213
Member Avatar for MavrickIT

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/botomul/public_html/whatsnew.php on line 130 [B]Can Anyone tell me, How could i solve this issue, Please I need help immidiately.[/B] [CODE]<?php error_reporting (E_ALL ^ E_NOTICE); ?> <?php $item=$_GET['id']; include ("header.php"); $mark = mysql_query("select * from product order by product_id …

Member Avatar for ko ko
0
196
Member Avatar for jemz

Hello can you help me please, Hi,.I Downloaded the Mysql community server and i installed it to my windows xp.The problem is i don't know how to set up the database.I want to use this in my program because i have never been using Mysql as my database i always …

Member Avatar for jemz
0
97
Member Avatar for noormoon

Hi every one, in fact need helps very quicly, I have project system have to use c++ program but i dont know how to include file in program to read and write. I will put my soluation to help me some one and the question, to know the person who …

Member Avatar for noormoon
0
98
Member Avatar for abhi10kumar

I want to run two ajax functions on click event of checkbox. When I do implement second second ajax functions, first one does not runs. Here is the code [B]Check Box[/B] [CODE] <input type="checkbox" value="<?php if(isset($_POST['inactive_check'])) echo $_POST['inactive_check']; ?>" [B]onclick="disablebatch(); selectinactivecourse(this.checked); allbatches(this.value); "[/B] id="inactive_check" name="inactive_check" <?php if(isset($_POST['inactive_check'])) echo "checked";?>></div><div style=" …

Member Avatar for diafol
0
558
Member Avatar for Simplicity.

I've tried to make the code below to solve one of the Euler equation for the Gas Dynamics. I understand my code is not perfect, that is why I'm getting an error which I don't understand. The error message is: " File "eulersys.py", line 50, in <module> u_data = Evolve_in_One_Timestep(u_data) …

Member Avatar for Simplicity.
0
448
Member Avatar for slyme

Hi, Very new to JavaScript so I'm sorry if this is a daft question, I have searched for answers first and could not find anything that works for me ... so .. The task: One html form with two submit buttons. On submit (save changes) posts back to the same …

Member Avatar for twiss
0
775
Member Avatar for harinath_2007

Hello.. I am in search of how to play a video in full screen java application. I already know how to play a video using the JMF. but i want to play the video in full screen desktop java applicaton ..

Member Avatar for JamesCherrill
0
624
Member Avatar for jmurph333

I use a Form to gather Input from the user, and my program needs to format the info and show it in a Text Box. Everything works except 2 of my variables need to look like this in the output: "variable". The problem is that I can't find a way …

Member Avatar for jmurph333
0
131

The End.