199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
[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 … | |
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[] … | |
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 | |
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 | | | … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 : … | |
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 … | |
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 … | |
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 :) | |
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 … | |
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 … | |
[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 … | |
just wondering if there is anything in python to give the date automaticly, just like excel has =today() cheers. | |
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: … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 = … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
[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; // … | |
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 = … | |
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 | |
[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 … | |
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. | |
how to link css stylesheet file which is stored in database in asp.net please give me complete example | |
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. | |
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 … | |
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'].'" >' . … | |
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 … |
The End.