199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ryan Nigel

Hi to all long story short, i have 2 executable files **first.exe second.exe** i want to run both with one button, i know i can run one executable file with this code Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click Process.Start(My.Computer.FileSystem.CurrentDirectory & "\first.exe") End Sub but how do …

Member Avatar for tinstaafl
0
966
Member Avatar for lopesi2003
Member Avatar for zekstein

Hello ! I have a problem ! I'm starting a comment system for my website. The problem is: I want to use an HTML editor, but is not fully necesary. My problem is with the security. How to secure the user input that i save in database? Because i show …

Member Avatar for diafol
0
145
Member Avatar for ravi142

Hello Everyone, Can you suggest me for Any Script or snippets of dopdown value given to **database** using **jquery and ajax** in php file. Thank You.

Member Avatar for diafol
0
386
Member Avatar for dhani09

I'm implementing something similar to a shopping cart - a "my favorites" page for products. Users can click on an "add to favorites" link and add products to a favorites table from which they can view the details of those products at a later time. There's no purchase on the …

Member Avatar for diafol
0
228
Member Avatar for katieJane

Hi all I have, hopefully, a rather small query. I have been creating a system with asp/vb and as I was designing I used msgbox's. Of course when I then uploaded it to the company intranet it didn't like MsgBox. I understand that there are various ways of doing it, …

Member Avatar for diego_5
0
15K
Member Avatar for mark103

Hi all I need your help, I'm working on my python script to fetch the list of channels from the sqlite3 database. I'm fetching 7 channels to set each channel in each label control 4010, 4011, 4012, 4013, 4014, 4015 and 4016. When I fetch the list of channels to …

Member Avatar for woooee
0
2K
Member Avatar for nathan.pavlovsky

Hi programmers! I am trying to grasp the concept of friendship. Let's say that we have the following: class List; //forward declaration class ListNode { friend class List; //make List a friend /* rest of code here, blah, blah, blah. */ } Does this mean that ListNode can access Lists's …

Member Avatar for nathan.pavlovsky
0
214
Member Avatar for cambalinho

heres a nice tutorial about regions: http://www.flipcode.com/archives/Win32_Window_Skinning.shtml like you see, these tutorial is for forms.. so how we can do with child controls!?! we can: add the WS_CLIPCHILDREN or WS_CLIPSIBLINGS style, when we create a button\other control: hwnd = CreateWindowEx( 0, TEXT("CBUTTON"), strCaption.c_str(), WS_CHILD | WS_VISIBLE | BS_TEXT | WS_TABSTOP …

Member Avatar for cambalinho
0
178
Member Avatar for mokshi

Hi I am generating 6 tables in pdf using fpdf in php but i am getting each table in a seperate page even if table contains only one row can you help me in this issue function function BuildTable5($header5,$data5) { $this->SetFillColor(255,255,255); $this->SetTextColor(0); $this->SetDrawColor(0); $this->SetLineWidth(.3); $this->SetFont('','B'); //Header $w=array(30,50,20,20); $this->SetFont('Arial','B',7); for($i=0;$i<count($header5);$i++) $this->Cell($w[$i],7,$header5[$i],1,0,'C',true); …

Member Avatar for DJBirdi
0
192
Member Avatar for jmay1327

I have a EXGrid in a form and want to add button to a cell that either say "Edit" and "Remove", or Have icons for the two. Here is the code I have so far. With grdGrade .BeginUpdate '.DataSource = objCo.DAL.Connection.Execute(sql) .DefaultItemHeight = 21 .TreeColumnIndex = -1 .MarkSearchColumn = False …

Member Avatar for jmay1327
0
595
Member Avatar for preetchannay

hello to all..., i am working on a project and there i am facing a problem of adding pictures to a label.In my project its like that.. i have a textfield ,a button and a label. When i write the file name in the textfield and then after clicking on …

Member Avatar for preetchannay
0
142
Member Avatar for Lee_8

Can anyone help me to write java program? I'm using BlueJ for this assignment. This assignment is to write a program to calculate loan repayments. Banks and/or finance companies loan customers money (usually called a mortgage) so they can make large purchases (such as a house or a car). Each …

Member Avatar for JamesCherrill
0
816
Member Avatar for Antpit

I'm trying to simply get the value of a FormView control IDLabel1 that is placed within a div IDLabel1 is a bound control getting data from a database via an sqldatasource control I've tried the following: FormView1.FindControl("IDLabel1") CType(FormView1.FindControl("IDLabel1"),Label) Dim lbl As Label = DirectCast(FindControl("IDLabel1"), Label) Dim lbl As Label = …

Member Avatar for Antpit
0
676
Member Avatar for alysha.recore

Hello everyone! I am in need of some help with a homework assignment. It's basically creating a file indexer using C++. I have 2 separate files that I need to read in: one is a text document and the other is a Skip words key. I am incredibly confused about …

Member Avatar for NathanOliver
0
169
Member Avatar for mexabet

I'm coding a registration form that includes a file upload field. Basically, there are two queries that need to be simultaneously inserted into a database. But unfortunately, I don't know how to do it. So, I need your help. if ($my_upload->upload()) { // new name is an additional filename information, …

Member Avatar for mexabet
0
245
Member Avatar for jaspertan

Hi Sirs, can anyone have an idea reagarding lightopenid log-in on Laravel 4. i want to make a website using google account on log in. Thanks in advance.

Member Avatar for cereal
0
435
Member Avatar for Gunjan Rathi
Member Avatar for deceptikon
0
218
Member Avatar for Desmond_1

import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JFrame; import javax.swing.SwingUtilities; import javax.swing.Timer; @SuppressWarnings("serial") public class OnClickLesson extends JFrame { private int value = 0, clicked = 0, countdown = 1; private Timer timer = new Timer(1000, null); public OnClickLesson() { timer = new Timer(1000, new countDownTimer()); addMouseListener(new MouseAdapter() …

Member Avatar for Desmond_1
0
257
Member Avatar for Bradoz

Hello below is my code for a program that reads in integers rom keyboard input and creates two polynomials from that input and then does some maths functions on them. I've got the addition working, having trouble with the multiplication though. Any help would be appreciated. thanks import java.util.*; import …

Member Avatar for JamesCherrill
0
3K
Member Avatar for mo_snow

The MilTime class should convert time in military (24-hour) format to the standard time format used by the Time class. Theclass should have the following member variables: milHours : Contains the hour in 24-hour format. For example, 1:00 pm would be stored as 1300 hours, and 4:30 pm would be …

Member Avatar for pritaeas
0
5K
Member Avatar for jkumar1992

I'm using vs 2013 and MVC hi to all, Here i'm bind the value from database to drop-down list without using VIEWDATA. here i done using view data to bind the database value. Anyother method to bind value from database to drop-down list. Here i want to use Modals.

Member Avatar for jkumar1992
0
282
Member Avatar for nezammca

hi.,:cool: I need to create a grid view in asp.net which should have the database connectivity nor sqldatasource. hence i should use the dataset,datatable,datarow and some how i tried and create the dataset and displayed in grid view. i wrote this code in page load event: dataset ds = new …

Member Avatar for shubham.raval.5496
0
1K
Member Avatar for rjusman90

$newq=mysql_query("SELECT * from userrights WHERE UserId=$Id"); $array=array(); $r1=mysql_fetch_array($newq); $menuid=$r1['MenuId']; <select name="page[]" multiple="multiple" size="5" > <option disabled="disabled" value="">Choose one</option> <?php $query1=mysql_query("SELECT * FROM adminmenu"); while($row1=mysql_fetch_array($query1)){ $selected = ($menuid == $row1['MenuId'] ? 'selected="selected"' : ''); echo"<option value='$row1[MenuId]' $selected >".$row1['MenuName']."</option>"; } ?> </select>

Member Avatar for rjusman90
0
151
Member Avatar for daniela.valkanova

> Not sure why do I always get a 0 from the isvalidReal function? int isvalidReal(string signedNum) { bool check; int i = 0, j = 1; string str = "+-."; for (i = 0; i <= signedNum.length(); i++) { if (isdigit(signedNum[i])) { check = 1; } else if (signedNum[0] …

Member Avatar for Learner010
0
144
Member Avatar for xn hunk

how to write to file in program folder in VB.net? ex Program Files\n\n.ini. how to write to n.ini in program folder.

Member Avatar for cgeier
0
475
Member Avatar for xn hunk

how to AutoScroll Listbox in continuous manner in VB.net? ex AutoScroll 1 3 5 then start again from 1 3 5

Member Avatar for tinstaafl
0
3K
Member Avatar for Syeda_2

hi everyone, i am new in C. can anyone help me to solve the following problem: write a small program in CLIP to code that shall work like a simple computerized study advisor. Your program will collect some data from the user and then suggest a field of study. To …

Member Avatar for rubberman
0
97
Member Avatar for mo_snow

I posted a simliar issue ealier, but I've changed my approach since then. #ifndef TIME_H #define TIME_H class Time { public: Time(int = 0, int = 0, int = 0); ~Time(); int hour; // valid values are 0 to 23 int minute; // valid values are 0 to 59 int …

Member Avatar for rubberman
0
1K
Member Avatar for Jjajangmyeon

I'm writing a program to parse a user entered string. My textbook does not include the .find() function, but I found it in an old C++ book (Ivor Horton's Beginning C++, the Complete Language) is the .find() considered bad, or depricated? It seems to work really well, but I don't …

Member Avatar for rubberman
0
343
Member Avatar for daniela.valkanova

> The following letters are stored in an alphabet array: B, J, K, M, S, and Z. > Write and test a function named adlet(), which accepts the alphabet array and a new letter >as arguments, and then inserts the new letter in the correct alphabetical order in the array. …

Member Avatar for daniela.valkanova
0
274
Member Avatar for akhilckz

how to redirect to a page in a specific folder... how to specify path...

Member Avatar for <M/>
0
208
Member Avatar for weeraa

First of all I should have to say that I do have a good knowledge in C# and but not much knowledge in JS and Jquery. I’m going to develop a web application which can see a specific location of a building (conference room, manager’s room) graphically. It is used …

Member Avatar for Traevel
0
399
Member Avatar for morfious90

After login when I redirected to my home page I want User name and small pic of user in side upper corner. And when i click on my Name the Detail regarding User (like Logout Go to your profile. messages )should be shown. And until I logout my my detail …

Member Avatar for morfious90
0
225
Member Avatar for joachimanderson

I am building a site where members can create profiles that other members can view. I want to add a favourites feature to the profiles so a member can keep a list of their favourties members. This all works fine but now I want to find a way that a …

Member Avatar for joachimanderson
0
207
Member Avatar for can-mohan

Guys, In below code after reading string values from vector , I can have output like("VarID","flag","count") for(int i=0; i < v.size(); i++){ cout<<v[i]<<endl; } All are (varID,flag and count)are string literal , now i need to populate the structre with this string literal. where VarID = int,flag=bool, count=Int. Can anybody …

Member Avatar for tinstaafl
0
302
Member Avatar for Slavi

Apparently JavaFX is getting really into the game now as far as I see and I think its time I start getting to know it .. Just read a couple of articles and a few questions came up in my mind: - Do I need to use IDE (eclipse) for …

Member Avatar for Doogledude123
0
290
Member Avatar for iConqueror

Email encryption uses digital certificates to authenticate, encrypt and decrypt the message. When a message is encrypted, the public key to decrypt it is sent along with the message to the recipient, the recipient then uses the public key to decrypt the message. If the message was intercepted couldnt the …

Member Avatar for Hiroshe
0
261
Member Avatar for wfray

I'm trying to validate certain alphanumeric characters within javascript and all works but a colon (:). My code is: if (![\w_:.=\(\)@\-\/]/.test(field)) return false; I've placed a \ in front of the : and moved the colon to other positions, tried it in its own brackets [:] but it just won't …

Member Avatar for Taywin
0
281
Member Avatar for ndombko1

Hello I need to add a zero in front of a number if it is 3 or less so that it has 4 digits total. I only need this for row 6 or row 5 to be python specifc. I need this to write to the same csv file. AFI12001 …

Member Avatar for ndombko1
0
377
Member Avatar for asaidi

Hi i just export my project on ubuntu and when i run from terminal i have this error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver and in my project the mysql connector is located in the desktop.. any solution please

Member Avatar for Taywin
0
236
Member Avatar for munchlaxxx

Here is my code: <HTML> <HEAD> <TITLE>Menu</TITLE> <script type="text/javascript"> function loadXMLDoc(url) { var xmlhttp; var text,x,xx,i; if(window.XMLHttpRequest) {//code for IE7+,Firefox,Chrome,Opera,Safari xmlhttp = new XMLHttpRequest(); } else {//code for IE6,IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState == 4 && xmlhttp.status == 200) { txt="<table border='1'><tr><th>Name</th><th>Description</th><th>Price</th><th>Calories</th></tr>"; x=xmlhttp.responseXML.documentElement.getElementsbyTagName("food"); for(i=o;i<x.length;i++) { txt=txt …

Member Avatar for munchlaxxx
0
132
Member Avatar for network18

Hi, I have come across another programming challenge again and hopefully I wont close the thread myself this time. I am expecting good suggestions or examples from you to do this. I want to build a (scrollable) nested list, from which children of two parents could get swapped after some …

Member Avatar for Traevel
0
196
Member Avatar for faisal.qureshi.7121614_1

Hi everyone, kindly help me for the issue, i am building a web application where members need to add/upload their avatars and other images, but instead of letting them upload images directly from their PC, i allowed them only to take URL ('Copy Image URL') from external websites by right …

Member Avatar for cereal
0
190
Member Avatar for Gunjan_1

Hey I am a student and i m performing selection sort in this way. Is it proper way or not? if it is not proper, explain it why with reason. #include<stdio.h> #include<conio.h> void selection(int a[],int n) { int i,j,temp; for(i=0;i<n;i++) { for(j=i+1;j<n;j++) { if(a[i]>a[j]) { temp=a[i]; a[i]=a[j]; a[j]=a[i]; } } …

Member Avatar for ITTechnos
0
129
Member Avatar for SpottyBlue

I was practising the past year question just now. I wanted the program to show this: > Continent name: Australia > Number of Countries: 1 > Country name: Australia > Population: 22118256 But my code makes the program to show the first 2 lines. package jan2012q5b; import java.util.*; class Continent …

Member Avatar for JamesCherrill
0
163
Member Avatar for can-mohan

Guys, In below code they are couple of issues. (1) I am not able to read first key and value pair record from snmp.json file in my map, it just start reading after first record. (2) After reading the value from file in current implementation it is not reading the …

Member Avatar for NathanOliver
0
231
Member Avatar for wasfa

I want to show record of one row in multiple rows of webgrid. How can i achieve this. View @grid.GetHtml( tableStyle: "grid", headerStyle: "head", alternatingRowStyle: "alt", columns: grid.Columns( grid.Column("vehicleType","Type"), grid.Column("make", " Make"), grid.Column("modelType", "Model"), grid.Column("color", "Color"), grid.Column("registartion", "Registartion"), grid.Column( header: "Action", format: @<text> <a href="DeleteVehicle#" id="deleteLink" onclick="DeleteVehicle">Delete</a></text>) ) ) instead …

Member Avatar for RONAK_1
0
152
Member Avatar for ultmt.punisher

I have a `input type file` named `datafile` and I want to show file name into a span when file is loaded into `input:file` I have tried to echo `$_FILES['datafile']['tmp_name']` but it output this `E:\xampp\tmp\phpFE1E.tmp` not the real file name. suppose I have file `data.txt` so I want to show …

Member Avatar for cereal
0
262
Member Avatar for Webville312

Dear all, I have done a website that I need to integrate emailing functionality. I have done this before, and it worked perfectly, and still does. However, when I attempted to use the same code to test the emailing functionality for the new site, I get an error message as …

Member Avatar for Webville312
0
192

The End.