199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for KillerOfDN

Hey. I would like to ask for help regarding SQL server. I have developed a client-side application to run on my clients' agents machines. They will use this software to add items to a cart and print an invoice, in addition to the program eMailing my client to notify him …

Member Avatar for ericstenson
0
97
Member Avatar for FTProtocol

[CODE] #include <windows.h> #include <shellapi.h> int main(int argc, char* argv[]) { ShellExecute(NULL,"open","C:/Windows/System32/calc.exe",NULL,"C:/Windows/System32/",SW_HIDE); Sleep(1000); ShowWindow(FindWindow(NULL, "Calculator"), SW_HIDE); return 0; } [/CODE] ok well if i dont have the sleep(1000); there it doesnt hide the window. i want it to load the window hidden, not hide it once its loaded. Does anyone …

Member Avatar for FTProtocol
0
129
Member Avatar for mysong

Hello, I am in a Java Course and my instructor said my first 2 loans the calculations are wrong. and that I need to have this in an ARRAY also. Any help would be appreciated. [code] import java.text.*; import java.io.IOException; class javamortgage //program class name { public static void main(String[] …

Member Avatar for Alex Edwards
0
211
Member Avatar for k2k

What four ways can you specify the current directory in your PATH? for sh This is a question that I couldn't get it right. I thought pwd is one of the way but it wasn't. can anyone help? thanks

Member Avatar for omrsafetyo
0
138
Member Avatar for eparse

In my database, the format for 8 columns are as shown: [code] +------+------+------+------+------+------+------+------+ | MPT | MPB | MP1T | MP1B | MP2T | MP2B | MP3T | MP3B | +------+------+------+------+------+------+------+------+ | 4 | 7 | 1 | 1 | 3 | 3 | 0 | 3 | | | …

Member Avatar for selvaganapathy
0
95
Member Avatar for kahaj

I'm trying to create a menu that only drops down when moused-over and collapses again on mouseout. It seems to be working fine except for one thing. When the page loads, it's automatically expanded in all five sections. Once the top image is moused over, it collapses and works properly. …

Member Avatar for rjpaje
0
110
Member Avatar for Gagless

Having trouble understanding how this recursive function works. [CODE]int F( int X ) { return (X<=0) ? 3 : F(X/2)+F(X-3); }[/CODE] I understand the first part, give it a value 0 or less, get back 3, fine. But greater values I don't understand 2 returns 9, 3 returns 9, 4 …

Member Avatar for Gagless
0
119
Member Avatar for Suhacini

Hi, I want to make a site which compares prices of a product from different brands.I wanted have something like By Category, By Brand, By Store, Best Deal, Gift Deal.Do I need to create different tables?or is it enough if I create 1 table?Can you please tell me how to …

Member Avatar for Ole Raptor
0
127
Member Avatar for ps02.psp

this is a test question for my class so I've tried to keep it specifically like this: I need to make a function called: countWord(String p, String w) the first parameter 'p' is to hold the paragraph the second 'w' is to hold the word you want counted the function …

Member Avatar for VernonDozier
0
109
Member Avatar for maxmave

Hello All, How to replace a string in nth line of a file using sed or awk. For Ex: test.txt Line 1 : TEST1 TEST2 TEST3 Line 2 : TEST1 TEST2 TEST3 TEST4 Line 3 : TEST1 TEST2 TEST3 TEST5 Line 4 : TEST1 TEST2 TEST3 TEST6 Line 5 : …

Member Avatar for ghostdog74
0
351
Member Avatar for antwan1986

Hey everyone, I'm making a login system (in an attempt to advance my PHP knowledge). I've successfully made a system which registers the user (and uses md5 on their password), and also a login page which queries the database on the login info they supply (with the supplied password also …

Member Avatar for antwan1986
0
148
Member Avatar for &rea

Hello, I am working with images and I have got a problem. I have this method and I want it to return an array of unsigned ints. I have not got problems of compilation but it does not work properly. Could anyone help me? Thank you in advanced. [code] unsigned …

Member Avatar for Duoas
0
169
Member Avatar for danishbacker

Hi. im a beginner in php, following is my site [url]http://www.peipians.com/[/url] i want you people to check it help me by suggesting any modifications... plzzzz :)

Member Avatar for ryan_vietnow
0
116
Member Avatar for rickprospers

During the execution of a package listener, I am trying to call a web page with embedded query strings to execute a task in .cfm... The code below is a snippet from the original code to simplify the discover of the error. I have been struggling to get this simple …

Member Avatar for rickprospers
0
197
Member Avatar for Extremus

Hey A friend of mine and I, wants to start to develop software in C++, but we can’t seem to find any information about creating software, yes we have read several online tutorials and 2 books, but all the stuff we have been reading is all about console applications, which …

Member Avatar for Ancient Dragon
0
135
Member Avatar for Catherinedally

[code] Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub …

Member Avatar for Catherinedally
0
209
Member Avatar for JA5ONS

just wondering if there is anything in python to give the date automaticly, just like excel has =today() cheers.

Member Avatar for lllllIllIlllI
0
151
Member Avatar for fedderico10

Hello everybody, ive been looking for an answer to this basic (i thing) issue: Im making a class to read a XML file but the compiling errors are driving me crazy, i cannot figure out how to solve this problem, so here is the code if anyone can help me: …

Member Avatar for fedderico10
0
662
Member Avatar for Potty391

Hi everyone, I just started working with Python and programming in general (i chose it as a school subject for this year) and i received a task(scroll a bit more down).. since im a total newbie with Python in general.. i was hoping someone could please explain this task in …

Member Avatar for woooee
0
100
Member Avatar for ranasingh1984

Hi guys I am currently revising but I am having difficulty normalizing the project table below. I can achieve first normal form. but when I try to normalize to work out 2nf I get confused. The table does not come out clearly below so I have attaced a word document …

Member Avatar for tesuji
0
155
Member Avatar for ToHa57

Hi guys Just a simple question from a newbee.. In VB.net I can use "dim t as new timer" in a windows application, but not in a wpfbrowser application. It says that "Typ timer is not defined" anything else in the program seem to funktion. Please if anyone have a …

Member Avatar for ericstenson
0
280
Member Avatar for plusplus

I have a horizontal menu. I want there to be space to the left of first item like there is to the right of last item. How would I do that?

Member Avatar for ericstenson
0
84
Member Avatar for foundsheep

I'm not sure why but my form is not sending the info. I'm able to get the email but all the fields are blank. When I submit the form I get my echo message. Any help is great, thanks. Form: [CODE] <form action="sell_process.php" method="post"> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td …

Member Avatar for Ole Raptor
0
115
Member Avatar for beelzibub

package chessbuard; import java.awt.*; import java.awt.event.*; import javax.swing.*; //import javax.swing.event.*; import javax.swing.border.Border; class ChessBoard extends JFrame implements MouseListener, MouseMotionListener { GridLayout Board = new GridLayout(8, 8); int drag1, drag2; int xMove, yMove, labelw, labelh; JLabel label; String[] manrow = {"Pawn0", "Pawn1", "Pawn2", "Pawn3", "Pawn4", "Pawn5", "Pawn6", "Pawn7"}; String[] manrowx = …

Member Avatar for Alex Edwards
0
149
Member Avatar for kllera

how can I get the remaining weight, without using the int modulus? The problem is solving how many widgets are on the pallet, and inputs are the total weight and the pallet. In the program, ONEWIDGET is the weight of a widget. since the input can put any random number, …

Member Avatar for Radical Edward
0
190
Member Avatar for art vandelay

I've been searching like crazy for this but can't find anything in C#/VB.NET. I want to show off a DateTime as a "x days x hours x minutes x seconds ago" string, so I'm looking for a function that calculates the time difference between a DateTime and the current date …

Member Avatar for Ramy Mahrous
0
616
Member Avatar for funtoosh

I'm trying to make a PhotoAlbum using JApplets.I write a Java code for it and then compile to make a .class file and then made a html file in the same directory which have .class file.But while running it on Web -Browser it doesn't load the applet and shows that …

Member Avatar for Ezzaral
0
178
Member Avatar for SubProf

Hello, I have a richtextbox which I write lines of data to. However, everytime a new line is written to the richtextbox it overwrites the last line of data so therefore after the progam runs only the last line of data is displayed in the richtextbox. I need the lines …

Member Avatar for SubProf
0
138
Member Avatar for tejalrupera

Hi I am developing a window based application in C#.net. In this app i have to sync between flash and c#. For this i have added Shockwaveflashobjects.dll from com component. I got idea of this via this topic [URL="http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx"]http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx[/URL] Now when i am make a call from c# to flash …

Member Avatar for Jx_Man
0
157
Member Avatar for rysin

Ive been working with perl for a while now and was wondering how and if I could get started in making my perl code do real life things like flip a switch. Any help is appreciated.

Member Avatar for ithelp
0
86
Member Avatar for Jennifer84

I have a problem with a sort I am trying to do with a std::vector. I am doing an example below where I push_back some strings like this. I know I have to use a comparator for this, that I have called:[B] "compare_on_asscending_value"[/B] The problem is that I am not …

Member Avatar for Jennifer84
0
418
Member Avatar for keshari

Hi All My current code is executing system commands through java programme,like “dir”,”date” itc.Whenever I run the code the desired output comes.But when I am running the code continuselly then lots of command prompt open regularlly. Is there any way to stop the code from execution untill unless the command …

Member Avatar for PoovenM
0
110
Member Avatar for mshah2

I need to open a huge file in GBs to be precise in java. Can this be done. I need to actually break the file in 4kb chunks and compress each chunk separately . Can i do this in java. Will it create any memory out of bound error for …

Member Avatar for mshah2
0
77
Member Avatar for paolomontero

Hi, Im writing a program in Turbo C but i also want to use some assembly functions, for this im using nasm. This is my assembly code: [CODE=ASM] BITS 16 GLOBAL _Add4 n_Add4 equ 4 _Add4: push bp mov bp,sp mov ax, [bp + n_Add4] add ax, 4 mov sp,bp …

Member Avatar for xrysf03
0
468
Member Avatar for viperwarp

I've been running around like crazy trying to find anything on this problem and so far have found nothing. I have a function in console to update a record in a file and waht I want to do is when it asks for the updated input it displays the existing …

Member Avatar for Nick Evan
0
112
Member Avatar for Traicey

Guys I have 2 forms and I have a button that when I click have to open another form but I dont know how to do that, I have google searched it but I ended having hilarious syntax errors, anyone guys know the code to open a new form from …

Member Avatar for Traicey
0
63
Member Avatar for sam1

Hi, i have two textboxes one for month(2digits) and one for year(4digits). i want to validate them so users cannot input dates in past. what would be a better way of doin this. ps. it is for winforms thanks

Member Avatar for Jx_Man
0
111
Member Avatar for Scruffstone

Hi All, I'm new here so apologies if there's something not quite done right in my first post on here. I'm fairly new to Perl but this is the first bit I've tried to write at home on my own. I want to have a .pl file that runs in …

Member Avatar for Scruffstone
0
150
Member Avatar for richo.mw

Hi There, I am experiencing a very weird problem with a visual basic.net program I am creating. The app uses an access database. Note: I am an Australian user so use date format dd/mm/yyyy Problem: my frmMain has a list box that retrieves a list of date values from the …

Member Avatar for richo.mw
0
167
Member Avatar for Vity

I Have visited a dozen of websites and registered with them but still none of them has helped me with my problem. I got a php script that i created that sends the results to a specific email address but the problem is that the attachments are not still working …

Member Avatar for Vity
0
452
Member Avatar for C41R0

[CODE] . . . . button1.setIcon(pic1); button1.setToolTipText("Open File"); toolBar.add(button1); button2.setIcon(pic2); button2.setToolTipText("Save File"); toolBar.add(button2); button3.setIcon(pic3); button3.setToolTipText("Help File"); toolBar.add(button3); gbc1 = new GridBagConstraints(); // c.insets = new Insets(2, 2, 2, 2);; gbc1.weighty = 1.0; gbc1.weightx = 1.0; gbc1.gridx = 0; gbc1.gridy = 0; // gbc.weightx = 30.0; // gbc.weighty = 30.0; // …

Member Avatar for C41R0
0
93
Member Avatar for Suhacini

I have problem with page navigation.My problem is that am getting all the records in one page. $rowsPerPage = 10; I have 30 records, all are showed in one page...not the 10 records.Here is my code. [code] <?php include ('conn.php'); // how many rows to show per page $rowsPerPage = …

Member Avatar for Suhacini
0
220
Member Avatar for sbv

hi friends, i need your help in my project. i need to group my dropdownlist data. can anyone help me to get "optgroup" functioning in asp.net 1.0 using vb.net

Member Avatar for ra00l
0
678
Member Avatar for joesmithf1

[COLOR=black]Hi I have been pulling my hair out trying to figure this out. Please help!!! Here is my project description: By using a pointer to pointers **A and **B and the function calloc() allocate the memory for the 4x4 matrices A[][] and B[][]. By using the pointers *a and *b …

Member Avatar for Necrolis
0
145
Member Avatar for ambarisha.kn

Hi, How to do arithmetic and relational operations using Standard Template Library.(STLs). Could any one please guide me regarding this. I am new to Standard Template Library.

Member Avatar for mitrmkar
0
279
Member Avatar for pranav_jog

how to link css stylesheet file which is stored in database in asp.net please give me complete example

Member Avatar for pranav_jog
0
119
Member Avatar for Pavlos1316

Hi all I have a checkboxes form. How can I get the results displayed (in a new window lets say) when submiting it? Thank you P.S. I care about getting results displayed part.

Member Avatar for Pavlos1316
0
87
Member Avatar for lahom

hi i have created adialog based application where each of them call the other using DoModal(). my question is : if Dialog A is in some position on the screen and then called Dialog B...i want for Dialog B to take the same exactly position as Dialog A .(to be …

Member Avatar for mitrmkar
0
335
Member Avatar for Suhacini

Hi, I wanted to display data which is in my db.The format of displaying must be in a div, in that div 3 columns & each column must have 10 rows.Am using this: [code] while($data = mysql_fetch_array($result)) { echo $query; echo ' <tr> <td colspan="3" > <a href="'.$data['MedName'].'" >' . …

Member Avatar for Suhacini
0
122
Member Avatar for grommet2481

Im trying to align my screen ouput. At the moment Ive been using setw and \t. They don't seem to line up correctly. I dont know why the first one hasn't got the got the correct alignment or y its different from all the others. My program is pretty complecated(well …

Member Avatar for Sky Diploma
0
92

The End.