43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Hawk123

Hi, i made an application using VB.NET 2010. i have 5 forms. i want to know how to make one common navigation (like in a webpage) for this application. Is it possible to have the menu and header static and loads each form in one dynamic container. I hope my …

Software Development vb.net
Member Avatar for Hawk123
0
98
Member Avatar for Aphrite

Ok so I have a program that can save user's input into a text file and load it back, but whenever I try to open the file and exit without selecting the file I get an error.(if i select the file and open it i don't get any errors). this …

Software Development file-system vb.net
Member Avatar for Jx_Man
0
216
Member Avatar for kyriacos1986

When I run the following lines of code the following erroe from the compiler is displayed [CODE]cannot find symbol - method start()[/CODE] CODE: [CODE]import java.lang.Thread; import java.util.concurrent.*; public class MyThread { public static final int MAX = 15; private String message; /** * Constructor with parameters * * @param message …

Software Development java
Member Avatar for forkmartin
0
138
Member Avatar for Bladtman242

Obviously I have some wrong assumptions, because this prints "strsize = 8" no matter what. I realize my use of system() might be misguided, so if you have comments on that don't hold back, just please help out with the string-thing aswell : ) BTW it's a 'wrapper' for shell …

Software Development c
Member Avatar for Bladtman242
0
180
Member Avatar for enterpise

i have programming assignment which is to make UDP and TCP client now i already finished UDP ,TCP client and GUI now i want to make the command line class So the assignment tell me that "CLIENT: The client should read input from the command line: • -x <number>, where …

Software Development client-server gui java tcp-udp
Member Avatar for enterpise
0
204
Member Avatar for ThaiAmL

Hello! I'm studying right now as an exchange student in Germany and taking my first programming course in Java, and in the last week, things have just started to go over my head and I'm kind of drowning while trying to get all the homework done! The assignment was supposed …

Software Development java mathematics
Member Avatar for ThaiAmL
0
1K
Member Avatar for freedomflyer

I am trying to pass some url information into tokenize_urls from process_and_display_information. To get things up and running, I am simply trying to return and retain some array data from tokenize_urls into process_and_display information. However, I am running into an issue where the variables are created and sent back from …

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

Hi, I am having a problem with the if statement that I created in my code. The condition should be: - Select Both Comboboxes (1&2) to print out a text in TextBox1 - If only One Combobox or No Combobox was selected, an error message appears and Nothing is printed …

Software Development vb.net visual-basic
Member Avatar for Alex_2011
0
3K
Member Avatar for enterpise

now i'm try to make the delete and successor method for BST in java[CODE]public void delete(BinarySearchTree<V> pointer) { // 1. The node is a leaf. // 2. The node has no left child. // 3. The node has no right child. // 4. The node has two children. BinarySearchTree<V> current …

Software Development java
Member Avatar for enterpise
0
156
Member Avatar for SyncMaster170

I am trying to publish this program. I rebuilt it, then hit publish. It starts, then at the end its throwing up 18 errors and they all look similar to the error below. About 15 of the other errors end in .dll.deploy. Ive never seen this type of error before …

Software Development visual-basic
Member Avatar for AndreRet
0
138
Member Avatar for pwolf

Create a function generateNumbers(num) that takes in a positive number as argument and returns a list of number from 0 to that number inclusive. Note: The function range(5) will return a list of number [0, 1, 2, 3, 4]. Examples [CODE] >>> generateNumber(1) [0, 1] >>> generateNumber(10) [0, 1, 2, …

Software Development programming-construct python
Member Avatar for TrustyTony
0
2K
Member Avatar for pwolf

the objective is to create a function to determine, from the three sides of a triangle, whether it is isosceles or not. I wrote the following code, yet its not very efficient, how could i have done this better? and is there anything wrong with this code? i tested it …

Software Development python
Member Avatar for TrustyTony
0
3K
Member Avatar for Joelx

I need to copy a certain line from a text document, this I have done by using a "key-word" in the document. My problem now is that I also want to copy the entire line below this specific line. Help is much appreciated as I am new with programming FILE …

Software Development python
Member Avatar for Joelx
0
181
Member Avatar for sharathg.satya

hi all i am facing a problem with the below code i used keylistener so that when i click letter 'v' the program has to exit. But the following code is not working. Help me please.. i think we should add listener to the code but how to add listener …

Software Development audio java
Member Avatar for stultuske
0
187
Member Avatar for HadoukenGr

[CODE]#include<stdio.h> #include<string.h> void FindWord (char used[30] , char string[30] , int wordsize); char* CleanString (char string[30], int wordsize); int main (void) { FILE *fp; char letters[30]; char words[30]; char used[30]; char *string; int wordsize; int input_size; input_size = wordsize = 0; fp = fopen("dictionary.txt","r");/*contains a list of words in the …

Software Development c
Member Avatar for HadoukenGr
0
152
Member Avatar for Rizvi404

Am trying to BACKUP database in .bak format and when i compile it am getting [B]-2147221504 source file doesnt exist error [/B] can anybody please HELP.. Thanks in advance

Software Development visual-basic
Member Avatar for Rizvi404
0
297
Member Avatar for jbutardo

I have this OLEDB connection string connectionstring as string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ data.toString & ";Extended Properties=""Excel 8.0;HDR=Yes;IMEX=2 I just want to know what is the meaning of HDR and IMEX, and what are their purpose on the connection string Thanks..

Software Development vb.net
Member Avatar for jbutardo
0
1K
Member Avatar for newbie26

'why is that when i change something on one form, when i ran the program,the changes i made don't seem to take effect? example, i set a button's visibility to false, when i ran that form, the button still appears. even if i already saved it before running i already …

Software Development vb.net visual-studio
Member Avatar for newbie26
0
176
Member Avatar for uva1102

Hi everyone.. Problem: no space between each tables.Could anyone please advice.. solutions: here is the coding: protected void btnShow_Click(object sender, EventArgs e) { if (ddlMonth.Text != "") {d.Controls.Clear(); DateTime start = DateTime.Parse(ddlMonth.SelectedValue); DateTime end = start.AddMonths(1).Subtract(new TimeSpan(1, 0, 0, 0)); switch (ddlRecurr.Text) { #region Daily case "Daily":{ foreach (preventive p …

Software Development session
Member Avatar for uva1102
0
147
Member Avatar for gowans07

I currently have the following code [CODE]Data1.Recordset.Sort = ("Barcode ID DEC")[/CODE] In which i want to sort all the Barcode ID records in Descending order. The barcodes have leading zero's which i think may be the problem. For example 00000055. Any suggestions?

Software Development visual-basic
Member Avatar for ChrisPadgham
0
1K
Member Avatar for november_pooh

Hi masters, I want to replace a string with another string in textbox How i can do this? Please help Thank you

Software Development visual-basic
Member Avatar for ChrisPadgham
0
235
Member Avatar for rue64ja

Never Mind the title of the post guys and gals… it turns out that writing the post helped me vent my frustration and clear my mind. I found the issue and solved the problem while I was writing the initial post! I'm writing this because I haven't figured out how to …

Software Development objective-c
Member Avatar for rue64ja
0
171
Member Avatar for krejar

I think my issue is in line 18. The program runs just fine, but my answer isn't correct when I enter a radius and height. Not sure what I am doing wrong here. [CODE]import java.util.Scanner; import java.text.DecimalFormat; public class ConeA { public static void main (String[] args) { double surface; …

Software Development java
Member Avatar for krejar
0
190
Member Avatar for lxXTaCoXxl

I've been trying to better my lesser side of knowledge in the C# programming language by tackling graphics head on. I've learned a little bit, but I'm getting stumped right now because I can't explain 100% what's going on here. I've developed a Pong game to teach myself how to …

Software Development
Member Avatar for lxXTaCoXxl
0
143
Member Avatar for rahul.ch

A snippet: package com.deitel.jhtp7.ch14; public class AccountRecord { ..... Doubt: 1. What does the above package statement imply. As in how(path) this AccountRecord.java will be stored? As in what folder hierarchy should I create? 2. In Command prompt I have set my Current Directory as : E:\RDL\Dropbox\Coding\Core Java\File So will …

Software Development java
Member Avatar for DavidKroukamp
0
244
Member Avatar for stepmaster

I was just trying to compile a program from Sams Teach Yourself C#, I've done some before but just changes to an existing program. Now I'm trying to make my own. I get an error on the picShowPicture command. I believe it's in the System.Drawing namespace which I have a …

Software Development vb.net
Member Avatar for gusano79
0
114
Member Avatar for whodoes21

Hello. We have been asked to write a program of an event driven simulation in dynamic partition. where we are given a number of jobs with it's given time and job size. the job should remain on the memory until completion (time clocks down to 0). the program should measure …

Software Development queue storage
Member Avatar for Mike Askew
0
315
Member Avatar for rahul.ch

[code]public class StringBuilderConstructors { public static void main(String args[]) { StringBuilder sb3 = new StringBuilder("hello"); System.out.printf("buffer3 = %s\n", sb3.toString()); //written in textbook System.out.printf(sb3); //i tried System.out.println("buffer3=" + sb3); // i tried }} o/p: buffer3 = hello hello buffer3=hello[/code] doubt: The book says toString() gives the string representation an object. That …

Software Development java
Member Avatar for rahul.ch
0
237
Member Avatar for behemothdave

Okay so I am creating a windows form to basically act as a bank ledger for an individual. Pretty simple they must enter the account information, and a beginning balance. The key is the validation, it is really tripping me up. I need to ensure that upon clicking the continue …

Software Development
Member Avatar for behemothdave
0
199
Member Avatar for Alex_2011

Hi, Thank you all for your help. I wrote this code and I want (Combobox2) to show only the cities that are selected from (Combobox1) Example: When (Michigan) is selected from (Combobox1) - (Detroit & Ann Arbor) are the only choices that should be selected from (Combobox2) And When (Ohio) …

Software Development vb.net visual-basic
Member Avatar for Alex_2011
0
94
Member Avatar for PrimePackster

I have written a simple program to save details about a maximum of 20 people using structures. But when i run it, gets gives me error....... Here is the code... [CODE]// Hihi.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { …

Software Development c++
Member Avatar for PrimePackster
0
184
Member Avatar for poojavb

Hello Friends, I need one urgent help on this topic. I have a database in mysql. The column in table is of datatype time(0) Similarly I have a control datetimepicker in vb.net I have assigned format property as [COLOR="red"]custom[/COLOR] to the control and the CustomFormat property as [COLOR="Red"]HH:mm:ss tt [/COLOR]so …

Software Development vb.net
Member Avatar for poojavb
0
592
Member Avatar for Sawamura

How can i get battery status? Any help will really appreciated. Regards Sawamura

Software Development visual-basic
Member Avatar for Jx_Man
0
379
Member Avatar for Cameronsmith63

Good Morning Guys/Gals. Need some help with this. How long does it take to dispose of da and confdt? What im trying to say is, that this function works fine if i execute it every 5 seconds or so, giving it enough time to close the controls, but if I …

Software Development
Member Avatar for Cameronsmith63
0
163
Member Avatar for dellat

Hello, I'm looking for c++ api example for ncurses programming and needless to say that it is not available except 7 part snake game development video on youtube which is a bit difficult for a noob like me to understand. GNU ncurse 5.9 documentation heading states that it has c++ …

Software Development api c c# c++
Member Avatar for dellat
0
599
Member Avatar for mfas

Hi all, I have been messing around with datagrid styling for a couple of days now, and I am having one issue left which I can not seem to solve. I want to highligt the text of the row on which I hover with the mouse. Well this seems like …

Software Development asp.net vb.net
Member Avatar for mfas
0
2K
Member Avatar for pwolf

""" Write a function to convert temperature from Celsius to Fahrenheit scale. oC to oF Conversion: Multipy by 9, then divide by 5, then add 32. Examples >>> Cel2Fah(28.0) '82.40' >>> Cel2Fah(0.00) '32.00' """ so it says, but i couldn't think of an a way to do so efficiently. But …

Software Development python
Member Avatar for TrustyTony
0
1K
Member Avatar for poojavb

Hello Friends, I need help on the below issue I have two forms -DoctorAppointment -DoctorSchedule the DoctorAppointment form has all the details about the doctor and the patient and one Schedule button which will show the DoctorSchedule form When I click on any value in the DoctorSchedule form like Monday …

Software Development vb.net
Member Avatar for poojavb
0
106
Member Avatar for bhagawatshinde

Hi all, Can anybody help me...How to create insert store procedure in access db with c# windows application.

Software Development
Member Avatar for bhagawatshinde
0
166
Member Avatar for jemz

Hi, I am new in this C#, and i need to know what are the first thing should i know in C#.and what program should i make for the beginners like me. Thank you in advance.

Software Development c#
Member Avatar for jemz
0
211
Member Avatar for Torf

Hello, I do not understand the following parts in bold - how it works, what is is for..etc. I'm not following the book's explanation.. [CODE]#include <iostream> using namespace std; [B] double totalCost(int numberParameter, double priceParameter);[/B] int main( ) { double price, bill; int number; cout << "Enter the number of …

Software Development c++ ios
Member Avatar for MandrewP
0
284
Member Avatar for kenth21v

Good Day. I am using VB.net 2010 and SQL client server. I have to make a Weekly Report Manager that stores an Trainees' weekly activity, which would probably be in a paragraph form. I think I can use Textbox (multilined) or Richtextbox for this. But When I tried to store …

Software Development client-server vb.net
Member Avatar for kenth21v
0
3K
Member Avatar for freedomflyer

For some reason, whenever I try to find a slash at the end of a byte string (in this case, base_url which is set to "www.google.com/"), it doesn't seem to want to return that it is or isn't there. However, if I change base_url to something like "www.google.com" where m …

Software Development c++
Member Avatar for freedomflyer
0
205
Member Avatar for mantapgan

Hi im trying to insert date to my .mdb database, but when i check it, the date turned into random numbers, like 3.2938482 here's my code [CODE] Dim constring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\dbperpus.mdb" Dim query2 As String = "select * from fpinjam2" connect = New OleDbConnection(constring) connect.Open() cmd = …

Software Development open-source vb.net
Member Avatar for mantapgan
0
148
Member Avatar for riahc3

Hey Lets see if I can explain myself correctly...... I have 2 projects, one a program and another a library. First project is basically this, more or less (obviously it is more complicated) [code] //This is the main project //Inside com.stuct: //Global.java package com.stuct; public class Global { public static …

Software Development java
Member Avatar for riahc3
0
529
Member Avatar for Eragah

[B]For some reason whenever i print out the code below "System.out.println("Heat 1:"); never prints but rather somehow just leaves the terminal window. because when i use print instead of println it shows but not when i use println[/B] [CODE] System.out.println("Heat 1:"); System.out.println(heat1[0][0] +"\n"+ heat1[1][0] +"\n"+ heat1[2][0] +"\n"+ heat1[3][0] +"\n"+ heat1[4][0]+"\n"); …

Software Development java
Member Avatar for stultuske
0
193
Member Avatar for iamthesgt

In working on a logfile for an application, I needed to limit the size of the logfile to 1000 bytes. Since it is not possible to delete lines from a file in C++, I used the following steps: Rename the logfile to a temporary name. Read the temporary file. Write …

Software Development c++ ios ubuntu
Member Avatar for iamthesgt
0
230
Member Avatar for newbiecoder

Hello everyone, I'm coming up with a very primitive question: I need to take two numbers from console and process them. Since I'm getting input from console with Console.Readline(), how can I seperate those numbers from the string? Thanks in advance..

Software Development
Member Avatar for newbiecoder
0
141
Member Avatar for newbiecoder

Here is another simple question (I'm asking them because I couldn't find a way by myself): Suppose I have a string [CODE]x = "Daniweb"[/CODE] When I try to update an element like : [CODE]x[3] = k[/CODE] The Visual Studio says it is read only and gives error. How can I …

Software Development visual-studio
Member Avatar for newbiecoder
0
101
Member Avatar for Chuckleluck

Hello, Here is my example code: [CODE]// Main.h #ifndef MAIN_H #define MAIN_H #include <iostream> using namespace std; #include <string.h> string HelloWorld = "Hello World!\n"; void HelloEarth(); #endif [/CODE] [CODE]// Main.cpp #include "Main.h" int main() { cout << HelloWorld; HelloEarth(); }[/CODE] [CODE]// Secondary.cpp #include "Main.h" void HelloEarth() { cout << HelloWorld; …

Software Development c++ ide
Member Avatar for gusano79
0
2K

The End.