132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kjklls

hey guys, i'm currently working on a project, i have a tabbed panel and i've put a timer on the 1st tab panel. what i want to do is for the timer to remain enable even if i change tabs. what could i possibly do for this problem? thanks

Software Development vb.net
0
145
Member Avatar for stackOverflow

Hi, I have a problem. I have put up an image on a form of .jpeg format.(copy and pasted).. But when i save it... it works fine at home.. .when i copy it on a cd... it is not saving the background image. Rather ... when I try to open …

Software Development image visual-basic
Member Avatar for sonunclejalil
0
6K
Member Avatar for Sanjeetjmp
Member Avatar for mike_2000_17
0
117
Member Avatar for chubbyy.putto

I am creating 30 random from last function and the last function have pass the information to this one. I am using the bubble sort because i want to make a mode. But mode is not idea here. Anyway, it run but it show some crazy output. Here is the …

Software Development c++
Member Avatar for chubbyy.putto
0
260
Member Avatar for WafflesAndCream

I am stuck on getting my program working, basically i am building a elevator simulation with multiple elevators which move simultaneously so i decided to use threads to do so. Thats when the problem manifested. Basically i have a set of buttons indicating which floor the person would like to …

Software Development
Member Avatar for ddanbe
0
143
Member Avatar for Wayniepooo

Hi basically i need help , i am not good with c++ but i am trying my very best. i am currently stuck with trying to do an infix to postfix conversion that reads from a textfile. The text file contains the infix notations and the code is suppose to …

Software Development c++ file-system
Member Avatar for Wayniepooo
0
1K
Member Avatar for XongErvin

I am creating a pageant scoring system. I managed to display the field names from different tables : [Click Here](http://oi58.tinypic.com/5c0jz5.jpg) The first column "Participants" is from Participant table and the succeeding columns is looped from the Criteria table. This is the code: Private Sub CreateDataEntry(ByVal CatID As Integer) Me.CriteriaTableAdapter.FillByCategory(Me.PSSdbDataSet.Criteria, CatID) …

Software Development sql vb.net
Member Avatar for Begginnerdev
0
316
Member Avatar for Rahul47

Here is my nifty program. #include<stdio.h> int main(){ char *str; str="Hello World!!"; puts(str); printf("\nEnter a new string: "); gets(str); // Is this right ? printf("\nString after entering: "); puts(str); // And this one ? getch(); return 0; } The program did printed "Hello World!!" but failed to take user input.

Software Development c
Member Avatar for Ancient Dragon
0
226
Member Avatar for aka619ASH

So the question is following: Given three integers as input determine if the values were entered in ascending order (from smallest to largest) and whether those values represent a Pythagorean Triplet.[Click Here](http://en.wikipedia.org/wiki/Pythagorean_triple) **Examples** *Enter the three values to test (a b c): 3 4 5 a < b < c …

Software Development c
Member Avatar for scudzilla
0
228
Member Avatar for Iamateur

When the array is declared,the size of an array is supplied in the following way: dim inquirybyyearmonthday(20)()() as byte My question is why there are extra 2 opening & closing brackets after (20)?

Software Development vb.net
Member Avatar for G_Waddell
0
116
Member Avatar for mavtcr

Friends I am new to VB.Net Please help me I have two text boxes. When I press the 'Enter' key in the first text box the focus should go to the second textbox What will be the code?

Software Development vb.net
Member Avatar for G_Waddell
0
989
Member Avatar for momal

This is my question and I've managed to bring out an answer for part a, but for part b I'm not really confident about my answer of part b. In a recent court case, a judge cited a city for contempt and ordered a fine of $2 for the first …

Software Development c
Member Avatar for momal
0
2K
Member Avatar for murali2489

Hi Team, Im preparing for OCJP and in one of the sample question is below Three version of MyClass.class exist on a file system 1. /foo/bar/ 2. /foo/bar/baz 3. /foo/bar/baz/bing And the system class path includes /foo/bar/baz And this is the command invoked from /foo java -classpath /foo/bar/baz/bing:/foo/bar MyClass Which …

Software Development java
Member Avatar for murali2489
0
299
Member Avatar for Spyderbane

How do I find parts of a word in a string using an array for the keywords? I need to run a program on computers but exclude certin users based off of the computer name. The computers naming convention is xx-yyy-Lastname. The Lastname sometimes has the users initials added to …

Software Development seo vb.net
Member Avatar for Spyderbane
0
278
Member Avatar for dendenny01

How can I dynamically allocate the size of an arry at runtime When I am doing this am getting an error.. #include<conio.h> #include<stdio.h> void main() { int n; a[n]; clrscr(); printf("Enter no of your array\n"); scanf("%d",&n); printf("Enter your array"); for(int i=0;i<n;i++) { scanf("%d",&a[i]); } for(i=0;i<n;i++) { printf("%d\n",a[i]); } }

Software Development c
Member Avatar for dendenny01
0
347
Member Avatar for lmuller89

Hi all, I am coming accross a problem that says "C4703: potentially uninitialized local pointer variable 'data_list' used" and "C4703: potentially uninitialized local pointer variable 'filter_list' used". I have tried initilizing the pointer like I have read while googling it but have not managed to get it to work as …

Software Development c++
Member Avatar for Lucaci Andrew
0
5K
Member Avatar for vibhu mishra

i m trying to run a mp3 file on dosbox plateform by c .i put the following code in to the batch file start c:\xyz.mp3 and trying to call this as system("c:/a.bat"), the system funtion is returing 0 but it is not running it. But the same code working well …

Software Development c
Member Avatar for cgeier
0
346
Member Avatar for mavtcr

Earlier I raised a question in this forum regarding the sorting of database and Reverend Jim answered me as follows. It was Ok SELECT * FROM mytable ORDER BY fieldname But then I faced another problem As I mentioned in that I wanted to sort ORDER by 'Tdate' which is …

Software Development visual-basic
Member Avatar for pritaeas
0
298
Member Avatar for fourty

Hi Champs, Im using VBA for Excel. and Im trying to use the code below to move through records and increment their values by one since they meet a certain criteria Sub promotion() Dim x As Range Dim y As Integer Sheet2.Range("c2").Activate Do While y < 1002 y = ActiveCell.Row …

Member Avatar for Stuugie
0
316
Member Avatar for faresayyad77

hello how can i show the form if it already hidden when the user press a button so the form is hidden the code i want is : to show the form if the mousecursor moves at the form area

Software Development vb.net
Member Avatar for Deep Modi
0
126
Member Avatar for VIPER5646

Hi all I have a DataGridView with 2 Columns an Order column (text) and a price Column (decimal) The Datagrid contains all the orders and price for a certain customer. I'm currently adding all the prices and adding a new row to the datatable containing the total.In this row on …

Software Development vb.net
Member Avatar for G_Waddell
0
2K
Member Avatar for elouch

Hello! anyone... i cant delete the sheet i have added in my excel file. i already tried below codes to delete it but it doesnt work... and i'm not getting any error which is why i dont know what is the problem.... worksheet.Delete() workbook.sheet("sheettobedeleted").delete()

Software Development vb.net
Member Avatar for G_Waddell
0
180
Member Avatar for narlapavan

my code: class A{ Vector<String> s = new Vector<String>(); } public class Vec { /** * @param args the command line arguments */ public static void main(String[] args) { A a = new A(); a.s.add("String1"); a.s.add("String2"); a.s.add("String3"); a.s.add("String4"); a.s.add("String5"); Vector<A> vecA = new Vector<A>(); vecA.add(a); System.out.println("Size of vector is "+vecA.size()); …

Software Development java
Member Avatar for milil
0
217
Member Avatar for stresstedout

I am trying to get 20 images displayed on a jframe in jlabels using a gridlayout. I have added a while loop but still i am only am to see 1 image, please can you help me to display more than image in jlabels on a jframe? setSize(600, 600); setDefaultCloseOperation(HIDE_ON_CLOSE); …

Software Development java sql
Member Avatar for JamesCherrill
0
217
Member Avatar for abelingaw

I'm having trouble with the AND operator when I used it 3 times. If Text1.Text = "THIS" And Text2.Text = "THAT" and Text3.Text = "THOSE" then Call Display elseIf Text1.Text = "THIS" And Text2.Text = "THAT" and Text3.Text = "THOSE" then Call Display2 else MsgBox"Failed" End If It always ends …

Software Development visual-basic
Member Avatar for Minimalist
0
192
Member Avatar for vishal anand.s

hi my name is vishal for past 5 days i have been nuts of how to combine data from multiple tables into single table using sql select query (join query) Given below i have tried solution but i get error message data not found. But in table i have datas …

Software Development data-structure sql visual-basic
0
160
Member Avatar for Gulzar_1

how can i know My Application is already running.I want to abort new application and pop up to user to close already running application.I am using App.PrevInstance object but its not working. I want to use mutex and windowform..how can i use it..Plzz help..

Software Development visual-basic
Member Avatar for Minimalist
0
279
Member Avatar for stevetaylor15

Hey, I'm trying to compare dates, essentially I want to copy all files that have a date modified of 3 days older or less than 3 days old modified. So far i have the following, it did look to be working before, maybe i made some mistake below: [code] string …

Software Development
Member Avatar for ddanbe
0
220
Member Avatar for zbits

How do you apply the correct math formula from wikipedia? Wikipedia's math formula: > lba = ((c * hpc)+h) * spt +s -1 LBA to CHS code from brokenthorn: xor dx, dx div word[bpbSectorsPerTrack] inc dl mov byte[absoluteSector],dl xor dx, dx div word[bpbHeadsPerCylinder] mov byte[absoluteHead], dl mov byte[absoluteTrack], al ret

Software Development assembly
Member Avatar for zbits
0
177
Member Avatar for Damian_2

Okay so I have an `inventory` class that accesses a static vector from my base class `MainShop`. I also have a `SwordShop` class which inherits from `MainShop`. (Both Inventory and SwordShop are derived classes). //SwordShop class void SwordShop::Shop { //I have a setter function where it takes an integer and …

Software Development c++ oop
Member Avatar for Damian_2
0
341
Member Avatar for Grazel

hi iam new in vb.net.. and what i am doing is i am making time in and time out record. my problem is, i don't know how to stop the time in logging out.. can somebody help?

Software Development vb.net
Member Avatar for ddanbe
0
130
Member Avatar for chubbyy.putto

Random Number: Whenever I run it show me an error. Here is an error "implicit conversion loses integer precision 'time_t' (aka 'long') to 'unsigned int'", so i put change to `srand( (unsigned int) time(NULL) );` it run but it seem the number is not change at all. void read_array (int …

Software Development c++
Member Avatar for Ancient Dragon
0
183
Member Avatar for overwraith

Is there any difference between returning a pointer to a struct, and returning a struct? Aside from the derefrenceing that is done would they both be working with the same struct? Is there any copying that gets done if it is just a regular return?

Software Development c
Member Avatar for overwraith
0
305
Member Avatar for Elixir42

I have read tutorials using my google-fu on how to set up Pre-Compiled Headers, and now I wanted to clear up a few questions: If all the 'to be pre-compiled' headers go in one file - "stdafx.h" then how do you say you only want 1 of those files in …

Software Development c++
Member Avatar for Ancient Dragon
0
205
Member Avatar for riayas

I have 2 tables in sql , one is called stock and the other stock warning the stock table has columns ' Pid, pdescr,current stock, stock warning' this shows up in datagridview 2nd table(stock warning) has columns 'pdescr, current stock' showing in datagridview in the stock table when the 'current …

Software Development sql vb.net
Member Avatar for Rahul47
0
238
Member Avatar for mundrusuresh

hai to all iam decided to develop student information report so i decided to the gathering results from site and those converted to either .pdf or .xls file so i requested to code for to obtain the student reults from the any website thanking you sir

Software Development java pdf
Member Avatar for Builder_1
0
100
Member Avatar for Marcello_1

What I am trying to do is create a form that is automatically generated and then the values from that form are then used to proceed in the program. Currently to generate my form I am using this function `real_names=["Jason","Casandra"]` this portion of the code is not static it is …

Software Development python
0
172
Member Avatar for SumTingWong59

I am having difficulty with a program in my CS class right now and I am wondering if you guys could help. Basically, I need to find the length/width (should be equal) of the 4 corners(I'll call this variable 'x') of a piece of cardboard, to cut them out to …

Software Development python
Member Avatar for SumTingWong59
0
148
Member Avatar for Seba Sama

Hello, I need to start using databases with c++. I know in VB or VBA is simple and easy to find tutorials. I've done a lot of database apps in VBA and VB. I couldn't find help for c++, only for vc++. I use Code::Blocks and mingw. If anyone knows …

Software Development asp.net c c# c++ microsoft-access open-source
Member Avatar for Seba Sama
0
1K
Member Avatar for Tcll

so here's what I want to do: import module mvar = module() I've seen it done with the PyQt modules, but I don't feel like researching a complex code just to figure out a simple usage. :P anyone know how this works??

Software Development python
Member Avatar for Tcll
0
287
Member Avatar for islam-morad

Im using hibernate and i tried to do the following session.get(Company.class, 1); After i executed the statement above i got this strange select statement generated by hibernate Hibernate: select company0_.Company_ID as Company1_31_4_, company0_.version as version2_31_4_, company0_.Address_ID as Address5_31_4_, company0_.Company_Code as Company3_31_4_, company0_.Company_Name as Company4_31_4_, company0_.Phone_ID as Phone6_31_4_, address1_.Address_ID as Address1_0_0_, …

Software Development java session
Member Avatar for milil
0
190
Member Avatar for mixelplik

I'm trying to scroll through a list of cstrings and if they end in an 's' I want to replace it with a '\0' the problem is somtimes it catches the word and corrects it for a comparison, but other times it doesn't while (ptr != NULL) { if(ptr[sizeof(ptr)] == …

Software Development c++
Member Avatar for vmanes
0
138
Member Avatar for Stuugie

Not sure if this is the right spot for this question but I'm here! I'm trying to make a vb script that opens large text files, one at time, searches each line for Null values (there can be many) and then replaces them with a space. My coworker put the …

Software Development vbscript
Member Avatar for Stuugie
0
846
Member Avatar for KushMishra

Hello, I have a scenario where I fetch all the records from a database table using ADO.Net and I want to convert one of the column values which has either "0" or "1". If 0, then "No" should be replaced with 0 and if 1, then it should be "Yes". …

Software Development vb.net
Member Avatar for KushMishra
0
296
Member Avatar for nhrnjic6

I have hard time understanding how does it happen. I mean how does : 6 / \ 3 8 / 2 I get that program finds the num on the left side whos equal to null so its smallest and it prints out 2. But how does it go back …

Software Development algorithm c++
Member Avatar for userasad
0
156
Member Avatar for chubbyy.putto

here is question: Write a function that accepts an array of integers and its size as arguments. The function should create a new array that is one element larger than the argument array. The first element of the new array should be set to 0. Element 0 of the argument …

Software Development c++
Member Avatar for Ancient Dragon
0
329
Member Avatar for hqt

I'm using Entity Framework. Here is my code to update data : public bool UpdateProblem(Problem problem) { if (problem == null) { throw new ArgumentException("Cannot add a null entity"); } MathHubModelContainer ctx = new MathHubModelContainer(); ctx.Configuration.LazyLoadingEnabled = false; ctx.Configuration.ProxyCreationEnabled = false; DbEntityEntry attachtedEntrys = ctx.Entry(problem); // Find Currently Entity Entry …

Software Development
Member Avatar for Ketsuekiame
0
472
Member Avatar for mixelplik

Can someone explain this line a bit for me, I get the big picture, but the under-the-hood aspects are eluding me. testFile.getline(buffer, sizeof(buffer)); I have a char array buffer of size 80. Get line extracts a line from my testFile, and puts it into the buffer. When I "cout" the …

Software Development c++
Member Avatar for Ancient Dragon
0
123
Member Avatar for Rahul47

I have two questions: 1) Here is a small program showing how one can use Array name as Pointer variable. #include<stdio.h> int main(){ int a[5]={1,2,3,4,5},i=0; for(i=0; i<5; i++){ printf("\nAddress: %d\tValue: %d", a+i,*(a+i)); } getch(); return 0; } If we can use array name as pointer variable, then why separately declare …

Software Development c
Member Avatar for Banfa
0
205
Member Avatar for pavi.mythri.1

Hi, could some one help me in resolving this issue. Below is the code in which i am trying to call open Calais API to extract the keywords from the content by using the lisence key. package com.clearforest; import java.rmi.RemoteException; import javax.activation.DataHandler; import javax.mail.internet.MimeMultipart; import javax.xml.rpc.ServiceException; public class CalaisDemo { …

Software Development apache api java open-source
Member Avatar for cgeier
0
345

The End.