199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for poojavb

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 …

Member Avatar for poojavb
-1
1K
Member Avatar for Omnibus

Suppose one has an open VB.NET form on the screen. How can one have that form printed?

Member Avatar for Begginnerdev
-1
2K
Member Avatar for LestTurk

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 …

Member Avatar for lxXTaCoXxl
-1
620
Member Avatar for ObjectOriented

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

Member Avatar for Divyab
-1
309
Member Avatar for mikeybware

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 …

Member Avatar for Unhnd_Exception
-1
1K
Member Avatar for neo_31591

(<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 …

Member Avatar for TrustyTony
-1
310
Member Avatar for invisiblemaa

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 …

Member Avatar for TrustyTony
-1
587
Member Avatar for memz

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(); …

Member Avatar for memz
-1
308
Member Avatar for Eagles36

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 …

Member Avatar for uzairrahim
-1
2K
Member Avatar for collin_ola

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 …

Member Avatar for M.Waqas Aslam
-1
537
Member Avatar for Expotential

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.

Member Avatar for kaozci
-1
3K
Member Avatar for sincerelibran

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 …

Member Avatar for jouj
-1
745
Member Avatar for arbazpathan

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)] // …

Member Avatar for jbisono
-1
567
Member Avatar for raym.mart

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; } …

Member Avatar for raym.mart
-1
251
Member Avatar for asifjavaid

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.

Member Avatar for SummiRS
-1
419
Member Avatar for crimson08

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...

Member Avatar for deepakx250
-1
1K
Member Avatar for vuquanghoang

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. …

Member Avatar for Philippe.Lahaie
-1
257
Member Avatar for princenathan

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 …

Member Avatar for Reverend Jim
-1
1K
Member Avatar for drico7041

Do you have to be like a master programmer in a certain language to land a job in this field?

Member Avatar for WaltP
-1
267
Member Avatar for Akay2

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 …

Member Avatar for Akay2
-1
308
Member Avatar for seanster138

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 …

Member Avatar for jaskij
-1
360
Member Avatar for Noliving

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 …

Member Avatar for Karsam
-1
4K
Member Avatar for manjulabai
Member Avatar for brianmaddox
-1
526
Member Avatar for scorpionz

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; ?>" …

Member Avatar for eidshow1
-1
2K
Member Avatar for Shodow
Member Avatar for Reverend Jim
-1
290
Member Avatar for hekri

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; } …

Member Avatar for hekri
-1
266
Member Avatar for cumadhu

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.

Member Avatar for elninoisback
-1
264
Member Avatar for a.muqeet khan

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 …

Member Avatar for thines01
-1
387
Member Avatar for Rdel

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 …

Member Avatar for Dexxta27
-1
1K
Member Avatar for demigodz24

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 …

Member Avatar for WaltP
-1
382
Member Avatar for hamby

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. …

Member Avatar for Mr_Null_andVoid
-1
1K
Member Avatar for sania khan

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 …

Member Avatar for thines01
-1
259
Member Avatar for Jaks_maths

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).

Member Avatar for mariola
-1
1K
Member Avatar for vinay.tmr
Member Avatar for jwenting
-1
3K
Member Avatar for hsmroz

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 …

Member Avatar for Ezzaral
-1
742
Member Avatar for deluksic

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 …

Member Avatar for deluksic
-1
2K
Member Avatar for FEC

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 …

Member Avatar for Kanoisa
-1
381
Member Avatar for jamesofknight

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. …

Member Avatar for sufyan2011
-1
528
Member Avatar for bhagyap

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 …

Member Avatar for bhagyap
-1
277
Member Avatar for ykbks

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 …

Member Avatar for hkdani
-1
7K
Member Avatar for HughMannity

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." …

Member Avatar for postonoh
-1
307
Member Avatar for Tahmod

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 …

Member Avatar for Schol-R-LEA
-1
272
Member Avatar for DACP

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 …

Member Avatar for mrnutty
-1
2K
Member Avatar for eranga262154

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(); …

Member Avatar for riahc3
-1
2K
Member Avatar for lgbagabuyo

[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 …

Member Avatar for lgbagabuyo
-1
2K
Member Avatar for mr_maverix

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 …

Member Avatar for mridul.ahuja
-1
306
Member Avatar for thunder111

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']; …

Member Avatar for Biiim
-1
254
Member Avatar for amulet_john

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(" …

Member Avatar for amulet_john
-1
283
Member Avatar for solomon_13000

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 …

Member Avatar for solomon_13000
-1
412
Member Avatar for Sailor_Jerry
Member Avatar for akmr
-1
7K

The End.