199,114 Archived Topics
Remove Filter ![]() | |
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, … | |
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 … | |
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 = … | |
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. … | |
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) … | |
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, … | |
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 … | |
Hi, Does anyone have (or know of) VS c++ which performs capture image using Hidden Markov Model, regards, | |
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 … | |
[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] ![]() | |
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] … | |
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 … | |
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 … | |
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 … | |
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. | |
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???? | |
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; … | |
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] … | |
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 … | |
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 … ![]() | |
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] … | |
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 … | |
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 … ![]() | |
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 … | |
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] | |
Hi everybody)) Please give an example of multiple polymorphism in C # .....does it exist?)) Thanks in advance! | |
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) … | |
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 … | |
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 … | |
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 … | |
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 | |
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{ … | |
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 … | |
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 … | |
How to save ITEMS on listbox to MySQL Database in vb.net.... plz reply... | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
let someone help me here: [CODE]int k; k = Convert.ToInt32(System.out.println)[/CODE] thanks. | |
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 … | |
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 … | |
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? ![]() | |
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 … | |
please can someone tutor me on how to create a dropdownlist menu in aspt.nt c# |
The End.