132,729 Archived Topics
Remove Filter ![]() | |
Hi all, I am having a wee bit trouble with with the SQL Command Builder. It does not build anything but frustration. From all the books I have read and everything this is how you go about updating changes from dataset or datatable without writing your own updating logic. Build … | |
Hello I am trying to write data to a file. When writing "STEPHEN", only STEP is written, can anyone help? below is my code fp = fopen(filename, "rb+" ); fseek(fp, final_seek_pos, SEEK_SET ); fwrite(update_record, sizeof(update_record),1 ,fp ); fclose(fp); Software Development c | |
Hi all, I'm making a applet, about a users reaction time for when a coloured square changes colour... Ive seemed to get something off to a bit of a start, but its very basic at the moment, and i would just like to ask for a bit of assistance or … Software Development first-post java | |
I ran the following program to retrieve entries from the windows registry on Windows XP: [code] import win32api, win32con aReg = win32api.RegConnectRegistry(None, win32con.HKEY_CURRENT_USER) aKey = win32api.RegOpenKeyEx(aReg, r"Software\Microsoft\Internet Explorer\PageSetup") for i in range(100): Name, [URL="http://www.tek-tips.com/viewthread.cfm?qid=1249756&page=1#"]Data[/URL], Type = win32api.RegEnumValue(aKey, i) print "Index=(", i,") Name=[", Name,"] Data=[",Data,"] Type=[",Type,"]" win32api.RegCloseKey(aKey) [/code] Program output: [quote] … Software Development python windows-xp | |
I have just started with a tutorial in c++ and i wonder if anyone can tell me what´s wrong with this code [code]#include <iostream> using namespace std; //so the program can see cout and end1 int main() { for (int x = 0; x < 10; x++) { cout<< x … Software Development c++ | |
K, It's fairly easy to use a ostringstream object or a derived class to output text like a normal stream class like cout. Eg. [code] class console: public ostringstream { public: void Render() { std::string buff = ostringstream::str(); //Some code to put it to screen //Write it to a file … Software Development c++ file-stream | |
Hi, I am bit confused with the concept of pointer to a data member of a class. In the below program what actually will the pointer variable be storing? When i tried printing the value of address I got value 1, Whatt does it mean? [COLOR=blue]class A{ public: int d; … Software Development c++ | |
Hi, Could someone tell me how I can delete files using a shell script or c++? The condition for deleting files: compare all files (say *.deb files) in folder A to those in folder B. If any file in B is also contained A, then delete the one in B. … Software Development c c# c++ shell-scripting | |
Does Python have a module to display when a file has been last modified? Also, how do you get the file length? Software Development file-system python | |
Hi everyone, I am doing a bioinformatics project and I have this code: [code]def three2one(prot): code = {"G" : "6", "A" : "7", "L" : "1", "I" : "4", "R" : "2", "K" : "3", "M" : "5", "C" : "8", "Y" : "9", "T" : "10", "P" : "11", … Software Development python | |
Help!!!!! I'm sorry to ask for help again but...... This question even difficult than the previous one..... Please write C++ code for the following algorithm: 1) Store first memory location of program into base register 2) Set program counter equal to address of first memory location 3) Load instruction of … | |
I need help with my python project. I am supposed to draw something "cool" that includes loops, variables, if-statements, modules, etc. Some ideas given are to draw snails, constellations, a face, daffodils, etc. Anyone help please? Software Development python | |
Halo....I'm new here...... Can somebody help me with this question? Its a assignment but I REALLY DON HAV ANY IDEA HOW TO DO IT!!!! So....Plz help...... Write C++ code for the following algorithm: 1) Determine job's reqeusted memory size 2) if job_size>size_of_large_partition then reject job print appropriate message Go to … | |
hello, i'm trying to run a progrm written in perl this is the code i wrote perl aramorph.pl <infile> outfile where aramorph is a notpad file with my code saved in c:\perlscripts infile is the file that should be read from outfile ................................wirte the output to. both saved in c:\perlscripts … Software Development file-system perl | |
I'm not going to post the code on this one just incase it's a little confusing. But here's the jist: I have a couple of nested loops with multiple (var)++'s inside as counters. Each counter resets itself after reaching 25 and the total of the counters much equal 120 in … Software Development c++ first-post | |
I have a 5 column flexgrid. I want the user to click a column and get the grid sorted by that column. Works fine for non-date collumns. For date columns, I firstly loop through all rows changing them from dd/mm/yy to yy/mm/dd. But the sort doesn't do anything. Software Development visual-basic | |
ive been searching through at least 5 different forums on various sites (including this one) and i still cant understand why i'm getting the error message illegal start of expression at [code]public static overallNumGrade(int quiz1, int quiz2, int quiz3)[/code] here is the full program: [code]import java.util.scanner; public class Jungmichel3 { … Software Development java | |
I am using VB6 to poke data into Word 2002. Even when I open Word minimized, it maximizes when the poke executes. I can can execute a word macro to minimize word again, but it maximizes on the next poke. I have tried turning word screen updating off before the … Software Development visual-basic | |
how do i add items to a combobox from a listbox that is in another form?? Software Development visual-basic | |
Hi, can anyone hel me how to connect to database in struts? I am using Oracle DB of personal pc. Tomcat 5.0 and struts 1.2.9 thanks lalit | |
plz suggest some good books for servlets and jsps and struts Software Development java | |
I am attempting to populate a listbox with data from a table and don't have the methods .dataValueField or .dataTextField or .DataBind in my selection menu. Can anybody help me understand why? ex. lstServices.DataValueField = "item#" Software Development vb.net | |
hello friends .i am troubled in to carry the tables in one computer to another computer. i want information about that: i did the project in VB with back end Oracle. i want to carry tables to another system. i dont know how to carry the tables to another system … Software Development oracle visual-basic | |
Given a set of data (two columns of data, flight path angles and lift coefficients) in a separate file, I need to write a program so the user can input a flight path angle and the program will return the appropriate lift coefficient given (if their angle matches one in … Software Development c++ | |
What is the best way to create/call procedures? Which argument-passing-styles are available? Thanks in advance, Jules Software Development assembly | |
I am working as a java programmer and have no experience writing shell scripts or prior experience in UNIX...I would appreciate if someone helps me write a Shell script that: a) Runs from one machine. b) ssh into all of the other machines. c) Collect the cpu% usage from each … Software Development shell-scripting unix | |
Explination: Ever notice how the URLs of search engines and other sites are cluttered with % symbols and other numbers? This is known as URI encoding, which is simply % signs followed by nonalphanumeric characters that have been converted to their hexadecimal values Hi to all, I have the following … Software Development c | |
Hi, I'm not sure if there's another topic about this but couldnt find it with the searchoption.. I'm creating an app which uses a cardreader, it works perfectly.. but now i have to let the app run in the background, but the cardreader still has to work, when a card … Software Development visual-basic | |
Yea, just recently I enrolled into a basic computer programming class. We use Turbo Visual C++ and umm so far it went okay until we talked about do-for-while loops... Can anyone help in making a program in loops >_< I mean I tried using the goto statements but my professor … Software Development c++ first-post visual-basic | |
I am starting a new project and a couple of tips would be helpful. I wish to read all the files in the Windows Favorites Folder or Directory and extract the link information. I know how to read the files once I have the name of the file. What I … Software Development c | |
Could anyone tell me the function this program is using? [code]#include <iostream.h> #include <stdlib.h> void My_Name_Is() int main() { My_Name_Is() //Calls function that prints user's name }[/code] Thanks! Software Development c | |
Hi, I'm trying to construct a compiler for a really simple stack based language to learn how my computer really works, and to learn how to create a compiler. So far, I have never done anything in assembly (only higher level languages). Could you give me advice about the following … Software Development assembly | |
how do i add the numbers in a listbox and display it in another textbox? Software Development display visual-basic | |
Hello I am trying to write some data to a certain position in a file, but cannot get it to work I want to write "XX" to position 6 of a specified file, but the data is just being written to the end of file. see below [code]#include<stdlib.h> main() { … Software Development c file-stream file-system | |
How can I separate an integer into digits using for loop? eg. before: 123 after: 1 2 3 anyone can help me with that? Software Development c | |
hi all, i create an application to sending email's. this is the code i used. Dim mailmsg As MailMessage SmtpMail.SmtpServer = "127.0.0.1" mailmsg = New MailMessage mailmsg.To = txtFrom.Text mailmsg.From = txtTo.Text mailmsg.Subject = "demo" mailmsg.Body = "Its a simple test" mailmsg.BodyFormat = MailFormat.Text SmtpMail.Send(mailmsg) But i got an error … | |
hi i have a problem but i'm not sure if this post goes here or not. anyway here goes. i just started a course in chinese and the name is"huibian yuyan sheji" (for those that understand chinese) which translates to "compilation language and design". now i have typed the english … Software Development assembly first-post google | |
hi.i am not sure if i posted this in the right area.if i didn't please forgive me.i am learning how to do this.i am not sure how to explain it,so i will try to explain and tell you what i see happening.please bear with me as i don't really understand … Software Development java | |
Like the title says, my VB6 hangman program freezes when I do a test run. I'm not a big expert in Visual Basic (in fact, I'm only a clueless highschool student..) so maybe you can help me. I'm not quite sure what causes freezing to occur, but I've pasted the … Software Development visual-basic | |
Hi All, I am new member of this forum. I am trying to implement the simple c logic for the following problem : I want to come out of a [B]while[/B] loop only when I press the key 'e' But [B]condition is that, it should not wait for me to … Software Development c | |
I'm having trouble. If I try to open up a new window by clicking on a link, my computer just freezes for a couple of minutes and then doesn't even open the window. I'm basically computer-illiterate, so I have no idea what's wrong. Is it something with javascript? i thought … Software Development java javascript | |
I have a program that produces various reports. I need a way to send the reports to MSWorks/MSExcel. At the moment the reports are sent to a locked scrollable text box on-screen. This allows you to copy and paste the information to most word processor programs o.k. Unfortunately as I'm … Software Development visual-basic | |
I start to write a code for a shell with some basic functions: open files, save files, create files... I try to use the ifstream for opening files. I found the constructor - ifstream openfile("file.txt", ios::in); I try to use this constructor in the way (function openfile()) that I can … | |
Hi All, i facing problem here, the following is my coding for move previouse recored. [COLOR=#008000]'Open connection [/COLOR]ConnCust = [COLOR=#0000ff]New[/COLOR] ADODB.Connection Cust_String = "Provider=Microsoft.JET.OLEDB.4.0;data source=\\AAA\ABC.mdb" ConnCust.Open(Cust_String) [COLOR=#008000]'Open recordset from Customer List [/COLOR]RstCust = [COLOR=#0000ff]New[/COLOR] ADODB.Recordset Last_SQL = "SELECT * FROM CustomerList WHERE CustomerID <= " & lblCustID.Text & " ORDER … Software Development open-source vb.net | |
Hi,I am having problem in displaying the returned value from one function.I write one function for creating db connection,in that function I returned the string value of username.I want to display the string username value in different label through a button click event.What is the C# ASP.NET syntax ?Can any … | |
HI, I'm new to the licensing mechanism, and I would like to gain an understanding on the Java FlexLM API usage. I was wondering if anyone could point me to any examples or share any of their references as to how the FlexLM Java APIs are being used to segregate … | |
Hi, I have a program which is hard coded, I need to enter a value(n2 in the below code) in the program, and the program processes the file according to the value n2. how I compile now is as follows: cc -o test testprog.c ./test [filename] What I need to … Software Development c open-source | |
Hi Everyone, This is probably simple but I don't know how. Can someone show me a code the test if the child form is currently active or currently the one open in front of my screen. Thanks in advance. newvbguy Software Development visual-basic | |
good day, I am an incoming 2nd year IT student and am encountering a problem in creating a "turtle graphics"(from the famous Logo Language) program using C. This case is found in the book of deitel and deithel, "C how to program" in the chapter of Arrays. it has almost … Software Development c++ | |
Hello new world. I'm new to C# and very new to GDI and drawing and would really appreciate some help. I'm trying to draw some boxes (rectangles). I wont put code up as I don't think it's nessesary... but you never know. As a test I've made a form and … Software Development c# first-post |
The End.