199,114 Archived Topics
Remove Filter ![]() | |
Hello Friends, I need help to get the time value from MSSQL database to VB.Net Datetimepicker I have a datetimepicker but the custom format is set to HH:mm tt so that I can get eg 11:20 AM this value I have stored in database with the help of ` Label4.Text … | |
Suppose one has an open VB.NET form on the screen. How can one have that form printed? | |
I've been going through major hell trying to get just one. damn. simple. little. game. working. I can't even complete ping pong! There's almost no game easier than ping pong, and I can't even do it after so much stress trying, and I'm becoming so frustrated over this that I … | |
It's useless. Why are stupid classes in C++ having private members for? [snip] I am never using OOP in C++ I'm just using structs to organize data fuck OOP and classes it's so ridiculous to me that I'm SMH | |
I have a form that has a tabcontrol (TabControl1) and within that tab control is another one (TabControl2). I have textboxes on the main form as well as in each of the tabcontrols. In my savebutton event I have the following code: If CheckIfDirtyAfterLock = "Just Unlocked" Then CheckIfDirty(Me.Controls) Else … ![]() | |
(<type 'exceptions.NameError'>, NameError("global name 'MenuPage' is not defined",), <traceback object at 0x028BEC38>) The MenuPage contains buttons to All functions of the PDF shuffler software. This is one such function which retirieves Information about the PDF files. Problem is, It executes once, goes back to MenuPage , then again if i … | |
I'm trying to solve Problem #54 of Project Euler, which is basically evaluating poker hands. My program currently outputs 383, but the answer should be 376. My full code #include <iostream> #include <string> #include <fstream> #include <vector> #include <sstream> using namespace std; //CLUBS=14; //SPADES=15; //HEARTS=16; //DIAMONDS=17; int value(char str){ switch … | |
help me in this code .. it is not work .. public static void CreateFile() throws IOException { File f; f = new File("myfile.bat"); if (!f.exists()) { f.createNewFile(); System.out.println("New file \"myfile.bat\"has been created"); } } public static void getFiles(String path) { File dir = new File(path); String[] children = dir.list(); … | |
I have the program working up to the point where at the end of every test it fails and get. where do I need to look to start fixing the failed tests.(files are attached at the bottom) This is my output: START OF TEST 1: Testing insert, attach, and the … | |
Hi, I have a form in VB which is scrollable (using autoscroll) and when I currently click 'print', it only prints what I can see; it takes a screenshot of the viewable information. Here's my code: [CODE] Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click Dim … | |
I am working on a program that requires registration of a username however I do not want users to be able to register usernames with any symbols or spaces only letters and numbers. I honestly dont know where to start on this. Thanks. | |
Dear Friends, I have a frame which is a JSplitPane which is split horizontally into two. On the upper half I want a JFrame to appear and on the lower half I want a JTable to appear. I tired but couldn't get the answer correctly. Will anyone be able to … | |
I have made a web service to insert product details the web method is as follows [code] using System; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Linq; using System.Data.SqlClient; using System.Data; using System.Configuration; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] // … | |
can anyone help me out with the errors .. please [CODE]import java.io.*; import java.util.*; class Directory implements Comparable { int id; String name; String address; int phoneNo; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } … | |
hi guys , hope you are all fine. i want to created MS word doc file to pdf file converter in MS Visual Studio 2005.. can any one help me what will be the procedure to develop such a thing? Waiting for good reply... Asif Javaid Chughtai. | |
does anyone here know how to save a visual basic form in any file format such a jpeg??? im currently working on a program wherein i can view an image + i can add labels and save it in jpeg format. pls help. urgently needed... tnx in advance... | |
I have done almost all things in my project. I think file SlList.java in my project has something wrong( in insert function). When I insert something in the middle of link list, I rest disappear although I link the rest to the next of the node I want to insert. … | |
Private Sub autocus() Call main() Con.Open() Dim cmd As New SqlCommand("SELECT cust_order FROM Inventory", Con) Dim ds As New DataSet Dim da As New SqlDataAdapter(cmd) da.Fill(ds, "My List") 'list can be any name u want Dim col As New AutoCompleteStringCollection Dim i As Integer For i = 0 To ds.Tables(0).Rows.Count … | |
Do you have to be like a master programmer in a certain language to land a job in this field? | |
Hello guys i have a problem with my for loop it should create a 100 by 100 field with 10x10 squares each squares are created by 4 vectorpositiontextures. it works fine until the 5th line there i have only 96 squares and then no more other squares. sry it is … | |
Hey guys, I am very new to c++, and im trying to learn and master the basics Could you guys please tell me what i am doing wrong here. I want to maintain my current coding format. This is a simple converting code. Will be accepting inches, and feet, that … | |
Hello everyone, I'm obviously having trouble with a program that wants me to create a house with just five mouse clicks. My program is simple create a house using only 5 mouse clicks. This problem is from the book Python Programming by John Zelle Its on page 162 This is … | |
Please help me how I create the login form using c# in asp.net | |
Hi This Is ScorpionZ I have an Image Gallery and have a PHP code toooo,,,,I Wana know How to Enlarge image when my mouse Over Image Here is the Code: [code=html]<html> <head> </head> <body> <table class="details-box-products" width="511" border="1"> <tr> <td width="213" rowspan="4" bgcolor="#EFEFE9" align="center"> <strong><a href="#"><img src="./uploaded_images/<?php echo $prod_up_img; ?>" … | |
highlight listview item from mysql search statement then get the index | |
I'm an absolute c++ beginner so please be patient. [CODE]#include <iostream> using namespace std; double array_of_5[5] = {1,2,3,4,5}; double sum(double a , double b ); double a= array_of_5[2]; double b= array_of_5[2]; int main () { cout<<"The sum of two members of the array is: " <<sum<< endl; return 0; } … | |
Hi All, I would like to know the differences between Delegates and Events in C#.Net. Both are same or both are diffenent. Which one is preferred? Thanks and with regards, Madhusudhan.H.K. | |
guys i have a little problem in my file handling program that is i cant get the whole file to be saved just the end portion i want to know why this happens and how to counter it [CODE]// file handling flag testing and practise.cpp : Defines the entry point … | |
been studying c++ for a while and downloading sample codes in the internet.I just wanna ask what is cpu.h for cause im running this program (see codes bellow)many times debug all other problem the only remaining thing is that when i run it (im using dev c++) it always says … | |
C++(pointers) problem reads input strings from a file and that replaces all the vowels to the '&' character INPUT: file.in Hi there! Hi Damon!!! Hello. OUTPUT: file.out H& th&r&! H& D&m&n!!! H&ll& c++ program... just implement it to pointers... ATTENTION: PLEASE GIVE ME SAMPLE CODE SAME WITH THE PROBLEM SO … | |
Hi guys, I'm writing a small piece of code that will allow the user to input a sentance, and will return the sentance in all uppercase characters. The problem is, as soon as a "space" character is entered the program considers the input to be finished. I don't understand why. … | |
public partial class Default7 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string selectSQL; selectSQL = "SELECT Ref#,Description,Quantity,Warning_Quantity FROM Products "; SqlConnection con = new SqlConnection(); con.ConnectionString = "Data Source=.;Initial Catalog=Project;User ID=sa;Password=786"; SqlCommand cmd = new SqlCommand(selectSQL, con); SqlDataReader reader; // SqlDataReader reader1; // Try to open database … | |
Returns the largest sum of contiguous integers in the array Example: if the input is (-1, 2, -3, 2, 0, 5, -11), the largest sum is 7 Time complexity is O(n). | |
i want to Read DATA From A text file and save it in database and print the logs by using JAVA.? PLSSSSS HELP.... | |
can any one help me wright the code for any simple java games, choose one from the selection below plsss (using jav -Base Conversions -Lotto 649 -Mastermind -Hangman -Deal or no -Deal -Who Wants to be a Millionaire -Card Games -Theatre Seating -Morse Code Instant/Fortune Teller -Pay Stubs -Educational Game … | |
Well... im making some kind of graphic engine for console in [B]c++[/B], ASCII based, just for exercise... anyways, i was wandering, can i print text [B]faster[/B]? Right now i'm printing the whole map of characters (pix[160][120]) in a [B]single line[/B], so it is fast, however i need it faster cause … | |
Hi am trying to write a program and its giving me this error "cannot instantiate abstract class", can someone help me please? this is the code: Header: [CODE]#ifndef ABSTRACTGEOMETRICOBJECT_H #define ABSTRACTGEOMETRICOBJECT_H #include <string> using namespace std; class GeometricObject { public: GeometricObject(); GeometricObject(string color, bool filled); public: string getColor(); void setColor(string … | |
Hey guys, We have a requirement for a one to one chat from one of our clients for a social media kind of project we are doing. The problem is that we need it in quick time so i would rather use an already made component that is out there. … | |
Hi.. I am populating my gridview as follows:- protected void Button1_Click(object sender, EventArgs e) { string con = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlDataAdapter sda = new SqlDataAdapter("Select * from DropDownFilter", con); sda.Fill(dt); GridView1.DataSource = dt; GridView1.DataBind(); } and then i have checkbox for every row now i want to delete the checked rows … | |
Hey there! Im new here, well, as a member, but not as a viewer. anyways, i am making a vb project, novice one. i need to open a file located in d:\\Documents\\MB.accdb now, i would be very happy if i would get the code to open the file, not in … | |
When I type in "RangeValidator1.MaximumValue = "999" in the code-behind, in let's say the Page_load event, it does not recognize the "RangeValidator1" in the intellisense. Here is how the GridView and RangeValidator are defined: [CODE] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="ID_KEY" DataSourceID="SqlDataSource5" EmptyDataText="There are no data records to display." … ![]() | |
Hello, This is the program that I need to do: Write a program that will sort an array of 20 integer numbers into descending order. The results must be displayed on the screen in one column. I tried this, me totally confuse. :| I tried to do this program for … | |
What should I do to change this code using else-if so that it will read the first character in my input text file and then determine which equation to use? For example, the first line in the input text file is A 4 8 and the second line is M … | |
Hi all. I want to read and update a ini file to do some processing. Here is what I have try. [CODE] public static void main(String[] args) { // TODO code application logic here new ReadINIFile().readIt(); //new ReadINIFile().writeIt(); } private void readIt() { try { Properties pro = new Properties(); … | |
[code] public class Book { String title; boolean borrowed; public Book(String bookTitle) { } public void borrowed() { } public void returned() { } public boolean isBorrowed() { } public String getTitle() { } public static void main(String[] arguments) { Book myBook = new Book("Da Vinci"); myBook.name = "The Da … | |
Write a program that creates a two dimension matrix of size N x N (N is larger than 4). Through a menu, the user can choose to perform the following operation to the matrix. 1 - Rotate the matrix around the diagonal (function name rotateDiagonal) Example for 3 x 3 … | |
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Ayyam v3\gate.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\Ayyam v3\gate.php:16) in C:\AppServ\www\Ayyam v3\gate.php on line 36 am new with php please help me <?php session_start(); require_once('Connections/connector.php'); $uid= $_POST['uid']; … | |
Hi Everyone... I need your help please... I want to store my extracted string using list() function... Here is my code below and it doesn't work.. Is there a list() function in Javascript? [code] var Mystring; var H; var M; var S; Mystring="01:00:00"; list(H,M,S)=Mystring.split(":"); document.write("Hours: "+H); document.write(" Minutes: "+M); document.write(" … | |
When I execute the code below I am getting unknown column 'total' in 'field list' error. [CODE] DELIMITER$$ CREATE PROCEDURE setAuthentication(IN uname varchar(12), IN oldpws VARCHAR(12), IN newpws VARCHAR(12), OUT status INT) BEGIN call getAuthentication(uname,oldpws,@total,@pwsval); IF(total=1 AND pwsval IS NOT NULL) THEN UPDATE authentication SET password = newpws WHERE loginId=uname … | |
I need to suspend processing in my script for a few seconds, and i am not sure how. Thanks, sj |
The End.