64,152 Solved Topics
Remove Filter ![]() | |
Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed. | |
Hi:) How can I scroll the report in runtime by mousewheel. I am using VB6 (SP6) and for reports I am using VB report control. | |
This is such a basic question, I'm almost embarassed to ask it. How do I loop through seleted rows in a DataGridView and remove the rows? I've tried this, but it doesn't work. After one row is removed, the index is all screwed up... [CODE] iIndex = dgvRecipe.Rows.GetNextRow(-1, DataGridViewElementStates.Selected) While … | |
Hello! I'm still on my long run of selfteaching... My current problem is this: I have a form and I have in it three textboxes, 1 button and 1 datagridview; I also have an access database. I can retrieve the data from the dtabase and add it to the datagridview. … | |
Hello :) I have got to the stage where I get the user to make a choice from one radio button list, press submit and then they are taken to another page with a hyperlink that then takes them to their choice. The problem that I have now is that … | |
Before people go why would i want to create an array of size 0 - this is due to writing a test program. at the moment i have two diffeent ways of doing - not sure which one is even slightly correct 1.[CODE]uint8_t * BufferB = new uint8_t[0]; uint8_t* p; … | |
I am using this code to to generate a crystal report from aa sql string that i construct using a supplied table name and some column names in txtSQL.This code contains functionality to export to ms word.However when the save dialog comes up and the user enters the intended filename.and … | |
Hi All, Im running a script that goes 3 deep on parentheses, and then needs to change database at the deepest level. Im having trouble switching to that database in an if else query. any help would be appreciated [code] function getElement1(){ $con = mysql_connect('localhost','uname','pword') or die (mysql_error()); $authenticate = … | |
[code] #include <stdio.h> #include<stdlib.h> int **matrix_mul(int **m1,int **m,int a,int b,int c,int d); main() { int i,j,r1,r2,c1,c2,**p,**q; printf("Enter the number of rows and columns of first matrix :\t"); scanf("%d%d",&r1,&c1); printf("Enter the number of rows and columns of second matrix :\t"); scanf("%d%d",&r2,&c2); //memory allocation for m1 int **m1; m1 = malloc(r1 * … | |
Hi, here is a class with the methods that i have created: [CODE]class BlackCheckAlgorithm { bool checkCheckMeh; string checkOrpiece; bool checkOrPiece; string chessPiece; bool checkSafe; int kingRow; int kingColumn; int blackkingRow; int blackkingColumn; bool dynamicCheckBlack; int whitekingRow; int whitekingColumn; bool dynamicCheckWhite; bool mate; int kingRow2; int kingColumn2; bool pieceDoesntCollideKing; bool … | |
hi, i am having problem in making thumbnail of video. it is not working properly here is my code plz help [CODE]$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/admin/ffmpeg'; $image=$_SERVER['DOCUMENT_ROOT'].'/admin/video/thumbs/'."$id.jpg"; $video =$_SERVER['DOCUMENT_ROOT'].'/admin/video/'."$uname"; $cmds = "$ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -s 100x90 -vcodec mjpeg -f mjpeg $image 2>&1"; exec($cmds);[/CODE] thanx in … | |
I have spent all of yesterday and this morning trying to think of how to do this, and I am still stuck. I don't understand how I can take a std::vector<char> (bytes) and extract values from it by combining the bytes. I have read everything that people have posted but … | |
hi all........ file1 99 root S 5176 95 [B]41.2[/B] 8.3 snmpd file2 99 root S 5176 95 [B]1.0 [/B] 8.3 snmpd i want to caluculate difference between two files fifth column(i.e bolded columns as mentioned above).. thanks in advance...:'(:) | |
I have two codes in C and in Python. They gave me different results. Can anybody explain how they works, why I get different results? Thank you in advance!!! In C: ----------- #include <stdio.h> int main() { int a = 100; printf("%d = %02x\n", a, a); a = ~a; printf("%d … | |
Hi, how i can find the last element of arraylist. | |
how can I select one or more columns from a table by column-index and NOT by columnname? I got the columnIndices of table by using this query SELECT name, colid FROM sys.syscolumns WHERE (id = (SELECT id FROM sys.sysobjects WHERE (name = 'table_name'))) | |
Okay, I was given a picture in bitmap format and a very brief explanation on seekp and seekg. And was told to write a program. I am supposed to make overwrite the image as its own negative and output in binary. I don't know where to even start, I know … | |
Using C++/CLI-- Is there a good way to return a value (not a DialogResult) from a form shown as a dialog? I plan to use Invoke on a method to update the previous form from within the dialog, if not. I also would like to thank the fine members of … | |
how can i display all the account numbers that have been entered. it only shows the last account number entered, not any before it. heres the code- [code] #include <iostream> using namespace std; int main() { double deposit; double previous; double newtotal; double withdraw; int total; int number; int res; … | |
Hello So I have a simple structure : [CODE] struct students { char name[30]; unsigned int noofcourses; char course[50]; char status[30]; }arr[50]; //50 students [/CODE] I would like to know is how could I read multiple courses in per student from memory.[CODE]Example: Joey Brown 4 Math$Chem$Phy$Cooking Enrolled m8!! [/CODE] So … | |
Hi everyone! My boss is using a Java program called Animal Shelter Manager, which stores all images as BLOBs (Binary Large OBjects) in the database. She needs me to put all of those pictures she has stored on the shelter's website. I look at them in the database, and they … | |
I'm writing a simulation in population genetics and am having a problem setting up the initial population. The problem boils down to this... [CODE]int test[1][1][1]; test[0][0][1]=1; test[1][0][0]=2; printf("test: %d\n",test[0][0][1]);[/CODE] Why does this print 2? I feel like it should print 1. I've searched forums for an answer, but haven't been … | |
Hello out there, I am trying to compile some simple code but am running into a weird error that I can not figure out terminate called after throwing an instance of 'std::ios_base::failure' what(): basic_ios::clear Aborted This is happening when I do an Infile>> read in the code below. What I … | |
.olddiv { overflow:visible; background-color:#1D41A4; padding-right: 10px; padding-bottom: 20px; padding-left: 10px; } <div id="old" class="olddiv"> My text that overflows is visible but it does not have the div's background color. How do I get it to keep the background color? | |
Hi, I'm making a simple utility for browsing an intra-net site using VB.net webbrowser and for reasons outside my control, everything requires a passcode to be accessed. So, for example, [CODE]Index.html[/CODE] is blocked by the company server but [CODE]Index.html?pass=123456[/CODE] is allowed. Is there a way to get the web browser … | |
Hey, so I'm creating a program that creates a SHA512 hash. I have a problem though. I try to encrypt the word 'test' and I get this encrypted hash as: ?&??J??I???? ???a??w.G????? ?z???????O????{72??_???oW? Which isn't a SHA512 hash. Here is my code so far, maybe you can help me. [CODE=VB.Net] … ![]() | |
Write a program that simulates an Internet connection error. Display a MessageBox that notifies the user of the error and provide three buttons: abort,retry, and ignore. If the user chooses Retry, display a message indicating the connection succeeded. If the user choose Ignore, display a message indication that the user … | |
I'm very new with this. I need to make all of the random images below link to the same page. In other words I need to add a 'hotspot' to this script. The code below is how far I've got: [CODE]<?php $img_array = glob("images/Coupons/*.{jpg}",GLOB_BRACE); //Pick a random image from the … | |
WHAT I WANT FROM THE FOLLOWING CODE IS THAT IF CONNECTION IS OPEN THEN SWITCH USER TO LOGIN FORM IF CONNECTION IS FAIL TO OPEN THEN SEND USER TO CONFIGURATION FORM WHERE THE NEW PATH FOR DATABASE CAN BE DEFINED. IN THE FOLLWING CODE IF I REMOVE THE DATABASE FROM … ![]() | |
Hi there) Tell me please -is there any picturebox method to redraw it in C # ? Thanks in andvance.....) | |
Hi! Could someone please give me any idea on how to add a background image to JInternalFrame without subclassing. Below I provide a code snippet, but the line [ICODE]jif.setBackgroundImage(backImage);[/ICODE] is incorrect. Please, help me to fix this error. But I don't want to create a subclass, e.g. MyJInternalFrame. Thanks! [CODE] … | |
Hi there, I am creating reports in SQL server business intelligent studio and when I deploy it to the report server the report is shown in only on a half a page. How can I make the report height and the width for the report thanksssss | |
Am I correct assuming that a reference to an object will not call the object's destructor when the reference goes out of scope? The code I attached supports my assumption but I'm not certain if its correct...Any comments? [code] #include <iostream> class myint { public: myint():itsvalue(0) {} myint(unsigned long val):itsvalue(val) … | |
I have the following program : [CODE] #include<iostream> #include<string> #include<conio.h> using namespace std; template <class T> class matrice { T **a; int m,n; public: matrice(); matrice(int,int,int); matrice(char *); matrice(int,int,T **); matrice(matrice &x); ~matrice(){}; template <class U> friend ostream &operator <<(ostream &,matrice<U> &); int getNrLinii(){ return m; } int getNrColoane(){ return … | |
Hi, I have created a system where users can follow another user, I am currently querying the table to display who is following who. I have two queries as shown below: [code=php] // followers query $query = "SELECT * FROM friends WHERE friFriend='$view'"; $result = queryMysql($query); $num = mysql_num_rows($result); // … | |
I've changed some of the code but the animation plays when you keep pressing the space bar. I want it to animate my bullet across the screen just by pressing the space bar(not by pressing the space bar mulitple times). Thank for your help! *Note: the old code was posted … | |
Hi, I'd need a function where an optional argument takes on the value of another argument when it's not specified. I'd like to be able to write: function some_fun ($a, $b, $c, $d=$b) { ... However, this is not correct PHP syntax. I'd really like it to be, and may … | |
Hi, I want to send no emails with attachments.But i dont know anything about sending emails.Im using windows 7 visual studio 2008. I was looking for help on internet. According to them I installed IIS.I think it is IIS 7. How to check the version of IIS? Also smtp is … | |
Hi I Have a form that contains around 30 Labels and 30 Pictureboxes. I have a piece of code that on form load that steps through the labels and changes the text to a file name from a directory. This all works fairly well however: I need to be able … | |
I would like to copy and paste special values in excel using VB6 during report generation. But pastespecial is not working. Its throwing error 1004 Paste Special method worksheet failed. Below is the code. can you please advise [CODE]xlTmp.ActiveSheet.Range("H7:H23").Select xlTmp.Selection.Copy xlTmp.Sheets("Consolidation").Activate xlTmp.ActiveSheet.Cells(6, 4).Value = P(N) xlTmp.ActiveSheet.Cells(8, PS).Select xlTmp.ActiveSheet.PasteSpecial xlPasteValues, xlNone, … | |
Hi, I just want to ask a simple question.. hopefully. I use package and deployment wizard to create my software's installer. My software can be run by using a lot of pictures and document that because it contains millions of pictureboxes. Those pictures must be located in the same folder … | |
Hello. I am having trouble with my menu and buttons (which are just pictures that change when you scroll over them). One of my buttons works perfectly, but when I coded the rest in the same way (at least I think so) they dont work. Sorry for the long code. … | |
I am having issues with the compiler in checking to see if a piece of a string is empty or not. I have a feeling this is simple, but today has not been my day with this code, but I am still doing my best. Ty tableRow is a std::vector<std::string> … | |
internet explorer shows blank page of my website im working on the website works fine on firefox but in internet explorer all im seeing is a blank page..... here is the link of the website also in local computer its not working why??? [url]http://www.deezmedia.net/dev_projects/karaoketalent/index.html[/url] thanks in advance.... here is the … | |
My SQL isn't the best. Here's my situation: My table consists of three fields. I'll call them A, B, and C (for simplicity). For each A, there should be only one B-C combination. No matter how many times A is in the table, it should always have the same B … | |
I imported a picture onto another picture and I am wondering how to get rid of the white around the smaller picture. | |
when the space key is pressed then the menu apears, but when you press the resume button (cont) then the menu should dissapear, but it doesn't. please help. Thanks [code]// The "ArrowKeys" class. import java.applet.*; import java.awt.*; import java.awt.event.*; public class ArrowKeys2 extends Applet implements KeyListener, Runnable, MouseListener, MouseMotionListener { … | |
Hi, I am studying to become a software developer. This year is the last year of school and to pass i need to create a System myself. I know C# very well not as good as java. I wish that the software project will be programmed with C#. What ideas … | |
Hi, I'm very new to C++ and am trying to write a class to model affine transformations. I have written code for a 3x3 matrix and am now trying to write code for multiplying it by (x,y,z) where z=1. My problem is I can't return the two values for the … | |
I wrote this script that enables user to send a search to a library catalog and/or a group of article databases. [URL="http://unixweb.kutztown.edu/~rjens816/php/twinsaltbox.htm"]It works roughly as hoped[/URL] in IE and in Firefox, [B]but[/B] in Safari and in Chrome it refuses to send two searches simultaneously (the third button on the prompt … |
The End.