132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lIGhT4umEnAll

Hi friends I need some help from VB and Oracle guru's. I am trying to create a dynamic table from VB 6.0 in Oracle (mean I want to create a table whose name is dynamic issue) For this purpose I code as follow and get error table name is not …

Software Development oracle visual-basic
Member Avatar for manoshailu
0
151
Member Avatar for codered152

Hi All i have java question for you guys. How can i add columns by click the button. i want my program keep adding columns whenever user click the button. any help. Thank you

Software Development java
Member Avatar for vidaj
0
83
Member Avatar for KenTheFurry

Well I am going to try and make an anonymous emailer using C++... I would like to use this to learn how to send commands to a command prompt or something like it because the normal way to do it through the the command prompt then telnet or netcat into …

Software Development c c# c++
Member Avatar for Nick Evan
0
56
Member Avatar for OmniX

I have 8.5 million combinations which are then put through 30 if statements. Then final output. Now I havent tried this yet BUT I dont think php will let me make a 8.5 million length array nor will C++. So what else can I do? Are there any other lanuages …

Software Development c c# c++
Member Avatar for Nick Evan
0
154
Member Avatar for bloody_ninja

[code=java]import java.awt.Color; import java.awt.BorderLayout; import java.awt.event.*; import javax.swing.*; import java.io.*; import java.net.*; class SocketClient extends JFrame implements ActionListener { JLabel text, clicked; JButton button; JPanel panel; JTextField textField; Socket socket = null; PrintWriter out = null; BufferedReader in = null; SocketClient(){ //Begin Constructor text = new JLabel("Text to send over …

Software Development client-server java java-swing
Member Avatar for masijade
0
299
Member Avatar for FTProtocol

Is it possible to get the local time of a machine ( i can do this part ) then generate a random number between 1-5 ( i can do this ) then add the two together then execute a file when that time comes. Like: Local Time: 10:05 Random Number: …

Software Development c++
Member Avatar for Salem
0
84
Member Avatar for ravjot28

I made a project on telephone directory. I have used single class and my reading and writing in the file is done by fin.[write/read]((char*)&object,sizeof(object)); Now the problem is during searching a particular name or phone no. is just read the file and match the name or the phone no. in …

Software Development c++
Member Avatar for Salem
0
85
Member Avatar for OffbeatPatriot

My project has gotten kind of big now but so I'm trying to post as little code as I can. It seems like the center of my problem is that I have a map for a game, at the start of this game the map is created and is constantly …

Software Development c++
Member Avatar for ArkM
0
189
Member Avatar for qeinar

when i copy the file to the other directory i want the new file to be run instead of the file that i copyed there, i also want the first one deleated.. how can i do this? ^^

Software Development c++
Member Avatar for qeinar
0
80
Member Avatar for 2fac323

I am posting this problem because I am a newbie to C++ and this program has me totally stumped. Any direction, advice, examples would be extremely helpful! I will try to explain my problem as well as possible- For research purposes and to better help students, the admission office of …

Software Development c++
Member Avatar for Ancient Dragon
0
114
Member Avatar for kavithabhaskar

Folks: I am trying to get all NVIDIA users on the list and I am saying NVIDIA* in my SQL statement since there are different versions of NVIDIA.. if instead of NVIDIA* i said 'NVIDIA Quadro fx 4600' i get a list of queries.. but if I said 'NVIDIA*' i …

Member Avatar for kavithabhaskar
0
107
Member Avatar for Bill Purkins

Hi, using VB 2008, I have a datagridview bound to a datasource and want to position to a row based on the value keyed by the user in a textbox. I can sort of accomplish this with one line of code on the textbox changed event i.e.: Me.BindingSource.Position = Me.BindingSource.Find("ColumnName", …

Software Development vb.net
Member Avatar for Bill Purkins
0
579
Member Avatar for JBtje

Hello, On a website I found the next source code "sniffer.cpp" [B]Sniffer.cpp[/B] [CODE=C++]/* OoOoOoOoOoOoOoOoOoO o HTTP-Sniffer o O www.1plus.se O oOoOoOoOoOoOoOoOoOo INFO: The trick is to use raw packets with SIO_RCVALL */ #include <iostream> #include <fstream> #include <string> #include <winsock2.h> #include <windows.h> #include <ws2tcpip.h> #include "packet_headers.h" using namespace std; #define …

0
100
Member Avatar for JConnor135

for this code I need to set string d to char c, can anyone tell me how to do it? [ICODE]public static void main(String[] args) { int n; int m; String d; char c; Scanner sc = new Scanner(System.in); System.out.println("Input Integer: "); //get the value n=sc.nextInt(); int answer = sum_upto(n); …

Software Development java
Member Avatar for Software guy
0
172
Member Avatar for splakhin

Hello to everybody! I'm new in Python ... and have some problem with reading Excel... no matter that I've set format in Excel Text (for all my available data) - it get float value from it... Ok: here is the code: <code> import xlrd book=xlrd.open_workbook("C:/Py/aaa.xls") sh=book.sheet_by_index(0) print sh.cell_value(RowN,CellN) # it …

Software Development python
Member Avatar for splakhin
0
251
Member Avatar for gangsta gama

Thank you Vernon, the money does decrease, but when I buy a pistol for $200 and go to stats it says I have $0 and 50 pistol ammo witch is correct. When I save it though It basicaly erases everything. I opened the file. It said this: 0 0 0 …

Software Development c c# c++
Member Avatar for gangsta gama
0
175
Member Avatar for edman

I need to create a function that uses a template to partially fill any array and from there search for a value in the array and return its position if found. The program below finds the values for double and int but I do know how to partially fill the …

Software Development c++
Member Avatar for edman
0
270
Member Avatar for gispe

hi!! i just started programming some stuff in c++. i made a simple program that compares a number given by the user to 0 n say if its cero, positive or negative. [code=cplusplus] // num_positivo_negativo.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <math.h> #include …

Software Development c c# c++
Member Avatar for ArkM
0
609
Member Avatar for CoolGamer48

Hey, I'm running into some issues with delete[]. I have these lines: [CODE] delete[] temp1; delete[] temp2; [/CODE] in a loop. temp1 and temp2 are pointers to std::strings. In the first iteration of the loop, temp1 and temp2 are both NULL pointers. The statements work fine. In the second iteration, …

Software Development c++
Member Avatar for CoolGamer48
0
1K
Member Avatar for mayapower

Hi, I am trying to create a cutom 'Float' type using built in 'float' type. Here is the code: [code=python] class Attribute(object): """ Common attributes and methods for custom types """ def __init__(self, name=None, type=None, range=None): self.__name = name self.__type = type self.__range = range #Read only attributes name = …

Software Development python
Member Avatar for jrcagle
0
1K
Member Avatar for kavithabhaskar

When I uploaded my Vb Project on the server I was getting the following error: "Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission contact your system administrator or use the MS.Net framework Configuration tool. I came across the following …

Software Development microsoft-access vb.net
0
151
Member Avatar for OmniX

I have just started using C++ for the first time and I love it!!! First problem I have encoutered proably a simple one but [code] for (int a=0; a<10; a++) { for (int b=0; b<10; b++) { for (int c=0; c<10; c++) { if (b == 5) { break; beak; …

Software Development c++
Member Avatar for Narue
0
173
Member Avatar for kv79

Hi all, I have a sample.bat file . I want to execute that file 10 times . I dunno command that executes bat files .

Software Development c
Member Avatar for Narue
0
120
Member Avatar for Ccrobinson001

I'm trying to read a text file into a do while loop. For some reason I can't get it to countinue until ants = 0 . there are two different simulations, once ants go to o the counter needs to reset and do another simulation. Can someone help me? the …

Software Development c++
Member Avatar for VernonDozier
0
134
Member Avatar for 2ashwinkulkarni

Hello all, I am new to python programming and the Qs might seem stupid but i would really appreciate some help :-) It is just a for loop that i want to use, but it doesnt seem to work properly. I need to sort a file as per one of …

Software Development python
Member Avatar for 2ashwinkulkarni
0
120
Member Avatar for brain

Hello, Would you please give a hint to define a template class specialization in a template class which is in a namespace I have tried following code with gcc 4.1 and get an error message but Visual studio has no problem with it. [code] namespace A { template <typename T> …

Software Development c++ visual-studio
Member Avatar for vijayan121
0
136
Member Avatar for sddproject

Hi everyone! I want to have a coin toss on my program: i have two images (a heads and tails) and i want the user to click on a button which will generate one of these pictures randomly. There's all this code on how to create a random number generators, …

Software Development visual-basic
Member Avatar for Teropod
0
291
Member Avatar for njitram

Hiho C# people! I have a problem while compiling this: [CODE]using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.Linq; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { XDocument test = XDocument.Load(dataPath + "c:\\test.xml"); var result = new XElement("dbs", from test.Descendants("dbs") select new XElement("db", a.Element("id").Value)); Console.WriteLine(result); } …

Software Development xml
Member Avatar for camilojvarona
0
184
Member Avatar for JConnor135

For this piece of code I have to change the arguments in the writeLine and writeBlock methods to char c, instead of String c. The problem is I dont know how to get the scanner to read in a character instead of a string. Is there any way to go …

Software Development java
Member Avatar for peter_budo
0
132
Member Avatar for veledrom

Hi, When i click on a datagrid, the selected row's id is added into a text or combo or listbox. User will see and navigate through the added items but, can't change. What is the best way to do this? I need to disable changeable property of text or combo …

Software Development visual-basic
Member Avatar for veledrom
0
108
Member Avatar for veledrom

Hi, I fill the Dbgrid with information that come from database via adodc connection. Is there any chance to add checkbox across the each records listed in Dbgrid? I will check one or several particular records and update them with a record stored in a textbox. For example; [code] ....UPDATE …

Software Development visual-basic
Member Avatar for veledrom
0
106
Member Avatar for turbojol

Hello to all, Please can someone help me on how to create a databse at run-time. I have created a database with Access that I am using with the VB application and it is working well. But now, I want the user to be able to create another database that …

Software Development visual-basic
Member Avatar for Teropod
0
748
Member Avatar for Dameon

i have some problems that i need help with. would just putting: [CODE]quarter = .25 number % quarter dime = .1 afterQuarters = number - ( numQuarters*quarter ) afterQuarters % dime nickel = .05 afterQuarters = number - (numQuarters*quarter) afterQuarters % nickel penny = .01 afterQuarters = number - (numQuarters*quarer) …

Software Development c++
Member Avatar for Dameon
0
114
Member Avatar for ninjaneer

I'm writing a GUI for a C++ program I have already written. Currently I need to either port a section of C++ code using MFC to the C# program, or use a wrapper and call the functions from C#. I'd like to be able to create cWinThreads to do some …

Software Development c c# c++ gui
Member Avatar for ninjaneer
0
208
Member Avatar for the_virus

Hello everyone! I have to build a project developed a few years ago with Visual C++ 1.52c, in Visual C++ 2008 but I have a lot of fatal errors(fatal error C1083: Cannot open include file: 'stdiostr.h': No such file or directory) for the old header files(stdiostr.h, graph.h, bios.h,strstrea.h). It's any …

Software Development c++
Member Avatar for ivailosp
0
168
Member Avatar for preethi_ga

Hi, Im new to this C#. So I have learned VB.NET and also ASP.NET, So now im also thinking to learn C#.NET. but i donno C#. So im confused that whether i have to learn first C#. and then start C#.NET ??? can anyone please enlighten me?

Software Development asp.net c# vb.net
Member Avatar for camilojvarona
0
175
Member Avatar for myVbasic

I have used MS Access to generate a report and can print a particular report history by using macro. Is there a way I can print a specific report of the MS Access report from VB 6?:(

Software Development visual-basic
Member Avatar for myVbasic
0
75
Member Avatar for aditi1184

Hi, I am trying to use the 'find' command of twill from within a python code but it seems to return no result. I tried to run that command on the command prompt by running twill and it works fine. But when I try to run the same command from …

Software Development python
Member Avatar for aditi1184
0
393
Member Avatar for sangham

Hi friends, Can you please help me with the syntax of how I will map a string to a function pointer using map stl? Thanks

Software Development c++
Member Avatar for ArkM
0
7K
Member Avatar for herms14

guys..I would like to ask for some help. Im trying to read 10 integers in a text file and store it in a array. the problem is when I display it the numbers are treated one by one instead of putting them all together. For example when I display array[0] …

Software Development c++
Member Avatar for CoolGamer48
0
122
Member Avatar for db_ozbecool

How to get the NAME of the passed parameter ? Eg. in the example below how to get printed , inside my_func() , value = "test_var" [code] def my_func(aaa): [INDENT]print aaa # <---- this will print the VALUE of passed parameter 'aaa' [/INDENT] [INDENT]# ..... but how to print the …

Software Development python
Member Avatar for ZZucker
0
313
Member Avatar for ___SnipeR___

[B]hi all, i try to move it to the up and resize it but i can't, can an one help me, by give my the code for this frm [/B]

Software Development visual-basic
Member Avatar for ___SnipeR___
0
93
Member Avatar for dev.cplusplus

Hi to all, I have the following problem, I don't know if is possible to solve: I have number of threads working, and I want that every thread to wait in some part of the code, until all the threads reach that part. I'll explain may self: 1. In the …

Software Development
Member Avatar for rkrijgsheld
0
193
Member Avatar for pepperc0n

Hi, I have a script to abstract a .txt files end with (*.dly). My problem is, I had to repeat the task by changing the file name manually. I need to abstract 100 files in a folder. Can somebody show me how to change my script so it can read …

Software Development c++
Member Avatar for Ancient Dragon
0
148
Member Avatar for karang

Hi I was trying the code written in the following URL http://support.microsoft.com/kb/117565 to get the information about the page size But when I try to run the program I am getting the following errors: `CMyView' has not been declared `CSize' was not declared in this scope `CMyView' has not been …

Software Development c++
Member Avatar for mitrmkar
0
98
Member Avatar for firebirds98

My problem is that I am not receiving all of the data that I should be. I am only receiving 7 records rather then receiving 12. Is there a time limit that a socket can recieve for? Is there something else that could be my problem that I would not …

Software Development vb.net
Member Avatar for bonave
0
110
Member Avatar for mrjoli021

i am new to c#. I want to write a windows app that will display a txt file in a new window.

Software Development
Member Avatar for camilojvarona
0
91
Member Avatar for Motvel

I have a list of choise. All i want to do, is when i click on a element - to show the string of that element. Suppose i click on "Pizza" element, then i should to get at console (with System.out.println()) the word -Pizza. Any ideas or example will be …

Software Development gui java
Member Avatar for Vilice
0
181
Member Avatar for naya22

I am writing the following program that calculates the average of a group of test scores where the lowest score in the group is dropped. It has the following functions: [LIST=1] [*]void getScore()-should ask the user for a test score, store it in a reference parameter variable, and validate it. …

Software Development c++
Member Avatar for Manutebecker
0
3K
Member Avatar for iamnoangel26

What version of MS access is compatible to VB 6.0??? And any other application beside of access you can suggest. Thanks a lot...

Software Development visual-basic
Member Avatar for Jx_Man
0
80

The End.