64,152 Solved Topics
Remove Filter ![]() | |
Yesterday I converted my site over to MS SQL and now I'm having an issue with part of my site. The search box is supposed to check for a part number the user types in, but it doesn't even come close anymore. In Access the column searched was a Number … | |
Hi, I've looked all over the web for several days and seem to find no answer to this issue. I would appreciate any leads. Thanks in advance for your time! I need to find the underlying disk capacity (total size) of an unmapped network share in windows (Win7, XP, Server … | |
Thank you for reading my thread. I am experiencing an issue using struct tm and I can't figure out what I am doing wrong. I have looked at several examples and read up on the structure, but to me it all looks right. I would appreciate some fresh eyes on … | |
im a newbie to python, still learning as of today. as a part of my 'self-training' i listed some topics to practice every week but i was not able to run it successfully and im stuck. what i wanted with my activity is for it to read a .txt file … | |
Hello everyone, I'm working on a program that reads a PNG and extracts a custom chunk from it (using libpng). But now I've got problems to actually register my callback function to handle unknown chunks. According to the official documentation I have to declare which chunk is "unknown" (by their … | |
Hi all, Im working on the design of a function at the moment and im not sure if the if statement i want to do is safe. Ill start with the data structures i have as this is where the problem could come from. (simplified with relevent bits only) [code] … | |
For a program I am working on, I need a way to use an if function for a variable, if the variable is within a certain range of numbers. i.e. [CODE]if(x == 1-5) // meaning if x is from 1 to 5 //do something... if(x == 6-10) // i.e. if … | |
I've tried reading through [B]datareader[/B] from the database. Tried dataadapter, reading from dataset and datatable. All of them generates an error when reading empty rows. Yes, I have used try and catch statements but the error still generated, that is transforming only in a messagebox. What I want is to … | |
Hello, I have created a timer for my Winforms to tick down from 300 to 0 and then refresh my form. I have used this.refresh when it hits 0 but it doesn't seem to do anything as the label is still the same when it has completed it's timer function. … | |
Hi, a simple question: how do I enable deleting inside a python program? I have a python program that asks for user input, users write some words and then press enter. The problem is they can't use backspace or supr to delete anything, instead, the program prints ^? each time … | |
I'm hoping someone can help me here. I have 2 tables in a access database. I'm trying to join certain data points from both, simple. I've done a few joins already for this site. But the problem I'm having is this one seems to be destined to annoy me. [code]sql … | |
Hello. I'm having a bit of difficulty implementing Drag and Drop. The scenario is this. I have a project with an MDI child where I want to drop documents from Windows Explorer. The code is all in place (this is just for debugging purposes) and I have set AllowDrop to … | |
how to read 25 digit number in java???? i want to write a porgram to perform addditon and substraction between 25 digit numbers | |
Hi all! I still consider myself to be a newbie at PHP, but i have managed to develop a good PHP application, thanks in a large part to daniweb members' help and advice. My problem now is, having coded a profile page (profile.php) which displays user information dependent on the … | |
Hi, I'm trying to write a form that has required fields. When the form is filled out with the required fields missing, I'm trying to have a pop-up that tells them what is missing and then cancels the submission of the form. At the moment I have the function below … | |
Where I work we're trying to create a CD that contains PowerPoints, PDF files and video files. The contents of the CD need to be protected somehow so that the user can open the files but can't edit them, and the disc should also be able to work on both … | |
In MDIParent, in my formload in MDIParent, one form is load. And i want the form when i click a button, there is another form will be loaded INSIDE the MDIParent? how is that? Can somebody teach me the code? Thank You! | |
I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile … | |
I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile … | |
We want to use a licensing system for our new software, so we know that our customers are using the same amount of apps that they paid for. The general idea is to get their processor ID and HDD serial number and combine them to make our license string. I … | |
Part of the app I am writing allows users to create an encrypted, password-protected output file that they can email safely to a central store. I can't have the users choose their own password for the encryption as the central store needs to access the contents of all the output … | |
Hi, I'm developing a data logging application using VB for the actual logging to a MySQL database. I'm reading a value from a device and then running an insert query every minute. This is great but if the value doesnt change all day then my records are going to all … | |
I have 3 computers connected to each other, pc1 is the server while pc2 and pc3 are clients. I created a windows application using c# and MS sql server as database at pc2 where in the sql server was installed, anyway, i didn't installed sql at pc1 server coz of … | |
Hi, what i'm really trying to find out is how to run 2 queries and get the result of them in a single file. The code goes Below, the problem is that the printed result comes only from the first query the second query result is displayed as 1st query … | |
I can use following codes to change resolution but problem is that when I run my program it changes resolution(1280*1024) & show form which doesnt fit the screen though its width is 1280 & height is 1024. But when I close that program & run it again then it works … | |
i wanaa compare 2 array list and find the uncommon data in 3rd arry list i have written below code ArrayList db2Crns=new ArrayList(); ArrayList oracleCrns=new ArrayList(); ArrayList leftOverCrns=new ArrayList(); db2Crns=testDB2Connect.getDb2LoggedInCrns(); oracleCrns=testOracleConnection.getDataFromPartyAuditInfo(); int array1Size = db2Crns.size(); int array2Size = oracleCrns.size(); System.out.println(db2Crns.size()); System.out.println(oracleCrns.size()); for(int i=0;i<oracleCrns.size();i++) { String val=oracleCrns.get(i).toString(); int k=0; for(int j=0;j<db2Crns.size();j++) … | |
I have below out using print_r(); how can i display individual like i want to display [currency] => USD [rate] => 1.3000 how to use foreach Thanks [CODE]$xml = simplexml_load_file("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml"); echo $xml->getName() . "<br />"; foreach($xml->children() as $child) { echo $child->getName()->currency . ": " . $child . "<br />"; echo … | |
Hi, Have resize the image to fit the picture box (for other purpose). now i tried to zoom in the image and i succeed on it. but my problem is when i zoom the image the image get zoomed and image moves toward right. How can zoom the image without … | |
I'm a newbie C# programmer, and I would like to ask for help on this error. I was trying to get a button to change its image when it is clicked, a task that sounds so simple, I know, but whenever I run the program and click said button, it … | |
I have a problem in posting form elements through ajax, what am i doing wrong? Can anyone help me please :( [CODE]<?php error_reporting(5); $uid = "username"; $tid = 500; $photoTiding = "true"; $picName = "picname"; $pid = "pid"; include('sample_db.php'); //displaying users pic and textarea to comment. $user = "SELECT pic … | |
Using nested for loops, how do I write a program that asks the user to input an integral number and then displays a diagonal line with that many dots on the console screen starting in the column? An input of 4 would display four diagonal periods, while an input of … | |
Ok I'm javascript newbie and I have to make script for displaying random images after click on dice picture. The problem is that the script shows only only 1 picture after the clcik and it won't continue with the next random images. [CODE]<html> <head> <script type="text/javascript"> function randomize(){ var delay … | |
hi I am trying to add numeric text with [B]thousand seperater format [/B]in three textboxes. Problem is amount after thousand seperate get ignored i.e if text1.text is 1,250.00 text2.text is 3,500.00 and text3.text is 2,100.00 the result in text4.text is 6.00 instead of 6,850.00 Text4.Text = Text1.Text + Text2.Text + … | |
I've got a DropDown which I populate from a database. When an item is selected I want to redirect to another page with the selected id, but the problem is it passes "1" no matter what was selected. [code] protected void Page_Load(object sender, EventArgs e) { Populate(); } public void … | |
i know i need to post properly using (code) (block codes),, this is my understanding of that rule if i'm wrong pls teach me, i will abide. thank you I have been trying to get this code right for 4 days, i am losing hope. i know you'll understand me. … | |
this is my whole code hi NOrmR1 would you give me a hand mate please [CODE] import java.util.*; class Property { private String ID; private String description; private String location; private double weeklyRR; private char status ; private boolean visibility; public Property (String pID, String pDesc, String pLOc, double weeklyR … | |
How to read per row in a table in mySQL as the database? i want each username when they login, they will go to their respective forms. Like for example, there are 3 users and each user have their different forms. can someone help me with this... thank you! This … | |
I am using the following function to convert ascii to hex, but it is not working properly. [CODE]Private Function HexString(EvalString As String) As String Dim intStrLen As Integer Dim intLoop As Integer Dim strHex As String EvalString = Trim(EvalString) intStrLen = Len(EvalString) For intLoop = 1 To intStrLen strHex = … | |
Hi, I'm a student from Malaysia and I am trying to do a program where the program will run and then when it reaches a certain part, it will show a message and pauses the program until the user clicks done/continue/yes button at the message. Flow: Programme running-->Message-->"Please close all … | |
Hi people, This is my first post here. It really is a nice community, especially for people who are not "qualified" programmers with the "attitude". I am a programmer by hobby and did not like being in any community previously. There are some really nasty folk. Great job guys! This … | |
I want to crawl my gf's xanga's post into my computer for better reading but it require me to login before viewing the post I am wondering ,can python crawl this password protected webpage? I already have the id and password, because that is my id. the login webpage, for … | |
I'm almost finish with my project that was made in visual studio 2008 using C#, so i want to ask this ahead of time. I want the project to be an executable file, this is my first time so how could I do it? One more thing, my form has … | |
Here's the situation: I have a dictionary database. I use special characters in the pronunciation (like this: 'hə.lə.ba.lu). However, when I use a PHP script to output this data, the special characters get replaced with question marks. Like this: 'h?.l?.ba.lu I've read a lot on this topic, but I'm not … | |
Hi, I am working on a project and when I run my code, I get a segfault. I checked it with valgrind, and it says that I am trying to access a memory location that I maybe not malloc'd, stack'd or recently free'd. The only 'mysterious' thing I'm doing is, … | |
Hello, I am getting a syntax error in the following code, any suggestions what I need to modify? Thanks "Script line: 7 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line … | |
Here is my code, i am getting the following error message. How do i handle it? [code]package simp; import java.io.*; public class fCase { public static void main(String [] args) throws IOException { BufferedReader readObject = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter your expressions here"); String userEntry = readObject.readLine(); String [] toki … | |
i have alot of forms , when i press in button that's open the other form in new one how i can make it open in the same form & not open it in new one | |
How to do this? I read that it is done in event. | |
So, I have this code snippet where I read a text from a TXT-file: [code] file = open('test.txt', 'r') content = file.readlines() file.close() print(content) [/code] The printout: [code] ['My name is x.\n', 'I am 45 years old.\n', '\n', 'My girlfriends name is y.\n', 'She is way too old for me.\n', … | |
My c++ code [CODE=c] string map = "111111111111111111111111111" for (int i = 0; i < 20; i++) { int number = atoi(map[i]); } [/CODE] Gave me error: cannot convert parameter 1 from 'char' to 'const char *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style … |
The End.