Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

lan-based connection in vb 6.0

[mysql][ odobc 5.1 driver] can't connect to mysql server Option Explicit Global conn As New ADODB.Connection Global rs As New ADODB.Recordset Sub Main() Dim strclient As String Dim strserver As String...

View Article


how can i execute some code after a given amount of time

how to i execute some code after a given amount of time...

View Article


How do i read a .txt file for a specific number.

Ok, what i am trying to do is make a bukkit plugin for minecraft. I have got it working so it saves the co ords of a player in a .txt file but i now need to read that file for the x, y, and z co ords....

View Article

mouseover for child controls of a panel in vb.net

Hello guys, I am here with another problem I have a panel called PanelItems in a form I have many controls like textbox and label on it In mouseover event of panel I am incremanting the size of the...

View Article

i want to display 10 nos when clicking the button but it not happen

[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim m As Integer While (m <= 10) ListBox1.Items.Add(m.ToString) m = ++1 End While...

View Article


Problem Check For A Palindrome

Hello, so the project I'm working on requires a method to check for a palindrome. First the code i'm using. public class Panlindrome { public static void main(String[] args) { isPalindrome("racecar");...

View Article

problem with

how to make cross-theard calls to windows forms control ? my code is [code] Imports System.Threading Public Class Form3 Public UseTherad As New Thread(AddressOf fillcombo) Private Sub fillcombo() Dim i...

View Article

converting a div tag into inline in css

Hello friends i have a problem in a css i want to convert a div tag into inline <div id="menu1"> <ul> <a href="#"> <li> one</li> </a> <a href="#"> <li>...

View Article


Calculate the value of PI in c++

The value of π can be determined by the series equation π=4 ∗ ( 1-1/3 +1/5−1/7+1 / 9−1 / 11+1 / 13…) Write a program that prompts the user to enter a positive odd number n and uses recursion to...

View Article


return double value from declared array

public static double randDouble() { double casa[] = {0.05, 0.10, 0.20, 0.30}; //the way I was doing for integer before.. double doesn't contain param double randCasa = rand.nextDouble(casa.length);...

View Article

Getting coord for mouse clicked in Processing

Hello guys, I just started to program with Processing today, and I am going crazy after a SIMPLE way to get the coordinates x and y for where the user clicks.. Does anyone have any suggestion? thanks!

View Article

Android vs iOS (which is more beneficial to developers?)

Which platform provides a better environment for developers? I have caught wind of the notion that iOS developers make more than android developers simply because iOS users are more willing to spend...

View Article

get coordinates of mouse click in processing

Hello guys, I just started to program with Processing today, and I am going crazy after a SIMPLE way to get the coordinates x and y for where the user clicks.. Does anyone have any suggestion? thanks!

View Article


Sending Data from Android Client to PC Server

Hi, I'm really hoping someone here can help me out. I'm working on an android project in college, I haven't done android programming, nor have I done any socket programming in college. My first step in...

View Article

leaving visual foxpro

hello fellow programmers! i used to program with visual foxpro for 5 years. i stopped around 2007. now i want to learn a new language but im confused which one to take, visual basic or java. i tried to...

View Article


assignment operator

I'm trying to understand why the assignment operator must return a reference.I understood why it shouldn't return void,because of the chained operations. But this two codes work exactly the same:...

View Article

binary representation of any file with vb.net

hi guys , proud to be one member of your great forum. i have a problem , i am beginner in vb.net and i need some code to do the following : 1)get the Binary representation of any file saved on pc....

View Article


Making a general Drawing class

I would like to make a general drawing class whose methods draw different shapes can be used from other classes. So for example if I am running an algorithm that draws points at specific spots then I...

View Article

I return type Comparable, but java says I did not.

Hello again, I am writing a median of three quick sort algorithm and I just made my findMedian() method. I return type comparable, but the compiler says I don't. public static Comparable...

View Article

Alphabetical sort problem

I am trying to sort an array of structs by he strings they hold. i contain their strings and then compare them to see if they should be swapped. then i swap them if they should. Though when i sort them...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>