199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for spowel4

I am opening a tab-delimited file in Excel 2010; the delimited file displays correctly in Excel but when I do a save as, to save it as a native Excel 2010 format, the resulting saved file is empty. The resulting saved file generates no errors when debugging and saves with …

Member Avatar for spowel4
0
314
Member Avatar for Na'Vi

Hi, so I'm having a strange problem right now when I'm initializing an array that is a double pointer. The line that is causing me problems is lines->list = malloc(num_elements * sizeof(char *)) Lines is a struct, and list is a double pointer to a character. So char **line All …

Member Avatar for Ancient Dragon
0
336
Member Avatar for simon.evans.7739

Hi everyone I'm having a very annoying problem that I can't seem to find an answer to. I have a rather simple web app that basically retrieves some data from a database. I'm using Visual Studio 2010 Pro. I've developed the app and deployed it to my web server and …

Member Avatar for annaharris
0
2K
Member Avatar for jethaya

here is the full page code sorry its bit long but i have no clue where i went wrong all i get when i run this is the page with its background and an empty text area basicly i am trying to get the info from a table in my …

Member Avatar for jethaya
0
338
Member Avatar for NidhiSree

I have created a custom control like below. public partial class TextBoxEx : TextBox { public TextBoxEx() { InitializeComponent(); Font = Utility.normalFont; } protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); } } //A utility class to initialize font. class Utility { internal static Font normalFont = new Font("Arial", 18); } …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for Dazzler123

Hello! I need some help with a stored procedure for insert. I know this might sound stupid but I'm a beginner and I know the answer is there but I just can't find it. I've searched the site but I couldn't find an answer to clear me out ...or maybe …

Member Avatar for pritaeas
0
204
Member Avatar for Ayesha_2

1. Create the HTML document using Notepad for Figure 1.1 (page 2) by following instructions: • Use the following DTD <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> • Just below the html opening tag, add the following details as comments using the eg. <!-- This is …

Member Avatar for Schol-R-LEA
0
143
Member Avatar for dhani09

I have the following tables **tbl_cat** -- id(pk), category (PRODUCT CATEGORIES) **tbl_subcat** - id, catid, subcat (catid is a foregin key referencing id in **tbl_cat** ) - SUB CATEGORIES I want to prepopulate my tables with categories and sub-categories of products. it's quite straightforward to insert categories in **tbl_cat** but …

Member Avatar for dhani09
0
126
Member Avatar for blivori

I am trying to search through a JSON file and display only the result matching the input form. When I click the 'Search' button, nothing happens. How can I resolve this? This is the code: <div id="search"> <form name="input" action="search()" method="get"> Search: <input id = "searchField" type="text" name="search"> <input type="button" …

Member Avatar for theHop
0
178
Member Avatar for daniel36

I need a link in my project sothat if anybody click on that link ,he remain on same page and the link opened in new tab.for example i have a link <a href="http://www.google.com">google</a> on page mypage.php .when anybody click on google than he will remain on mypage.php and a new …

Member Avatar for daniel36
0
148
Member Avatar for andyshera

Hello everyone my name is andy... is anyone know how to make a simple data entry worksheet in excel 2007? i noticed that excel 2007 have a form control inside the developer tab i can add input text box and command button in sheet1 but i dont know what syntax …

Member Avatar for jwenting
0
245
Member Avatar for die_windoze

hi all.... I'm hoping someone can shed some light onto a project I'm working on. I have an Mdrive 23 step motor that works with a serial terminal. The whole serial terminal is new to me and I'm confused by what it means. I have been able to make the …

Member Avatar for die_windoze
0
302
Member Avatar for davy_yg

Hi, When I try to save the form I wonder why location and description remains empty. I already fill the form with the necessary information. input_image.php <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $productname = isset($_POST['productname']) ? $_POST['productname'] : ''; $location …

Member Avatar for LastMitch
0
136
Member Avatar for LeNenne

Hi and thanks. I am wondering if there is a way to clear the screen before the program is loading. Lenny

Member Avatar for rishif2
0
787
Member Avatar for riahc3

Hello Lets say in the localStorage object I have the following: Apple = red Potato = brown Gum = blue And I want to search thru it for the word Potato and then get its value (brown). How could I do this? Im thinking: for (var i=0;i<localStorage.length();i++) { if (localStorage[i]=="Potato") …

Member Avatar for imBaCodes
0
139
Member Avatar for GeoEqual

.ConnectionString = "Driver=MySQL ODBC 5.2a Driver; SERVER=localhost; UID=asdsadafg; PWD=sadsadsJFKSKF9; DATABASE=SampleDB; PORT=3306; OPTION= 1 + 2 + 8 + 32 + 2048 + 16384 can anyone explain the OPTION, what this connetion string will do... i have no idea.. please explain

Member Avatar for imBaCodes
0
197
Member Avatar for Hazuan Nazri

Hello Friend, i hope someone can help me to solve my problem, i already put my database on datagridview, but my boss dont want it in standard color, so now i dont now how to change it, can i change the color using datagridview or i need to use another …

Member Avatar for Hazuan Nazri
0
459
Member Avatar for SLMQC

Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum …

Member Avatar for SLMQC
0
421
Member Avatar for Octet

I am attempting to learn Python, to add to my collection of languages and to get at least one programming language under my belt. So far I've only done the basics, and to test what I've learnt I made an extremelly simple calculator: #PyCalc Version 1.0 Loop = 0 print("-------------------------------------") …

Member Avatar for Octet
0
429
Member Avatar for waqas.zafar.125

hey guys !! I am new to graphics in c++ . the question says that your code should facilitate the user to draw different shapes using a mouse . for example if i have to draw a circle then how should i get started ?

Member Avatar for Ketsuekiame
0
237
Member Avatar for Violet_82

Chaps, sorry I have a silly question. I am not quite sure if this is right, but what is the differenct between the two below: public class myclass{ public static void main( String args[] ){ boolean variable1 = false; boolean variable2 = false; ... System.out.print(variable1 + " and " + …

Member Avatar for Violet_82
0
183
Member Avatar for Squidge

I have a very simple class for date display: class timing { public $today; public $year; function __construct() { date_default_timezone_set('GMT'); } function now() { return $this->today = date("D j M Y"); } function year() { return $this->year = date("Y"); } } I am pulling in using: $x = new timing(); …

Member Avatar for Squidge
0
117
Member Avatar for beginner91

i'm trying to create a program that will run another program. but the program i want to run has a gui and i don't want the gui to be visible, i just want the program to run in the background. **But i have to do it without editing the gui …

Member Avatar for Ancient Dragon
0
492
Member Avatar for Nebil

it's me again i had a code that searches a record based on user option.And i had the idea of creating a single function that accepts a query statement and execute and return it to the caller but i can't come up with anything(not make the code bulky).i have 3 …

Member Avatar for Begginnerdev
0
197
Member Avatar for GlenRogers

Hi, I need to have a form with multiple image and description fields, say 15. So if 15 are filled in then it adds then it adds the images to 2 dirs(thumb and images) and saves the image pathname and the descriptions to the 2 mysql tables. I have this …

Member Avatar for diafol
0
212
Member Avatar for ansumariyam88

Imports System.Data.OleDb Public Class Form3 Dim cmd As New OleDbCommand Dim rdr As OleDbDataReader Dim strmsg As String Dim db As New mydb1 Dim da As New OleDbDataAdapter Dim dset As New DataSet Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load db.dbconnection() strmsg = "select Class …

Member Avatar for Reverend Jim
0
212
Member Avatar for dbalas

I am developing an application for a client. What i need is, send updates with changed records to clients where the email that needs to be used is extracted from the database. What is weird is that i cant send it to all email addresses... Note that i dont have …

Member Avatar for dbalas
0
160
Member Avatar for NiescierJ

I am trying to set "myimage" as the background for my GUI but having problems with self.canvas.create_image(myimage,750,450) def __init__(self): self.root=tk.Tk() # The number of times the GUI is updated self.ctr = 0 #creating the Canvas self.canvas = tk.Canvas(self.root, width=750, height=450, bg = "black") #Sets the background as an image myimage=PhotoImage(file='world.gif') …

Member Avatar for vegaseat
0
339
Member Avatar for NiescierJ

hey i am working with python 3 and i am trying to set a gif file as my GUI background. The canvas.configure(bg=myimage) does not work. Any ideas? width, height = 800, 500 canvas = tkinter.Canvas(width=width, height=height, bg="black") canvas.pack(fill=None, expand=False) #Sets the backround image myimage = PhotoImage(file='world.gif') canvas.configure(bg=myimage)

Member Avatar for vegaseat
0
14K
Member Avatar for mbarandao

Hi all: I'm trying to pull from a table all values of a specific row (accountids) and would like to iterate through each query result while perform a specified task with each value. Example: The following q-- $get_acctids="select accountid from company_info"; $result = mysql_query($get_acctids) or die(mysql_error()); while($row = mysql_fetch_array($result)){ $id_num= …

Member Avatar for pritaeas
0
268
Member Avatar for riahc3

Hello Is there some kind of multiplatform library for Delphi (with its SDK) to access webcams while programming? The goal is to take still images but Ive only found ones that are compatible with Windows.

Member Avatar for pritaeas
0
178
Member Avatar for joseph.lyons.754

Hey Guys, I am working on a search that takes in a value via textfield. Once taken in it should display another Jframe with the info but the searchbox crashes the second I run it. Its some stupid mistake I have made or i have gone about it the wrong …

Member Avatar for JamesCherrill
0
379
Member Avatar for lewashby

I'M wanting to write my own command/script for compiling my c++ files. I use g++ -g -Wall filename.cpp -o filename I'M trying to figure out how I can trip of the last four characters (.cpp) from a string. Any ideas?

Member Avatar for rojomoke
0
249
Member Avatar for jeansantos
Member Avatar for jeansantos
0
528
Member Avatar for Angle90

Hello Everyone, I need your help, can you please tell me how to create a text field for file upload with HTML ? I presently have this code in my form for file upload to the webserver; `<input name="userfile" type="file" size="50">`, this allows someone to browse file from their computer …

Member Avatar for cereal
0
5K
Member Avatar for Buppy

Hi, I know it's possible to add actions for elements that are not in DOM yet, like $(element).live('event',function() { //code here }); Is there any way to execute the code without the event, or give it an event like 'exists' ? Like, when object is added, the function executes automatically, …

Member Avatar for kela_wala
0
248
Member Avatar for stupendousomega

#include <stdio.h> typedef struct { int stat1, stat2, stat3; } X_type; void createPlayer(char *X) { X_type X; } int main() { createPlayer("Foo"); createPlayer("Bar"); return 0; } I would like to create a structure ojject based on a string passed to a function. So the above code would create 2 X_type …

Member Avatar for Ancient Dragon
0
166
Member Avatar for Nebil

Hi guys,i just wanted to know how to export a record when ever a user clicks from a listview and export it to excel by adding a worksheet whenever the record is more than 3,basically excel offers 3wrk sheets. can u help?Thank You!!!

Member Avatar for Nebil
0
343
Member Avatar for eburlea

Hi all. I need to fix a bug in a code, it is not displaying properly (it appears in the upper-left corner and when I try to click on it, the page reloads). I cannot figure it out myself. Please help. <div class="btn_center" style="padding: 0 0 10px;"> <fieldset> <div class="edit_entry …

Member Avatar for eburlea
0
207
Member Avatar for sainaleni.guttula

`**when we write a program in java main() will be executed first why?**`

Member Avatar for stultuske
0
95
Member Avatar for johans22

why this program crashes?. what is the fix?. #include <iostream> typedef struct test { int array[10]; }test; static test *p; int main(int argc, char* argv[]) { p->array[0] = 10; std::cout << p->array[0] << std::endl; return 0; }

Member Avatar for RonalBertogi
0
170
Member Avatar for jrosh

I am using sqlserver 2012. i want to convert nvarchar value from a table in to an integer. How can i do it? i am using it in a stored procedure. and nvarchar value only contains numbers. What i want to do is to multiple that nvarchar value and assign …

Member Avatar for edmond.lohman
0
174
Member Avatar for newGains

i created a testScores class which initialized an object with an array of scores and had an exception that if the score was <0 or >100 it would throw an IllegalArguementException. I got my main program to work it throws the exception for the array with the bad grade in …

Member Avatar for JamesCherrill
0
303
Member Avatar for dougy83

Hi all, I'm writing a simple application in C# but I'm having an annoying ArgumentOutOfRangeException thrown by Invoke() saying "Text length must be less than 64 characters long.". Is this usual that strings passed through delegates have to be shorter than 64 characters? What's the usual neat way around it? …

Member Avatar for dougy83
0
253
Member Avatar for tscina

Hello all, I am looking for a way to resize our newsletter automatically to mobile. We usually have our emails in tabled layout using slices in Photoshop (around 100+ image slices). I've read [this](http://mobile.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/) and I kind of got the gist of the article, just that I can't find ones …

Member Avatar for tscina
0
425
Member Avatar for bikashjit

I want a search engine for my website. Just take one simple example, of dictionary websites like http://dictionary.reference.com when you search any word it searches that word and show you the meaning. just like that, my search engine will search my blog topic and also show me my blog. How …

Member Avatar for kittyshen2013
0
179
Member Avatar for JustLeftRavenholm

/** Saadman's ISU **/ import java.io.*; import java.util.*; public class ISU { public static void main (String[]args) { //Keyboard Initialization Scanner kbin = new Scanner(System.in); //Variable Inititialization & Declaration; String list[] = new String [21]; int price1 = 30; int price2 = 20; int price3 = 25; int price4 = …

Member Avatar for stultuske
0
219
Member Avatar for Papa_Don

Group, I'm trying to write the commands to update a row within a SQL table. I've written the following: USE DATADESIGNSOLUTIONS SET IDENTITY_INSERT LocationID ON INSERT INTO LOCATIONS_SETUP(LocationID, LocationNumber, LocationName, LocationAddress1, LocationAddress2, LocationAddress3, LocationCity, LocationState, LocationZipCode, LocationZipCodeExt, PhoneNumber, FaxNumber, BillToAnswer, BillToLocation) VALUES(10, 1, 'Traditions in Tile / Buford RDC', '4325 …

Member Avatar for Papa_Don
0
215
Member Avatar for lena1990

hi all is there is a way to give an android application a root privilage so that it will be run as a system application

Member Avatar for lena1990
0
89
Member Avatar for amvx86

Hey everyone, I hate posting in forums asking people for help, and then searching for hours and wanting to throw my computer out the window because I can never seem to find the resources I need for programming. I feel that in vb 6 everything was well documented and now …

Member Avatar for tinstaafl
0
387

The End.