199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Behseini

Hi, Can you please help me to figure out how I can insert DataGridView values into a pre defined excel template (Into Specific Cells)? I have a DataGridView on my windows Form which is getting the values from user input. Now I would like to enable users to export the …

Member Avatar for nmaillet
0
488
Member Avatar for Maymac

I am new to java programming. I am trying to create a GUI which includes JLabels, JPanels, JButton, text fields and labels. I am not using layout manager. Is there a particular structure in laying out the code that I should follow.? Thanks .

Member Avatar for JamesCherrill
0
117
Member Avatar for VB 2012

Hi i would like to know how i would extract text from a website especilly out of the (span class= ) area

Member Avatar for VB 2012
0
102
Member Avatar for sanket044

I am having one projract EXE in vb6... and i have to create it again and needs to add some extra features in it... so is it posible the i can get the vb project of that exe again??? or can i attach new functionality to it directly without rewriting …

Member Avatar for debasisdas
0
107
Member Avatar for JohnBo

When you create a webbrowser it obviously uses Internet Explorer. Can you change this to Chrome? Cheers Phil

Member Avatar for MilesGibson
0
72
Member Avatar for G_Waddell

Hi, I'm probably missing something really simple or trying too much at once but it's 16:30 on a Friday afternoon and my head is wrecked!! Basically, I'm trying to build an application that takes out put from a database query as XML and uses XSL to transform it into HTML …

Member Avatar for G_Waddell
0
2K
Member Avatar for elitely

Hello, I'm working on a webpage automation project. And I am very new in this. I want to use Webbrowser control to select an item in the dropdownlist. Now,how do I programmetically select an item from the HTML snippet below. I would like to select,say for example,"2009" from this HTML …

Member Avatar for supriya anand
0
192
Member Avatar for hassan980

Hello, Im trying to make a program which basically performs unit conversion. I have basically made two text boxes, one for the S.I. Units and the other for British Units. The general idea is that when i input any number in the S.I. Unit text box, it should display the …

Member Avatar for G_Waddell
0
161
Member Avatar for ShaggyDogg

My project is what I thought is probably a popular one, so I'm hoping the solution is easy enough. To develop an Intranet using the functionality of forms authentication, but automatically logs in authenticated Active Directory users with their Windows authentication (so they do not have to sign in again …

Member Avatar for JorgeM
0
470
Member Avatar for mani508

hello i saved the image path + filename + guid in database and image store in folder. i want to show image from database in image control of asp.net how its possible? kindly tell me as soon as possible thanks in advance...

Member Avatar for coder389
0
98
Member Avatar for Rvjain99
Member Avatar for johndmingione

I'm having some trouble defining constants correctly. I know the format should be this: Const CONSTANT_NAME [As ConstantType] = value But I'm a little unclear of how to word it. So here is the Line I need to change into a Constant. Normally I would have a BAS file do …

Member Avatar for AndreRet
0
243
Member Avatar for awesomeriley

I am getting a crazy number of errors that i honestly do not know what is wrong. I am getting a syntax errot before the "int"s in the switch, and conflicting types of all the function names. Any help will be appreciated. #include <stdio.h> #include <stdlib.h> #define ARRAY_SIZE 241 void …

Member Avatar for deceptikon
0
183
Member Avatar for Cronicle8

Good afternoon, I'm having somee trouble with a functional application, the only thing missing is switching the motion regions with an image. Any help is higly appreciated. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.Text; using System.Windows.Forms; using System.Threading; using AForge; using AForge.Imaging; using …

0
166
Member Avatar for Rizzuti

Hello there, I've got a search box that finds the item that I look for but it doesn't display the id number when i put the mouse cursor on top on the item. instead of showing the id number it shows the variable ($id). Any idea why this is not …

Member Avatar for junior_rosul
0
177
Member Avatar for carlakawill

Hi All, Can someone tell me how to set the selected text of a combobox on windows form with C#. If the combobox is unbound ie. has a static item list then combobox1.selected.text = "mtetxt"; works fine. However when the box is databound to a list from a database this …

Member Avatar for ChrisHunter
0
199
Member Avatar for happygeek

A cyber weapon grade piece of malware, some twenty times the size of Stuxnet, has apparently been fired at a number of countries in the Middle East. This highly complex piece of code which takes screenshots of any open 'programs of interest' such as email or IM, records audio and …

Member Avatar for happygeek
0
676
Member Avatar for velr

Hello! I am working on a server program that has a connection to a MySQL database. In one of my sql:s i need to use [URL="http://dev.mysql.com/doc/refman/5.0/en/user-variables.html"]User-Defined Variables[/URL] but i can't get it to work. The sql looks something like this: [ICODE]"SET @rank=0; SELECT id FROM (SELECT @rank:=@rank+1 AS rank ..."[/ICODE] …

Member Avatar for JamesCherrill
0
2K
Member Avatar for veledrom

Hi, Code below is just to print a message. Nothing more. Question is: Whether we have the line `return $this->myname;` or not, it works fine but why some people still use `return` in such cases? Is it just a matter of taste or I'm missing something about OOP? Example below …

Member Avatar for veledrom
0
116
Member Avatar for shean1488

Hi everybody, Can you please help me to fix this error: For exit press 'q' Please enter name :Jack London For exit press 'q' Please enter name :C.S. Lewis For exit press 'q' Please enter name :q Traceback (most recent call last): File "/home/serg/python/First/start/Q1.py", line 28, in <module> print row[0], …

Member Avatar for TrustyTony
0
267
Member Avatar for ChrisMackle

I get this error when compiling an sdl project i have please help me as i cant learn anything until i get my new compiler setup im using visual studi c++ 2010 the free edition i use to use code blocks but have upgraded heres my error: 1>------ Build started: …

Member Avatar for Ancient Dragon
0
279
Member Avatar for _Brooksy

** Having trouble running this code as the compiler keeps having issues with the method 'public void mannipulate()', I'm new to java so forgive my ignorance, but I've been trying to rearrange everything in every which way to please this thing and its just not turning out right. I'm sure …

Member Avatar for JamesCherrill
0
310
Member Avatar for Jaydenn

How exactly would I go about doing the following in C#? public class Test { public static void main(String[] args) { Test(new TestInterface() { @Override public void SomeMethod() { //create instance of the interface within parameters of a method. } }); } public static void Test(TestInterface _interface) { } } …

Member Avatar for Jaydenn
0
228
Member Avatar for robgeek

Hello everyone, I am sort of new in C programming and since I programmed mostly in C++, I may have some mix up on my program which is giving me some errors. I have written a small code , in modular fashion i.e. I have split the .h, definition.c , …

Member Avatar for WaltP
0
355
Member Avatar for my3h

Hi, I want to display my database records in <ul> <li> format. I have using a free template to design my front end. I am reading database data like this while ($row = mysql_fetch_assoc($result)) { $categoryname = $row['category_name']; } and within the loop i have to display records like this …

Member Avatar for my3h
0
153
Member Avatar for aristos32

Hi all. I have the following problem: I read this string from an XML file: "User Name ={$username}" and then store it in a local variable $test. I read this in a function, where I have a local variable $username. However the variable inside the string is not interpreted to …

Member Avatar for aristos32
0
207
Member Avatar for jersie03

Good day everyone, I want to know how to send email to outlook in php after signing up please give some example and discuss it to me clearly thanks very much .. :*

Member Avatar for jersie03
0
3K
Member Avatar for Sendy Hipo

hello, im newbie in c++ and i have some newbie questions. erm here's the problem ive been thinking : #include <iostream> #include <fstream> using namespace std; struct Info { string name; int age; }; int main() { Info person1, person2; fstream writefile("output.txt", ios::out | ios::binary); person1.name = "sendy"; person1.age = …

Member Avatar for Sendy Hipo
0
199
Member Avatar for perly

I have two files: File1: M1U152S44906X14127_xu M1U7S112336U117688_xu File2 (tab delimited): T1X19S17508N179711_xu AAU_779 M1U152S44906X14127_xu xcup M1U7S112336U117688_xu mmna I want to search the content of File 2 using the content of File 1 and then display the output as follows: Date of search: The following matches were found in File 1: T1X19S17508N179711_xu …

Member Avatar for perly
0
206
Member Avatar for HasNor

Dear experties, Actually I don't know how to specify what I'm trying to do. I only tell you thru this figure. I don't know how to come out report by this way. How can I do? What kind of method to get report like this in a table? Please help …

Member Avatar for HasNor
0
138
Member Avatar for twistercool

I WAS CREATING AN INVENTORY SYSTEM USING VB 6 AND ADODC. HERE IS MY CODE [CODE]Private Sub Command1_Click() Dim temp2 As Integer Dim temp As Integer If Text1.Text = 0 Then error.Show Else If Text1.Text > 0 Then purchase.Show Form38.Hide Set rs = New ADODB.Recordset rs.Open "select *from purchasetable", cn, …

Member Avatar for twistercool
0
207
Member Avatar for Violet_82

Hi peeps, I wonder if you can help me at all. I am recreating a simple design, just doing some testing really, and what I am trying to achieve is to hide and show the navigation on the left side, here's the website: http://antobbo.webspace.virginmedia.com/various_tests/worktest/test.htm So ideally when i click on …

Member Avatar for Airshow
0
134
Member Avatar for KeithMon

I'm using PHP code from: [DetectMobileBrowsers.mobi](http://detectmobilebrowsers.mobi/) to redirect mobile users to a mobile site. I've got this code at the top of my page but I'm not experiencing any redirects. include('mobile_device_detect.php'); mobile_device_detect(true,true,true,true,'http://mydomain.com/mobile.php','http://mydomain.com/index.php'); I don't want to include the code from the website mentioned above because I believe it's copyright. Is …

Member Avatar for KeithMon
0
174
Member Avatar for Freedom*

i have 7 teams and i want with using the class random and the next method(a,b), i want to create and save the results randomly. i'll tell you what the program dowes so, you can understand what i want to do: firstly, when the program runs, it will ask for …

Member Avatar for Mike Askew
0
144
Member Avatar for PF2G

Hi, I'm working on a website where i have to translate the pages and the way i have to do is a little confused. Here it goes: I have to create 2 files lang_pt.php and lang_en.php where i have common arrays where i do the translation. lang_pt.php: <?PHP $lang['Family Office']="Family …

Member Avatar for diafol
0
427
Member Avatar for Ancient Dragon

I'm trying to write a simple Windows Forms program ( CLI/C++) . In the Form1 class I declared a private int, but the forms designer view hates it. Produces this error: >C++ CodeDOM parser error: Line: 195, Column: 15 --- Unknown type 'int'. ... The program compioles with 0 errors …

Member Avatar for DavidB
0
362
Member Avatar for ausops

Lets say we have an 1d array called array. Now I know array.length gives me how many primitive types or objects are in a 1d array but what does it do for a 2d array with rows with different rows? {1, 2, 3, 4} array.length would be 4 but if …

Member Avatar for JamesCherrill
0
2K
Member Avatar for mrexp21

Please help me check c++ flowchart and pseudocode The source code files can be downloaded from here :- http://www.4shared.com/rar/jw-wLOJZ/Project.html

Member Avatar for Schol-R-LEA
0
233
Member Avatar for OrangeTree

Hi :). I don't found good examples for function sscanf(). Can you help me please with this situation? #include <cstdio> #include <iostream> using namepsace std; int main(int argc, char const *argv[]) { string way = "main/articles/animals/giraffe"; char arr[256]; char arr2[256]; sscanf(way.c_str(), "%[^'/']/", arr); cout << arr << endl; return 0; …

Member Avatar for OrangeTree
0
245
Member Avatar for SandraD

Hello, my name is Sandra. I have been bothering myself for few days with this issue. So I'm trying to create a code that will read from text file named "files.txt" and paste the 2nd line from that text file to somewhere else, like an opened window. void ReadFiles () …

Member Avatar for WaltP
0
113
Member Avatar for divsok

how to input a code snippit to a textarea and how to preview it using syntax highliting in a html page?

Member Avatar for divsok
0
115
Member Avatar for ISAYA VAIMBA

Hellow friends, please help me to create a program that will disolay only a postive prime number

Member Avatar for Jx_Man
0
67
Member Avatar for Ouss

Write a program that has a function multiple that determines a pair of integers whether the second integer is a multiple of the first.The function should take two integer arguments and return 1(true) if the second is a multiple of the first, and 0(false) otherwise. Use this function in a …

Member Avatar for Sendy Hipo
0
306
Member Avatar for Anark10n

#include <stdio.h> #include <mysql.h> #include <string.h> int main(int argc, char **argv) { MYSQL *conn; MYSQL_RES *result; MYSQL_ROW row; int num_fields; int i; char user_query[100]; char word[10]; printf("Enter word: "); scanf("%s", word); sprintf(user_query, "select * from english where word = %s", word); printf("%s\n", user_query); conn = mysql_init(NULL); mysql_real_connect(conn, "localhost", "root", "123", …

Member Avatar for Anark10n
0
151
Member Avatar for Neetumishra

Hi, I am trying to change background image of my div but its not picking up style of background image that I am setting from javascript. So can anyone help me out? Thanks in advance. Here is my code: <HTML> <script language="JavaScript"> NUMBER_OF_IMAGES = 3; ImageNames = new Object(); ImageNames.length …

Member Avatar for JorgeM
0
235
Member Avatar for arwalters1990

Hello. I've been viewing this site for a long time, but finally decided to join and ask for help. I'm using citrusDB and a sample code from authorize.net and I want to pass off some information from the citrus DB to the authorize.net code. I've been trying to do this …

Member Avatar for arwalters1990
0
343
Member Avatar for ganges
Member Avatar for jackbauer24
0
109
Member Avatar for sammoto

So it's my first time trying to do a loop and I've come across something that I'm not experienced enough to explain... My program compiles fine, but after I enter my third number (variable "a", see code below) it just skips a line and does nothing. It just lets me …

Member Avatar for sammoto
0
241
Member Avatar for maghuyop

<?php include('config.php'); include('functions.php'); sqlconnect(); // Passkey that got from link $passkey=$_GET['passkey']; //echo $passkey; $tbl_name1="tbltemp_subscriber"; // Retrieve data from table where row that match this passkey $sql1="SELECT * FROM $tbl_name1 WHERE confirmation_code ='$passkey'"; $result1=mysql_query($sql1); // If successfully queried if($result1){ // Count how many row has this passkey $count=mysql_num_rows($result1); // if found …

Member Avatar for zoreli
0
179
Member Avatar for crackme

Hi all, I have problem getting data from mysql table . What i am trying to do is that i want to get data from specific Category-id column and search a specific word or starting letter search from Name column , suppose this structure, -Database ---Table ------Category-id, Name My query …

Member Avatar for crackme
0
152

The End.