132,726 Archived Topics
Remove Filter ![]() | |
Hello. I'm a bit confused, and I don't know QUITE how to explain it, however I'll try my best! Anyway, say I wanted to code a API, that would grab a list from ANOTHER program. For example, if I had a small chatting program, and there was a list of … Software Development api visual-basic | |
how to put category on combo box?... Software Development visual-basic | |
I have been trying the following code for a code to search for a record and display it in a textbox Option Explicit Dim conn As ADODB.Connection, rec1 As ADODB.Recordset Dim esql1 As String Private Sub Form_Load() Set conn = New ADODB.Connection Set rec1 = New ADODB.Recordset conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data … Software Development open-source visual-basic | |
Hi guys can you all help me with this. I need to sure will the this idea can be make in vb6. I have a update command button. When click then type the badge id , it will automatic get the data and show the employee name then the rest … Software Development sql visual-basic | |
hi i have been able to update a database using the following code Option Explicit Dim conn As ADODB.Connection, rec1 As ADODB.Recordset Dim esql1 As String Private Sub Command1_Click() On Error GoTo 2 If Text1 = "" Then Command1.Visible = False Command2.Visible = True Exit Sub End If rec1.AddNew rec1.Fields(1) … Software Development display open-source visual-basic | |
i'm a bachelor student doinmg b.e in computer and as my project i've decided to make an banking application using wx widget and i'm really frustrated tring to figure it out .Being new to it i need some help Software Development c++ | |
Hi All, I'm working on a GUI project that involves continuously reading data (which is a waveform - like a simple sinusoid) from a file (which gets periodically updated), and displaying it as a pixel-based image. I was able to follow some tutorials online and install Allegro and successfully plot … | |
Currently I have an application (A.exe) which determines when things need to be done, when such a time arises it launches another application (B.exe) with the appropriate parameters to do the actual work required, some of which could be administrative work (installing MSI, editing registry, etc...). This all works perfectly … Software Development c++ | |
I have two classes, one inheriting wx.Frame and othe is wx.Dialog. I use the dialog to collect some info and I call its object in the wx.Frame class. The problem is, the dialog should return the value of its TextCtrl values and I have no Idea how to do it … Software Development python | |
Hi, Does anybody know how I can create a bunch of textboxes and buttons without having to write each one individually e.g [code] Button button1 = new Button; button1.Location = new Point(1,20); this.Controls.Add(button1); [/code] And then having to go onto the next one e.g button2. Please help | |
Hi, I am creating a program on behalf of my business and have become stuck in one particular matter. I am fairly new to C#. The application consists of the user entering data into a mixture of comboBoxes and textboxes, after the user has entered the data he clicks the … | |
OK, so I'm somewhat experienced in Java, and am learning C#. I'm currently on the topic of Inheritance and Polymorphism. What I read is that if a base class has a method that is marked as virtual, then the inheriting class has the choice to override that method if it … Software Development visual-studio | |
How do I run a .py file from another python file.... I want a program depending upon the option you choose to run a different python program... Ho do i do this... I have tried: [CODE=python] import os if os.path.isfile('file.py'): exec(open('file.py').read) [/CODE] and it requires everything to be global.... only … Software Development python | |
I've developed an Application for work that allows employee's to request vacation time off. I developed the application on a computer that had the .NET 3.5 Framework. I didn't realize until after I published the application that many of the computers do not have .Net 2.0. I fixed that problem … Software Development | |
I can't get the menu or status bar to show up when executing the following program: [code=python] import wx ID_ABOUT=101 ID_EXIT=110 class MainWindow(wx.Frame): def __init__(self, parent,id,title): wx.Frame.__init__(self,parent,wx.ID_ANY,title,size=(200,100)) self.control = wx.TextCtrl(self, 1, style=wx.TE_MULTILINE) self.CreateStatusBar() #A Statusbar in the bottom of the window #Setting up the menu. filemenu = wx.Menu() filemenu.Append(ID_ABOUT,"&About"," Information … Software Development python | |
![]() | Hey guys, I wanted to make a program which keeps asking you questions, and continues on and on based on your answers... So basically, I wanted to know whether the user has typed 'why' in the first input, so I tried: [CODE]s=raw_input("Are you feeling bored?\n") s1=[s] a=0 for x in … Software Development python |
I'm doing a program on Windows Vista, and what I'd like to do is a program that has got a main window, and has got another window that control the main one, like Microsoft Access. Can anyone help me out how to do it if possible. Thanks Dan08. Software Development microsoft-access python windows-vista | |
Hi, Again I'm a newbie, going through how to think like a computer scientist online tutorial. I have 2 questions in the next lesson that I can't seem to crack, in relation to sub strings. Here's the questions and my working below: This one I can remove letters but I … Software Development python | |
Hello, I would like to know how to create a symlink in Windows, Linux is easy, just use [icode]symlink()[/icode], but Windows is complicated! Someone has managed this before? Software Development c++ | |
Hey, i was trying to make a multiplication word problem type thing and when hit debug it always says what my title is. Here's my code. [code] #include <iostream> void main(); { // Declare Variables!!! char name[15]; short quantity; float amount; float totalSale; cout << "Enter Customer's Name: "; cin.getline(name,15); … Software Development c++ | |
Hi I am wondering how to write a list to an html file from scratch. I am currently writing it to a file using: [icode] def wpubooks(self): for i in booklist: s=str(booklist) f=open('/booklist', 'a') f.write(i + '\n') [/icode] Is there a way I can change that code so that it … | |
Alright I am having my program read two text files (in csv format) and once it reads them, I am wanting it to do a check to see if two columns match, if they do I want it to write it to a new file. I have coded it, but … Software Development java | |
Hello everyone, I'm trying to write a recursive function that receives a string and checks whether all characters are capital or not, if not changes them into capital. Here is the code I wrote: [CODE]#include <iostream> 2 using namespace std; 3 4 void toUpperString(char *p); 5 6 int main() 7 … | |
Hello please help me [code] class X { protected: int x,y; color cl; X-type type; char a; }; ----------------------------- X* arr[10][10]; int main() { ... } [/code] ------------------------------ i want define a constructor to this class that declare for x, y like: arr[2][1]->x=2; and arr[2][1]->y = 1; that declare any … Software Development c++ | |
| |
How do I 'restore' my output (stdout) back to the terminal after redirecting it to a file. I want to be able to output to a file for a specific section of code, then close that file and put output back to the screen/terminal. [code=c++] fprintf(stdout, "This will go to … Software Development c++ file-system | |
As far as I can tell, this method is returning a blank line every other line, but I can't figure out why: [CODE] public static List<string> plain(string path, int num) { List<string> result = new List<string>(); StreamReader reader = File.OpenText(path); string line; int i = 0; while ((line = reader.ReadLine()) … Software Development file-system | |
The program lets the user be the customer, banker, or supervisor, and all of their privileges involve structs. I made an array of 100 structs for 100 potential customers, and I need to do something similar for banking. I'm trying to put customer and banker's info detailed in that struct … Software Development c++ ios user-interface | |
Hey all, I have been reading some older posts on line/list manipulation, but don't quite understand exactly how to implement all of the tools that you guys are using (line.strip() for example) to get what I need. Essentially, I have a working program that iterates through data and outputs it … Software Development python | |
[code] #include<iostream.h> void ascending(int,int); int main() { int array_size=10; int numbers[]={3,54,23,0,677,45,77,342,4,10}; cout<<"The numbers are: "<<endl; for(int i=0;i<10;i++) { cout<<numbers[i]; } cout<<"the ascending form is: "<<endl; ascending( numbers[], array_size); return 0; } void ascending(int numbers[], int array_size) { int i, j, index; for (i=1; i < array_size; i++) { index = … Software Development c++ | |
Hi, I am creating a program on behalf of my company and am stuck in one particular matter. I am fairly new to C#. At the moment I am creating a textbox, label and a button at the push of a diffrent button with the following code. [code] TextBox textBox6 … | |
Hello, I am new here.. I came here looking for help with some ACPP questions and found a couple. So now, hopefully, I can give back a little, but with a question! Here is my solution for ACPP Exercises 4-2 through 4-4 (sort of, I havent switched it to use … Software Development c++ | |
Is there ANY standards compliant way to get unbuffered input from the console without the characters being automatically displayed? because, although I can reset the buffer on cin to 0 with [icode]cin.rdbuf->pubsetbuf(0,0)[/icode], when I do this, it outputs all characters twice (because it outputs them by default once?) The reason … Software Development c++ | |
I did a google search and found that PHP uses: $_SERVER['HTTP_USER_AGENT'], which would give the following result, should I visit a page: [code] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 [/code] is their any functionality in java that will do the same?? … | |
I'm supposed to dynamically allocate an array of integers. The function should accept an integet argument indicating teh number of elements to allocate. The function should return a pointer to the array. This is what i got so far. [code] #include <iostream> using namespace std; //Function prototype int *arrAllocator(int); int … Software Development c++ | |
Hey All, I am having a problem with the function "SetForegroundWindow". From googling I am readin that it does not work for MSVC 6 MFC on a vista machine???? I am trying to write code that will check if a window is open, if the window is open bring the … Software Development c++ | |
as far as i understand in order to sort a multidimensional array you have to make you own class that implements Comparator. the string which is to be sorted has the following structure: [0][0] filename1 [0][1]filesize1 [0][2]lastmodified1 [1][0] filename2 [1][1]filesize2 [1][2]lastmodified2 ... i want to be able to compare by … Software Development java | |
![]() | OK, so here is my problem. I have created this application that inventory's books & magazines. Everything compiles fine. I prompt the user at the beginning to pick the length of the array (stored in numBooks) then when it comes time to pass the array to the GUI, I get … Software Development gui java java-swing ![]() |
Good morning, I have a small VB. app in VS2008 that opens a windows folder in maximized view. I am using the following code: [CODE] Dim startInfo As New ProcessStartInfo("explorer.exe") startInfo.WindowStyle = ProcessWindowStyle.Maximized startInfo.Arguments = "C:\Program Files\123 Systems\ExcelFolders\TechTimeSheet" Process.Start(startInfo)[/CODE] When using my app with windows xp it works well. It … Software Development vb.net windows-vista windows-xp | |
[B]Hello to All i want to read txt file that contant some data's such as :[/B] [CODE]1,2,3,4,5,6 7,8,9,10,11,12 13,14,15,16,17,18,19[/CODE] [B]and then write them into a two dimentional Array .[/B] for example : first line of file must be first row of array or another example the first data in first … Software Development c | |
How to move all only one type of file to another directory? For example, i want to move only all .jpg only file to another folder in Python. I know batch is easier to do it, but i prefer in Python. Anyone can help? Software Development python | |
Hi! I'm very new to both python and Tkinter and would be thankful for some help. i want to search a text document for a word and print each line that match the searchword in a text widget. [CODE]def ladda(): fts = 'thefile.txt' file = open(fts,"r") text = file.readlines() file.close() … | |
Hi, With this tutorial, I've hit a few questions that I'm not sure what they are asking for. It's in the lesson on lists? Could you please advise what it is they are looking for, because to me it sounds like I'm just filling out the argument as shown when … Software Development python | |
[CODE=python]>>> mylist = ['bunnies', 'apples', 'animals', 'fruit', 'amsterdam'] >>> for x in mylist: print '--------------' print x if x[0] == 'a': print "Removing ",x mylist.remove(x) -------------- bunnies -------------- apples Removing apples -------------- fruit -------------- amsterdam Removing amsterdam >>> print mylist ['bunnies', 'animals', 'fruit'][/CODE] The output should be bunnies and fruit, … Software Development python | |
Dear Friend How can I check end of the text in rich text box using C#? Software Development | |
Hello Im a java Beginner and I need a program that the output is like this: * ** *** ** * and a Diamond Can s0meone make me a program of this.. Just a simple code. Thank you so much!! Software Development java | |
Hi all, Yesterday I ran into RDTSC, very useful to have knowledge of, especially when you are using performance counters and timers etc. RDTSC will return a value to you (64 bit) which contains the current clock cycle of your processor. I have made a little program which requests the … Software Development c++ | |
hi everybody i have a small problem. i want to create a telnet session to any other server and i want the socket client code that initiate connection with the server then i enter the password of server and last thing close the connection. could anyone please help me to … Software Development c++ client-server session |
The End.