199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for coder91

I have a gridview that is being populated from a dataset which is a table returned from a stored procedure. However now the stored procedure has changed and it returns 2 tables, the first returns the column headers as well as labels and other info, the second is the table …

Member Avatar for tinstaafl
0
164
Member Avatar for cambalinho

the RegisterHotKey() is limited? everytime that i create a button control the RegisterHotKey() id isn't the same. //on constructor: ++ButtonCount; altmessage=ButtonCount; now the hotkey message: case WM_HOTKEY: { if (wParam==inst->altmessage) { SendMessage(inst->hwnd,WM_COMMAND,BN_CLICKED,lParam); } } break; and now how i regist the hot key: case WM_DRAWITEM: { DRAWITEMSTRUCT *test=(DRAWITEMSTRUCT*) lParam; UnregisterHotKey(inst->hwnd,inst->altmessage); …

Member Avatar for cambalinho
0
295
Member Avatar for wallet123

Hello There! Im trying to study php on my own. But i have a problem installing "xampp". So please help me. this keeps on showing: 10:27:35 AM [mysql] Expected Path: d:\xampp3\mysql\bin\mysqld.exe --defaults-file=d:\xampp3\mysql\bin\my.ini mysql 10:27:35 AM [mysql] Problem detected! 10:27:35 AM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" …

Member Avatar for Atli
0
6K
Member Avatar for lewashby

I have a few questions about libraries and header files. Since libraries are binary files and header file are source/text files why do they not just compile the header files along with the rest of the library files? It doesn't make sense to me to have libraries that are binary …

Member Avatar for gusano79
0
183
Member Avatar for ShaneJ33

I am missing something in my check sub class and I can't figure it out I know its something simple and I for the life of me can not find it. package lab61; public class AccountClass { public double annualInterestRate; public double balance; public int Id; public java.util.Date dateCreated= new …

Member Avatar for ShaneJ33
0
562
Member Avatar for Priti_P

Hello, As using Yii's mpdf() extenstion for generating pdf file. code is as below: $mPDF1 = Yii::app()->ePdf->mpdf(); $stylesheet = file_get_contents(Yii::getPathOfAlias('webroot.css') . '/screen.css'); $mPDF1->WriteHTML($stylesheet, 1); $Arraylist= array('employee_gslab_id'=>$employee_gslab_id,'other_details'=>$employee_details); $mPDF1->WriteHTML($this->renderPartial('address_proof',$Arraylist,true)); $mPDF1->Output($name, EYiiPdf::OUTPUT_TO_DOWNLOAD); everything is working as expected except when this file is downloaded/saved then it is not showing extesion to file. how can …

Member Avatar for Priti_P
0
306
Member Avatar for OMER AHMED

whenever i click form10 then this error come. Warning 1 Value cannot be null. Parameter name: objectType 0 0 Instances of this error (1) 1. Hide Call Stack at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.GetRuntimeType(Type objectType) at System.ComponentModel.TypeDescriptionProvider.GetRuntimeType(Type reflectionType) at Microsoft.VisualStudio.Design.MultiTargetingContextProvider.GetRuntimeType(Type objectType) at Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetFieldType(String fieldName, Type documentBaseType) at Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetReferencedComponentType(String componentName, CodeTypeDeclaration codeTypeDecl, ITypeResolutionService loader, IDictionary& …

Member Avatar for Santanu.Das
0
290
Member Avatar for 12345reasbaby
Member Avatar for Reverend Jim
0
52
Member Avatar for GianiD

Hello I've posted a few days ago how to get my data in a SQL database and show it in a datagridview. I found out how to do this rather quickly however I've been asked if I can add a button to my form and be able to print my …

Member Avatar for Santanu.Das
0
147
Member Avatar for markdean1989

I wonder why this program does not do any changes to the text file that I am trying to modify. Scenario: My program uses the Fstream header file, I declared infile as IFSTREAM and outfile as OFSTREAM. I simply want to transfer data from infile to outfile. The data is …

Member Avatar for markdean1989
0
365
Member Avatar for Hari om
Member Avatar for AntonyRayan

How to read an excel file in php? This is my index page::: <html> <head> </head> <body> <form method="post" action="save_category.php" enctype="multipart/form-data"> <label >Import File<span class="mandatory">*</span></label> <input type="radio" name="file" value="1" checked>Excel File&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="file" value="0">CSV File <input type="file" name="import" value="Import" required/> <label >Book Category Name<span class="mandatory">*</span></label> <input type="text" id="categoryname" name="categoryname" …

Member Avatar for pixelsoul
0
258
Member Avatar for ali11

everything is working fine except Encryption button. import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; public class encryption extends JPanel implements ActionListener { char [] str= {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z' }; char [] str1={'1','2','3','4','5','6','7','8','9','0','!','@','#','$','%','^','&','*','(','_','_','+','=',',','.','?'}; char [] a= new char [50]; char [] b= new char …

Member Avatar for JamesCherrill
0
279
Member Avatar for Chalzer

How will I create a program that compute your final grade and file which contain prelim, midterm, pre final and final grade.Create another file that contain weight for each term.(prelim=20%, midterm=20%, prefinal=20% and final=40%)

Member Avatar for JamesCherrill
0
111
Member Avatar for ShilohAmi

If I have an array >>> a=np.array([[1,2,1],[3,4,2],[6,5,3],[7,8,4]]) >>> a array([[1, 2, 1], [3, 4, 2], [6, 5, 3], [7, 8, 4]]) and I want to find if first column which have value=6 and if second column have value=5 using "IF" "ELSE" I try with: b=6 c=5 if (b in a[:,0]) …

Member Avatar for ShilohAmi
0
244
Member Avatar for DS9596

Not sure why it's not letting me choose the operation I want where I put "Enter an operation symbol..", I'm supposed to use switch statements to compute functions. #include <iostream> #include<cmath> #include <iomanip> #include <string> using namespace std; int main() { int type; int a, b, c, d; char op; …

Member Avatar for DS9596
0
282
Member Avatar for A_Dubbs

I am doing my homework and am having trouble on a certain problem. [I]4) A certain CS professor gives 100-point exams that are graded on the scale 90-100:A, 80-89:B, 70-79:C, 60-69:'D, <60:F. Write a program that accepts an exam score as input and prints out the corresponding grade.[/I] We have …

Member Avatar for vegaseat
0
13K
Member Avatar for Christel_1

i am getting this error when trying to run projects 'javac' is not recognized as an internal or external command, operable program or batch file how can i fix this

Member Avatar for Christel_1
0
81
Member Avatar for slowlearner2010

**Question:** I am new to JQuery. I wanna passing my values to another page using Jquery by clicking on 2nd button instead on submit button. I tried echo what values it carried to another page (a.php) and I got, "[object HTMLInputElement]". There's no values on a.php page. I got "array(0) …

Member Avatar for slowlearner2010
0
771
Member Avatar for Siberian

Hi, I did a simple loop in JSFiddle but dispite the code being error free, JSFiddle doesn't run the code even though the framework is set on PureJS ?

Member Avatar for pixelsoul
0
370
Member Avatar for aseel.jaradat.9

in chat application ,, Two friends x, y (used the same device) x Send to y message then stored in database x make log-out of the application and y log-in application and open chat and received the message here the message stored twice on the local storage and this is …

Member Avatar for aseel.jaradat.9
0
429
Member Avatar for webmeat

Hi everyone, I am having trouble comprehending or digesting the programming mentality. I'm learning Python and while I completely understand the syntax as well as the language itself, my problem is more toward the comprehension of thinking like a programmer. For example, once a programming exercise is explained, it all …

Member Avatar for Gribouillis
0
226
Member Avatar for wrathyimp

Is it possible to add PDF files to the dates, and make it clickable to view or download files? I am looking for a calendar based file publication, as we create daily, weekly, monthly reports to be published for our viewers. The users can click on the date to access/download …

Member Avatar for wrathyimp
0
148
Member Avatar for tucker046

Hi, I am Populating a combobox from a directory but im wanting to filter some file names from showing in a specific Combobox. Im a newb at this VB stuff and could use the help! Here's the code im using to pull the filenames from my C:\ drive but i …

Member Avatar for tucker046
0
449
Member Avatar for showman13

Good Morning, This may be a simple yes or no, or hopefully if it is a no, someone can tell me how to work around it. I have a table that includes 4 columns named the same with incremented numbers in the names step1 / step2 / step3 / step4 …

Member Avatar for showman13
0
134
Member Avatar for Search_not

I'm having a problem appending `std::wstring` to my Win32 edit. It compiles without errors, but the displayed text is not what was originally in the `std::wstring`. Is there a better way to do what I'm doing(below), or should I use the RichEdit(last resort option). My appendTextToEdit function below is self-explanatory, …

Member Avatar for Search_not
0
184
Member Avatar for newbie14

Dear All, I am looking for a tool which can help me generate reports and multiple types of charts. Can any one recommend based on their experience? I would like to manage to export minimal to excel and pdf too. I have seen one the php report maker unfortunately it …

Member Avatar for jiansheng.ding
0
424
Member Avatar for parth2911

I am trying to get my database data in particular variable. my database handling class and i am trying to store data in currunt form class var list = x.Rows(); if (list.Count != 0) { Object[] ar = new Object[4]; //Object[] ar = list[0]; list.CopyTo(ar, 0); var quntity1 = (int) …

Member Avatar for parth2911
0
157
Member Avatar for AntonyRayan

In a project, when a user clicking the search link, pop up box should come, in that box, two text fields, and search button should be. How it is possible?

Member Avatar for JorgeM
0
124
Member Avatar for doule

Hi, I am working on a GUI (more correctly, trying to), but I just don't really get it to work the way I want. The idea is to have a first list, where the user chooses one of the choices. Then depending on that choice, a new window pops out …

Member Avatar for Gribouillis
0
227
Member Avatar for harishprakash
Member Avatar for GianiD

Hello I have a project where I have 2 textboxes called "Name program" and "Error" where I have to write data in, Once I have wrote the data I have to import these 2 textboxes into an SQL database so it has to show like this in the database: Name …

Member Avatar for GianiD
0
270
Member Avatar for Habib_5

/*can you help me with this this is double linked list that helps you to sort integer value in increasing order I hope I will get answer thank you*/ #include<iostream> using namespace std; struct Node int data; Node *next; Node *prev; }*head,*tail; void main() { head = NULL; int n; …

Member Avatar for L7Sqr
0
368
Member Avatar for tharun207134

Hi, I have a ksh script that will actually read a config file, run a SQL statement against database,store the output in temp, convert them to HTML format and that sends a user an html-formatted email. Usually once per email, there is an exclamation point popping up in the middle …

Member Avatar for tharun207134
0
127
Member Avatar for Zubenna

I am new to Java language. I have been taken some personal tutorials, reading on my own and practicing by writing and solving exercise in the book I am using. Below is an exercise I am trying to solve. Question. (Find the Smallest Value) Write an application that finds the …

Member Avatar for Zubenna
0
1K
Member Avatar for manalibhadula

Can anyone help me how to pick all the files(many files) of some particular extention(.csv) and transferring it to remote server using Jsch channel. Please help. Regards

Member Avatar for manalibhadula
0
4K
Member Avatar for priyanka_10

Hi, I just wanted to know about instance method? If static modifier is not applied before does it makes it an instance method ? Plz give an example Thanku

Member Avatar for stultuske
0
159
Member Avatar for Stefce

Hello everyone i want to make a random number generator and also to check the numbers, and if that number exist in the database than to generate other number... thank you :)

Member Avatar for harishprakash
0
391
Member Avatar for Brandon_7

I am trying to make a program for my AP Computer Science A Class. I wrote the following code that is supposed to allow a user to enter two numbers and then have them guess a number inbetween that number range. So far, it works 90% of the time, but …

Member Avatar for Brandon_7
0
318
Member Avatar for PM312

hi, i am trying to print report by ceating excel file and print. but getting below error when creating sheet2. osheet = obook.Worksheets("Sheet2") Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX) worksheet1 works fine. I have Excel 2013 installed on my system. what could be the problem. Thanks

Member Avatar for Minimalist
0
366
Member Avatar for Papa_Don

I'm writing a routine where the user can populate up to 8 textboxes with numbers. Since there is potential for these numbers to be unsorted, I want to sort these prior to saving. However it's probable that all of the textboxes will not be used. My challenge then is how …

Member Avatar for Minimalist
0
705
Member Avatar for RacerRed

Trying to change this C++ to Java //The following pseudocode describes how to extract the dollars and cents from a //price given as a floating - point value.For example, a price 2.95 yields values 2 and 95 //for the dollars and cents. //Assign the price to an integer variable dollars. …

Member Avatar for JamesCherrill
0
357
Member Avatar for CodeWarrior14

I need to get the size of a file, but I keep on getting 0 as the size, which is not the actual size. private void dodAlgorithm() throws IOException { int count; int randomValue; long fileSize; File file = new File(filename); BufferedWriter writer = new BufferedWriter(new FileWriter(file)); SecureRandom random = …

Member Avatar for sepp2k
0
5K
Member Avatar for mitchell.schols

Hello, My website www.m.keybench.com is supposed to have a sticky header.. It works sometimes but others it will not actually add the class "sticky," to the header.. I think it might be because I have a secondary jQuery library hooked up to the site. Any help is appreciated!

Member Avatar for mitchell.schols
0
149
Member Avatar for imti321

I dont know where i am going wrong tried to solove this but cant Index.php <form class="form-horizontal" role="form" method="post" action="index.php"> <div class="form-group"> <label for="name" class="col-sm-2 control-label">Name</label> <div class="col-sm-10"> <input type="text" class="form-control" id="name" name="name" placeholder="First & Last Name" value="<?php echo htmlspecialchars($_POST['name']); ?>"> <?php echo "<p class='text-danger'>$errName</p>";?> </div> </div> <div class="form-group"> <label …

Member Avatar for iamthwee
0
470
Member Avatar for k030775

Hello, Please forgive me, I am a newbie for programming in C#. I have some experience in VB. I am trying to convert my picture box that I am able to load a picture in, but I would like to convert it to binary then save it to SQL. I …

Member Avatar for k030775
0
222
Member Avatar for cambalinho

i'm trying overload the != and == operators, but i'm getting several errors :( bool operator==(const image &other) const { if(other.btBitmap==*this->btBitmap) return true; else return false; } bool operator!=(const image &other) const { return !(*this == other); } what i'm doing wrong?

Member Avatar for cambalinho
0
289
Member Avatar for fireburner29

Hi, i developing web application in core php. we have five panels superadmin, admin, medical, staff, customer. all records should be display superadmin and created by users. please help me to write a mysql query below my basic query. $user = $DB->prepare("SELECT `u_userid`, `u_username`, `u_password`, `u_rolecode`, `firstname`, `lastname`, `sex`, `age`, …

Member Avatar for fireburner29
0
356
Member Avatar for Sune

I have taken an introduction course in C++ programming and I'm now looking for some C++ code example's which I could study before the course final test. I will try to follow the rule: If you would like to be an good authour, read a lot of books by excellent …

Member Avatar for shafiqkuidad
0
390
Member Avatar for jez9

Hi again, i'm trying to put a background image in my button[i declare the button] , My database[ms access] , tbldishlist - name[text , Primary key], pic [ole object] when the form is loading, the button's background is according to the name of the item. here's my example: Dim btn …

Member Avatar for Reverend Jim
0
704

The End.