64,152 Solved Topics
Remove Filter ![]() | |
Hello, I have a barcode scanner and when a field is scanned it should autotab to the next field for population. I have tried this before but cannot seem to get it to work the way I would like. It should auto tab if the field in not null, i … | |
I have a question and here is what I am trying to do. Generate an array of 20 random numbers between 1-100 Display them as generated Sort them into descending order (Starting with the largest and going to the smallest Display the results I have started writing the code but … | |
Guys, how do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it. Anyone please? | |
Hey guys! I'm making a simple app that will need some DLLs that I'm using, but I don't want them to be in the same place as the main exe. How can I make my app to load these dlls from a specified folder, like %mainappfolder%\files\dlls ? Thanks! | |
Hey guys, quick questions! 1- How can I check the size of a variable? Size in bytes, not length. (; 2- What data can be stored into byte variables? And what the maxium size of the variable? 3- How do I store data inside a byte variable? Thats all for … | |
Hello, I am having trouble using ctypes to call a Dll function. In short, the function accepts a pointer to an array of structures....like: [CODE] int arrayFiller( USHORT sensorID, void *pRecord, int recordSize ); [/CODE] I have generated a pythonified version of the function by importing the Dll etc. We … | |
Hi, all Does somebody know how to open text file with half of its name using vb6. example i have 2 files in C:\, they are : 1. Myfile10001.txt 2. Myfile20001.txt I want to read file no.2 with 7 characters first (Myfile2xxxx.txt), and ignore next characters. my script is : … | |
This is not working for me asp.net web page. Maybe dumb question: dim tex as new textbox tex.location = new point (150,150)---------this is highlighted as error tex.width = 150 ---------this does nothing tex.height = 22 ---------this does nothing controls.add(tex) ---------this is highlighted as error Where is my textbox named tex? … | |
Hi everybody, I decided to ask it here because i didn't know how to ask it on google, i want to know what does this line do: : ${dummy_msg:="Nothing started."} Thanks. | |
Hi, I'm having a strange problem with my linked list program. This is slightly embarrassing because I'm getting back to coding in C++ after 4 years and don't remember much. This is the code [CODE]#include<iostream.h> #include<conio.h> #include<string.h> void printList(struct node *&); struct node { node* next; int data; }; int … | |
Hello all I have a query,may be silly but i have to clear it.IT IS REGARDING THE UPCASTING.I want to "when we can invoke the methods of base class using the object of derived class.then what is the need of assigning the subclass object to base class reference." I mean … | |
Dear All, Hi, i am new to php, and i will like to create a Multiple Page Form, the issue is that i dont know how to save the variables from the first form all through to the last form, so that i can save all the form fields into … | |
Hi, I am working on data entry form using PHP. I have 5 fields, on the 1st field I will entry some data, and a ajax code will populate a list matching the data, on select, next two fields will be automatically field with some data from mysql database. Now … | |
hey everybody, i have a text file containing some names i place extract those names and i place it in an array an then i compare it with the input from JTextField i am able to compare them and find the values that match. what i want is if the … | |
Hi everyone, I have pulled data from mysql into an select list in my admin area. [CODE] $query="SELECT id, linklabel FROM pages ORDER BY id ASC"; [I]//I am not sure if the form should be like this...?[/I] '<form name=test id=test action=edit_page.php method=post>'; $result = mysqli_query ($myConnection, $query); echo "<select class=\"boxstyles\" … | |
i get this warning message when I try to include the "using System.Data.MySqlClient;" directive. 'mysqlclient' is missing in the 'System.Data' yet I have installed the connector. what could be the problem? | |
Hi all, Once again I am here with a simple problem which is hard enough to solve by myself: I got the following keys in an array: [CODE] 20110225104849 20110225104833 20110225104848 [/CODE] And following files in a folder: [CODE] google_20110225091600.7z google_20110225091622.7z google_20110225100306.7z google_20110225100410.7z google_20110225104833.7z google_ready_20110225100410.txt google_ready_20110225104833.txt Yahoo_20110225091639.7z Yahoo_20110225100320.7z Yahoo_20110225100424.7z Yahoo_20110225104849.7z … | |
hi, i'm using flash file to open to next screen but i have no idea how to do that using the code...below is my code. i'm having problem to code at red highlighted area.How do i make it to link or show the next form once the button clicked. PLEASE … | |
Hello, I'm trying to select a good IO module. My goal is industrial control: sensors and push buttons for inputs and ssr's and lamps for outputs. I have VB 6.0 (not professional) I'm looking for about 16 I and 16 O. . . once recieving the module, typically, are there … | |
Hi, I have such js code: [CODE]$(document).ready(function(){ $('#a').click(function() { alert('Handler for .click() called.'); }); });[/CODE] And I have a link in my page [CODE]<a id = "a" href="url">Link text</a>[/CODE] I checked the view source of web page, scripts are loaded, my js file is called bannerUpload: [CODE]<script type="text/javascript" src="/joomla15/media/system/js/mootools.js"></script> <script … | |
Hello. I'm not very familiar with RichTextBox so I don't know if it can do what I'm thinking. I have 2 textbox, Quantity and Type. What I want is, when type in both, and click Save, it will save in the RichTextBox. Then click Clear, the text in both textbox … | |
Dear Sir/Madam I am getting the list item of a listbox as ToolTipTest on mouse move event. How can I get the list item of a listbox as ToolTipTest by pressing Up or Down Arrow Key on KeyBoard. Please guide me. How i have got the list item as ToolTipText … | |
good, i am having trouble on how to insert record date in my access db. i am using hdate as my field and his data type is short date here is my code [CODE] cmd.CommandText = "INSERT INTO hold ([hdate], des) VALUES (#" & myDate & "#, '" & TextBox1.Text … | |
Hi bro, this is my frame work of the simple login script. now i want a send the id input to the display.php, without changing this frame work coz i only know this way of making a simple login. [CODE] <?php if (isset($_SESSION['basic_is_logged_in'])) { unset($_SESSION['basic_is_logged_in']); } session_start(); $errorMessage = ''; … | |
Hello, I have looked all over the Internet for the answer to this question. I know that, to send data to the server using SSL, you encrypt it using the servers public key. I also know that the private key is used to decrypt it. What I don't understand is … | |
Hi guys. I have some questions about very long diagram that I have to make. In short lines the task is this: airplanes and airports. The airports have these characteristics: One runway and multiple hangars. Some of the airports are only military. The airplanes have these characteristics: Capacity. Speed. Max … | |
in visual studio 2008 C#, I'm using Developer Express v2010 v10.2.4 to develop a form. when I run the form in other pc, It pop out a message(look at pic in attach).Run in my develop pc is OK. Detail message is See the end of this message for details on … | |
So.... Pretty strange thing is happening to me. I have a scrolling thumbnail marquee which on click pops up an image box div and replaces the thumbnail with a larger image, sets the src, then re-replaces the thumbnail. This works perfectly on my local machine but when uploaded to the … | |
ive been implementing this formula and it doesnt give me the right ans. is this applicable? p3tc = ((p2tc - p3at.Text) + p2tc) + p3bt.Text can someone please rearrange this formula to an effective and better formula. :) i create another form to try if this given value really works … | |
I'm currently using Dreamweaver to rework my site. This includes a mix of HTML for most of the content, and a JavaScript menu bar on every page. When I preview the page in my browser, the menu bar is aligned left. Below is the code for my entire page. [CODE]<!DOCTYPE … | |
Is their ANY way to do something like: [code] for (int x=1; x<3; x++) {string MyArray[1][x]={"-"};} [/code] Assuming the array has already been defined? I really don't want to have to do: [code] MyArray[1]={blah} MyArray[2]={blah} MyArray[3]={blah} etcetera etcetera [/code] I'm not necessarily looking for efficiency but seriously, initializing 50 arrays … | |
hello everyone, I am doing a program for a class which is suppose to say the amount of pages one needs to read and then say if any of the homeworks have the same amount of pages. My teacher wants me to override the compareTo() method and then test it … | |
Hello i have problem, how can i put icon on my toolbar below my menu bar.because i have not yet tried using the toolbar. Thank you in advance hoping for your positive response. | |
Hi, I have a rectangle inside another rectangle, how can I make to do like an IntersectWith method but just the outer rectangle Border? Since one rectangle is inside the other it seems like it is always intersecting so I want to know how to tell the inner rectangle to … | |
Hi, I am trying to generate an sql query to insert several pieces of data, most of which comes from another table, however I have one variable that comes from PHP variables as below: [CODE]insert into scores (AuditID, question_id, available_score, question, question_number, question_section) values ($auditvalue, (SELECT questions.quid, questions.question_value, questions.question, questions.question_number, … ![]() | |
Similar to the issue in [url]http://www.daniweb.com/forums/thread227151.html[/url] I have multiple rows with identical values; in this case they are Census Blocks (CB --> blkidfp00) that have 15 digit values. I have multiple rows because each is differentiated by the type of services available in each CB, and there are many different … | |
Hey guys im looking for an image rotator script with links, so every time the page is refreshed a new random image is displayed. The thing is, i need a script that doesnt have the location of the images in the script. I need a script like the current google … | |
i'm having problem displaying number of points scored in a game for every one right answer users scores 2 points... and i'm having little problem in displaying these points in a box below the game :( can any one help me out on that one thank you :) [CODE]<!DOCTYPE html … | |
i'd like to ask how one can get rid of all the components in a JPanel (buttons, labels, comboboxes etc), so that you can add new components (at run time that is) | |
ive been searching for a triple combo dropdown script with go button and cant find one! i found a double combo([url]http://www.javascriptkit.com/script/cut183.shtml[/url]) but im aiming for triple which they can choose country, State and city need help! | |
Hey guys, I just started to try and use OpenGL and I wanted to run an example but I get linker errors. The code is just fine but it has linker errors says the console. Linker Errors/Console: [CODE] [Linker error] undefined reference to `glFinish@0' [Linker error] undefined reference to `wglSwapBuffers@4' … | |
i got a small piece of soft that connects to a huge .gdb database (500000 lines) through the network. using .movelast will give me memory out. any good advice to access in a fast way the last record? Dim cn As New ADODB.Connection sConnStr = "Provider=ZStyle IBOLE Provider;Password=masterkey;User ID=SYSDBA;SQL Dialect=3; … | |
Hi guys, I have a class called [B]Gen [/B]under a package [B]diaby[/B], project name diaby. I then have my other project andy, with class [B]Anders [/B]under package [B]andy[/B]. I have built successfully project dan, gone into its dist folder and copied the jar into project kim's common jars/libraries, included the … | |
My project I am working on is a product location system for a large supermarket. My current issue is that the map I am using to display the product location is assembled from rectangle objects which I will then change the colour of when required. The array storing the locations … | |
Hi I am running a simple application which has three Radio Button and I have two problem with that as following: 1- First of all, two of the radio buttons [R2(Blue) and R3(Green)] are automatically selected when I run the code!(As you can see in attached screen shot). I tried … | |
[CODE] #include "includes" int main() { time_t rawtime; struct tm * timeinfo; char buffer [80]; time ( &rawtime ); timeinfo = localtime ( &rawtime ); string timetest; timetest= strftime (buffer,80,"%Y-%m-%d",timeinfo); puts (buffer); } [/CODE] now instead of print the time i want add the value of the time to a … | |
I'm wondering what is the proper way to point at an overloaded function. Is it correct to cast the function to the proper type? [code] #include <iostream> int double_it(int x) { return x * 2; } int double_it(int x, int y) { return (x + y) * 2; } int … ![]() | |
In these problem I have to find triangular number by the number of it's divisors. The program takes about 0.65 seconds to find the first triangular number with >100 divisors and about 87 seconds for the number with >200 divisors which means that my algorithm is very inefficient. Any help … | |
I am trying to drag a program originally written in Borland C version 3 into the light of the present using Visual C++ 2010. I have a curious, apparently simple, problem. The program read data from a file. I can create a noddy program that opens and reads the contents … | |
Hello everyone I have written a small c++ program where two files are compared line by line and in case the lines are different, the differing ones are put into a report.txt document.But its not working right! The first few lines which are same are not put into the report.txt, … |
The End.