199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for get connected

Hi all. I am having issues with people not closing an important file in excel. I have a new vb.net based application that i want to close the excel file when i prompt it to. The application checks for specific named files in a hidden folder on a timer event, …

Member Avatar for Fungus1487
0
5K
Member Avatar for nima3188

Hi I want to write some variables into a file to be readable by excel. I used a loop like this to write the calculated "x" variable into the file. It works but the problem is that I get all the numbers in one line. I'm wondering how can I …

Member Avatar for nima3188
0
131
Member Avatar for OpenSDL

Hi! I have a problem with SDL and OpenGL. I wrote a code to convert SDL Surfaces to OpenGL textures. Now I have a function to Draw a rect(with opengl) on a SDL_Surface. That's the code to draw a rect: [CODE] void DrawRect(SDL_Rect *rect, GLuint texture) { float x = …

Member Avatar for mike_2000_17
0
286
Member Avatar for ruudmu7

Hi, I'm currently using vb6. i need help. How can I increment a number in a textbox/label everytime when the form is loaded? Suppose company_id I want that first time when the form gets loaded Customer_id should appear in the textbox/label as C01. Second time it should appear as C02. …

Member Avatar for khan.777
0
2K
Member Avatar for CPT

so these are my structures: [CODE] struct information { int Id; char name[20]; }[/CODE] that structure I use in my tree structure [CODE] struct node{ information *employee; node *left,*right }[/CODE] and I have a generating function: [CODE] node* generate_tree_from_file(void) { node* tree=malloc(sizeof(node)); employee* emp=malloc(sizeof(employee)); int NoEmployees; FILE *input_file; input_file=fopen("emp.bin","r"); if(input_file) …

Member Avatar for nezachem
0
147
Member Avatar for Statoeo

Hello, I have a program that displays a frame that uses a canvas to display few rectangles and some images. While executing the program with Eclipse IDE everything seems to work appropriately, when I compile and execute the program using windows command line the images are not displayed. With eclipse, …

Member Avatar for Statoeo
0
279
Member Avatar for lochnessmonster

i understand when you use memory on the heap, your program allocates new memory to it to be used...the stack is preallocated memory and when u put a local variable on the stack, and the variables goes out of scope/dies, it technically still stays in memory until you overwrite the …

Member Avatar for mike_2000_17
0
122
Member Avatar for roseworld
Member Avatar for roseworld
0
224
Member Avatar for protas

Hi there, Kindly see my attached code below. This is already running however, I do have a little problem with the WITHDRAWAL part. For example: My current balance is 500 and I withdraw 501. It will tell me at first that I have insufficient funds and would prompt me to …

Member Avatar for prushik
0
5K
Member Avatar for alfredferg

[CODE] $values=array( "Jan" => 110, "Feb" => 130, "Mar" => 215, "Apr" => 81, "May" => 310, "Jun" => 110, "Jul" => 190, "Aug" => 175, "Sep" => 390, "Oct" => 286, "Nov" => 150, "Dec" => 196 ); [/CODE]

Member Avatar for diafol
0
80
Member Avatar for iarkey

Well I'm learning the irc protocol by coding a Console client. The client appears to connect to server, set name and nick, But won't join the channel it just says "451 you have not registered". Here's the code Sorry for any lame formatting ect. I'm kinda new to cpp: [CODE] …

Member Avatar for JZandi
0
164
Member Avatar for like_bilal02

Dear Freinds i face a problem in show the data from datagridview actually i make a 4 column in datagridview now i want the four columns of table come in same columns in datagridview but when i show data in gridview it add more 4 columns and show data in …

Member Avatar for ShahanDev
0
97
Member Avatar for altXerror

sorry for the noob question. i'm new to python. i'm trying to learn about classes and def. i created a simple one here called test2.py [CODE]class test: def Test1(T1): T1 = "this is a test"[/CODE] i have another python file, which is the main program called test1.py [CODE]from test2 import …

Member Avatar for richieking
0
118
Member Avatar for Danny1994

Hello, im currently making a save function for my Project wich is like this : [CODE] private: System::Void Form1_FormClosing(System::Object^ sender, System::Windows::Forms::FormClosingEventArgs^ e) { String^Sleeptime = textBox4->Text; StreamWriter^ sWriter = gcnew StreamWriter("c:\\DoNotEdit !.txt"); sWriter->WriteLine(Sleeptime); sWriter->Flush(); sWriter->Close(); }[/CODE] And this for the load function: [CODE]private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { if …

Member Avatar for jonsca
0
238
Member Avatar for mus_203

I have just satarted a degree in Computer science, and i was wondering if you can explain set theory to me. I will really appreciate it.

Member Avatar for scrappedcola
0
225
Member Avatar for umair.sabri

i m giving my file path in image.imageurl but it is not show picture how i can show image can any body help me????

Member Avatar for KushMishra
0
92
Member Avatar for tomtetlaw

I'm trying to make a Windows application but I get the error in the title. I am running Windows XP Professional and using VC++ 2008. Here is how I call my code: [code=c++] WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = 0; wcex.lpfnWndProc = WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; …

Member Avatar for tomtetlaw
0
518
Member Avatar for vedro-compota

Hello dear programmers! My question isn't unique and i have read many articles about datagridview , but i've understood nothing (( Please - tell me - how to load an array in datagridview ? All i've understood is that for this I should use datasourse property - [CODE]dataGridView1.DataSource = myMap.MapCityMass.ArrayOfCities;[/CODE] …

Member Avatar for vedro-compota
0
200
Member Avatar for balgarath

alright, I have most of this hammered out, but still a couple problems I cant figure out. in the player class, the Nextmove function is not working for me. It uses the setvalue function in TicTacToe class(which works fine by itsself) also there are problems assigning player names that I …

Member Avatar for zeinab sadat
0
160
Member Avatar for nyler01

Hi, I'm new in php and i need a code that show data from the database and limit it to only 5 results per page and if there are more than 5 results, the other results will be in page 2 and the other 11-15 results are in page 3 …

Member Avatar for diafol
0
91
Member Avatar for emint

Hi how can i execute a statement if only radio button is checked and Jbutton is click? i know how to use them Individually. i try to use like this [code] public void actionPerformed(ActionEvent event) { Object src = event.getSource(); if (src==radio1 && src == buttonclick) JOptionPane.showMessageDialog(null,"Raido1 is checked"); }[/code] …

Member Avatar for jsaddam709
0
210
Member Avatar for youlichika

I have ordered yahoo news rss, I use simplepie to separate the news items like title, content, url, date... and then insert them into database. I catch the source every 2 hours with cron. How to judge RSS source, if there has new then UPDATE into database? I mean if …

Member Avatar for mschroeder
0
97
Member Avatar for johnbo100

Hi All I am building a web and desktop application where the user fills in a web form that is posted to a MySQL database. The database info is then collected by a desktop application for easy retreival. I know that my clients will want to have a web form …

Member Avatar for diafol
0
138
Member Avatar for almefab

Hi guys, I am fairly new to JAVA and currently I am trying to do a couple of pre-set graphs. My first task is to create a graph of y=x^2. The code below is what i have come up till now. I am sure that i need help in the …

Member Avatar for almefab
0
165
Member Avatar for WolfShield

Let's say that I have a file: 'mainGUI.java' and I want to, from a menu item, open another GUI file: 'tutorialGUI.java'. What would the code be to preform this? Thanks everyone! -[b][i]WolfShield[/i][/b]

Member Avatar for WolfShield
0
121
Member Avatar for vedro-compota

Hi everybody)) Please give an example of multiple polymorphism in C # .....does it exist?)) Thanks in advance!

Member Avatar for vedro-compota
0
238
Member Avatar for rayden150

This program is supposed to print out prime numbers from 1 to 50: [CODE]public class Break{ public static void main(String[] args){ int i,j; System.out.println("Prime numbers between 1 to 50 : "); for (i = 1;i < 50;i++ ){ for (j = 2;j < i;j++ ){ if(i % j == 0) …

Member Avatar for jon.kiparsky
0
317
Member Avatar for eesti44

Hello, This is my first post. I am trying to teach myself C++ and am having a hard time with a function problem. This is not for homework, I simply want to learn something about C++ and I have no one else to ask. The problem I am having is …

Member Avatar for Freude
0
471
Member Avatar for DCYPHER

Hello everybody I need help to complete my project. It's a calculator program. Most of the code is complete IT SHOULD FUNCTION JUST AS THE PROGRAM CALCULATOR FOUND ON WINDOWS VISTA I just have two problems 1)It should perform a continuous operation between numbers, without pressing the equal button. In …

Member Avatar for kleva
0
3K
Member Avatar for BORAX

i have manage to use a code from a coder from apple, posted on google code but does not have support any more and i have having a big situacion here i really deen some guide on how git this runing the right way case i promesi i have trie …

Member Avatar for BORAX
0
271
Member Avatar for JD69

hi im trying to link a browse button to a textbox when the user clicks the browse button and selects a destination the selection is displayed in the textbox thanks for your help

Member Avatar for nytro
0
113
Member Avatar for raul8

I'm having trouble with nodeValue property. No matter what..it gives me value null. All other propeties are executing fine. XML file: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <details> <player> <name>MSchu</name> <poles>91</poles> </player> <player> <name>Alonso</name> <poles>25</poles> </player> </details>[/CODE] And I'm running this code: [CODE]<html> <head> <script> function loadXMLDoc(){ if (window.XMLHttpRequest){ xhttp=new XMLHttpRequest(); } else{ …

Member Avatar for Airshow
0
247
Member Avatar for kikirkou

Hi all A teacher of mine told me that when an object of a class is created then six things are created.He didn't told me which.I know the obvious 4 things 1)Copy constructor 2)Copy asignment 3)Constructor 4)Deconstructor I don't know anything else?Do you have ab\ny idea?I searched everywhere but i …

Member Avatar for Narue
0
126
Member Avatar for ella_xhin

Guys i need to do the same the same thing like this code... for dispalying the advisable loptops for the buyers to see the prices ang the models og every brand of loptop..but i'm still not quite familiar with the GUI...so, please help me, it'a a project and i need …

Member Avatar for javaAddict
0
76
Member Avatar for x2fair
Member Avatar for x2fair
0
540
Member Avatar for tendaimare

what's up when i call the function below i get an error that says that oledb is not regstered on this machine i am calling the function like this [CODE] ListBox1.Items.Add(getAllTableNames) [/CODE] [CODE] Public Shared Function getAllTableNames() As String() Dim con As OleDb.OleDbConnection Dim com As New OleDbCommand Dim i …

Member Avatar for kvprajapati
0
166
Member Avatar for Nitin Daphale

In my project each user can upload his logo images. For that am using a static function to FTP files. In that function am using many static variables. Now I want to ask that,is it safe using static functions for functionality like this?

Member Avatar for kvprajapati
0
105
Member Avatar for Rajeev R Nair

Hi friends, after a long time. i am developing a small tool by using VB.Net. I want to display data in comboboxes from a table which is in an access database. I using SQL query. Its a simple problem , I think the problem is in my COMMAND. I want …

Member Avatar for kvprajapati
0
817
Member Avatar for miney

I hava exams in java and when I study I saw this excercise and I try to solve it but I found somne difficulity so please help me Consider the following comment, header and partial code for a method in a utility encryption class called Atbash. [CODE] /** * Prompts …

Member Avatar for bibiki
0
214
Member Avatar for shankarmca

i am inserting data using datagrid but my problem is that it is not inserting the last row item itemqty value only,in one row i am inserting groupcode,itemcode,itemqty,entrydate,locationcode,addt only .the itemqty of last row is not inserted if i give itemqty=1 by default it takes 0 and all(groupcode,itemcode,entrydate,locationcode,addt) remaining item …

Member Avatar for kvprajapati
0
155
Member Avatar for Wej00

Just got back into C++ a couple months ago. Mainly, my plan is to get into game development. Hard field to get into, I know, but through school and a hopeful internship this summer, I will be able to fight my way in. I am currently learning SDL and I …

Member Avatar for Banfa
0
1K
Member Avatar for vbhatia.81

Hi I am new to xslt and i was trying to generate a generic xml from the plmxml. Following is the plmxml.xml file [code] <?xml version="1.0" encoding="utf-8"?> <PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema" schemaVersion="6" date="2008-12-02" time="15:33:22" author="Teamcenter V2007.1.3.20080417.00 - PLM@TCLICSRV(498908465)"> <Product id="id2" name="Test" accessRefs="#id3" subType="Item" productId="000019"></Product> </PLMXML> [/code] ------------------------------------------------------- And in the output i …

Member Avatar for fauziya
0
1K
Member Avatar for Victoryy

Hi Firstly i have designed crystal reports by giving a DSN name at the designing time.. but now the database name is changes so the DSN name is also change How can i give the dsn name of the currently used database in asp.net. Thanks in advance.

Member Avatar for kvprajapati
0
76
Member Avatar for ello

Hey guys I'm having a little bit of an issue with this code, the code simply detects a page refresh, works fine in IE and FF, but it doesn't seem to be working in opera. Anyone got any suggestions on how to fix this? I've had an issue like this …

Member Avatar for ello
0
129
Member Avatar for denmarkstan

let someone help me here: [CODE]int k; k = Convert.ToInt32(System.out.println)[/CODE] thanks.

Member Avatar for hanvyj
0
162
Member Avatar for emily1989

Hi there, I am new here, and i humbly seek your assistance, when i try to increment the for loop it jumps to case 5 of the select case statement. What i actually want is when i press the Next button it shows me a set of options which is …

Member Avatar for Riga
0
141
Member Avatar for koolander

Hi all! I have an issue with the mod_rewrite and i hope someone here can help me out!?! :) My webhosting company does not support rewritemap and i really need to have SEO friendly URLS. I can't pass the name of the page directly since it can contain characters like …

Member Avatar for koolander
0
115
Member Avatar for gunjannigam

I have a php page, which has different forms. One of my forms contains a table of data. I want only this form (not the complete page) to be updated in a fixed period of time. How could I do this?

Member Avatar for diafol
0
76
Member Avatar for Honeydew

Write a program that accepts a student’s name, form class, and number of books borrowed for the month of October. Determine the name of the student that has borrowed the most amount of books during the month of October and displays in certificate-form the student with the highest number of …

Member Avatar for pritaeas
0
163
Member Avatar for denmarkstan
Member Avatar for denmarkstan
0
167

The End.