43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for aniperiye

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#
Member Avatar for skatamatic
0
3K
Member Avatar for ryklon

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
Member Avatar for ryklon
0
1K
Member Avatar for easygi

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 …

Software Development mysql vb.net
Member Avatar for easygi
0
213
Member Avatar for amf101

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
Member Avatar for codeorder
0
248
Member Avatar for jigglymig

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++
Member Avatar for BlueSky2
0
126
Member Avatar for knnchau

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
Member Avatar for knnchau
0
200
Member Avatar for skannigan

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
Member Avatar for skannigan
0
170
Member Avatar for radiat

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++
Member Avatar for radiat
0
126
Member Avatar for dwiniers

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
Member Avatar for dwiniers
0
123
Member Avatar for python-noob

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
Member Avatar for ihatehippies
0
248
Member Avatar for Walther1366

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
Member Avatar for Walther1366
0
180
Member Avatar for tahsin.rahit

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 …

Software Development algorithm c++ queue
Member Avatar for mike_2000_17
0
252
Member Avatar for cisumma

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 …

0
149
Member Avatar for aishapot

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) …

Software Development image mssql vb.net
Member Avatar for aishapot
0
964
Member Avatar for kww228

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
Member Avatar for zalia64
0
179
Member Avatar for JustineAubrey

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
Member Avatar for JustineAubrey
0
254
Member Avatar for Gaiety

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
Member Avatar for Gaiety
0
152
Member Avatar for Labdabeta

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++
Member Avatar for Labdabeta
0
305
Member Avatar for mweshk

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++
Member Avatar for DJSAN10
0
118
Member Avatar for laghaterohan

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
Member Avatar for vongkol
0
607
Member Avatar for krejar

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
Member Avatar for DavidKroukamp
0
131
Member Avatar for butler273

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++
Member Avatar for subith86
0
154
Member Avatar for thejoker011

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..!!

Software Development api java
Member Avatar for thejoker011
0
222
Member Avatar for Aarowaim

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++
Member Avatar for Aarowaim
0
274
Member Avatar for saneeha.nust

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
Member Avatar for saneeha.nust
0
233
Member Avatar for biojet

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
Member Avatar for biojet
0
178
Member Avatar for sushanttade

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
Member Avatar for Reverend Jim
0
218
Member Avatar for CY0T3R

/*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
Member Avatar for CY0T3R
0
221
Member Avatar for randrum1707

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" …

Software Development c++ ios
Member Avatar for randrum1707
0
1K
Member Avatar for Tobyjug2222

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
Member Avatar for codeorder
0
251
Member Avatar for strizh

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++
Member Avatar for Topi Ojala
0
222
Member Avatar for hughesadam_87

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
Member Avatar for hughesadam_87
0
1K
Member Avatar for sloshymon

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
Member Avatar for sloshymon
0
3K
Member Avatar for moroccanplaya

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?

Software Development python tkinter
Member Avatar for woooee
0
124
Member Avatar for yongj

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
Member Avatar for nitin3
0
3K
Member Avatar for myk45

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++
Member Avatar for myk45
0
208
Member Avatar for emclondon

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
Member Avatar for JamesCherrill
0
281
Member Avatar for Lucaci Andrew

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
Member Avatar for Lucaci Andrew
0
616
Member Avatar for stereomatching

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++
Member Avatar for stereomatching
0
147
Member Avatar for DelphiGuy

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
Member Avatar for DelphiGuy
0
156
Member Avatar for alexbnc

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++
Member Avatar for alexbnc
0
94
Member Avatar for ccoder83

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 …

Software Development c++ opengl
Member Avatar for ccoder83
0
840
Member Avatar for poojavb

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
Member Avatar for poojavb
0
275
Member Avatar for Ungodlyrich

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
Member Avatar for newlearnerIV
0
9K
Member Avatar for LearnVBnet

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

Software Development listview vb.net
Member Avatar for LearnVBnet
0
121
Member Avatar for Joey_Brown

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 …

Software Development algorithm java
Member Avatar for Joey_Brown
0
140
Member Avatar for FrodoBaggins

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
Member Avatar for codeorder
0
126
Member Avatar for Shodow
Member Avatar for Shodow
0
1K
Member Avatar for wonderlandslost

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
Member Avatar for wonderlandslost
0
336
Member Avatar for pushpat

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++
Member Avatar for pushpat
0
341

The End.