199,114 Archived Topics
Remove Filter ![]() | |
Hi, So i'm trying to write a program that will work like a credit card database. The instructions say to add a file with 10,000 names that was given to us and add it to our project file. a scanner is suppossed to read through that file and add each … | |
I'm going through a netbeans tutorial on Java ecommerce located here: http://netbeans.org/kb/docs/javaee/ecommerce/setup-dev-environ.html When I get to "running the web project, step 1", I click the green run button in the NetBeans IDE. In my browser, it goes to http://localhost:8080/AffableBean, but no HTML is displayed. If I view the admin domain … | |
Can anyone help. I have the following code: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 7 Then MakeHyperLink Target, "Q:\" End If End Sub Option Explicit Private Files As Dictionary Private StrFile As String Dim StrFlePath As String, FleCollection, fle, f1, fs, f2, subfld Sub MakeHyperLink(InRange As Range, … | |
I've got a bit of javascript that changes the background image of a div on hover. Then, when they click on a link, the page rearranges, and the clicked menu item changes background image to show which section they're on. (the page never reloads). Unfortunately, after they click, the hover … | |
Hello all, I have a MKMapView that is having a very strange problem which is kind of hard to explain. I have an MKOverlay that is saved between sessions by saving the points of the overlay to a file and loading the overlay in viewDidLoad. So here's the problem: Steps … | |
Hello Dont ask why but lets say I want to encrypt "hello" and the encrypted forum is "238324" I want to do: String avariable=dcrypt(238324); //avariable should now hold hello public string dcrypt(String encryptedtext) { //do decrypt stuff return descriptedtext; //decriptedtext should be hello } Basically thats what I want.....Dont care … | |
Hi everyone! I'm trying to display the logo for a particular supplier but I always end up with an error picture. here's my code: Imports System.Data.OleDb Imports System.Data Public Class SupplierDetails Dim objConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Cristy\Desktop\InventorySystem\InventorySystem\inventory.mdb") Dim objDataAdapter As New OleDbDataAdapter( _ "SELECT Supplier, ContactPerson, PhoneNumber, FaxNumber, " & … | |
![]() | 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0 T 0 1 S 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 … |
Hi, Im trying to write a program that uses a .txt file to fill an arrayList of type Customer (A class that I made.) and then using that ArrayList to perform other functions within my Customer Database class. when I test my method, nothing is being added to the ArrayList … | |
I have seen a few different ways to solve this problem, but no solution has worked for me. I am logging into a database and incrementing a hit counter when someone goes to the page. I have two files, hitcounter.php and count visits.php Count visits is used by the visitor … | |
hello. I need to dedupe e text. meaning if i have an array with stored strings, it will check and compare each row of array with each other to test if text[i]==text[i+1]. to dot this i thougt to catch the text from an input, ex:text are and consider it as … | |
Hello, So I'm trying to make a program to auto bump my facebook posts. I have made it log in etc but there is no 'post' button on facebook, you have to press enter on the keyboard. How can I make the program press enter in the box and make … | |
Hai Friends This is Bency. I need a help for type a word in textbox in tamil word in c#.. Advance thanks | |
I have written a code which used to send data that was saved in my mysql database, through ethernet using UDP protocol, everything worked fine until i sent fewer data(25 rows), when i started sending data in huge amount(100 rows) it used to display Java Result: -1073740791 and would stop … | |
Visual Web Developer 2010 how to save textbox to SQL VB.net I am new to Visual Web Developer Express I connected the SQL Created a webpage and simply added 2 textbox(s) a gridview (works) Submit button When trying the app the Submit button, The page resets, it appears to work … | |
seems like I never need malloc to allocate memory dinamically when it comes to strings example: int main(void) { char *str; puts("keyword:"); scanf("%30[^\n]\n",str); printf("%s",str); } I never defined str size, yet it works sorry if this is a stupid question it's 2 am and I'm studying for some c quiz … | |
I am trying to populate a gridview from an Access database and am running into an interesting issue. The database is populates with data, but when I do a very simple Select * From it returns an empty data message. I tried putting together a test page with only a … | |
Hey guys, I'm trying to take xml code and present it to the client via html. Creating the xml file was the easy part, the part I'm having an issue with the javascript code. Here is the xml code: <staff> <member> <name>Joe Gerilo</name> <schedule>Mon-Fri</schedule> <office> <city>Chiago</city> <building>31st AMC</building> <boss>John H</boss> … | |
In my application, users often need to go to `+1` or `-1` day from the current selected date. For this, I want to make this process more quick by adding two image buttons for +1 and -1 operation on the right side and the left side respectively. I have tried … | |
i want to set a collision on my tile map using getBounds function. level class int map[][] = { {2, 0, 0} {1, 1, 0} }; 2 = player 1 = ground 0 = sky i want to set collision so player cant go though ground. so he should fall … | |
Hi friends! I got one puzzle. I wonder if there is a way I can create a table but get a table name from a value of the textbox/combo box control. Does anyone have an idea? I mean something like "CREATE TABLE (TextBox1.Text) (".....)" I wonder if that is really … | |
Some time ago, Reverend Jim gave me some good advice on dynamically creating controls with VB.net. Following the advice, I created 26 Labels (with text A-Z) and a event handler for the click event of the labels. Now I need to determine WHICH label was clicked and the text of … | |
In my Advanced Data Structures class we have an assignment to implement a linked list using arrays. One array holds the data item, while another contains a reference to the next item. I'm not really sure about how to add/remove items. // **************************************************** // Reference-based implementation of ADT list using … | |
Guys i really need help! I need to retrieve data from the database with checkbox. I need to get sum of the items that were clicked and direct the user in another page to show the result. This is my code <?php $con = mysql_connect('localhost','root','root')or die(mysql_error()); $db = mysql_select_db('rizal',$con)or die(mysql_error()); … ![]() | |
Hi all, I have a database with a set of relations created in SQL Server express. Is it possible to view or recreate the sql statements that created the database? Thanks for your time. Ryan | |
Hi this code is to fill up my Combo1 Item which is came from my Table1 .Combo_Main_AM.Items.Clear() Dim da As New OleDbDataAdapter("Select * from Table1", con) da.Fill(dt) For Each myRow In dt.Rows .Combo1.Items.Add(myRow.Item(0)) Next so it will add up the combo1 Jessie James Nick now the question is how can … | |
Hi I was doing an exercise in the Real Python book. It gave a task of simulating a coin toss "I keep flipping a fair coin until I've seen it land on both heads and tails at least once each – in other words, after I flip the coin the … | |
hi i have problem with my VB.net program I have a form and 3 GroupBox in the same form. i want go next 2 GroupBoxes afther Clicking the Next Button.. Can you Help me ? plz.. GroupBoxes1 to next GroupBoxes2 next GroupBoxes3 | |
Hi there everyone, I am having some difficulties getting a regular expression to work. I have a line of text with 5 numbers.I want to ignore the first number, and grab the other 4 numbers. Here is what the text I am dealing with looks like. 1681 12.33754513 7.066246057 6.079261254 … | |
In main method which should I use? CarOwner owner = new CarOwner("Danni", "123456789"); or CarOwner owner = new CarOwner(); owner.setName("Danni"); owner.setPhoneNumber("123456789"); I know how to make both work, I can edit the class file to suit whichever way it is written in the main method. But what do people do … | |
I am having a dialog box opens that lets you select a picture and then copy that picture to another folder but the problem is that i am having an error that says that i can't convert a System::String to a LPCTSTR. I searched this subject on google but i … | |
Ok I am working something that I have seen others do and that is to echo out a form table and what I am trying to do is to get the data that is not assigned to a user and allow the admin to assign it to the user. I … ![]() | |
GoodDay All. I am trying to create a hit counter in vbscript on a HTML Page for specific client needs. I cannot use any hit counters available for free. My problem is that my code only finds the text file on my notebook(Local C:\ drive) and not in the website … ![]() | |
Hi, I have written coding for coverting jsp page to excel.It is working in IE browser after downloading file is saved with .xls extension .But in firefox browser i am trying to download then it saves with .jsp extension.any one pls help me how to solve this issue? here is … ![]() | |
HI, I am developing a website which needs an option to copy and just paste the embed code to share any kind of video lets say youtube or cnn news, the embed code has to be copied and it should play in front end so basically i have a list … | |
# Guys help with this... are all this paths to the file. # I found this on google This is the link [Click Here](http://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw) The Structure **https://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw** This is the main file: **"rv=PretRSTNTQEkMjnw545454545Yrw"**. no extensions just plain but I want to ask if all this: **/xjs/_/...** are paths to that … | |
I have a page that is centered both vertically and horizontally. I've got a snippet of javascript that reorients the page if the user repositions their ipad. If they start in horizontal, and go vertical, everything loads fine. My problem is that, if they start in vertical and go horizontal, … ![]() | |
I have problem reading file form command line. I am trying to do " abcd: ./rev < numbers", but it gives me an error: ./rev < numbers Usage : ./rev FILENAME Here is the code: #include <stdio.h> #include <stdlib.h> void reverse(FILE * file) { int fscanf_return_value; char x; /* read … | |
The program i want to code is user will enter 2 ebook title,edition,year and pages.After that must write to binary file and read the binary file again to found the book with the highest pages.The first problem is why i cannot use this statement. printf("Enter ebook title: \n"); scanf("%s",mybook.title[i]); I … | |
Hello, I am new here. I would like to ask opinion from you guys on what are the best options available for me to develop a database system using Visual basic? I am using Visual Basic Express Edition. My problem: I am currently developing a toolkit that needs the user … | |
Dear Readers, I am creating dynamic URL-s, for example: **example.com/example.php?this=Something**. Inside this page, I use pagination, but after that my URL will look like this: **example.com/example.php?this=Something?page=2** It does not work. Can you give me some tips or advices or examples on how to make it work? Thank you, Tibor ![]() | |
hi i have problem with my VB.net program I have a form and 3 GroupBox in the same form. i want go next 2 GroupBoxes afther Clicking the Next Button.. Can you Help me ? plz.. GroupBoxes1 to next GroupBoxes2 next GroupBoxes3 using same Next button | |
![]() | Hey everyone, I am having trouble on this one practice problem. It is a question that requires another question I already completed to solve this one. The qusetion is "Implement a method allPerfect() that takes an integer parameter end. The method prints every perfect number from 1 to end. Use … |
I have migrated my Oracle Developer 6i Forms and Reports to Oracle Developer 11g. Everything works fine except three of my batch report applications. They generate 300 to 400 reports each, which in 6i were stored (in pdf format) in a Windows network folder. From the folder they were emailed … | |
hi there, I have a little question that i am facing a little problem in my theme breadcrumbs and dont know how to resolve this issue actually the breadcrumbs is not seprating the main and primary category it should be work like Home > Main Category > Parent Category > … | |
I wanted to verify is this a good example of a flyweight design pattern: package com.flyweight; public interface Chemical { String getName(); String getSymbol(); Double getAtomicWeight(); } package com.flyweight; import java.util.HashMap; import java.util.Map; public class ChemicalFactory { private static Map chemicals = new HashMap(); private static ChemicalFactory factory = new … | |
Hello all, My problem is there will be list of images where i need to swap the images to sort it like the way how i want to see.Say for example, image 1- position-1, image 2 position 2 etc. When i drag image 1 position 1 to image 5 position … ![]() | |
Hello guys, I'm new to vb 2010 and it screws me alot... can you please help me to code my login form containing 2 textboxes: usrn and pass. my database **Account** has two columns, namely Username and Password... one thing is, I thought it was the same as Vb 6.0, … | |
hi every one i need ur help i want insert time when some one choose a movie and then select time and then booking the movie.... so how can i insert time to choose the movie time will be see it? thanx alot for helping | |
Gentlemen, I have an issue regarding collecting address data from webpage (telephone directory with have name,address,phone, speciality and Map location). I need to do vb.net application that collects all of these data to my application. The issue i face now is to read extract teh html code to names, Also, … |
The End.