199,114 Archived Topics
Remove Filter ![]() | |
I heard somewhere that i can draw a datatable onto a local form, with the connection open.... How do i do this..?? | |
this is my code.. In my code i have succesful get table column name. But i want the first table column name showing not all. Thanks' [code] rs.Open(strSQL, adcLEDGER, ADODB.CursorTypeEnum.adOpenKeyset, ADODB.LockTypeEnum.adLockPessimistic) Flds = adrCURR.Fields TotalCount = Flds.Count For Each fld In Flds MsgBox(fld.Name) Next [/code] | |
hi :) This program requires me to read user input from the commandline (a int and a string) and use recursion to print out the the first letter of the string x times based on the int user input: I have this so far, but it seems print out just … | |
Hey guys. This looks like the right place to ask this question. I just started Python, and I'm still getting familiar with syntaxes and such. Right now, I'm trying to make a program that will make an Isoceles triangle with Turtle module and math module I really don't know what … | |
I was googling for a way to reverse a string and I found this. [code=python] >>> 'asd'[::-1] >>> 'dsa' [/code] It works, but there was no explanation where I got if from. Can someone please be kind enough to explain it. Thanks. | |
i started learning java yesterday and its my first programming language to learn. ive covered most of the basics and such but im stuck at one thing i have a program written that asks for a password i want it to compare the user input to the actual password using … | |
Dear All, I have been stuck and confused while bringing changes in this program which i got from [url]http://www.dreamincode.net/code/snippet76.htm[/url] This program uses a simple 0xFACA character and adds and subtracts for doing encryption and decryption. Now what i want to use is asymmetric encryption technique or we can say part … | |
guys..I'm in my senior year and I need to make a senior project by next semester. I'm planning to make a mobile application that will send the data to a computer and store it in a database and finally output it in a webpage or something. the problem is I … | |
Im trying to extract an icon from a resource file (.dll) and i need to use the function ExtractIcon() What namespace/class is it in? or is there another way to extract an icon from a dll file? | |
I know you can make a Web Browser without using the default one .NET comes with, but how would I go about doing this? Any tutorials or tips for this project? Thank you! | |
Hi, How can I define template formal parameter as T*? I read in some textbook that if I define template with formal parameter T* then actual parameter can be of the type T1*,provided that T1 is derived from T Thank you in advance | |
Hi, I was trying to use Checkbutton widget from Tkinter and I searched here in the forum for example code how to apply it, and I couldnt find any. So I have to test it myself using some documentation of Tkinter. Since I couldnt find any relevant code in this … | |
Hello, I am new to the forum and to Java have no programming experience. try to write a program that enters a year and month as integers and displays the number of days in the month. here is what I have written any help would be much appericated. import java.util.Scanner; … | |
Hi guys.. I don't know how to do this, the result would be like this, you input then the repeated numbers would appear once only.. like this Screenshot | |
When I enter a string that it not in the list, I get this error in my enum CrimeType class: IllegalArgumentException, no enum const class CrimeType.a(in java.lang.Enum [code] public void enterCrime() { Crimes crimes = new Crimes(); System.out.print("\t\tEnter crime: "); crimeName = In.nextLine(); if("murder".equals(crimeName) || "arson".equals(crimeName) || "assault".equals(crimeName)) { crimes.daysToStay(3); … | |
Hi I need a pointer in the right direction. I receive a string of data from hardware in the following format " 01 1 2 1 0340 10 33 56 08 09 20 09 0002 0010 0000 0303 0303 0600 0000 0600 0000 0349 0302 0349 0301 … | |
Hey guys, I am still pretty new to C++ and am completely self-taught up to this point. I am currently learning about try, throw, and catch statements for exceptions and am trying to incorporate this into my programs. I know that normally when you allocate new dynamic memory, if the … | |
hi to everyone... i will make a program about parenthesis checking and my prof said that we will not be using a stack for this. will you kindly help me to this.. aside from stack can you help me on what to use.?. | |
Hi, I am facing problem with my coding but can't seems to find the problem with it. Can someone guide me? [code] //for loop for (line=1; line <=height; line++) { for(col=1; col <=line; col++) { if (line%2 !=0)// odd line { if (col%2 != 0)//odd line,odd col System.out.print(A); else //(col%2 … | |
Hi all I want to create a method that converts from one time or date format (as a string) to another by specifying the inputformat and the outputformat. I can do the output as below but I'm struggling on how to specify what the input format is. Can anyone help? … | |
I developed an ASP.NET web application using using Visual Studio .NET 2003. I developed it on a Windows XP Professional workstation. I need to deploy it on a Windows Server 2003. I installed the project on the Server by creating a Web Setup project. All the files are in the … | |
i have problem trying to extracting the string from the text file. i knows how to read from the file but unable to extract the string which i want. i wanted to extract only the id out, how can i do it? my text file format is below: [CODE]user:password,id,office[/CODE] | |
After a brief and rocky relation, I have had jilted Borland 5.02 and found new love for CODE::BLOCK only to discover a while ago that Borland could compile a code snippet which CODE::BLOCK couldn't. In the working program produced below, CODE::BLOCK gave out an error message and failed to compile … | |
hi, everybody i have a question. can jsp get data from other pages? thank. | |
hi all i need is the comments for this piece of code here it is: [code=vb.net] Private Sub populate() con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ System.Environment.CurrentDirectory.ToString() & "\DataBase.mdb") ' con.Open() dAdapt = New Data.OleDb.OleDbDataAdapter("select * from Watches", con) dSet = New DataSet dAdapt.Fill(dSet) dBind.DataSource = dSet dBind.DataMember = dSet.Tables(0).ToString() … | |
Hi All, I want to incorporate chat room in my Website (Currently still on WAMP). What chat software is good? Is it easy to write mine from the scratch? Any tutorials if that is possible? Thanks Guys! | |
Hallo to all, I have a problem on how to test an existing data from the database. . .I have this registration form which displays an error if the user inputs a username and emai address which already exist in the database. Please help me, I can't find any related … | |
Hi all, This is my first post to be gentle. I'm currently researching for my dissertation project where i'm planning to make a forum that allows users to discuss crusing events. The site will allow user login and will have admin features. My issue occurs on the members side of … ![]() | |
Hi! I've started to write my kernel in assembly but I think its far too complicated! Instead I would like to try to write it in C/C++. I'm new to these languages but i've written alot in VB and C# so I don't think it's going to be too hard … | |
I have some App using Visual studio 2008 and C#. some small App that im working on during my college study. (still student) I need to show in datagridview all the results (the App deals with cars rent) for Available cars between 2 dates. In the DB i have table … | |
Hi all, I need a big favor to carry out a task. I want to get information in a exel sheet to a datagrid in VB.Net. For example lets say Excel sheet contains following information. ID,Name,Telephone I want to get these data into the datagrid. Can anyone suggest me a … | |
Well I'm new to wxpython and in trying to learn I started making a small Phone Book program but now I'm stuck need some help on a few things. First thing is when I click on my New Contact in my menu I want a new frame to appear with … | |
I have an application in VB6; I want to put part of its functionality onto the web. I have Visual Studio 2008 using VB, and am familiar with OO programming (in Java), VB6 programming, and with web programming, though not all in one place. I would like general advice on … | |
some body help me.I want to know how to put the dropdown list from database at my textbox cursor. full problem definition is like this. I want to create a Hint system for SQL which will give the structure of of Query. for example if user enters trigger he will … | |
the problem is.. a certain .dat file consists of 3 fields of data..for example...user account, password and username (gibsonML, sweetie33, Mel Gibson). How I will load it and then assign it to hash table. Thanks.. | |
Hi everyone! I'm developing some kind of program of handling an images and someone suggesting to me to use PixelGrabber class. I try to use it but I don't know what its return value. Is it some kind of integer value on pixel number 1 or any idea? And where … | |
this is my code [code] dataGridView1.Rows.Add() dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboColourCode.SelectedText.ToString dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = txtQty.Text.Trim.ToString dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboQty.SelectedText.ToString [/code] only a blank row is added in the datagrid | |
When I use my php, and code it and such, for some reason when I use '<?' my php doesn't work. And I need it to go like that because I download a lot of scripts other people made and most of them don't use '<?php'. Can anyone help?? | |
![]() | Hey guys, I have made a program called 'tLapse', here's the code: [code='python'] import subprocess import time import os print("Welcome to tLapse...") time.sleep(3) os.system('cls') try: com=open("action.txt",'r').read() condition=True except: print("File error") raw_input("<Any key to quit>") condition=False if(condition): clock=raw_input("Enter time duration after which\nuser-specifiedaction will be\npeformed.\n\nFormat- [hh:mm][24- hour format]: ") def app(path): ext=path[-3:] … ![]() |
Hello everybody, Is that posible to Add parameters to crystal report programmatically. [I]I mean adding not passing.[/I] Thanks. | |
Hello there, and thank you in advance for helping me with this! I am working on a program for my class, which is supposed to perform multiple functions on a string that the user enters. I have posted the code that was given to us, as well as one of … | |
To all the c++ experts, I have some doubt on how does the convertion works. If for instance, I want to convert a hexadecimal eg. 199 to to decimal, I use printf("%d",199); but what if I want the hexadecimal 199 to be displayed in binary? What must is use? | |
I am having a problem compiling my code. The following error is displayed: make mpixlcxx -c -O3 potentialqueue_local.cpp mpixlcxx -c -O3 eventqueue.cpp "eventqueue_remote.h", line 20.36: 1540-0063 (S) The text "eventqueue_t" is unexpected. make: *** [eventqueue.o] Error 1 I am fairly new to C++ and not sure if the problem is … | |
hello, which event is fired when i close form with X button ? i want event that fired only with X button pressed, i know that there is a FormClosing event, but the problem is that it fires each time when form is closed... also with frm.close() and i don't … | |
hi every one please guide me. How do I install Sablotron with PHP? Thanks Laxy | |
Hello everyone, I'm having trouble making a search box for my program. This is a not a school project or anything, just a personal project I've been working on. Therefore, any possible solutions are welcomed. This is basically a program is a dictionary program of sorts. The user enters in … | |
I need to put data from a csv file into an Excel worksheet. File is called "DTN.csv" and the Excel file is "BlendPrice" and the workbook is "DTNPrice". The DTN.csv file has 12 fields seperated by commas. (I have been copying and pasting the data in now. I need to … | |
Hi, i'm having a little trouble with my form. My application reads data from a .mdb file and then categorize it. ex: Make Model Ford Mustang Ford Focus Toyota Auris On the form every make is a label and next to it i have a combobox with al the models. … | |
I am trying to add a user password protection to my program but it does not work it will quit if password is right or wrong. The file name "setpCS4.dll" is the file the password will be stored in. Thanks for your help. | |
Hello guys, since I'm new here, I did some research to find similar problems but I didn't find what I needed. Well, my problem follows as this: I created a Picture Viewing application in VB.NET and I want to add two functions: a save function and a function that lets … |
The End.