132,726 Archived Topics
Remove Filter ![]() | |
Hi there, i want to make a program that has a label and i want that label to move from right to left and do it again and again by using timer if its possible, for example: i want it like an electric commercials in some shops or posters...the text … Software Development visual-basic | |
Hi, i am trying to copy raw data from one volume to some destination. for that i used CreateFile() Win32API,ReadFile and WriteFile() API's. But it might be inconsistent.I want to copy consistent data.So i wanted to use Volume shadow copy service.With that i created a [B]Snapshot[/B] and exposed it as … | |
I know I probably shouldn't be posting this here...but it's one of the most populated boards. Anyways, I was wondering if Qbasic can be used for anything other than a basic input/output program.:?: Software Development qbasic | |
Can Anybody help me by suggesting, How to change TCP/IP setting by an VB (6 or Dot Net) application. I need this because our users log on to 2 domains and my SysAdmin configures manually every time. I want to built an application. If it can be fired remotely It … Software Development visual-basic | |
in the following code, getch() is executed before the file is displayed.! whats wrong? how can i correct this? [CODE='c++'] void ReadFile() { char fname[13],ch; cout<<"Enter filename : "; cin>>fname; strcat(fname,".mth"); temp.open(fname,ios::in|ios::nocreate); if(!temp) { cout<<"File does not exist!!!"; getch(); return; } temp.get(ch); while(!temp.eof()) { cout.put(ch); temp.get(ch); } temp.close(); getch(); } … | |
Can someone help me develop a simple program, in Access or Visual basic. That can display numbers between “01 – 90”. in the 4x4 celk format I would like the program to be able to display all possible combinations of four numbers Between 01-90. either horizontally, vertically or diagonally. It … Software Development visual-basic | |
how can i solve this 2 problems?!can you please help me?! Another matrix algebra operation is determining the matrix which is the product of two matrices. This is more challenging extension of the previous problem. The rule governing matrix multiplication is that two can matrices can be multiplied if the … Software Development c++ matrix-multiplication | |
ok i have created a method to movea number of objects, but i want to move all of them at the same time(balloons flying is what im aimining for,lol)but they move seperatly? /** * Create method for balloons to fly */ public void slowMoveVertical() { top.slowMoveVertical(-50); top2.slowMoveVertical(-50); top3.slowMoveVertical(-50); middle.slowMoveVertical(-50); middle2.slowMoveVertical(-50); … Software Development java | |
Does anyone know where can I find how to calculate how many days February has for a given year? Software Development java | |
Hi friends, I need to transform data from XML & store in a ACCESS Table, I have a code which displays the msgs as msgbox,but I need to insert in a table.I used XML4 here.I am relatively new to VB6 XML.Can someone tel me how to do it or provide … Software Development visual-basic xml | |
[code=c] void main() { fork(); fork(); printf("main"); } [/code] pls explain me what is the output. how it comes. Software Development c | |
Hi I'm making a menu in C++ for a sudoku puzzle solver program I've already wrote using switch setence. I've wrote that code: [CODE] #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<iostream.h> int opcio1(); int opcio2(); int opcio3(); void main(){ char sel; cout <<"Sudoku\n\n\n"<<endl; cout <<"1. How to\n\n"<<endl; cout <<"2. Sudoku generator\n\n"<<endl; cout <<"3. … | |
I am somewhat new to the c++, so you've been warned. Yesterday I decided I wanted to create a program that displayed a Go board and allowed you make moves. Fairly simple task, didn't take me that long but, I feel that the code could be a lot shorter and … Software Development c++ | |
Hey everyone, I've been the IT at my workplace for about 2 years now. We use a piece of software that was developed in house by one of the previous ITs (about 6 years ago), and I think it was developed in VB6. We need to modify a couple of … Software Development visual-basic | |
Hi, I've been trying to code a simple file sharing system in python by using Discovery server -indexer- model Server: [CODE]#!bin/python import socket import sys import os import threading from utils import serialize, deserialize, PeerInfo class NotSupportedCommand(Exception): pass class DiscoveryServer(object): '''Indexer...''' def __init__(self, port, maxPeers=5): self.port=port addr=('', self.port) self.maxPeers=maxPeers self.supportedCommands=["/register", … Software Development file-system peer-to-peer python | |
I am having a problem sorting my numbers after my binary search. Can you tell me what is wrong with my code? [code] #include <iostream> #include <cstdlib> using namespace std; void pick_three(int p3arr[]); void pick_four(int p4arr[]); void lotto(int lottoarr[]); void selection_sort(int a[], int size); int lottobsearch(int a[], int size); int … Software Development c++ | |
hi everyone i need a little help, im trying to create a program which ask a user a password and when it reached a max password retry it goes to windows login. when he enters the right windows login my app will try to ask again. until the correct password … Software Development c# | |
[code=c++] { char op; cout << "enter test "; cin >> op; if(op == 'test') cout << "test sucessful\n"; else cout << "w00t\n"; system("pause"); } [/code] Right now i can type toggle and the program will display test succesful because toggle starts with t i need it so like if … Software Development c++ | |
Hi all, This question partially related to one of my old question. Reading the time zone information. Now I'm try to do it in this way. User enter the time offset. Using that value search the registry and find the time zone name. Where I'm stuck is how to search … Software Development c++ microsoft-windows | |
Hello everyone. I just started incorporating directx into my programming and I am still unfamiliar with this territory. I installed directx version 9 into my computer after I had removed all previous versions. From my project settings I linked all the necessary file such as: d3d9.lib, d3dx9.lib and winmm.lib. From … Software Development c++ visual-studio | |
[B][COLOR="red"]Question: [/COLOR][/B] Can i initialize char arrays using preamble initialization ? [B][COLOR="red"]Code:[/COLOR][/B] [code=c++] #prag... #pragma once class Pizza { public: Pizza (const char top[] = "cheese", const int size = 12, const double pr = 8.99) : strcpy_s (_topping ,top), _diameter (size), _price (pr) {} ~Pizza () {} void setValues … Software Development c++ | |
I have such an loop: [code=c] int i = 1230; while(i<1300){ int k = 0; Flight removedItem = RemoveQ(&Item); if(removedItem.C_TIME <= 1230){ k = k + 1; printf("%d", removedItem.C_TIME); } i = i + 5; printf("%d", removedItem.C_TIME); [COLOR="Red"]// it prints correct values here[/COLOR] } [/code] Why the if statement does … Software Development c | |
Please note that I understand that this topic is old and was written in 2004. I am having a similar issue with a few codes that I have written from a book's tutorial. The program has worked with an older compiler; I am currently using Visual Studio 2005 writting a … Software Development c visual-studio | |
My goal is to call a very simple C++ program from python, see below. The program generates a couple of random numbers and then moves the mouse and clicks. I would like to be able to call it from python with a few inputs(the python side I understand), but i … | |
I have written a [COLOR="Red"]console application [/COLOR]in [COLOR="Red"]VB.NET2005[/COLOR] which will read a text file and its contents. But now I want to sort its data on the basis of its contents i.e the text file has following contents::: CMGL: 1,"REC READ","7=4;;1413818891>53:1",,"07/12/30,12:18:43+22" 0B05040B840B840003CB0201570601AE02056A0045C60C033230322E3133382E3130302E36302F73 6875726C3F643D3536000AC3072007122913381010C3072008010813381001033130206C616B6820 434153482C203435204E6F6B696120363330302070686F6E65732026206C6F616473206F66207461 6C6B74696D652120546F2077696E2C20616E7377 Here I want to sort … Software Development vb.net ![]() | |
Running AMD XP SP1 - Bitmap can be any bitmap with a bitcount of 24. Compiling with Borland using .cpp extentions. I'm still having trouble getting CreateDIBitmap to work for me. The hex bits from my bitmap are saved in memory. I can see them. I've read that Windows just … Software Development c++ | |
i'm quite new to programming. i'm a mechanical engineering grad student and i've been learning c++ for a year now on my own. so far i can program only win32 console programs i'll soon finish literature on OOP c++ like Robert Lafores interactive c++, C++ How To Program (Deitel) and … Software Development c++ engineering gui oop python | |
[QUOTE=Ancient Dragon;267023]You cannot write directly to an *.xls file and expect Excel to read it because *.xls files are not plain text files -- they contain a lot of formatting information that is readable only by Excel program. The easiest way to do it is to creates *.csv files which … Software Development file-system python | |
Can anyone please help me with an answer? I have Intel Core 2 Quad Q6600 2.4 Ghz processor and i've downloaded PC Wizard 2008 to see information about computer (especially for CPU usage and temperatures). The problem is (it isnt actually a problem ... ) why when using Borland C++ … Software Development c++ | |
hi im having a dataset in which i have to filter a column with unique values | |
Hi everyone, I am going to try and not let this be long and drawn out. I just started using C# about one week ago. I am trying to write an app for myself that uses a treeview and sqlite. But while searching for examples these last few days, I … | |
I have written some simple C# programs just to get my feet wet. Now I have decided to build a co-workers program and step through it. I am not used to all of the problems that might arise when building a C# program as I would a C++ program. I … | |
I've been reading a lot of info, but templates are really too new for me at the moment, and I can't find any examples similar to what I'm trying to do. Basically I have a template container defined like this: template <class CMissile_Type> class CMissileManager { std::vector<CMissile_Type> missiles; }; The … Software Development c++ | |
Hi i'm new to using jframes, and my teacher has asked us to create any sort of game with it. I've decided to create a trivia game, and i'm sure most of you have played a trivia game on the internet before, so maybe you can answer my question. You … Software Development java | |
advance happy new year to all, i am having a script.The purpose of the scripts is as follows.If the current month is march,june,september or december ,increment flag should be set to '1' otherwise increment flag should be set to '2'.the script is as follows month= date +"%m" if [ "$month" … Software Development shell-scripting | |
Hi, I was wondering if its possible to get the integer OR float value of a string. If I know it's an integer I can do int x = atoi(str) and atof if its a float but what do I do if I don't know what it is (in other … Software Development c++ | |
Im using: [CODE]OpenFileDialog1.Title = "Select your image" OpenFileDialog1.InitialDirectory = "C:" If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then PictureBox1.Image = New System.Drawing.Bitmap(OpenFileDialog1.FileName) End If[/CODE] for browsing an image but i want to create a filetype so i have to use OpenFileDialog1.Filter but it wont work. I've used: [CODE]OpenFileDialog1.Filter = "Foto's (*.jpg,*.bmp,*.jpeg,*.png,*.wmf,*.gif)|*.jpg|*.bmp|*.jpeg|*.png|*.wmf|*.gif"[/CODE] How can … | |
[URL="http://img442.imageshack.us/img442/3852/programjy5.jpg"]My Program[/URL] The link above leads to a picture of the program I made. This program makes the price show up out of an Excel file for transportation costs. With the help of some on this forum I have gotten this far with the program, and I'm very grateful for … Software Development queue visual-basic | |
hi all, i need to get the instance id of an application. i dont know how to get the id. anyone is there to fulfill my requirements. advance thanks hidash.. Software Development java | |
I need your help . i have to develop my knowledge in‘English words’. I try to byheart the new words from books, and I am unable to keep in mind and often forgetting. So I decided to develop a package for my won use. It should be like a simple … Software Development visual-basic | |
hi, i want to write a pascal program. the program will input two roman numbers and an arithmetic operation and print out the result of the operation ,also as a roman number. thanks. Software Development pascal | |
Firstly to tell that im glad to find your site. Thanks i've starting a new program and i need to backup my tables. so i tried the command [CODE]copyfile[/CODE] and [CODE]send to[/CODE] but it doesent work. so please help me. i need to save my db tables to another location … Software Development pascal | |
i have this method to read data from a text file. Code: StringBuffer fileData = new StringBuffer(1000); BufferedReader reader = new BufferedReader(new FileReader(filePath)); char[] buf = new char[1024]; String line; while ((line=reader.readLine())!=null){ String f[] = line.split("\t"); if (line.contains(loginname)) { fileData.append(line); } } reader.close(); return fileData.toString(); If i have a text … Software Development java | |
ok, i have been working on a prodject for class and hit a big dead end, so i am just going to start over completly(would be easiest) and was hoping to get help from all of you guys, we had to draw numbers out of a hat to get our … Software Development vb.net | |
hello ! im new here and to VB. and i need some help on input validation for text boxes that are linked to radio buttons... at the moment im using If..Then, if i should do something different let me know.. i have 24 text boxes linked to 8 radio buttons … Software Development vb.net | |
im adding lines to a richedit control and after a while it starts to overwrite text i create the window like this in the main window proc WM_CREATE [code] HINSTANCE RichEditLibHinstance = LoadLibrary("Riched32.dll"); HWND RichEdithWnd = CreateWindowEx(WS_EX_CLIENTEDGE, "RichEdit", "", WS_CHILDWINDOW | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_HSCROLL | WS_VSCROLL … Software Development c++ | |
hi, i wanted to find the factorial with the same problem that I had the previous time: here's the code that I wrote, so how can i find the factorial and display it to the user? [code=cplusplus] #include <iostream> #include <cmath> #include <string> using namespace std; int main(void) { string … | |
Hello everybody, this is a sad story really, 3 days ago my code worked fine now it don't. I get this error "XML Parsing Error: junk after document element Location: [url]http://localhost:1218/projektCsharp/Default.aspx[/url] Line Number 11, Column 1:" If i try to remove or mark out "<?xml version="1.0" encoding="utf-8" ?> <guestbook xmlns="http://me.com/guest.xml" … Software Development xml |
The End.