199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for danielc

My question is simple: i wrote a program that will allow my user to enter some text and it will produce a wav file based on the input and allow them to download it. I am now in the stage that writting the redirect code to redirect the user to …

Member Avatar for dnanetwork
0
238
Member Avatar for jasondemon

Here is my code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load InitializeComponent() Dim str As New StreamReader("C:\projects\servers.txt") Dim server As String = str.ReadToEnd().ToString() str.Close() Dim thisconnection As New SqlConnection("server=" & server & ";integrated security=True;database=Deduping") Dim thisAdapter As New SqlDataAdapter() Dim cmdthisAdapter As New SqlCommand("SELECT ProjectNumber, …

Member Avatar for babbu
0
126
Member Avatar for maestermoo

Hey, so I'm trying to make a program that sorts user inputted "pancake sizes" and then outputs the result after a selection sort. My problem is that with an input of 12.3, 14.2, 15.2 etc(doubles) the program won't work, and I have no idea what to do for the parameters …

Member Avatar for Ancient Dragon
0
135
Member Avatar for phant0m67

hi im trying to parce a XML that is generated by a php page, the problem is that when i try to get the elements on that XML, the browser says that my variables (dado) are undefined.... any idea how to solve this? [code] function leValorXML(xmldoc, tag){ var dado = …

Member Avatar for essential
0
124
Member Avatar for 666kennedy

i have a filesystemwatcher looking for a file, then once the file comes into the folder ive set, it then reads all the lines of data from inside each file in the folder being monitored. each read line should then be writen into another file in a different folder. so …

Member Avatar for sknake
0
149
Member Avatar for khr2003

Hi I am trying to add multiple file upload feature to a form. I am wondering if there is a way to upload the files before submitting the form and them when the form is submitted and the data inserted into the database, the files get uploaded to the designated …

Member Avatar for khr2003
0
97
Member Avatar for Dum_

Is there a possibility to send a value of one variable in WinFormApp to value of other variable on ConsoleApp that are running on the same computer?

Member Avatar for sknake
0
66
Member Avatar for gerhardjl

Hi, Can someone assist me to locate a Serial Comms Package for the old Delphi V5,6,7 (early 2000's) ? I wish to do basic comms IO routines. I used to have a package called CPort(V.3?), but my pc crashed and I was unable to obtain it again. Maybe there are …

Member Avatar for marsheng
0
393
Member Avatar for ginger182

Hi I'm really new to C#, more familiar with .ne but haven't code much in a while. I am not sure how to populate a table with data after clicking a search button.. know how to do this in .net but eve after looking at examples I'm not sure how …

Member Avatar for dnanetwork
0
98
Member Avatar for VinayRok
Member Avatar for rahulsundar_007

hi can anyone help me out in detecting broken/corrupt images (jpeg, gif, png) using c# code. - rahul

Member Avatar for sknake
0
2K
Member Avatar for Thirusha

Hi I have set up an example web app which was already written by a third party company. My problem comes in when i enter the app name like [B][url]http://localhost:8080/app1/[/url] [/B] it redirects to the correct page that was used in the <welcome-file> tag in the web.xml but the js …

Member Avatar for Banderson
0
105
Member Avatar for nccsbim071

Hi I have been developing a website. I need to hide the page extension of the pages while user is browsing my site. for example: Home.aspx should be displayed as Home only. How can i do this. Please help Thanks

Member Avatar for dnanetwork
0
246
Member Avatar for loozax

how to get the correct difference and product of dis?! [code] import java.io.*; public class exer05{ public static void main(String args[])throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int num = 0; int number = 0; int diff = 0,pro = 0,sum=0; System.out.print("Enter number of times:"); number = Integer.parseInt(br.readLine()); for(int …

Member Avatar for tux4life
0
96
Member Avatar for praveen_dusari

hi all, i am using codeigniter for a shopping cart for my admin panel i created a first method mentioned [URL="http://philsturgeon.co.uk/news/2009/07/Create-an-Admin-panel-with-CodeIgniter"]here [/URL] for this iam getting error failed to open stream 'D:\wamp\www\codeigniter\admin/system/codeigniter/CodeIgniter.php’ i need to add ../ in this line [code=php]require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;[/code] how to do this i am getting error …

Member Avatar for Banderson
0
105
Member Avatar for tulipputih

Hello, anybody can suggest me on how to do exact match in php ( for search purpose). From my reading I understand that we need to use " ". What is the correct syntax for this? Is preg-match important here. Thank you.

Member Avatar for praghna
0
91
Member Avatar for cali_dotcom

i'm parsing a csv file with ajax and php, although i think i did everything right, nothing happens when i click on the link. here is the code: [code] here is the html: <div id="brandContainer"> <ul id="brandNav"> <li class="categorypage" id="face"><a href="javascript:showCD('a','brandPage')">A</a></li> </ul> <div id="brandPage"></div> </div> here is the ajax/javascript: var …

Member Avatar for Banderson
0
179
Member Avatar for xuexue

hi guys, i want to include the icon of the type of file am uploading, is that possible????

Member Avatar for diafol
0
106
Member Avatar for ss2602

i want the user to enter the name of the file to open and i want it in c++, i have seen a similr work done in vc but i m nt abl 2 implement da same in c++

Member Avatar for iamthwee
0
2K
Member Avatar for Creator07

Hello, This is a general question, so, I don't think code is necessary. I have a basic question about buttons in Win32 API... (Solution in MFC is also OK!). I was doing some experiments in push buttons, using MFC... I can enable/disable a button as I wish, but, there is …

Member Avatar for Creator07
0
177
Member Avatar for avaitla

I realize that there is another thread about this topic, where bitshifts are used, but I do not understand why my code is not working: #include <iostream> #include <bitset> using namespace std; int main() { bitset<5> b; int temp=0; for(int count=0; count<=10; count++) { temp=count; for(int check=4; check>=0; check--) { …

Member Avatar for tux4life
0
141
Member Avatar for saivemuri

This is about jsp, beans with struts. The problem is, I am using one jsp which is containing some select boxes. I ll be populating the select boxes from DB thru beans and action class. It’s working properly. The problem is with the data insertion from JSP to DB. The …

Member Avatar for peter_budo
0
319
Member Avatar for xuexue

the question is that, what if i have a separate folder wherein the files i wanted to replace the name is located? example, the uploads folder contain all the uploaded file, now the user can edit the file's information, let's say the filename, how about that?

Member Avatar for diafol
0
78
Member Avatar for CoSIS1

Hi everyone; I’ve written the following for some purpose : [CODE] <% Vector v1,v2; String sql; String sqlvsp; sqlvsp= "select distinct(question_text) from question where type = 'UStudent' "; Vector vc=database.jdbcOneRowQuery(sqlvsp); for(int n=0;n<vc.size();n++){ %> <table border="0" width="100%"> <tr> <td colspan="6"><font size="2"><b><% out.print(n+1); %>)<% out.print(vc.get(n)); %></b></font> </td> </tr> <tr> <td></td> <td align="center" …

Member Avatar for peter_budo
0
124
Member Avatar for alvingo

Hi Guys, First time user & new to scripting. :) I have my shell script like this: [CODE] #!/usr/bin/sh e_id=`sqlplus -s scott/tiger@DB<<eof SET PAGESIZE 0 FEEDBACK OFF VERIFY OFF HEADING OFF ECHO OFF; select emp_id from employee; quit ` echo "Employee ID's $e_id" group=GROUP1 # Getting the sss_no for each …

Member Avatar for alvingo
0
129
Member Avatar for xuexue

i could get the size of the file i uploaded, however, i want to convert it to MB, i dont want to make some computations, is there any easy way to do that????

Member Avatar for xuexue
0
80
Member Avatar for tones1986

I have created a drop down list from a SQL query as follows: [code=php] <?php echo '<form action ="boat_info.php" method="POST">'; $query = "select SHIP_NAME from SHIP"; $result = mysql_query($query, $link); if (mysql_num_rows($result)) { echo "<select name='boat' value='bname'>Ship Name: </option>"; while ($row = mysql_fetch_row($result)) { print("<option value=\"$row[0]\" name =\"bname[]\">$row[0]</option>"); } } …

Member Avatar for cybersat
0
982
Member Avatar for borntowin_786

//php file [code=php]$strSheetName = 'test'; $objXLApp = new COM( "excel.application" ) or die( "unable to start MSExcel" ); $objXLApp->Workbooks->Open( "path/test.xls" ); $objXLSheet = $objXLApp->ActiveWorkBook->WorkSheets( $strSheetName ); $i=3; do { $strCellName = 'B'.$i; $objXLCell = $objXLSheet->Range( $strCellName); $i++; echo $objXLCell->Value()."<br>"; }while($objXLCell->Value()); echo $i; //print $objXLCell->Value(); //objXLsheet.Range("A1:A100") //print "Cell $strCellName in $strSheetName: …

Member Avatar for borntowin_786
0
140
Member Avatar for sriramaam

hi, I am trying to do some aombination study. I have saw some codes on permutations and combinations. But for all those programs input is a single list. I am trying to make combination from 4 lists. I have input 4 lists. Now I want to generate several combination lists. …

Member Avatar for sriramaam
0
136
Member Avatar for bryan69

hi,im doin a mobile banking system and rite now, i have 2 forms in d 1st form.. ive created fields for name,account number and amount while d other form is where it is supposed to display the transaction number. my question is, i only can make this program work successfully …

Member Avatar for Piya27
0
107
Member Avatar for Pankaj18

Hi, I am using below code to hide a column in Gridview. But it display an error. My code:: [code]protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Cells[7].Visible =false;//error generated on this line }[/code] Error:: Specified argument was out of the range of valid values Parameter name: index Please help me. …

Member Avatar for Pankaj18
0
678
Member Avatar for Matsui

I have need of some help...i am working on a form in javascript and am wanting to create a function to total the value of checkboxes when they are checked. i have found many examples, and have a little bit done but it won't total up the values. this is …

Member Avatar for kvprajapati
0
97
Member Avatar for ashkan3030

Here is the scenario: I have pages that we can add items to "shopping cart",here is the code: [code]List<string> shopingCart = (List<string>)Session["shopingCart"]; if (shopingCart == null) { shopingCart = new List<string>(); Session["shopingCart"] = shopingCart; } shopingCart.Add(Request.QueryString["ID"]);[/code] I store the ID of each product in Session state(which is unique), then I …

Member Avatar for kvprajapati
0
327
Member Avatar for laghaterohan

Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is …

Member Avatar for kvprajapati
0
188
Member Avatar for ebiemami

I want to pass for example to instance of my employee class to the next page , I use CONTEXT CONTEXT>ITEMS>ADD. .... and then SERVER>TRANSFER(); but it doesn`t work properly and if i set the properties of these instances to the same class objects in the next page I get: …

Member Avatar for kvprajapati
0
264
Member Avatar for pupilstuff

plz tel me how to resolve that error my code is [code=asp.net]<asp:GridView ID="gridView" runat="server" Style="position: relative; left: 299px; top: 69px;" PageSize="5" OnRowCommand="gridView_OnRowCommand" AllowPaging="True" OnSelectedIndexChanged="gridView_SelectedIndexChan ged1" > <PagerTemplate> <% if (gridView.PageIndex > 0) { %> <asp:ImageButton ID="imgBtnPrevious" runat="server" Style="vertical-align: middle;" ImageUrl="pre.jpg" OnClick="click1" CommandArgument="Prev" CommandName="Page" /> <% } %> <%=(gridView.PageIndex * 5) …

Member Avatar for kvprajapati
0
84
Member Avatar for noorashegh

Hello I apologize because my English is not good. I Have a webpage by asp.net that contain one treeview ,xmldatasource,one xml file that related to xmldatasource and one iframe. When user click on a treenode a webpage will be shown in iframe. Now I want when treenodes clicked , my …

Member Avatar for Kusno
0
152
Member Avatar for sanju.d1231

Hi, I have written a small code to connect to solaris machine from cygwin...but this code is giving some error. please see the code below..i am expect some solution of this error.. Thanks in advance import os, pexpect, time FirstTime_Ssh='Are you sure you want to continue connecting (yes/no)?' def ConnectUnix(): …

Member Avatar for jlm699
0
203
Member Avatar for ctyokley

Ok. so i'm not quite sure how to do this. I have searched many of website but cant really find too much. I have a database in MS ACCESS that holds user information. I have the insert function working on this. I have used VB.NET CODE. What i want to …

Member Avatar for ctyokley
0
431
Member Avatar for coachD

i want to mix a different fertilizers available in the market to create a new fertilizer WITH MY DESIRED AMOUNT OF NPK(Nitrogen, Phosphate, Potassium)... i can do that in so many ways but i want to get the mixture with cheapest cost. here is an example, ------------------N-P-K Numbers------------COST(Peso) Fertilizer 1-----(24-2-8)---------------------100/bag …

Member Avatar for cafasa
0
129
Member Avatar for k2k

i just downloaded a login script and the code below is the php backend for the login. It is originally using md5 encryption and decryption for the password. For some reason I want to manage the password without encryption for now. my database has a member with login name and …

Member Avatar for k2k
0
123
Member Avatar for xiikryssiix

if anyone can check out my program below and see whats wrong, itd be greatly appreciated. my goal: user input a text file (i.e. data.txt) to open and read print the mssg within file to both console and text file (i.e. secret.txt) print the mssg as scrambled message (ASCII) my …

Member Avatar for xiikryssiix
0
118
Member Avatar for xuexue

hi guys! this is my problem, let's say the user wants to edit the file's information, not the file itself. example, i have Document1.doc, that is my file, what i want is that the user could edit the information, let's say the time it was uploaded, the filename and not …

Member Avatar for xuexue
0
1K
Member Avatar for Zetlin

Hi everyone I am writing this program that takes a string and search it for words. Those words are taken and they get "<" at the beginning and ">" at the end of the word. then it prints the string with the words and the "<, >" characters. Here is …

Member Avatar for Zetlin
0
261
Member Avatar for Mahen

hi everyone, I've seen that in C we can call functions from DLL's, but i don't know how, can you please clear my ignorance or divers me to a website where i can learn it. Thanks

Member Avatar for Bertie
0
134
Member Avatar for CFROG

I'm working on a script that handles a member sign up. Upon submission of new member info the script queries the users table to check for duplicate user name (in this case an email) and return an error if duplicate is found. If not I want it to just submit …

Member Avatar for humbug
0
140
Member Avatar for flipjoebanana

Hello, I am wondering the best way to go about this in python. Basically what I want is to encrypt a password (using something in python or open source) while masking the password in a wxpython text field(i.e. instead of 'password' it will show '********' on the screen). I realize …

Member Avatar for vegaseat
0
155
Member Avatar for xiikryssiix

i have to create a program that calculates how many weeks it will take to become a millionaire given an allowance of pennies. for example... 1st week - 1 cent 2nd week - 2 cents 3rd week - 4 cents 4th week - 8 cents 5th week - 16 cents …

Member Avatar for xiikryssiix
0
183
Member Avatar for bladelord76

I need some help with a code I'm working on. The code starts off by creating a class for types of cars. Once that's done, I have it construct a list of predetermined vehicles (all made from the aforementioned class), and then I ask for user input, to see if …

Member Avatar for bladelord76
0
179
Member Avatar for tomtetlaw

I want to sort a dictionary, say that it was like this: [code] a_dict = {'2':12354, '1':12355432, '4':35342, '3':858743} [/code] How would I be able to sort it so it's like this: [code] a_dict = {'1':12355432, '2':12354, '3':85874, '4':35342} [/code] Is there any algorithms already built it? Or do i …

Member Avatar for scru
0
110

The End.