132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for snurd

I know how to open an Excel file with VB but I need help with writing an argument to see if the file is already opened, because if the file is already opened the Excel file opens as read only. If it's already open I want to skip to the …

Software Development file-system vb.net
Member Avatar for snurd
0
116
Member Avatar for CatchItBaby

I dont know this programe name what ever u say........ Suppose you have a html page save in c:\first.html first.html page contain two text boxes one for username and password and one button whenever we click on button it validate the username and password which is already pass in the …

Software Development html-css open-source vb.net
Member Avatar for CatchItBaby
0
409
Member Avatar for robertmacedonia

I get an error when I try to give this button a na ction of showing a new form. It says: `"error C2039: 'poeni' : is not a member of 'IgraBobi'"`. But this "poeni" form IS a member of the "IgraBobi" solution. I added it correctly, why doesn't it recognize …

Software Development c++
Member Avatar for Wiki_Tiki
0
120
Member Avatar for friendlyguy

hey everyone! im kinda a bit stuck my friend is a mega coder in the 'gunz' (gaming) world and he has just made some thing. ohh he also said i need to do it in dev c++ (if that any use to any one) lol he sent me 3 files, …

Software Development c++ gaming peer-to-peer
Member Avatar for friendlyguy
0
146
Member Avatar for aditya_amb

I am trying to add a new record to data base using VB.net. Here is my code: Imports System.Data Imports System.Data.OleDb Imports System.Data.SqlClient Dim objConnection As New OleDb.OleDbConnection objConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= C:\Documents and Settings\ambarda\My Documents\db1.mdb;" Dim ds As New DataSet Dim sql As String = "SELECT * FROM Sheet1" …

Software Development dataset vb.net
Member Avatar for cymapAndy
0
147
Member Avatar for robertmacedonia

I got this error and have no idea what it means... May i get a little help please ? error C2059: syntax error : ']' [code][ #include <iostream> using namespace std; int broj (int be, int a[]) { int br=0; int f=0; int b[200]; for(int i=0;i<=br;i++) { for (int j=0;j<=br;j++) …

Software Development c++
Member Avatar for robertmacedonia
0
86
Member Avatar for TheOneElectroni

Hello everybody, I've a somewhat odd issue displaying a .png image onto a Tkinter canvas. The image is surrounded by a grey frame. Here below an excerpt of the relevant code and by the way I'm running under windows xp. The same thing happens with the menu of the gui, …

Software Development gui python tkinter
Member Avatar for TheOneElectroni
0
451
Member Avatar for williamnz

Hi there, I have a custom class , lets call it MyClass. In the main part of my prog I want to run a cout which outputs say Myinstance. I would have though I would add it nt he stdiolib. But I want to add it in my class... Something …

Software Development c++
Member Avatar for williamnz
0
2K
Member Avatar for phickman7872

Hi all, I am new to C on linux and have a question about I/O. I am trying to read input from the command-line: printf("What is your first name? "); scanf("%s", firstName); printf("What is your last name? "); scanf("%s", lastName); printf("What is your age? "); scanf("%d", &age); printf("What street do …

Software Development c c# c++
Member Avatar for yap.nice
0
401
Member Avatar for np2100

Hello, I was wondering about something. Whats the point of learning console programming (The black screen that comes up) when Win32 or another windows api has completely different syntax. Eventually the person will want to make an actual windows application so what would be the point of learning console first. …

Software Development api c++ windows-api
Member Avatar for yap.nice
0
133
Member Avatar for abhisdm

I'm getting an error msg as Type mismatch in redeclaration of 'putw' for the following code... Can anyone suggest the reason for this??? [code]#include<stdio.h> union pw{ short int i; char ch[2]; }; int putw(short int num, FILE *fp); int main() { FILE *fp; fp=fopen("test.tmp","wb+"); putw(1000,fp); fclose(fp); return 0; } int …

Software Development c
Member Avatar for ArkM
0
154
Member Avatar for palavi

hi all, I ve a requirement for standalone travel software dat is not web based which involves rentung vehicles,arraging drivers, generating bill, making a picture of bus seats n which shows seat nos available.. i want to do it on java platform. can i do static html page using dreamweaver …

Software Development java
Member Avatar for palavi
0
99
Member Avatar for hhheng

While executing a perl script, it showed the following errors. Can anybody tell me what's wrong with the bottom script? Thanks a lot. The server encountered an unexpected condition which prevented it from fulfilling the request. The script did not produce correct headers. It must at least print out a …

Software Development html-css perl windows-server
Member Avatar for KevinADC
0
199
Member Avatar for kanga85

In a GWBasic program I wish to delete all files *.??8 in the working directory AND sub-directories. The 'Kill' command in GWBasic allows no switches and doesn't get into subdirectories. If I shell "del *.??8 /S" (or "del /S *.??8") I get the error message 'Invalid switch -/S'; even though …

Software Development pascal
Member Avatar for kanga85
0
115
Member Avatar for ee_girl

Hi!, I'm a first-year student at the university. When i am using Tubo C++ , i encountered a problem with inputting Date to graphics window. The code below here is the way to input date in text window, but i dont know how to input this into the gaphics window, …

Software Development c++
Member Avatar for Salem
0
105
Member Avatar for cinderella_nez

HI all, I'm a newbie here. I need your help, does one of you know how is the code to countdown from 99 with 7 segment and atmel 89s51 or 89s52? plz help me soon..

Software Development assembly
Member Avatar for abhisdm
0
551
Member Avatar for FaridMasood

I want to use the printPreviewDialog control to view the print preview of a document. I am using this code Dim oPD As New PrintDocument oPD.DocumentName = TextBox1.Text PrintPreviewDialog1.PrintPreviewControl.Document = oPD PrintPreviewDialog1.ShowDialog() TextBox1 contains the file name to be opened with print preview control. Problem is that it only show …

Software Development vb.net
Member Avatar for FaridMasood
0
146
Member Avatar for Umair.P

Hi there I am new to this forum so hi to every one. I have a problem with an application I am developing an application. The application is suppose to call a form.showdialog() method to show the form. Th eform should download a package. But the problem is that when …

Software Development
Member Avatar for Umair.P
0
101
Member Avatar for dongzhe

for my new job, i have to learn coding for the chips. i know c, but i don't have any idea about how to coding for chip. anyone can give me some hit where is good place to get start.

Software Development c
Member Avatar for swaira umar
0
154
Member Avatar for t_3010503

hi all I'm dean. newbie bout Java, i mean i got too basic knowledge about it. I want to learn it because i wan to create a Morse code converter which it will automatically convert alphanumerical words to Morse code. i had read something about java swing. the question is …

Software Development gui java java-swing
Member Avatar for sciwizeh
0
113
Member Avatar for jaasaria

hellow expert.. im trying to install vb's system's on any pc' with out microsoft office. im trying to put open office for that unit. but sure that i will encounter a lot of error.. like out of memory. or something that required FM20.dll and other DLL. any idea for that …

Member Avatar for jaasaria
0
267
Member Avatar for adamj2

Hi there, I want to read 1 byte of information, in the form of an array of unsigned chars [1], from a file. I then want to use this piece of data to act as a secret key for a message authentication code I will be performing. The key will …

Software Development app-store c++ file-system ios
Member Avatar for ArkM
0
177
Member Avatar for duskrue

Hey all, I'm having trouble with an assignment for my C++ class. The .pdf has the assignment parameters, and the .cpp file has what I've written so far. Right now I've written the program enough to make sure the two strings (LastName and FirstName) get swapped correctly and put into …

Software Development c++ pdf
Member Avatar for iamthwee
0
117
Member Avatar for farhan386

I want to paste some text in clipboard into Ms Word. I wrote this following code [code] a:=findWIndow(pchar('OpusApp'),nil); b:=FindWindowEx(a,0,pchar('_WwF'),nil); c:=FindWindowEx(b,0,pchar('_WwB'),nil); d:=FindWindowEx(c,0,pchar('_WwG'),nil); SendMessage(d,wm_paste,0,0); [/code] and it didn't work. But i wrote the code below to paste into Wordpad,and it works fine [code] a:=findwindow(pchar('WordPadClass'),nil); b:=FindWindowEx(a,0,pchar('RICHEDIT50W'),nil); SendMessage(b,wm_paste,0,0); [/code] Am I made some mistake …

Software Development pascal
Member Avatar for farhan386
0
407
Member Avatar for scaraffe

Hey! I have a string str = "12354" . i want to create another string str2 with only the first two elements of the string str ie i want str2 = "12". can someone please tell me how i can do that?

Software Development c++
Member Avatar for scaraffe
0
90
Member Avatar for phelaphant

Hello there! Right, Im designing a simple program for college. Its just a basic wage input program and it works fine. On the final screen I want the user to have the option of going back to the start of the program. 'Do you wish to start again?(y/n)' so if …

Software Development pascal
Member Avatar for Duoas
0
214
Member Avatar for Chris Ichikawa

Hello, everyone. I've been working on an application that will be able to accept customers and bills of an electrical service company. While testing this application, I've come across an error message saying Null Pointer Exception. Okay, here are the details. The application is actually an entire GUI project. It …

Software Development gui java java-swing
Member Avatar for Chris Ichikawa
0
172
Member Avatar for Samuelandjw

Hi! Everybody, I have several c++ sources files as following: main.cpp: [code]#include "A.hpp" int main() { return 0; } [/code] A.hpp: [code]#ifndef A_HPP_ #define A_HPP_ #include "B/B.hpp" #endif /* A_HPP_ */ [/code] B/B.hpp: [code]#ifndef B_HPP_ #define B_HPP_ class Foo { int foo(int val); }; #endif /* B_HPP_ */ [/code] B/B.cpp: …

Software Development c++ ide
Member Avatar for VernonDozier
0
108
Member Avatar for ricss_madara

what java code for output repeated continuously by requesting the user to input data&number?

Software Development java
Member Avatar for sciwizeh
0
249
Member Avatar for nuaris

How do I read something from DOS? For example, doing a command in DOS, like 'dir'/etc. and writing the output to a variable in python? I know about the listdir() function, 'dir' in DOS is just an example.

Software Development python
Member Avatar for BearofNH
0
202
Member Avatar for NickyU

can more variables have the same value in an enum ? eg. [code] enum boolean { true = 1, false = 0, TRUE = 1, FALSE = 0 }; [/code]

Software Development c++
Member Avatar for Bench
0
120
Member Avatar for ricss_madara

main manu 1 for Addition 2 for Subtraction 3 for Multiplication 4 for Division 5 for Choice not in list

Software Development java
Member Avatar for javaAddict
0
103
Member Avatar for skelly16

Hi All Anyway to add a note inside the email saying here is your file after attching a file in unix?? For example my script is fine attaching the excel file but i would like a message inside the mail too and not in the subject title. [QUOTE]/usr/bin/uuencode $adhocreport $adhocreport …

Software Development email shell-scripting unix
Member Avatar for DimaYasny
0
147
Member Avatar for BradenMurphy

Hi for my assignment i have to create my own greater than operator for a string class. Basically the class acts as the std string class library but i gotta edit the greater than operator in it. The assignment says upper and lower case should be treated as equal eg …

Software Development algorithm c++
Member Avatar for BradenMurphy
0
189
Member Avatar for docdoc

The following bit of code is to send a string of data to the usb port. How can I modify the code so I only send one byte of data to the usb port instead of a string? private void usb_OnSpecifiedDeviceArrived(object sender, EventArgs e) { this.lb_message.Items.Add("My device was found"); //setting …

Software Development
Member Avatar for doleh
0
657
Member Avatar for complete

I have heard a lot of talk about hashtables from time to time. They are supposed to be very cool ways of storing data where the index you use to look up the data is somehow the data itself. But hashtables are not part of the C++ standard template library... …

Software Development c++
Member Avatar for ArkM
0
111
Member Avatar for jeremyhowell

I am completely new to C++. I want to know how to make a simple text program that takes user input and performs one of two operations depending on what the user entered. thanks for all help.

Software Development c++
Member Avatar for Salem
0
107
Member Avatar for Wiki_Tiki

Hi everyone, I'm busy working on a program that needs to store settings somehow, and have the settings saved. I don't know how to do this, so I've written a test program. The object of the test program is to enter a 4-digit password, (sort of like a locker lock) …

Software Development c++
Member Avatar for Wiki_Tiki
0
102
Member Avatar for mindmesh

I'm using the following tutorial to learn Python: [url=http://openbookproject.net/thinkCSpy/index.xhtml]How to think like a computer scientist[/url] I'm running the following code and I get an error: [CODE]from gasp import * begin_graphics(800, 600, title="Catch", background=color.yellow) set_speed(120) ball_x = 10 ball_y = 300 ball = Circle((ball_x, ball_y), 10, filled=True) dx = 4 dy …

Software Development python
Member Avatar for pyromjm
0
164
Member Avatar for miraje

Hi everyone, I'm new to wxpython, so I apologize in advance if this has a simple solution. The GUI I'm working on has the following basic structure: [I]def function(time) -> initialized from frame and generates data needed in panel class panel -> displays data and images generated in function class …

Software Development data-structure gui python
Member Avatar for Das246
0
245
Member Avatar for Alex Edwards

Can someone point me in the appropriate direction to learn the proper use of tagging Information on data with Java Annotations? I've used them before (@Override, @Deprecated and @SuppressWarnings(sp) ) but I'm interested in creating my own for testing-purposes and possibly for medium-to-big projects. I need to understand when to …

Software Development java
Member Avatar for sciwizeh
0
118
Member Avatar for Bazman76

I want to change the results of function deal() below which fills out a string array. In the watch window I can change the result of the memory location that the pointer points to, but not the string that begins at that address. Is it possible to keep the memory …

Software Development c++
Member Avatar for Ancient Dragon
0
128
Member Avatar for brizwhiz

I have constructed a source code for Java Payroll Part 3: I'm receiving the following error when I try to compile my program: PayrollPart3.java:56: 'else' without 'if' ^else Any advice would be appreciated to why I am getting this error. Thanks! [code=java] // Fig. 1.3: Payroll Part 3 // Program …

Software Development java
Member Avatar for brizwhiz
0
111
Member Avatar for dummy programer

I NEED HELP WITH THIS PROBLEM!!!! ANYONE!!!! /*3. Write the function: double max_norm(double *v, int n) to compute the maximum norm of vector v[] with n elements. The max norm of a vector is computed by taking the maximum absolute value of its elements. In prob3() compute x1[]=a[][]*x0[], call max_norm() …

Software Development c
Member Avatar for dummy programer
0
72
Member Avatar for robertmacedonia

Hi, may I ask for a little help ? I don't know how to type a command for selected radio button. I mean - for example - if radio button is selected do this... I know there is a function KeyPress, but do not know how to use it, thanks …

Software Development c++
Member Avatar for John A
0
116
Member Avatar for chern4ever

this is my code [CODE]Private Sub Command1_Click() Dim maximum, minimum, highest, lowest As Integer Dim num(1 To 5), i, j, z As Integer For i = 1 To 5 num(i) = InputBox("number") Next i highest = num(1) lowest = num(1) For z = 1 To 5 If num(z) > highest …

Software Development visual-basic
Member Avatar for chern4ever
0
5K
Member Avatar for goodmuyis

Can Anybody Put Me Through Out To Add Image To My Database? I've Been Trying But Easy. Get Any Solution Pls Reply Me Or <Snipped>. Thanks.

Software Development c++
Member Avatar for goodmuyis
0
70
Member Avatar for brizhou

A programmer has been asked to implement a simple game that requires the use of a board to position and manipulate some objects represented by symbols. The programmer has implemented the board as a two-dimensional array of characters. The following constants have been declared as global to the whole program: …

Software Development algorithm apple c++
Member Avatar for ssharish2005
0
159
Member Avatar for jibugeo

I want to disable the ALT CTRL DEL process in vista...Any body help me....Currently i am developing a proejct LaptopLock...Now its work in XP smoothly...But in Vista ALT-CTRL-DEL is a problem...?

Software Development
Member Avatar for Lardmeister
0
70
Member Avatar for spacekat

We pulled this from[Vbasic.net](http://vbasic.net/detail.aspx?tid=105). A friend of mine has it running on his home server but I keep getting errors on our production mahcine please help!!!! Thanks!!! Generating random passwords can increase the security of a website by taking the process out of the hands of the user, or simply …

Software Development asp asp.net vb.net web-server
Member Avatar for tuse
0
854

The End.