132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gurusubramaniam

Hi.. I want redirect a frame into next frame. In swing method how to redirect a frame into next frame ?

Software Development java java-swing
Member Avatar for stultuske
0
137
Member Avatar for Dzulham

I want to have 60 buttons that each button has same function with other but not the output when its selected/focused. I don't want to make one by one function. Here is what i mean: Private Sub Button_Click() Handles button1.click, button2.click, .... ,button60.click Dim ST As Button [ST As Selected/Focused …

Software Development vb.net
Member Avatar for Dzulham
0
106
Member Avatar for triumphost

How can I get a DLL's Parent Window Title? OR How can I get the PID of the process that loaded my DLL? I need this so I can make a file for each process that loads my DLL but the file has to contain some sort of identifier. Something …

Software Development c++
Member Avatar for Ancient Dragon
0
354
Member Avatar for poojavb

Hello All, I have a Java program which is using a JOptionPane in it. eg. Are you sure u want to close the application? Yes No When I click with the mouse on the No button it works correctly but if I select the No button using the TAB key …

Software Development java
Member Avatar for poojavb
0
412
Member Avatar for eric.mashiyane

private void button4_Click(object sender, EventArgs e) { { SqlConnection conn = new SqlConnection("Data Source=user-PC;Initial Catalog=URBAN-AUTO-CLINIC;Integrated Security=True;User Instance=False"); SqlDataAdapter adaptor = new SqlDataAdapter(); DataTable table = new DataTable(); DataSet ds = new DataSet(); adaptor.SelectCommand = new SqlCommand("SELECT FirstName,LastName FROM ClientNCar WHERE FirstName ='" +txtFName.Text +"'AND LastName='"+txtLName.Text+"'",conn); adaptor.Fill(ds); ClientSearchDisplay.DataSource = ds.Tables[0]; } …

Software Development dataset
Member Avatar for nmaillet
0
1K
Member Avatar for johnray31

Hello friends, I was trying to brush my programing skill and was not able to get answer of "why array size is different inside function solution1?" Inside main, size of array is 11 but inside solution1 its size is just 2. Here is my code... #include <iostream> #include <stdio.h> using …

Software Development c++
Member Avatar for johnray31
0
178
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 …

Software Development gui visual-basic
Member Avatar for AndreRet
0
657
Member Avatar for navogatoo

How can I make ONE database be updated from multiple terminals connected through a LAN network? How can I access the database through a LAN network in visual Basic 6?

Software Development lan-wan visual-basic
Member Avatar for AndreRet
0
559
Member Avatar for VisUaLBAsiCNewb

please help me how to do it ,,, step by step please.... hahahahaha

Software Development visual-basic
Member Avatar for AndreRet
0
166
Member Avatar for michael.vanrooyen1

i want to change the path so it saves to the current file location. so lets say my current file is 'Z:\cdrfiles\myfile\123'then it should save to the current file open Dim SaveOptions As StructSaveAsOptions Set SaveOptions = CreateStructSaveAsOptions With SaveOptions .EmbedVBAProject = True .Filter = cdrCDR .IncludeCMXData = False .Range …

Software Development visual-basic
Member Avatar for AndreRet
0
280
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]; …

Software Development android android-development api java
Member Avatar for borchu
0
543
Member Avatar for RozenKristal

So my assignment is make a dynamic array to read integers from a file, which the first integer is the size used to create a dynamic array. But I am lost at how to specifically take the first integer. main(int argc, char **argv) { float average; /* SET this variable …

Software Development c
Member Avatar for nitin1
0
139
Member Avatar for owenransen

I want to port some graphics applications in C++ which compile to Windows Executables to run as WEB apps. I don't want to throw away all the code I've written in C++, so it seems to me that Microsoft Azure would be prefect. My idea is that I learn to …

Software Development c c# c++ microsoft-azure
Member Avatar for owenransen
0
200
Member Avatar for benjie.v.sanpedro

strsql = "insert into amenity_tbl values (?,?,?,?,?)" strs = "delete from amenity_tbl where amenityid = ?" Using cn As New OdbcConnection(connM), _ cmd As New OdbcCommand(strsql, cn), _ conn As New OdbcConnection(connA), _ com As New OdbcCommand(strs, conn) cmd.Parameters.Add("?", OdbcType.VarChar, 20) cmd.Parameters.Add("?", OdbcType.VarChar, 200) cmd.Parameters.Add("?", OdbcType.Double, 20, 2) cmd.Parameters.Add("?", OdbcType.VarChar, …

Software Development vb.net
Member Avatar for Reverend Jim
0
160
Member Avatar for dreday92

// Can Someone help me with the last function at the bottom. I am trying to display the top scorers, not just top scorer. If someone could point me in the right direction it would be greatly appreciated. #include <iostream> #include <iomanip> #include <string> using namespace std; struct Players { …

Software Development c++
Member Avatar for WaltP
0
288
Member Avatar for steadi

Hello, I recently became stuck while programming my new application. I have two forms (A and B) and I am trying to make a text box on Form A display the name column from the local database on Form B. So in the end, the textbox on Form A will …

Software Development vb.net
Member Avatar for ObSys
0
109
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

Software Development
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 …

Software Development
Member Avatar for badboy11
0
262
Member Avatar for jury

hy!!!!i am trying to write a java code that returns the majority element in an array and -1 if not!!this is what i came with public class Majority{ public static int arrMajority1(int A[]){ int n = A.length; int c = 1; for(int i=0;i>A.length;i++){ for(int j=i+1;j<A.length;j++) if (A[i]==A[j]) c=c+1; if (c>(A.length/2)){ …

Software Development java
Member Avatar for Nutster
0
142
Member Avatar for adishardis

I'm trying to use limesurvey but cannot get the slider as i would like it. Here is a link to the surveyquestion: http://adam.synology.me/limesurvey/index.php/survey/index/sid/164171/newtest/Y/lang/sv I want the images to change according to the value of the sliders. With a regular html form i had this to take care of it: <script …

Software Development image java javascript
Member Avatar for adishardis
0
202
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, …

Software Development java
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 …

Software Development programming-construct visual-basic
Member Avatar for TylerTCF
0
300
Member Avatar for dyanmorry

How do you exit a VB form using a messagebox prompt?

Software Development visual-basic
Member Avatar for BitBlt
0
282
Member Avatar for nishu..

can anyone give simple example of storing data in datastore in google apps engine using python . thnx

Software Development app-store python seo
Member Avatar for hughesadam_87
0
175
Member Avatar for track&price

Cannot InvokeMember on HTML Page I have a VB Net application that I have been running for over a year to login to a specific website Heritage Coins & Currency The page I'm now unable to loging is --> https://coins.ha.com/c/login.zx I am setting the text boxes as follows: WB1.Document.All("emailAddress").SetAttribute("Value", "sge") …

Software Development html-css vb.net
Member Avatar for TnTinMN
0
298
Member Avatar for diptid

Hi, I am working on EmguCV project. and I am stuck on following error. A first chance exception of type 'System.DllNotFoundException' occurred in Emgu.CV.dll I added required references. I also tried different versions of EmguCv. But no use. Help me.

Software Development
Member Avatar for diptid
0
73
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 …

Software Development c++
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 …

Software Development python
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 …

Software Development java
Member Avatar for london-G
0
127
Member Avatar for srm2010

Here I am Sending you my code ,wherein I want to have total of examfees(column),PromotionFees(column),Totalfees(column) and Balance(column).Examfees are paid in installment in my project The idea if single record is found then it doing calculation of balance=promotionfees-totlafees and if anywhere due to mistyping is value is higher then the respectively …

Software Development promotion vb.net
0
441
Member Avatar for muhammads

Hi, I am totally new to lib png and png++ and have recently made my first project with these on linux. But have no idea how to use png++ on windows. I have my libpng configured on windows and am wondering how to move towards making png++ available and running …

Software Development c++ visual-studio
Member Avatar for muhammads
0
1K
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 …

Software Development vb.net
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); } }

Software Development
Member Avatar for Dino000
0
210
Member Avatar for samohtvii

Can someone tell me how to write ` void readBinaryTree(BinaryTree *&p, ifstream &fin) {` in C ... `void readBinaryTree(BinaryTree **p, ifstream *fin) {` `readBinaryTree(&p, fin)` ??? Thanks

Software Development c
Member Avatar for Ancient Dragon
0
206
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 …

Software Development listview microsoft-access vb.net
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 …

Software Development vb.net
Member Avatar for G_Waddell
0
170
Member Avatar for Abhineet.Ayan

Hi All, I am somewhat confused about how to put this before you, so pardon me if it creates confusion in your head. **Requirement**:: To write a removal Tool for a Software. **Language**:: C (preferred), C++ (Will do), Windows API (Will also do) **Problem**:: The problem is where and how …

Software Development api c windows-api
Member Avatar for WaltP
0
215
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) …

Software Development c++
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, …

Software Development vb.net
Member Avatar for gujinni
0
2K
Member Avatar for adrawat

This is a basic question, but I can't seem to understand how this works: Suppose I pass a structure pointer to a function, do I need to malloc memory for this passed pointer inside the function? e.g., typedef struct example_data_ { int serial; char *name; } example_data; int main() { …

Software Development c
Member Avatar for adrawat
0
212
Member Avatar for consc197

Hello, I want to search a specific column in ListView. I've coded searching however it always defaults to search the first column, how can i specify which column to search? Here is my code: Private Sub btnSearch_Click(sender As System.Object, e As System.EventArgs) Handles btnSearch.Click If txtSearchThoughts.Text IsNot "" Then 'ListViewSearch.Focus() …

Software Development listview visual-basic
Member Avatar for AndreRet
0
135
Member Avatar for Tortura

Hi, I want to execute a tcl command with a python method. I don't really know how this works. This is my tcl command: <object> config -<parameter> Now I want a python method, that should look like this: def config(config_obj, parameter): #code which executes the tcl command Do you know …

Software Development python
Member Avatar for Tortura
0
4K
Member Avatar for cool_zephyr

Could anyone tell me how to make a BSP tree?? like what things should i consider to implement it?? i'd be grateful if anyone gave me a list of basic steps to implement it..thank you

Software Development c++ data-structure
Member Avatar for cool_zephyr
0
142
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 …

Software Development
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 …

Software Development java
Member Avatar for VernonDozier
0
238
Member Avatar for dantheman4

1.Suppose a method is declared as: public static void f (double d, int n) { ....; } Which one of the follow method invocations would compile with no errors? Select one: a. f(2.5, 3.5); b. f(2, 3); c. f(2.5); d. f(3); I chose b 2.Each of the following pieces of …

Software Development java
Member Avatar for VernonDozier
0
186
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), …

Software Development python
Member Avatar for M.S.
0
141
Member Avatar for Secone

Hello, I'm trying to have my program locate any duplicate strings in an array, say, there were two instances of the word 'man', it would add 1 to the Word Amount of that word, and move the duplicate to the back of the array in some way. The problem is, …

Software Development c++
Member Avatar for vijayan121
0
242
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 …

Software Development c++ oop
Member Avatar for vijayan121
0
301
Member Avatar for sythez.orgz

Can you guys help me with this little thing. On a a form, i have a textbox1 and add button. If i click the add button, it will check if the textbox has a data and i am already done with that. Now my problem is, if it has a …

Software Development vb.net
Member Avatar for Reverend Jim
0
110

The End.