199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lotop12

For the past week I have been trying to develop a VBA script to do PCA/SVD based data mining. The data are timetaged numerical quantities. It's been quite frustrating as I am newbie in VBA development. Any help would be appreciated. Secondly, is it possible to find VBA and/or python …

Member Avatar for lotop12
0
210
Member Avatar for Ajay_9

I am label which display the current time ( label8.Text = DateTime.Now.ToString("HH:mm:ss"); ) but here i want on a button click the timer would alert on two minute (i.e time out)..

Member Avatar for oussama_1
0
343
Member Avatar for brittney_2

So, I am trying to test my if else with two Character.toUpperCase answers and I keep getting this error: 1 error found Error: bad operand types for binary operator '^' first type: char second type: boolean I tried && and & and it won't work. If I don't use anything …

Member Avatar for Pobunjenik
0
140
Member Avatar for Sevyt

I hope the title is somewhat clear. In windows forms this is pretty straight forward. But for whatever reason in WPF its not the case. I am trying to change the opactiy of 2 labels. Both labels are on seperate windows. Window1 has a button to change opacity of a …

Member Avatar for Sevyt
0
253
Member Avatar for nice_true

Hello, I need to transliterate the names of employees that are fetched from my database and write the transliterated values back into the database... For this I need to run a javascript code in a loop for as many no of records as in the database.... The code I am …

Member Avatar for stbuchok
0
220
Member Avatar for danielki

Hello, I am new to python and I am trying to do this task but it looks that I am missing some things which is not visible to me can any body help me see those mistakes I am making and suggest how I should restracture my code if needed? …

Member Avatar for David W
0
549
Member Avatar for pwolf

I was following along to the following tutorial - [Derek Banas Java tutorial 18 - Threads pt2](http://www.youtube.com/watch?v=G2Xd5avyk_0) and as I decided to go over his tutorial series by following along in notepad++ and compiling with the command line, so that I can experiment and test things I'm unsure about, I …

Member Avatar for pwolf
0
1K
Member Avatar for Michael_22

I need to turn ON and OFF the built in camera LED FLASHER on a Windows 8 tablet. This is bascially the same as a common FLASHLIGHT APP on a cell phone. I need to make this work within a Delphi 2010 VCL application and all I can find is …

0
365
Member Avatar for MasterHacker110

I have searched everywhere for Borland Delphi 7 but I cant find it anywhere. I used it a while ago when I got it as part of my programmer courses but I lost all the data on my harddrive. I have looked on Borlands main website but I was unable …

Member Avatar for dausmus
0
4K
Member Avatar for Mike_danvers

i am trying to do multiple photo upload but its not working,i can just upload just one image at a time here is my code.I am looking for uploading multiple image using multiple file input type and a single submit button. <html> <body> <form action="imgupsuc.php" method="post" enctype="multipart/form-data"> <?php @$nm=$_POST['n1']; ?> …

Member Avatar for davidjennings
0
198
Member Avatar for ceelos1974

My code right now: std::string line; std::fstream localFile; localINIFile.open(MyToReadFile/*, std::ios::in || std::ios::out*/); // the MyToReadFile is declared somewhere else, and is being declared before this if (localFile.is_open()) { std::string Name = A[ID]; // ID is delcared somewhere else too std::string lookFor = Name + " false"; while ( getline (localFile,line) …

Member Avatar for Ancient Dragon
0
146
Member Avatar for Varunkrishna

Hi all I am writing a java program to display the dob of sportsperson, now I have use the java.util.Date to display the date on to the consloe. But since it is deprecated I wish to use some other method to get and display the date from the user. Here …

Member Avatar for jwenting
0
379
Member Avatar for mavtcr

Friends , I have a database in sql server named "Deposit" with a table "Receipts" .I want to display the data in a list box.My code is given below Imports System.Data.SqlClient Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim cnn As New SqlConnection("Data Source …

Member Avatar for cgeier
0
185
Member Avatar for Suzie999

Perhaps mt eyes are missing something simple, but I cannot understand what is going on. The following code produces intellisense and compile error "error C2373: 'GetHwnd' : redefinition; different type modifiers" I have many functions in same manner, but this will not play ball. extern "C" HWND __stdcall GetHwnd(wchar_t *); …

0
116
Member Avatar for RoseB

Below code is working fine with small problem. My problem here is, how can i get the BegValue working in a proper order. please it is only the begvalue that is giving me a headache. Please some one help me. !!! Thanks in advance. Public Class Form1 Private Sub Button1_Click(ByVal …

Member Avatar for RoseB
0
336
Member Avatar for hira.jehangir.3

if input is given like (5,4,6,3) it returns 4,5,3,6 but i want it to return like 3,4,5,6....kindly help. import java.util.Scanner; public class sort { public static void main(String args[]) { int rows; int cols; Scanner input = new Scanner(System.in); System.out.println("Enter number of rows u want in matrix "); rows=input.nextInt(); System.out.println("Enter …

Member Avatar for JamesCherrill
0
5K
Member Avatar for davidjennings

The following code is producing this error `Microsoft VBScript compilation error 800a03f6 Expected End ` followed by `/stock/availability-quick/availability2.asp, line 130` I think it is a if else error. I have looked over the code and i don't see the error and would benefit from an expert pair of eyes to …

0
163
Member Avatar for iamthwee

hi guys... what is the simplest php forum to add to my cms. I'm struggling finding something simple which separates the db code and view(html)

Member Avatar for diafol
0
193
Member Avatar for ameer.mhmed

how to write code in java this statm if public String pass (){ b =txt_pass.getText(); if ("ameer".equals(b)) JOptionPane.showMessageDialog(null, "the password is correct"); return b; } how to make this **if (user ()) retrun a ** JOptionPane.showMessageDialog(null, "the password is correct");

Member Avatar for stultuske
0
119
Member Avatar for joshl_1995
Member Avatar for joshl_1995
0
177
Member Avatar for kal_crazy

How to save the created txt file to a specified path? For example to C:\\ Drive. When the code creates a file it saves to the workspace folder of the project. Do I have to set the directory to C:\\? I tried using `SetCurrentDirectoryA` function but does not change to …

Member Avatar for kal_crazy
0
2K
Member Avatar for chaitu11

i am unable to concardinate i am getting error.. <?php $subject = "You got a Project Invitation from ".echo $_SESSION['user_name']; ?>

Member Avatar for Ajay Gokhale
0
248
Member Avatar for Mohammed_9

#include<stdio.h> #include <file.h> main(int argc, char *argv[]) { FILE *fp; char s[100]; int i; //char exit if((fp=fopen("Allah ya isa.mp3","rb"))==NULL) //Open file and read on binary mode { printf("Could not open the file\n"); // exit(1); } fclose(fp); } #include<stdio.h>`` main(int argc, char *argv[]) { FILE *fp; char s[100]; int i; //char …

Member Avatar for Ancient Dragon
0
327
Member Avatar for Yozuru

Hello good people I am working on a caeser cipher program for class. However, I ran into a problem with my outputs. Up to a certain point for example: two('y', 'z') Would give a '\x92' output instead of a 'x' output. Currently this is my code so far: def chartonum(ch): …

Member Avatar for Yozuru
0
288
Member Avatar for newperluser

I am new to Perl, I wanted to combine two lines where "ANN" and "QTR" in second column have same date in fourth column (date), otherwise just print line with data which has "ANN" in it. It also skip line where date column is empty: Input data file: I am …

Member Avatar for 2teez
0
144
Member Avatar for navi2582

Hi, I am new to wxpython and trying to develop a small GUI interface (shown below). User selects a python script from "Browse run script" and when he/she hits the button "Execute RunScript", the script should execute via aardvark i2c interface. But I am not sure why it's not getting …

Member Avatar for Gribouillis
0
444
Member Avatar for ahmad_9

Write a program to recognize tokens for C++ program. Use C++ program as your input?How to answer? TOKEN getRelop() // TOKEN has two components TOKEN retToken = new(RELOP); // First component set here while (true) switch(state) case 0: c = nextChar(); if (c == '<') state = 1; else if …

Member Avatar for Ancient Dragon
0
130
Member Avatar for Falcon760

How do I add records to a mysql database using a combo box of text and checkmarks in php? <html> <head> </head> <body> <h3>Add New Record in MySQL Database</h3> <form method="post" action="adding.php"> <table width="400" border="0" cellspacing="1" cellpadding="2"> <tr> <td width="100">Worker Firstname</td> <td><input name="firstname" type="text" id="lastname"></td> </tr> <tr> <td width="100">Worker Lastname</td> …

Member Avatar for k99rs
0
253
Member Avatar for bLuEmEzzy

Good Day, guys, please help me, after validation in javascript,I want the user to go to the next page. I tried window.open ("sinfo.php"); The problem was it opens in another tab. I want the next page (sinfo.php) to be on the current window. Thanx

Member Avatar for bLuEmEzzy
0
103
Member Avatar for Zurompeta

Hi everyone, Got a pesky little issue here with cookies. I have searched numerous forums and numerous posts of how to delete a cookie. So, I am much aware of this doing the trick: [code=php]setcookie('cookie_name');[/code] Basically where not assigning any value to a cookie will delete it. (This is just …

Member Avatar for dave.shaw.37
0
1K
Member Avatar for paeez

can any one explain about the below code which is Dining Philosophers Problem.. [CODE] //Dining Philosophers Problem import java.util.Random; class Monitor { int phil_States[] = new int[5]; // 0=not_waiting, 1=waiting // 2=eating boolean fork_States[] = new boolean[5]; // false = in use, true = free Monitor() { // constructor for(int …

Member Avatar for S1nfulAngel
0
1K
Member Avatar for ZixCo

Hi. I am making a program and I started at the first example for sphinx 4. I can't even run the program becouse I get an error:new ConfigurationManager(args [0]) so I can't even run the program. Please help. Here is my code: import java.net.URL; import com.sun.speech.freetts.Voice; import com.sun.speech.freetts.VoiceManager; import edu.cmu.sphinx.frontend.util.Microphone; …

Member Avatar for JamesCherrill
0
163
Member Avatar for dennis254

What is the difference between this two ways of initializing arrays. I have instantiated an array Guys[] guy = new Guy[3]; where Guys is a class having fields Name, Cash, MyLabel(a Label), MyRadioButton(a RadioButton) guys[0] = new Guy() {Name = "Joe", Cash = 50, MyLabel = joeBetlabel, MyRadioButton = joeRadioButton …

Member Avatar for ddanbe
0
183
Member Avatar for MasterHacker110

Hello, I am trying to write this program in Delphi that calculates the amount of change required to make a certain amount. The user enter a number between 1 and 200. The program then calculates the amount of 100, 50, 20, 10, 5, 2, 1 bils required. But there is …

Member Avatar for MasterHacker110
0
259
Member Avatar for albu.sorin.calin

Hello, I'm developing an application in Unity/C#, a social application, where you can meet friends, post messages, chat, and so on. I'm not calling this a "game" because I intend this to be something where you don't need to shoot, or destroy, or earn money, or all other game stuff. …

Member Avatar for albu.sorin.calin
0
301
Member Avatar for BogdanCov

Hello, guys. I need your help. :o3 I want to create a MessageBox which may "communicate" with form. Actually, i need to communicate with form. It's a kind of backtraking and I want to display in more ways the solution. void afisare() { int dame = int.Parse(Dame.Text); afisari++; for (int …

Member Avatar for ddanbe
0
174
Member Avatar for johnef_sh

I need to upload 5 images at ones with they labels I have made this before to upload many images at one it works fine but I need to have an label for each image how this can be done take a look at my code. this is the HTML …

Member Avatar for Mike_danvers
0
509
Member Avatar for iamthwee

foreach ($query->result() as $row) { echo anchor("forum/topic/$row->topicid", my_html_escape(($row->name)), 'attributs'); echo ' by '; echo $this->Stuff->get_topic_author($row->topicid); echo ' replies '; echo $this->Stuff->get_replies($row->topicid); echo ' Last post '; echo $this->Stuff->get_topic_last_post($row->topicid); echo br(); } This has been bothering me for a while. Let's say I have that code I want to pass this …

Member Avatar for Ajay Gokhale
0
150
Member Avatar for sankubha

how to reduce memory usage of java application...it takes 18 mb memory when started,when i starts new thread it takes 47 mb of memory .After i closed the started thread ,the memory is not reduced to 18 mb. It still stays at 47mb of memory usage.

Member Avatar for masijade
0
467
Member Avatar for thorin

I am getting a very mysterious bug when I run my java website in Browser Mode: IE9 Compatibility View - the sessions stop working and I have no idea why. I don't think there is a tag or any code that I can include in my website that can force …

Member Avatar for thorin
0
619
Member Avatar for DonXai

*Online Examination System # Heading Here # Dear friends i have to develope online examination system in vb.net ...but there is some problem .. Inserting teacher record from combobox,Subject record from Listbox into a table name Subj_Paper.. columns are Sbj_Paper_ID,Sbj_Paper_Name,T_ID... Sbj_Paper_ID isa the primary key T_Id is foreign key from …

Member Avatar for oussama_1
0
124
Member Avatar for waseem1345

Hello, I googled this and didn't found any good results. I found "GUI Toolkits for C++"... I need a C++ eBook to teach me to use the windows library...

Member Avatar for waseem1345
0
285
Member Avatar for carmamir

Private WithEvents tim As New System.Timers.Timer Public Delegate Sub doSub() Private thingToDo As doSub Public Sub TimeOut(ByVal d As doSub, ByVal milliseconds As Integer) thingToDo = d tim.AutoReset = False tim.Interval = milliseconds tim.Start() End Sub Private Sub tim_Elapsed(ByVal sender As Object, ByVal e As System.Timers.ElapsedEventArgs) Handles tim.Elapsed Invoke(thingToDo) End …

Member Avatar for carmamir
0
3K
Member Avatar for ravi_14

vector <int> a; //first vector vector <int> b; //second vector vector <int>::iterator i; //iterator for first vector vector <int>::iterator i1; //iterator for second vector //reading of first vector int temp; while(cin>>temp) { a.push_back(temp); } i=a.begin(); while(i!=a.end()) { cout<<*i<<" "; i++; } //end of reading first vector //reading of second vector …

Member Avatar for Banfa
0
207
Member Avatar for ravi_14

for(i=a.begin();i!=a.end();i++) { cin>>*i; } for(i=a.begin();i!=a.end();i++) { cout<<*i; } above code works fine but when i use while loop to display vector , program crash. while(i!=a.end();) { cout<<*i; i++; }

Member Avatar for Banfa
0
208
Member Avatar for LaurenE

Good Day Daniwebbers! Wonder if I can have some help. I am trying to build an 'admin panel' of sorts where the user can add content to their website, edit and delete it, all from one spot (Not unlike a CMS system I guess but purely for the purpose of …

Member Avatar for LaurenE
0
199
Member Avatar for Decode098

import javax.swing.JOptionPane; public class Hotel626 extends javax.swing.JFrame { public Hotel626() { initComponents(); } @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code"> private void initComponents() { jLabel2 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton(); jProgressBar1 = new javax.swing.JProgressBar(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR)); setResizable(false); jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Pic/Entrace.jpg"))); // NOI18N jButton1.setBackground(new java.awt.Color(0, 0, …

Member Avatar for stultuske
0
272
Member Avatar for nayzin.phyo

![e3aa463a715bf7d059e1bb1c76bea2ba](/attachments/large/4/e3aa463a715bf7d059e1bb1c76bea2ba.png "e3aa463a715bf7d059e1bb1c76bea2ba") Hi, > Quoted Text Here ` can anyone help me....i need help in this project... ` 1st thing is File type...the code i want is to only check the file type as binary, csv, etc... ` 2nd in Data Type....i have to count if the data type is …

Member Avatar for nayzin.phyo
0
269
Member Avatar for nileshbhanu

FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } });

Member Avatar for nileshbhanu
0
334
Member Avatar for gg_bata

guys Im a newbie here I really need your help for our project...pls help me..heres the problem..Write a C program that add a names into a file then read the names in a file and sort it alphabetically..(FILEPOINTER).

Member Avatar for Schol-R-LEA
0
174

The End.