43,549 Solved Topics
Remove Filter ![]() | |
hi, i want to lock a folder, contains an decrypted video file. Along with this i want to play this file using windows application. But no one can copy or cut this file while playing. Is there any method to develop this? Here actual scenario is need to play a … Software Development c# | |
Hello! I'm making a fading splash screen for a software but I can't seem to make the splash screen fade in and then fade out. It only fades in, fades out a bit then stop. Here's my code. Thanks in advance! [CODE=VB.NET]Private Sub frmSplashScreen_Load(sender As Object, e As System.EventArgs) Handles … Software Development vb.net | |
I have this code which saves the dump file in a static path or destination [CODE] Process.Start("C:\xampp\mysql\bin\mysqldump.exe", "-u root ipoint -r C:\Backup\ipoint.sql") MsgBox("Backup Database Created")[/CODE] I want to choose the path by using the folder browser dialog which will put the path on a textbox but this code below doesn't … | |
Hi, Guys, please help me, I need your help. I wanted to identify the conflicted schedule of each of the section. If there’s conflict then the two or more subjects that are conflict will be colored to make then noticeable. They are in datagridview. I don’t know what’s wrong but … Software Development vb.net | |
my problem is that when I try and run it it says 'SortedList' : cannot instantiate abstract class due to following members: 'bool BasicADT::isEmpty(void) const' : is abstract ...and... 'int BasicADT::getLength(void) const' : is abstract can someone please tell me what I am doing wrong with my getLength and isEmpty. … Software Development c++ | |
Hi, I'm pretty new to python, just started 2 weeks ago xD, and new to forum too, I tried to search to see if there were any other question that was similar to this but couldn't find one. Therefore, I apologize if there's already another thread with the similar problem. … Software Development python | |
Hi, i want to write from one file to another. i managed to get the file to write but not in the way i expected it too, there is more to the program but for now i just need to know how can i mirror one file... My input file … Software Development c++ file-system | |
Just studying dynamic memory at the minute. I understand the idea of having dynamic memory for arrays so you can set the length of them within the running of the program. But what is the point of dynamic memory for a single type? If i set an 'int' up to … Software Development c++ | |
SQL = "SELECT * FROM tbldes WHERE Category LIKE '%" & Replace(Trim(Text1.Text), "'", "''") & "%' ORDER BY category" rs.Open SQL, cn, 2, 3 use of this sign(%) anybody can explain me, what is the use of this code? br Software Development sql visual-basic | |
I have a problem that I have been working on. I felt like I was getting close just to find out with wasn't the 100% correct way of doing it. What I need to do is take a list of names from a file in the format last, first, middle. … Software Development python | |
Hello All Here is my problem : I have 3 variables 1. month 2. year 3. day all three of those variables have numeric values for example month = 04 year = 89 day = 17 I want to display it like this : 17 Apr 1989 Here is what … Software Development | |
This code is giving me runtime error. Here, first I want to take a integer input which determine the number (n) of nodes in the graph. Then for n-1 time I want take two integer input which will give the adjacency information. [CODE] #include <set> #include <map> #include <list> #include … | |
Hello. I have a Java Desktop App. I am trying to code to capture properties or db fields to send emails. Please find specs below. Please find the example word doc attached that I am trying to engineer. JavaMail quick start.doc I can not make heads or tails of how … Software Development apache api engineering http-protocol ide java java-netbeans microsoft-access microsoft-office session web-design | |
I have to save 4 different pictures in my database. NSO, GoodMoral, ReportCard & TOR. Here is my code. [CODE] Sub savepic() Dim str As String = "My connection" Dim con As New SqlClient.SqlConnection con.ConnectionString = str Dim ms As New IO.MemoryStream() nsopic.Image.Save(ms, nsopic.Image.RawFormat) goodmoralpic.Image.Save(ms, goodmoralpic.Image.RawFormat) repcardpic.Image.Save(ms, repcardpic.Image.RawFormat) torpic.Image.Save(ms, torpic.Image.RawFormat) … | |
Just as the title says I have a question with a program I am doing. I am just starting out using MASM assembly and kind of stuck any help would be great. I need to calculate the sums and differences of arrays that are shown below. The little bit of … Software Development assembly | |
Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first … Software Development sql vb.net visual-basic | |
Hi, I want to print the word that start with h(not case sensitive). i tried with below code but its printing only one charater 'H'. i dont understand the metacharaters and regular expressions much. i understood that $1 will have the first match and $2 will have second match and … Software Development perl | |
I was wondering if there is any way using the mingw g++ compiler to make code that acts like this: [CODE]#define myLanguageBlock(X) doMyLanguageBlock(#X) void doMyLanguageBlock(const char* code){/*this executes the code as if it were in another language, I have already written this function*/} int main() { myLanguageBlock( this is all … Software Development c++ | |
Hi Gurus, I have an assignment am doing. The user should enter details of 5 students and return results on the screen.I have the code below and its return 1 error. Can someone kindly help me.With regards #include<iostream> #include <string> #include <sstream> using namespace std; int main () { typedef … Software Development c++ | |
I have 2 Listboxes say ListBox1 and ListBox2. After unzipping the folder the files are listed in the ListBox1 . Then the user can select multiple files using ctrl button and then click on Add button whereby the users can transfer the selected files to ListBox2 . How can i … Software Development | |
![]() | This is very ugly to look at, but I am having an issue with my array code. What I am trying to do here is add a name element to my Account accounts[]. When I initiate my driver and I pick the create account option, I am getting the output: … Software Development java |
So, as follows I have a basic while loop. It's working fine, however whenever I enter something other than a number or EoF, it goes through the loop one time after I'm wanting it to stop. Say I enter 5, then EoF, it enters an extra 5, so I have … Software Development c++ | |
Hello guys.... i came through a website of "serialio".....[url]http://serialio.com/products/serialport/serialport.php[/url] all i want is the java api which i failed to find. Please help me i need "serialio" java api for serial communication..!! | |
I'm working on a simple program in which the user types a sentence, the program iterates through the string that the sentence in stored in and alternates each letter's case, and then puts the formatted text into the clipboard. I know exactly how to allow input and change case/check if … Software Development c++ | |
I need to create a file with a name of IP address: The code is: string dirAddress = "C:\\FTPTrace\\" + ipHeader.DestinationAddress.ToString() + ".txt"; System.IO.StreamWriter logfile = new StreamWriter(dirAddress,true); It works fine.. But i also want to include current date in the file name... The code is : string dirAddress = … Software Development | |
Hi all, I am trying to make script to find the max value at the number that was decided by user. The data has two colum [fw] and [rw] and I hope I can find the max values of each colum. in put : [CODE] posi (not have in data) … Software Development perl | |
Private Sub login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles login.Click Try Dim con As New SqlConnection("Data Source=SUSHANT-PC;Initial Catalog=USB_APP;Integrated Security=True") con.Open() Dim cmd As New SqlCommand("SELECT username, password FROM admin WHERE (username = '" & username.Text & "') AND (password = '" & password.Text & "')", con) Dim sdr … Software Development open-source vb.net | |
/*PROGRAM TO PRINT SUM OF THE FOLLOWING SERIES - X + X*X/2! + X*X*X/3! + X*X*X*X/4!....n terms. I'm not getting the correct output. eg-for n=3 and x=2; compiler's ans = 4.66 correct ans = 5.3. HELP ME OUT...*/ [CODE]#include<iostream.h> #include<math.h> #include<conio.h> void main () { clrscr(); float x,sum=0; int n,fact=1,j,k; … Software Development c++ mathematics | |
Hello everyone, I'm having a problem with an assignment that I'm not sure how to fix I'm getting the following error: accountdb.cpp:55: error: cannot convert std::string to const char* for argument 1 to int strcmp(const char*, const char*) Here is my header file: [CODE] #ifndef ACCOUNTDB_H #define ACCOUNTDB_H #include "account.h" … | |
Hello, When I go to Debug my program (F5), the program will load, until I click on the form with the main part of code in it, and then the program freezes, although it doesn't lock up because as soon as I press stop debugging/ task manager end process, it … Software Development vb.net | |
Can somebody help me figure out what I did wrong with my default constructor declaration I'm getting an error message no appropriate constructor available Thanks [CODE] TimeOff.h class TimeOff { private: string name; int id; NumDays maxSickDays; NumDays sickTaken; NumDays maxVacation; NumDays vacTaken; NumDays maxUnpaid; NumDays unpaidTaken; public: //default constructor … Software Development c++ | |
I have data which has a very particular format that I'm trying to store in a numpy array. avi_05MSalt00001.txt 2012 Feb 07 20:12:41 50000 (usec) 300 10 I've defined the following numpy datatype: [CODE]timefile_dtype=numpy.dtype([ ('filename', file), ('year', int), ('month', str), #Why don't these work? ('day', int), ('time', str), ('int_time', int), … Software Development python | |
I have a program that calculates the average sales from 3 regions. My problem is that the input is more than half the program, is there a way to reduce the all the input commands? [CODE] static void Main() { while (true) { try System.Console.Write("Enter sales for region1: store 1: … Software Development | |
hi i want to know how i would display i file that has been open and read into the tkinter text widget do i have to write it out the file to a variable than insert it into tkinter text widget? | |
I'm trying to validate the correct format for a phone number in a text box: (000) 000-0000 For a test, i made it so that a messagebox shows up saying "correct" if the format is correct. This test works well WHEN the format is correct. BUT when the format IS … Software Development smartphone vb.net | |
Hello, I'm trying to use the compiler optimizations for GCC 4.3.3. I used the following [URL="http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html"]LINK[/URL]as a reference. I'm mainly using the O2 and Os levels of optimizations. Could anyone please let me know if the order in which the options matters? Thanks in advance! Software Development c++ | |
Hello Guys, I'm trying to use a Thread Pool Executor in my application and I'm kinda stuck somewhere. My aim is to create a pool of fixed number of threads (say 10) waiting in the pool to be called for action (say to print hello); I'm still bad at java, … Software Development java | |
I have this code, it's basically a program which I wrote, a 'Guess my number' game. The only problem is that I did something, and now I can't choose from my options anything else, that the first option. I put all my conditions in the while True loops, and now … Software Development python | |
I am studying the source codes of SGI STL and have many problems with it. I can't figure out the design choice of the iterator of SGI STL as follow [code] template <class _Tp, class _Ref, class _Ptr> struct _Slist_iterator : public _Slist_iterator_base { typedef _Slist_iterator<_Tp, _Tp&, _Tp*> iterator; #1 … Software Development c++ | |
Basically I have a object class like this: [code] Type TSomething = Class Private Blah : Integer; Public Procedure DoSomething; End; Type TSecond = Class(TSomething) Public Procedure DoSomethingNew; End; [/code] [code] Procedure TSecond.DoSomethingNew; Begin ShowMessage(IntToStr(Blah)); End; [/code] ...and the code to call the classes is: [code] Try Something := TSomething.Create; … Software Development pascal | |
![]() | Hello, I am going crazy with this application. I am trying to re-size and re-position all the window's controls as I re-size it and I don't get the expected result. I have my application source code here: [URL="http://www.devimperium.info/ResizeTest.zip"]http://www.devimperium.info/ResizeTest.zip[/URL] I create the project with CodeBlocks Please, give it a try and … Software Development c++ ![]() |
Hi, I have a grid, which contains cells that have several different properties. [CODE]struct fluidProperties1 { float foo; float bar; };[/CODE] and I create the grid as follows using a template [CODE]Grid2D<fluidProperties1> grid1;[/CODE] Now, I want to pass the array formed only by the values of foo, and not by … | |
Hello Friends, Please help me in this.... I have created a project in VB.net and its working fine in my machine. But when I provide the exe to my senior to test it shows the initialization error. I came to know the reason that the error is because the microsoft … Software Development vb.net | |
I wanted to create a simple table by printing lines in between my values with a header at the top and my numbers left justified. However, when I get to a ten digit number or larger, my code seems to break and my count variable goes to zero as far … Software Development c | |
I have Listview1 and listview2 After from listview1 focus to listview2 ex: row 20 keydown listview2 not go to row 21 but go to row 1, also keyUp not go to row 19 but go to row 1 any one can help, what to do Thanks | |
Hello; What would be the most efficient way to get all of the 2^24 network identifiers for the given A class IP address. I am aware it is a very stupid question, and a inpractical one for that matter but thank you for any input. Im trying to speed up … | |
Hi I'm having some problems with an array i have in the definitions [CODE]Dim x(4)() as string[/CODE] then when it comes to my assignments I have [code]x(4)(ss) = (TextBox5.Text)[/code] but it throws an exception (Null Reference) Can anyone help me with this? Thx in advance Software Development vb.net | |
how to enable my button if all the required textbox is not null | |
Hello! So I've been working on a 1D array that represents a school bus that can hold up to 10 children. The array needs to have names put into it in the first available 'seat'. I've constructed code to do so, but something seems to be wrong. The findFirstEmpty method … Software Development java | |
Hi folks, I am learning operator overloading concept in c++, wrote sample program to test overloading of unary operator '!' and '-'. Code will work if i use them as friend function but not for member function. Can anybody tell where am i going wrong in function bool operator!(const co_ordi … Software Development c++ |
The End.