199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tashee2007

[code] Private Sub DataBinding() Try Dim bsTableName2 As String bsTableName2 = "dbo.hrBranchSetup" 'cboOrganization.DataBindings.Clear() 'cboOrganization.DataBindings.Add(New Binding("Text", ds.Tables(bsTableName2), "OsID")) brCode.DataBindings.Clear() brCode.DataBindings.Add(New Binding("Text", ds.Tables(bsTableName2), "BranchCode")) brName.DataBindings.Clear() cboOrganization.DataBindings.Add(New Binding("SelectedValue", ds.Tables(bsTableName2), "OsID")) cboOrganization.DataBindings.Clear() brName.DataBindings.Add(New Binding("Text", ds.Tables(bsTableName2), "BranchName")) bsOnlineYNCheckBox.DataBindings.Clear() bsOnlineYNCheckBox.DataBindings.Add(New Binding("Checked", ds.Tables(bsTableName2), "OnLineBrYN")) Catch ex As Exception MessageBox.Show("Error No : " & Err.Number & vbCrLf _ …

Member Avatar for robea
0
291
Member Avatar for Farhad.idrees

I have two Combo Boxes..1-Programme 2-Semester I want to bind Semester combo box with Programme combo box.. i m reading file from Xml.... after binding i have to show data on datagrid view... but i m not able to do it...... i hope someone will help me... Regards.. Farhad

Member Avatar for robea
0
153
Member Avatar for javedsai

Hi everyone, I recently transferred my host from other host provider to blue host. In my code there is logic, when user updates property (Basically, its a real estate website) then, it creates/write xml file in media/xmlfeeds folder. Earlier, on previous host it was working absolutely fine but, after transfer …

Member Avatar for javedsai
0
149
Member Avatar for ask,dziner

hello all, i m new in php, i try to get text text box value in checkbox when i insert the data in the field if when check box is checked and then that checbox value store in database and i also need to show that if that checkbox value …

Member Avatar for Biiim
0
190
Member Avatar for Gaiety

Hi, I have added sleep with random timings and printed the values. I am actually expecting the "Blocked in Child" OR "Blocked in Parent" out put when other process sleeps. But it it never printing the statement.(when the process is going to sleep the semaphore is not cleared so i …

Member Avatar for Banfa
0
133
Member Avatar for Sonny101

Hi all, I am trying to use a prepared statement for the first time and I am getting confused with parameters. The idea is that a GUI opens with 10 fields filled in, now somebody can update one or more fields and this will be updated to an Access Database …

Member Avatar for aloncito
0
554
Member Avatar for learning.java

Write a java program that will open a file, read each of the records from the file, use that data to populate a two dimensional array and write the sorted data out to a new text file. Define a class named [B]Munge[/B] which will do all the 'heavy lifting' in …

Member Avatar for stultuske
0
192
Member Avatar for tendaimare

I have been programming woth vb.net for a long time but now i want to start with java. and I wanted to know where i can find enlightening guidance tutorials and code samples that work . I also heard that java requires other programs to run with it. any links …

Member Avatar for stultuske
0
84
Member Avatar for breakzzzz20

Hey Guy's,anyone has a working codes of my problem? moving row data table to another table using php/mysql sorry guy's for this cause i'm very noob on this php/mysql language any help would be appreciated(i'm reallly badly need your help)

Member Avatar for vibhaJ
0
2K
Member Avatar for mohamedasif18

Hi all, i have a table like below Id Names 1 Sanjay, Anu, Rock 2 Mohamed, Asif, Selva, Manoj, Booker T 3 Jerrico, Cena 4 Amala How do i select MAX LENGTH OF STRING from column in the table, I need the result like, 2 Mohamed, Asif, Selva, Manoj, Booker …

Member Avatar for mohamedasif18
0
207
Member Avatar for hwoarang69

lets say i there is a file with 2 lines in it. and we going to read from it. only thing we dont how how many spaces there are. for ex " -hello ", " -hello", "-hello", " -hello " file.txt ----------- -hello -hello 29 ----------- i want to skip …

Member Avatar for Ancient Dragon
0
143
Member Avatar for Donnovan

Hallo, How can i use Regex to match names in different files. e.g. i have 3 files with names. i need to link the matching names in the different file. any ideas.

Member Avatar for thines01
0
108
Member Avatar for mikeybware

I have an SQL select statement that I cannot quite get working. Dim SelectStr As String = "SELECT * FROM Appointments WHERE Doctor = '" & ComboBox1.Text & "' AND AptDate = #" & DateTimePicker1.Text & "#" This works perfect ... however I have 2 more WHERE possibilities ... I …

Member Avatar for poojavb
0
180
Member Avatar for corvenzo

Hi, I'm a pretty new Java student and I was just confused on a few basic concepts. What exactly is the difference between public and private classes and in which case would you use each one? also, what is a constructor, mutator, or accessor? Thank you.

Member Avatar for ash.28.88
0
480
Member Avatar for Gus_19

As for the form, the user enters the data, but if they need to add additional items (i.e. more people, property vehicles), I need the data to save to an excel file, but clear the form. I have been able to get the textboxes and rich textboxes to clear, but …

Member Avatar for Reverend Jim
0
102
Member Avatar for hwoarang69

for some reason it always return 1; lets say char line will have a empty line or not empty line. int main(void) { char line[20]; //user may enter some word or enter nothing in LINE if(empty_line(line) != 0) { //... } } int empty_line(char line[]) { for(i = 0; i …

Member Avatar for Ancient Dragon
0
82
Member Avatar for alapeh

hi all, can any1 teach me how to add in the x (0-5V) and y axis (0-5SEC) to a picture in my form? below is a example of what i mean, x and y axis value. thanks! [url]http://www.datadynamics.com/forums/144176/PostAttachment.aspx[/url]

Member Avatar for Jx_Man
0
154
Member Avatar for zachattack05

I can't seem to wrap my brain around this one and would really appreciate it if someone has some suggestions! :) I have two tables, one contains a list of locations (AccountLocations), another a list of contacts that belong to those locations (AccountContacts). What I would like to do is …

Member Avatar for zachattack05
0
206
Member Avatar for roshu10

To freeze the exicution for specified period we use threading.thread.sleep() in timer tick event..... But my problem is how to freeze the exicution of a button clivk event for a specified time.....?? I jst tried to use threading.thread.sleep() But its not working in button click event

Member Avatar for vbDotMe
0
127
Member Avatar for Gobble45

Firstly, im not sure if this is the correct location for a VBA question? Please move if necassary. This is my first major project using VBA - Ive previosuly used vb.net quite alot, and still adjusting to understand both, and the differences. My question is: I have a folder with …

Member Avatar for Gobble45
0
264
Member Avatar for winky

Been a long time since I've logged in and had a question, but here goes nothing! I have a file that is not delimited in any way, but I need to replace a particular column character from a space to a alphanumeric value on every other line starting at line …

Member Avatar for winky
0
473
Member Avatar for antonioazevedo

Hi, I have this nice function to truncate a string with HTML. It's very good only now I ran into a problem. There are cases where for example The input will be this: `<a href="some url">this is a link</a>` and what I want to output is exactly the same, even …

Member Avatar for diafol
0
2K
Member Avatar for bjeffries

I am having a bit of an issue with centering images within an image rotator. The rotator is a php/jquery rotator, its very simple. the issue I am having is getting the images to be absolute middle. I have tried what seems to be everything I know, but I am …

Member Avatar for bjeffries
0
172
Member Avatar for PuQimX

i have problem with my code to search node in link list. can anybody help me? sorry for my english.. node *temp1; // create a temporary node temp1 = (node*)malloc(sizeof(node)); // allocate space for node temp1 = head; // transfer the address of 'head' to 'temp1' bool find = false; …

Member Avatar for deceptikon
0
227
Member Avatar for Twin802

Hello again everyone. I am creating a math game sort of...I dont know if they call it a case or switch statement but I want one in both my Menus. Also I am wondering if you can create an if statement or case statement that will support two variables...for example: …

Member Avatar for vegaseat
0
246
Member Avatar for mitchfizz05

Hello all. I am making a virtual iPod touch in VB.NET, and I hate it how I have a form that I can't drag and move the form around the screen, I've trying making the form goto Mouse's location when the mouse moves and Dragging = True, but that doesn't …

Member Avatar for Begginnerdev
0
124
Member Avatar for Oracle1986

Hey all, Im working on a number guessing game where a user has 10 tries to a guess a number. The program supposed to display user guesses and then the main menu after the game has finished. Im running into a couple of problems. The first one being that for …

Member Avatar for Oracle1986
0
254
Member Avatar for sandysooso

my code is to handle the maxlength in the multiline textbox (textarea) so it works just like maxlength in the singleline text box , so I handled it onkeypress , but if I copy and paste , i want to substring the length to the maxlength from the clipboard , …

Member Avatar for stbuchok
0
1K
Member Avatar for Becha

hi can someone help me to make a calculator as required? Create class Calculator. This class must contain the following features: constant PI constructor that accepts two integers, operand1 and operand2 method for writing values ​​and operand2 operand1 methods for calculating the four operations - addition, subtraction, division and multiplication …

Member Avatar for Sahil89
0
128
Member Avatar for Begginnerdev

Hello my fellow Daniwebbers, I have yet another question for you. I have been using a library to scan, located [here](http://bytescout.com/products/developer/scansdk/bytescoutscansdk.html), and have not been getting a consistant return. When I use the TWAIN Source, the GUI pops up and disappears almost instantly. When I tell the source manager to …

Member Avatar for Begginnerdev
0
420
Member Avatar for vizz

How to glow and toggle between colors automatically using .animate( ) function? I started with this but failed further coding $(#glow).animate({ }); Inside above function var loop = true; // toggle on/off var speed = "250"; // animation speed var c = new Array(); //array for colors c[1] = "#0080FF"; …

Member Avatar for vizz
0
215
Member Avatar for Aviplo

Can anyone help me with importing text file to sql server using vb.net here is my code ~~~ vb Dim ImportedFile As String Dim ImportedLines() As String Dim OneLine() As String Dim strSQL As String Dim i As Integer If My.Computer.FileSystem.FileExists("D:\PPOS\Sales_report\inventory_255503221452_Cake102.CSV") Then ' Read the whole text file ImportedFile = …

Member Avatar for ExpertMind
0
3K
Member Avatar for jacksantho

Hi, In my windows machine, just i have installed xampp and the drupal 7. I need of debugging tool, so am going for the Eclipse PHP Development Tool (PDE). I don't know, how to install on my windows machine. Can anybody give me a step by step installation to carry …

Member Avatar for veedeoo
0
234
Member Avatar for joshmac

I have a singleton class that I am revamping and need a little help with. I want to use the following syntax for my queries without having to declare a global object. Below is my current code: /** * The db database object * * @access private * @var object …

0
189
Member Avatar for Afropuff01

I have used 2d arrays many times before, but for some reason eclipse keeps putting a red line under ; at the end of the declaration line for it. When I run it I get an unresolved compilation error. Here is my code: private Zone[][] zones = new Zone[10][10]; What …

Member Avatar for JamesCherrill
0
136
Member Avatar for castajiz_2

Hi guys, as you can see i have a problem with the array , i don t know how to put every remainder in the array and then loop it to get the reverse order, it seems that the array is being overwrited every time the while loop goes and …

Member Avatar for castajiz_2
0
167
Member Avatar for gowans07

Hi, I'm trying to create a form in which a user selects a Customer from a Combo box and then can select a "Dongle" (or Product they have) from a list box. Below is a screen shot of the relationship between the tables. ![04-04-2012_17-43-07](/attachments/large/3/04-04-2012_17-43-07.png "04-04-2012_17-43-07") Also here is a screen …

0
89
Member Avatar for macdunk11

I am finding the factorial and exponents of variables both recursively and iteratively. What I need help with is finding out how long it took each one. Where do I put the System.currentTimeMillis() part and how do I find out exactly how long it took (i.e. 55 milliseconds)? public static …

Member Avatar for macdunk11
0
163
Member Avatar for shyamraghu

i have use a sending mail code but problem is that exist when i have send mail offline it sending but when i have publish my website and then upload this website and then sending mail so a error is occur error is The transport failed to connect to the …

Member Avatar for JorgeM
0
193
Member Avatar for 9tontruck

C programming in IOS? Hi, I am implementing an image editing program in C which should work both in Windows, IOS (iDevices). Ths point is that we do not want to re-write same code in Object-C or Xcode. Let's say that we have a C program that is just resizing …

Member Avatar for 9tontruck
0
311
Member Avatar for Mosey Mo

When the score is greater than 100 points the program should ask me whether the score is correct The program should ask me whether the score is correct. The program should not add a score that is more than 100 points to the accumulator with out permission (if(score > 1000 …

Member Avatar for Zaqmjua
0
104
Member Avatar for Zaqmjua

#include <iostream> #include <string> using namespace std; int main() { string s; for (int i=0; i<10000; i++) { s+=1; for (int j=0; j<i; j++) {s+=0;} } cout << s; } This is a code i wrote to make s=110100100010000... until 10 to the power of 10000. However in the line …

Member Avatar for deceptikon
0
124
Member Avatar for MasterHacker110

With what programming languages can you write OS in. I know that you can use C and C++ but are there any other, when i talk about OS i mean everything: from the BIOS & Boot & Kernel & all the rest that is neede to make an opersting system …

Member Avatar for mike_2000_17
0
141
Member Avatar for jhedonghae

please kindly help me!!! what i wanted is when i select items in the combobox and it is already in the database it will prompt that it is already in the database..tnx ~~~ vb Private Sub ComboBox3_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles ComboBox3.Validating If ComboBox3.Validating Then con …

Member Avatar for jhedonghae
0
131
Member Avatar for ItsAdZy

Pretty stumped on why I am getting so many errors trying to get this to work, the reason terminalArray is not declared is because this is a function, terminalArray was declared before main. Any help will be greatly appreciated! int histArray[10]; int i; int j; while (terminalArray >= 1 && …

Member Avatar for ItsAdZy
0
225
Member Avatar for TabishMerry

Dear All, I am beginners in MS Sql, now I have three tables (Companies, Product, SaleBody). and their fields are (CompanyId, CompanyName), (ProductId, ProductName, CompanyId, PurchaseSTPrice, TradePrice), (SerialNo, SaleId, ProductId, Quantity, Price, TotalPrice).............. I want to create Report in which I want (companies.CompanyName, product.ProductName, product.TradePrice, salbody.TotalPrice) How can I get …

Member Avatar for JorgeM
0
165
Member Avatar for brandon93s

I am writing a program in C to build linked lists from scratch. However, I am getting hung-up on trying to build a link list that will automatically sort itself. By this, I mean that the nodes will automatically be placed in the correct location. My current code is putting …

Member Avatar for histrungalot
0
590
Member Avatar for rue64ja

Hey all… I've been working with Xcode, and an Objective C text book, obviously trying to learn Objective C. When I follow along with the text and type the examples or even when I copy and paste, with out fail there are always several compilation errors. Regardless of how careful I …

Member Avatar for dioioib
0
151
Member Avatar for mp9036

import java.util.Calendar; import java.io.*; public class DayOfYear { public static void main (String[] args) throws IOException { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader in = new BufferedReader(isr); System.out.print("Enter the date (yyyy,mm,dd): "); String date = in.readLine(); Calendar cal = Calendar.getInstance(); String[] seperate = date.split(","); int year = Integer.parseInt(seperate[0]); int month …

Member Avatar for poojavb
0
94
Member Avatar for ponnds

this is my server code i want to receive more than 1000000 bytes ,so the data should be splited into many packets so i use loop to receive all data ,if i use like this server always wait for client even client sent all data to server ,my messsage is …

Member Avatar for Banfa
0
2K

The End.