-
Replied To a Post in ComboBox Value Member Issue
On your combobox, use either event "SelectedValueChanged" or "SelectedIndexChanged". **SelectedValueChanged** private void EMP_CB_SelectedValueChanged(object sender, EventArgs e) { Console.WriteLine("ValueMember A: " + EMP_CB.ValueMember.ToString() + " DisplayMember A: " + EMP_CB.DisplayMember.ToString()); //--------------------------- … -
Replied To a Post in Issues with Access Databases
In line #2 try changing the space between "OLEDB" and "12.0" to a "." (dot or period). So the line reads: `Provider = Microsoft.ACE.OLEDB.12.0; ` instead of `Provider = Microsoft.ACE.OLEB … -
Replied To a Post in help with this
Need to use exception handling. try { //run your code here... } catch (FileNotFoundException e) { System.err.println("FileNotFoundException: " + e.getMessage()); //do whatever you want to do when //this exception happens … -
Replied To a Post in Please hellp me in programming
Try something like the following: private static int Sum() { int subTotal = 0; string inputVal = string.Empty; //read value until an empty line is encountered while(!string.IsNullOrEmpty(inputVal=Console.ReadLine())) { int result … -
Replied To a Post in bring value from popup window to parent window c# (ListView)
Here's a program I wrote to remove the line numbers from code posted on this site. It will save you some time copying the code to run my examples. To … -
Replied To a Post in bring value from popup window to parent window c# (ListView)
Here is an updated version of "SearchMemberFrm.cs". It uses a DataGridView instead of ListView. I think that DataGridView is a better option. "SearchMember.cs" requires the following: * Button named: searchBtn … -
Replied To a Post in bring value from popup window to parent window c# (ListView)
Ok. I've made an example specific to your situation. I didn't do the database data retrieval however. I'll let you work on that part. I've made a note of where … -
Replied To a Post in GUI Project
I'm not very familiar with using tables in java. You might check this out: [Click Here](http://www.java2s.com/Tutorial/Java/0240__Swing/ListeningtoJTableEventswithaTableColumnModelListener.htm) Also this: [Click Here](http://stackoverflow.com/questions/12376826/jtable-cell-listener) -
Replied To a Post in GUI Project
You seem to be using NetBeans, so add your button. Then * Right-click on your button, select "Events" * Select "Action" * Select "actionPerformed" add your code to perform when … -
Replied To a Post in GUI Project
Are you using NetBeans or Eclipse? If so, you may want to check out some tutorials on how to use those programs. Basically, you want to use a JFrame as … -
Replied To a Post in GUI Project
Code blocks. What I meant by that is to click "</> Code", paste your code for your first class. Click "Insert Code Snippit". Then repeat this for each class. Rather … -
Replied To a Post in Help with getting information off javascript webpage
Reading URL: [Click Here](http://docs.oracle.com/javase/tutorial/networking/urls/readingURL.html) Reading and writing to URL: [Click Here](http://docs.oracle.com/javase/tutorial/networking/urls/readingWriting.html) Programmatically click a web page button [Click Here](http://stackoverflow.com/questions/16589417/programmatically-click-a-webpage-button) Selenium video tutorials: [Click Here](http://qtpselenium.com/selenium-tutorial/selenium-training-java-part-1/) -
Began Watching GUI Project
I having major issues trying to make a GUI for this program. How do I connect my program to my GUI? I don't get it?Can someone help me with this? … -
Replied To a Post in GUI Project
Please search for "What is a graphical user interface" and read more about the purpose of a gui. Basically you are going to eliminate "TestClass" and replace it with your … -
Replied To a Post in Reading input for a text file/format
This would be better in a class. Then use an array of your class type. -
Began Watching Nested for loop outputs asterisks
Everything works fine, but the outputted numbers are supposed to be asterisks instead of digits. Ideas? #include <iostream> using std::cout; using std::cin; int main () { int number = 0; … -
Replied To a Post in Nested for loop outputs asterisks
Check your variable names. You declare `char star = '*'` and then you try to declare star as an int in your for loop. `int star = 0;` -
Began Watching For Loop
Write a program that prompts the use for the number of assignments in a specific class. Then using a for loop, prompt for each score. Use an accumulator to store … -
Replied To a Post in For Loop
Try writing the problem out in steps first. You can use pseudo-code (a combination of written language and computer language). Prompt for number of assignments - "numAssignments" for each assignment … -
Replied To a Post in Set Internet Explorer default home page all users
The value is stored in the registry under the following key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Start Page and additional "start" urls (tabs) are in: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Secondary Start Pages [Click Here](http://gallery.technet.microsoft.com/scriptcenter/e25bf8ea-e294-4680-af17-b984bed47e97) for a powershell … -
Replied To a Post in Variable may not have been initialized
In line 14 change `int days;` to `int days = 0;` or whatever value you want to initialize it to. You really should do some input validation, then your switch … -
Replied To a Post in Help with Declarations
I think that he would like you to place all of your variable declarations in one place rather than throughout your program. public static void main(String[] args) { //Declarations int … -
Replied To a Post in What's Wrong
You may also want to read about early bindind vs late binding [Click Here](http://support.microsoft.com/kb/245115). *"If you will be using a component that you do not redistribute with your setup package, … -
Replied To a Post in What's Wrong
This code should work. Private Sub runBtn_Click() 'add reference to Microsoft.Excel; Project => Reference => 'Microsoft Excel ... Object Library Dim excelApp As Excel.Application Dim excelWB As Excel.workbook Dim excelWS … -
Replied To a Post in What's Wrong
It works for me. Please post the code that you are using. Perhaps you omitted something while copying my code. Did you add the references? -
Replied To a Post in What's Wrong
What version of Excel are you using? -
Began Watching Outlook 2013 autofill BCC field in emails
I found a script on ExtendOffice.com that does this perfectly, except the BCC email address isn't displayed in the field. The value is there, but invisible (as it does indeed … -
Replied To a Post in Outlook 2013 autofill BCC field in emails
To auto-populate the BCC field in Outlook, we will create an e-mail template, and create a button that uses a macro to open the e-mail template. ## Enable Developer options … -
Began Watching What's Wrong
Hi What have I done that is wrong the Excell sheet will not be visible I will have it visible when I press the command button Dim objXl As New … -
Replied To a Post in What's Wrong
It is better practice to store your data in "My Documents" or "AppData"--in my opinion. -
Replied To a Post in What's Wrong
So it's working now? Here is some code that can be used for testing purposes: Create a form called "Form1" and add a button. Rename the button to "runBtn". **Form1.frm** … -
Replied To a Post in What's Wrong
What operating system (XP, vista, Win 7)? -
Began Watching bring value from popup window to parent window c# (ListView)
Hi EveryOne, Can I ask your help/suggestion: click a button to open popup window, how can i carry the one of col. info to parent window's text box when user … -
Replied To a Post in bring value from popup window to parent window c# (ListView)
As far as child-parent form communication. You could use events, which I think may be your best option. In my example, you will have 3 classes: "parentFrm", "childFrm", and "ValueUpdatedEventArgs". … -
Replied To a Post in bring value from popup window to parent window c# (ListView)
If you have a large dataset you may want to read about virtual mode. [Here is a post that discusses it](http://stackoverflow.com/questions/6089674/whats-better-to-use-a-datagrid-or-listview-for-displaying-large-amounts-of-dat) -
Replied To a Post in What's Wrong
`app.path` shouldn't have quotes around it. Try `xlTmp.Workbooks.open (App.Path & "\kundreg\bokfaktura2.xls")`. If that doesn't work, then try putting `App.Path & "\kundreg\bokfaktura2.xls"` in a string variable first, and then passing the … -
Replied To a Post in Create a program to accept entry for three students
What is your question? -
Replied To a Post in Java assistance with phone program
Where is the output? Were you required to make all of those items menu items? It doesn't seem very user-friendly. -
Replied To a Post in Running class file from outside package directory structure
Read more about classpath. [classpath Documentation](http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html) From the documentation: *...Multiple path entries are separated by semi-colons*.... *The default class path is the current directory. Setting the CLASSPATH variable or using … -
Replied To a Post in system() function
I know what you're trying to do. But I want to see how you are doing it, because obviously what you are doing isn't working for you. Without the code … -
Replied To a Post in MSVCR80.dll
I found the following article, which may be similar to your issue. [Click Here](http://www.sevenforums.com/software/319822-itunes-apsdaemon-exe-missing-msvcr80-dll-because-not-found.html) -
Began Watching MSVCR80.dll
Hi, I have two errors which I haven't been able to resolve. 1. MSVCR80.dll not found. 2. APS Daemon.exe not located. itunes will not open either. I have gone into … -
Replied To a Post in MSVCR80.dll
What version of iTunes? -
Replied To a Post in system() function
Can you post your code? Also, what program are you trying to use to play the mp3? Check the Windows default: Control Panel (View by: Large icons) => Default programs … -
Replied To a Post in system() function
If using '\', you may need to escape it. So use `system("c:\\xyz.bat"); ` instead of `system("c:\xyz.bat"); ` -
Replied To a Post in system() function
I discovered another solution that lets you avoid 8.3 filenames. Use double-quotes. But you need to escape them with a '\'. #include <cstdlib> int returnVal = 0; //need to put … -
Began Watching open calais - connection refused
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 … -
Began Watching system() function
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 … -
Replied To a Post in system() function
The following works for me: #include <cstdlib> //use 8.3 filename and directory name format //my file is in "c:\batch scripts\startmp3.bat" //To get the 8.3 directory name: //in cmd window run … -
Replied To a Post in open calais - connection refused
I don't really know anything about OpenCalais, but here's something I found doing a search: Security OpenCalais supports SSL security of traffic to and from OpenCalais. GoDaddy is the authority …
The End.