132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zorrinn

Can I insert from clipboard to a Bookmark? [CODE] Clipboard.Clear(); Clipboard.SetText(text, TextDataFormat.Rtf); oDoc.Bookmarks.get_Item(ref oBookMark).Range.Text = Clipboard.GetText(); [/CODE]

Software Development
Member Avatar for zorrinn
0
75
Member Avatar for rjani1

Dear All, I am trying to code a multistage timer which prints out a line of text. The timer countdowns from a certain point in time and then prints out a line at times defined in an array. The array is sizable so there is no fixed length. The user …

Software Development c
Member Avatar for rjani1
0
133
Member Avatar for david1987

Hi, I am creating an application in vb linked with a access database and i am having problems searching records. For the team screen I have the following database query that I wish to call: [CODE] SELECT TeamName, [Section] FROM Team WHERE (TeamName LIKE ''' & TeamNameSearchTextbox.Text & ''') [/CODE] …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
101
Member Avatar for student02

hi guys, is this possible [CODE]Private Sub Command1_Click() Adodc1.Refresh Adodc1.Recordset.Update Adodc1.Recordset.Fields("Balance") = Val(Text1.Text) - Val(Text2.Text) Adodc1.Recordset.Fields("Amount_Paid") = Val(Text2.Text) + Val(Text3.Text) Adodc1.Recordset.Update Adodc1.RecordSource = "SELECT * FROM Tuition_Fee WHERE Tuition_Fee_ID_PK = " & Form2.Label16.Caption Adodc1.Refresh Text4.Text = Adodc1.Recordset.Fields("Total_Tuition") Text3.Text = Adodc1.Recordset.Fields("Amount_Paid") Text1.Text = Adodc1.Recordset.Fields("Balance") MsgBox "Tuition Updated" Printer.Print " Official Reciept" …

Software Development printer visual-basic
Member Avatar for vb5prgrmr
0
154
Member Avatar for persianprez

I have something like 5 lists all containing different data. I have the user input into a list like so: [CODE]for i in range (0,completed): print 'Class: ', course = raw_input() course = course.upper() allcourses.append(course)[/CODE] now the list cmsc has as many courses in it as the user defined before …

Software Development python
Member Avatar for vegaseat
0
91
Member Avatar for princeutoy

HELLO PLEASE HELP to do a CODE PLEASE.. it give the meaning of each input.... if i input in a textbox this int a; then the output in listbox must int = characters a = variable ; = terminators

Software Development visual-basic
Member Avatar for vb5prgrmr
0
87
Member Avatar for lionaneesh

[CODE]#include<stdio.h> int main() { int yo[4][4]; int b; int c; for(b=0;b<12;b++) { c=0; while(c<5) { yo[b][c]=(b*c); printf("a[%d][%d] = %d\n",b,c,(yo[b][c])); c++; } } getchar(); return(0); } [/CODE] The above code starts with b=7 why!!!!!! compile the programme and u will understand my problem .. plz helpp...... help... Thnx in advance........

Software Development c
Member Avatar for xavier666
0
126
Member Avatar for Deey

Greetings. i have a program which dynamically creates panels and stores them into a panel array. each panel has added mouse click action event. what i need to know is how to determine on which panel i have clicked on? thanks.

Software Development c c# c++
Member Avatar for Geekitygeek
0
102
Member Avatar for MxDev

Hi guys, I want to improve my software design skills, by means I want to write a well designed software, this design should simplifies the future maintainance, and improvements. Where should I go?? What should I study?? Any help appreicated!! Thanks in advance

Software Development
Member Avatar for MxDev
0
89
Member Avatar for Smith5646

I wanted to delete all of the TextBoxes that I put on a form that start with "tbx". The below code only deleted some of them. [CODE] For Each ctl As Control In Panel1.Controls If ctl.Name.StartsWith("tbx") Then ctl.Dispose() End If Next [/CODE] So, I took it a step further in …

Software Development vb.net
Member Avatar for L0u3
0
360
Member Avatar for tyke17

hello, i am new to vc++, can i write and run c program in vc++? if yes, please explain how to do so.

Software Development c c++
Member Avatar for strmstn
0
97
Member Avatar for lee.j.baxter

Hi everyone, I'm using WPF to make a nice UI for a completely automated system (to the point where there are no interactive controls what-so-ever) that downloads media from the net and learns from it. I've got a class that I've created which acts as an entry point to the …

Software Development asp.net multithreading
Member Avatar for Geekitygeek
0
581
Member Avatar for L0u3

vb.net: I have a task to take the given xsd file and use that to validate my generated xml file. But now this xsd file has complex type attributes and I cant get to append this complex type to my declared xmlnode. [U]My Code:[/U] [CODE]Dim namespaceURI As String = "http://www.blabla.za" …

Software Development asp.net vb.net xml
Member Avatar for L0u3
0
176
Member Avatar for playonlcd

I have read some documentation about python, but no examples on how could you can extract Keys from a double dictionary. To understand better here is an example: Let's say we have the following dictionary: {'AAA': {'KEY1':'text1', 'KEY2':'text2', 'KEY3:' 'text3', 'KEY4': 'text4'}, 'BBB': {'BBB1':{'KEY1':'text1', 'KEY2':'text2', 'KEY3:' 'text3', 'KEY4': 'text4'}, 'BBB2':{'KEY1':'text1', …

Software Development python
Member Avatar for playonlcd
0
492
Member Avatar for playonlcd

Hi, I am a little newbie with python, more use of C++ The goal is to search a specifed filename e trought multiple directories. After finding the file, search trough it's content some description on some strings and write out the description on a xml file. So far i manage …

Software Development file-system os-x python xml
Member Avatar for playonlcd
0
175
Member Avatar for unli25

for exmple i want to convert this string "21 4 5 7 - + -".. how can i get the numbers separately and parce it with the other symbols..

Software Development c
Member Avatar for WaltP
0
112
Member Avatar for marshella

i need help with my assignment...i'm so new with this c++ programming...i only know how to do up to division only for this question... and for question two,i really have no idea how to start...can someone help me out and try to make me understand how the code will works...i …

Software Development c++
Member Avatar for WaltP
0
184
Member Avatar for m26k9

Hello, I did search around and there are few examples about this situation (not much as I would have expected though), but I want to know the procedure or how to find the solution. Basically I have a 32-bit UNSIGNED register. I want to know how to calculate the value …

Software Development c++
Member Avatar for m26k9
0
82
Member Avatar for maylim26

HI! Anyone here got idea to add shortcut in DEsktop automatically run( using Package and Deploy Wizard)?Izzt it is possible to to?

Software Development visual-basic
Member Avatar for kinwang2009
0
552
Member Avatar for coolguy0201

Hi, I need the solution immediately for this Elevator Problem. Please find the attached document and reply to me immediately. Thanks

Software Development java
Member Avatar for jwenting
0
101
Member Avatar for beanboy

hi, i'm not good with n/w security or i donno how sha, des works :confused: ,... so pls tell me a [B]simple[/B] algorithm to implement enc and decryption in java.:icon_mrgreen: thanQ, Beanboy:cool:

Software Development algorithm encryption java
Member Avatar for jwenting
0
97
Member Avatar for empror9

Hello guys, i would like to ask you about c++ language. have an assignment and i want to do a movement for? i another questions, the hero should for example take a bomb to destroy the wall , hoe can i disply a message to show the user that what …

Software Development c++
Member Avatar for empror9
0
159
Member Avatar for easyb

Hi techies, I am new into C++. I like to write a program that generates all the primes number between 1 and 100. Below is the code I have written but brings no output. Thanks for any help... [CODE]//A program that generates all of the prime numbers between 1 and …

Software Development c++
Member Avatar for easyb
0
200
Member Avatar for Bemani_lover

I am having a small bit of trouble with a certain program. Here's the program requires. The program developed in Chapter 8 sent data to an external, sequential data named payment11192007 (or payment plus the system date for your computer). It opened a connection to the DataOutputStream and used the …

Software Development file-stream java java-swing storage
Member Avatar for BestJewSinceJC
0
237
Member Avatar for fallendream

hey, to start with heres the backdrop; me and a friend from school have a year to create a fully working web browser and for this i think C++ would be best. heres where i need help, i have no experience with C++ and i need to learn it from …

Software Development c++ web-browser
Member Avatar for jadkins
0
570
Member Avatar for its.avinash

Hi guys, Anybody know how to generate checkboxes dynamically if i want to generate them with the result i have fetched from a database query. The query would be like that, SELECT calltype From table Where phone_no=123456; Now result of this query will vary everytime, there total number of checkboxes …

Software Development java java-swing
Member Avatar for stultuske
0
93
Member Avatar for squarey

Hi Guys Does anyone know of any classes that process string mathmatical equations ? E.g. 2+2(6*5(2-1)) - It is specified on the command line and stored as a string.

Software Development c++
Member Avatar for lotrsimp12345
0
91
Member Avatar for aruprongs

Hi, I'm reading from a text file and writing to another one.My problem is that the data is being written to the new file as one line..i.e., when the end of a line is reached it does not start writing a new line but continues on the same line.. Can …

Software Development c++
Member Avatar for lotrsimp12345
0
75
Member Avatar for plic

I have written a script that schedules an application via the AT command. Now i need to know a way an another script can delete only that particular task. Theres no way to know what is the id ( since it cannot be specified in the AT command when scheduling …

Software Development
Member Avatar for plic
0
129
Member Avatar for macman101

Hey guys, I need a little help. I'm writing a palindrome checker for fun, and I need to ignore/delete spaces and punctuation. I compare my two strings using strcmp and I use pointers to go through the first part of the program. I'm now stuck trying to factor out the …

Software Development c++
Member Avatar for lotrsimp12345
0
165
Member Avatar for aslk

I am having trouble with this array. I need to sort the second column in descending order. Please have a look and tell me where I went wrong. Much appreciated. [CODE]const int sizex=20; const int sizey=2; void descend(int arrayx[][sizey],int sizex,int sizey); void printarray(int arrayx[][sizey],int sizex,int sizey); int main() { int …

Software Development c
Member Avatar for shah1248
0
154
Member Avatar for RahulV

Hi, Please tell me how to sign a PDF with a digital signature using VB programming. Thanks.

Software Development pdf visual-basic
Member Avatar for kinwang2009
0
98
Member Avatar for GSPprog

I am trying to get a program that gets a list from a txt files outputs it. then inserts a node into the list and the list grows dynamically. Everytime I insert into the list the list is filled with the same values following the insertion point. For this example …

Software Development algorithm c c# c++ ios
Member Avatar for GSPprog
0
270
Member Avatar for craigus12

Hi all, I am reading through the Non-Programmer's Tutorial and I would like to make a program with Python in which is similar to the one in the example. The difference with the program in this example is that you can only assign a number to a name, whereas in …

Software Development python
Member Avatar for SoulMazer
0
140
Member Avatar for SoulMazer

Hi, so I'm currently porting one of my applications (it's a media player) from Tkinter to wxPython and I am having some trouble as this is the first wx application I have attempted. I am trying to create something similar to [URL="http://i189.photobucket.com/albums/z266/Capn_Soul/DesiredLook.jpg"]this[/URL]. However, I can't figure out the wxPython code …

Software Development python tkinter
Member Avatar for SoulMazer
0
171
Member Avatar for jemz

hi, please help me on how to use the textfield_change can you give me an example on this so that i will know how to use this..thanks in advance...hoping for your positive responds....

Software Development visual-basic
Member Avatar for abu taher
0
150
Member Avatar for slmsatish

hi guys i am a beginner to python. Just now completed a few sets of lessons and i'm trying out the exercises given at the end of each chapter. I have learned till the stage of basics in defining a function. But still i am confused. [code] ##This program runs …

Software Development python
Member Avatar for snippsat
0
198
Member Avatar for drewpee

I have a test table where I'm using the Last() function but it seems to not work, it always return the 2nd record when i have 10 records.. [CODE]SELECT LAST(Date_Received) FROM serviceRS; [/CODE] returns the 2nd record [CODE]SELECT FIRST(Date_Received) FROM serviceRS;[/CODE] returns the 3rd record X_X

Software Development sql visual-basic
Member Avatar for drewpee
0
94
Member Avatar for libby71

This is a non technical question, I am not a programmer, but I have a question on creating a C++ program, I hope somone could answer for me, and to see if this could be done in C++, so I could hire someone to make this for me. I am …

Software Development c++
Member Avatar for jonsca
0
94
Member Avatar for xxunknown321

I am having trouble adding information from a ".txt" file to a linked list... here is what i have. list1.txt: 1 2 4 5 6 7 8 11 [CODE] /** The LinkedList1 class implements a Linked list. */ class LinkedList1 { /** The Node class stores a list element and …

Software Development java linked-list
Member Avatar for BestJewSinceJC
0
168
Member Avatar for PinoyDev

Hi guys Good day. I just want to ask help on how to hide the start menu and prohibit access to it as well as the task manager and the date and time when the form loads, and restore it back when the form terminate without restarting the computer. Thank …

Software Development visual-basic
Member Avatar for PinoyDev
0
136
Member Avatar for beforetheyknew

Hi guys, got a few questions 1. i have initialised my collection with a few objects, how do i set the make etc when i initialise them (i have the set methods). So in the line below where would i put setMake()? would it work with a . accesor after …

Software Development java
Member Avatar for BestJewSinceJC
0
86
Member Avatar for meowbits

This is an assignment I have and i'm running into problems on this part of it. I need to assign the value I get from scanner input = to a variable in another class. After I do that, I need to be able to call a method that will display …

Software Development java
Member Avatar for meowbits
0
200
Member Avatar for Morrac

To start off with this is a homework assignment for my Operating Systems course and I am stumped. The prof wants us to read in a source code file and take out all the comment lines and then output the file back into a new source code file. We can …

Software Development c operating-system
Member Avatar for shah1248
0
163
Member Avatar for mahela007

is it possible, for example, to make the text that appears as output on the command line appear in a certain colour using python?

Software Development python
Member Avatar for Tech B
0
1K
Member Avatar for sparkus

arrgh. I've been messing around with displaying a serial feed in PyGTK. For some reason whenever I thread the little bugger the GUI hangs. YES, I've read the PyGTK FAQ (most of my code came from it) Any help would be really appreciated! [CODE] import threading, thread import gobject, gtk, …

Software Development gui python
Member Avatar for sparkus
0
205
Member Avatar for vbx_wx

[CODE] sendfile(string path) { int length; char buffer[10]; ifstream in(path.c_str() , ios::binary); in.seekg(0 , ios::end); length = in.tellg(); in.seekg(0 , ios::beg); stringstream infofile; string name = splitname(path); infofile <<"info" << " " << name << " " << length; string infoBuffer = infofile.str(); send(infoBuffer); while(!in.read(buffer , 1).eof()) { cout <<::send(sock …

Software Development c++ ios
Member Avatar for gashtio
0
125
Member Avatar for spursfan2110

Hey everyone, this program's been killing me. I have to create a program that takes another program as input and counts the lines. Pretty simple, except that to do this, you have to count semicolons which means you have to negate semicolons that are comment text or within double quotes. …

Software Development c
Member Avatar for spursfan2110
0
104
Member Avatar for whoamineo89

I've been given a practical where I have develop a random bubble sort algorithm and I've created one already where the user enters the elements needed to arrange the numbers, I now have to use a random number generator that uses a set of 10 random numbers from 1-10000 and …

Software Development algorithm c
Member Avatar for WaltP
0
120
Member Avatar for 8bitrubix

How can I add a loop to this so that it asks the user if they want to calculate another loan and if they choose no the program ends, but if they choose yes, the program loops back and asks for loan amount? [CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public …

Software Development java
Member Avatar for stultuske
0
82

The End.