64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for elmer0727

Hi, Please help on this. How can I let the buttonmenus shows when the toolbar menu is clicked? Here is my code: Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) Select Case Button.Description Case "Maintenance" 'I want to display submenus when this is clicked! 'button menus: '1.) Employee '2.) company '3.) department …

Member Avatar for AndreRet
0
657
Member Avatar for borchu

Hello everyone, I have question about how AudioTrack instance should be used for streaming applications. Below my code example and some brief explation about code ... /* some work before */ InputStream in = client.getInputStream(); AudioTrack output_stream = new AudioTrack(AudioManager.STREAM_MUSIC, 8000, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_8BIT, 8192, AudioTrack.MODE_STREAM); byte[] buffer = new byte[8192]; …

Member Avatar for borchu
0
543
Member Avatar for HunainHafeez

what if i have two dropdown lists.....which has list items with same values ? is it harmful ? mean list item with same values of 2 different drp dwn lists ? and what does it mean actually ? usage ?

Member Avatar for HunainHafeez
0
79
Member Avatar for garyjohnson

Here is a basic join code for two database tables, I want it to compare the two tables with a users email, it would have to be the current user logged on. How do i do so with php? SELECT column_name(s) FROM table_name1 INNER JOIN table_name2 ON table_name1.column_name=table_name2.column_name

Member Avatar for garyjohnson
0
2K
Member Avatar for garyjohnson

Hello I have made a php file upload for the visitors of my site to upload small videos too, now I want the users that are logged into their account to have the videos they upload be linked to their user id, so anyone vewing the small video can know …

Member Avatar for garyjohnson
0
3K
Member Avatar for k_nenad

Hi all, I need help with this code: DataAdapter1.Fill(DataSet1); DataSet1.Tables[0].DefaultView.Sort = "sortcolumn"; BindingSource1.DataSource = DataSet1.Tables[0].DefaultView; After execution, the "DataSet1.Tables[0].DefaultView.Sort" property is reset to empty string. What might be the cause of this, and how can this be avoided? Thanks

Member Avatar for k_nenad
0
110
Member Avatar for badboy11

I am trying to serialize data in my XNA project. I have a Texture2D background property that I use during runtime, but I also have a 'string property' to hold my Background name. This will allow me to serialize the asset name so I can later use the info to …

Member Avatar for badboy11
0
262
Member Avatar for mobility42

Hello All, this is my first post, so bear with me... My problem is with the following code. I have a simple menu setup to do some number conversions, and everything compiles properly. When i run the code, i end up with the Java VM (in bluej) just running endlessly, …

Member Avatar for NormR1
0
1K
Member Avatar for TylerTCF

Hi Everyone. It's been a while since I was on here last, but ran into an interesting problem with a nested for loop that I cannot solve. Hoping someone here will know the answer. I placed breakpoints in my code at the For x=1 to 10 line and after to …

Member Avatar for TylerTCF
0
300
Member Avatar for onofej

I have a xampp database user log in with username and password, but i want to send each user an ID after registration and this ID should auto increment in my database. at the moment i can only achieve this if i include a field on the registration form, but …

Member Avatar for LastMitch
0
1K
Member Avatar for logicaweb

I'm making a B2B portal that can see just loggedin business customers that I add to base, I finished almost all, but there is one problem. When customer add some goods to his cart, goes to checkout and confirm his order he will have a link to invoice.php?ids=156 and that …

Member Avatar for urtrivedi
0
172
Member Avatar for ShEeRMiLiTaNt

Hello, I need to write a program to take in a name (max 101 characters) and out store in into an array so that I can output it like a list. These 2 programs are apart of a bigger program that keeps asking if you want to add another name …

Member Avatar for VernonDozier
0
345
Member Avatar for hughesadam_87

Hi, I am trying to create the most general function possible to test if an object passed into it has mutability or not. With some prior help from pytony, it seemed that the best way to do this is to try to set and attribute. If the attribute can be …

Member Avatar for hughesadam_87
0
4K
Member Avatar for london-G

Hello, I am currently working on a project and I am stuck at the moment. Basically I have a few JToggles buttons, a jbutton and a text box. When the user select a jToggle button, write some text in the text box and clicks on the Jbutton, the text on …

Member Avatar for london-G
0
127
Member Avatar for plasticfood

serious noob question, but i'm following my android book and it is doing something with a class that extends list activity. is that a file that i have to create on my own, or is that provided once i create a new android project? i can't seem to find it.

Member Avatar for plasticfood
0
86
Member Avatar for Albert Pinto

Hi People, Got an issue with css in php. Actually I'm trying to create and send a html email. My front-end form consists of To(textbox where recipients email address will be entered) and then I've embedded ckeditor in place of Textarea where I will be typing the message... Now this …

Member Avatar for jstfsklh211
0
3K
Member Avatar for Dzulham

Im new here and i want to make this code more simple: If tabC.TabCount = 1 Then NClose.Enabled = False CloseNote.Enabled = False CloseNoteContext.Enabled = False CloseNoteX.Enabled = False Else NClose.Enabled = True CloseNote.Enabled = True CloseNoteContext.Enabled = True CloseNoteX.Enabled = True End If I try this `NClose.Enabled, CloseNote.Enabled, CloseNoteContext.Enabled …

Member Avatar for Dzulham
0
134
Member Avatar for Dino000

I get a stackoverflow exception on following commented line. namespace Football_Manager_WFA { public partial class Settings : Form { Color def_bgdColor = SystemColors.Control; Color def_fontColor = Color.Black; // ERROR static FontFamily fontFamily = FontFamily.GenericSansSerif; Font def_fontType = new Font(fontFamily, 8.0f); } }

Member Avatar for Dino000
0
210
Member Avatar for consc197

I need some help with the following. I have a form called frmMain that has a couple of icons, one of the icons when clicked loads frmNotes within a Panel, frmNotes has a ListView and i want to load data from a Microsoft Access Database Table into the ListView I've …

Member Avatar for G_Waddell
0
155
Member Avatar for gujinni

Hi everyone. I am making a random music player. How can I play music randomly? My WMP(windows music Player) is Invisible in order to become a background music. What code should need to aplpy to create this program? Here is my Code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for G_Waddell
0
170
Member Avatar for krishal.lad

The following are the requirements of the program and all code can be written within one C++ source file for the purpose of this assignment. 1. Declare three structs to store Athlete, Event and Registration details. The struct definitions are provided in Appendix 1. 2. Write the driver code (main) …

Member Avatar for Bob
0
809
Member Avatar for gujinni

hi there, I am making an animation which include music. I want my program to stop the animation when the music stops. Anybody know what code do i need to apply through if condition? I need your help... =( tnx. Here is my code: Private Sub Form1_Load(ByVal sender As System.Object, …

Member Avatar for gujinni
0
2K
Member Avatar for semicolon

Hi i have a datagrid in my c# windows form and i want to merge the row he can input data in w1, w2, w3 and .., and save. weeks Item 1 | Forecast | w1 | w2 | w3 Item 1 | Stock on Hand | w1 | w2 …

Member Avatar for semicolon
0
290
Member Avatar for Pyler

/*Ok I have code that's behaving unexpectedly The following program is supposed to print prime numbers for n1=100,n2=1000,n3=10000 and n4=100000 except that for n1=100, it prints the squares of primes less than 10. I can implement this same program in c++ and wouldn't get such output. I need another pair …

Member Avatar for VernonDozier
0
238
Member Avatar for dan.nitschke

Hello, I am doing a school project and need assistance on validating raw input, this is very simple stuff, but can someone answer this for me? The statement is: ordertype = str(input("Is the order pickup or delivery?")) Only two values could be entered: P or D (or p or d), …

Member Avatar for M.S.
0
141
Member Avatar for anand01

Hi All , I need to get multiple result from same table my table structure is id category parentid 1 dress 0 2 men 1 3 mtshirt 2 4 women 1 5 wtshirt 4 If I give wtshirt it should produe result as wtshirt-men-derss how can I write query for …

Member Avatar for anand01
0
203
Member Avatar for scholarwithfire

Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of …

Member Avatar for lps
0
985
Member Avatar for Riu 2009

how can i let image overwriting when uploading? and if uploading an image titeld different how can i make it to change to specific file tite?im trying to make an image replacement to change images on the web page like for example logo. how can i make the file name …

Member Avatar for Riu 2009
0
311
Member Avatar for daino

My initial thoughts on the default constructor are that it was called automatically. From what I can see, it seems that this is so but a constructor called automatically doesn't initialize int or char variables for exampe, to Zero as I originally thought. It appears that they initialize the variable …

Member Avatar for vijayan121
0
301
Member Avatar for r0vanz01

I am trying to find the minimum number when the user enters any 5 numbers I am not sure why this code is not working, every time I run this function I always get 0. Can someone please tell me what is wrong! int i; int num1 = 5; int …

Member Avatar for r0vanz01
0
189
Member Avatar for Bile

-->>Hi everyone,I'm having this problem with updating records in my application my code is: SQL = "UPDATE Ministers SET User_Name='" & txtUser_Name.Text & "',Password='" & txtRetype_Password.Text & "',Prefix='" & cmbPrefix.Text & "',Passport='" & NewPicture_Name & "';" Call dbConnect Conn.Execute SQL Conn.Close Set Conn = Nothing -->>The SQL and Conn variables …

Member Avatar for Bile
0
1K
Member Avatar for sharathg.satya

any one help me in completing my program on FLAMES game i am not getting how to complete it please help me

Member Avatar for NormR1
0
2K
Member Avatar for Goldfinch

I have this code: static String format(String number, int decimalLength) { char[] decimal; System.out.println(number); String[] formatA = number.split("."); System.out.println(formatA.length); StringBuilder cents = new StringBuilder(""); int dollars = 0; dollars = Integer.parseInt(formatA[0]); decimal = formatA[1].toCharArray(); for (int i = 0; i < decimal.length; i++) { if (i < decimalLength) { cents.append(decimal[i]); …

Member Avatar for stultuske
0
183
Member Avatar for stackOverflow

[FONT=Comic Sans MS]Hi everyone, I'm shreya. I'm doing my bca (bachelor in computer applications)-4th sem. I'm required to do a mini project on dbms using msaccess and backend as vb. I'd be glad if you can suggest a project. I have 3 months to complete this project. I hope I'll …

Member Avatar for MonishaBala
-3
586
Member Avatar for pattilupwned

Hello, I am having trouble passing a file into parallel arrays. Based on the code below, I get a bunch of jumbled numbers on my cout screen that don't even show up in the input file. I have attached a PNG of the console output. I am at a loss …

Member Avatar for Suzie999
0
439
Member Avatar for consc197

I need some help with the following. I have a form called frmMain that has a couple of icons, one of the icons when clicked loads frmNotes within a Panel, frmNotes has a ListView and i want to load data from a Microsoft Access Database Table into the ListView I've …

0
87
Member Avatar for HunainHafeez

i have a signup form which needs user to submit his academic information also. academic info table in database is like this : tbl_acadinfo ![tblacademic](/attachments/small/3/tblacademic.jpg "align-left") now how would i fill this table via asp.net (as a part of signup form with title ACADEMIC INFO) ? bcz educationlevels are many …

Member Avatar for HunainHafeez
0
194
Member Avatar for rotten69

Hi everyone, I just found something interesting in my code but I ain't sure why JavaScript. var input= 0; // But in my case, the input variable is getting the value from a field in a form if(!Number(input)){ document.write('it is not a ZERO'); } This is something similar to my …

Member Avatar for rotten69
0
148
Member Avatar for milkypolar

Hi all, just wonder is there any way to have a constructor parameters that having another classes with parameter? for example like class Player { public: Player(char = 'X', char = 'O'); }; class Board { public: Board(int, Player); };

Member Avatar for milkypolar
0
113
Member Avatar for HunainHafeez

i have this page in hard form and i need to make a table for it in DataBase (Sql Serber 2008), i tried alot but couldn't find any way to make table for it in data base. + i have also user table in DB, so userid should b also …

Member Avatar for HunainHafeez
0
134
Member Avatar for Ahmed Sarwat

Dear All, I have a question about array which let me confused and I think it needs deep understanding of arrays. I would like to know why it is possible to use array of char as pointer without a fixed size and also without dynamically allocating memory for it and …

Member Avatar for WaltP
0
173
Member Avatar for gujinni

Hi there. I have a problem in randomly falling an object. I want my program to randomly fall an image and I only have 1 image fall. The code I've used for falling an object is here. `Inline Code Example Here` Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As …

Member Avatar for gujinni
0
368
Member Avatar for Djmann1013

I am having trouble with this page: <?php session_start(); // LOGIN PAGE... include('/mods/core/core_login.php'); // SQL stuff. mysql_connect('SQL host','Username','Password'); mysql_select_db('DB_NAME'); $ci = rand(1, 10); if ($ci == "1"){ $img = "http://images.awsomechat.comuv.com/cap_1.png"; // URL of image. $ans = "LoIs DDiO"; // Answer to image. }elseif ($ci == "2"){ $img = "http://images.domain.com/cap_2.png"; // …

Member Avatar for cereal
0
184
Member Avatar for nitishok

I have written a program for the 8-Queens problem.It prints all possible solutions. queens() finds all the possible solutions. ok() tells whether the given column and row is safe or not. The very strange problem is: 'Count' won't increment. I have no idea why. #include<iostream.h> #include<stdlib.h> #include<conio.h> int arr[8][8]={0}; int …

Member Avatar for deceptikon
0
168
Member Avatar for Ritesh_4

Hello, I've got a code (modified but not written by me) which uses a timer to find the idle time, and I added the code to make the computer go to sleep mode if the timer matches the time value set. However, when I resume the computer, it goes back …

Member Avatar for lolafuertes
0
112
Member Avatar for paine_today

I just launched my first website I fully wrote myself in php/mysql - [www.TomPaineToday.com](http://www.TomPaineToday.com). After testing it on my own computer for a while, I decided I might as well launch it and see what problems I run into. The first issue I came across was that my link redirect …

Member Avatar for paine_today
0
618
Member Avatar for raj-uk

how can we make Function in php this is the line to be read = 'i am going to [USA]' only required the USA to be print nothing else Please help

Member Avatar for diafol
0
105
Member Avatar for riccardo-m

Hi, I'm making a program using Visual Studio 2010. I'm strugging with how to correctly use classes and their instances. For example; What is the difference between using the following ways to call function from one class within another... Example 1: Dialog.h #include OtherClass.h MyOtherClass myClass; Dialog.cpp myClass.MyFunction(); Example 2: …

Member Avatar for riccardo-m
0
258
Member Avatar for Tinnin

Hi all. I'm working my way through "Accelerated C++" have a question regarding chapter 5. The program calculates students final grades by taking a median of the homework grades. I am trying to alter this program so that it uses *list* instead of *vector*. The issue I'm having is with …

Member Avatar for Tinnin
0
173
Member Avatar for dhruv_arora

My school and the education board uses Turbo C++ as the compiler. I have Windows 7 64 bit. Can anyone tell me how can I install Turbo C++ on my computer.

Member Avatar for harsh01ajmera
0
453

The End.