Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~50.2K People Reached
Favorite Forums
Favorite Tags

48 Posted Topics

Member Avatar for veiLrn

You're are also calling accno++ inside your newaccount() function. You're including string.h but not using it string types. I believe (correct me if i'm wrong) static variables will be the same value for all instances of a class. It's not a good habit making all your variables public in your …

Member Avatar for ASIF_21
0
32K
Member Avatar for ScarWars9

Why loop through the datagridview if you can use this. txtName.Text = dgvEmployee.Rows(e.RowIndex).Cells("Employee").Value.ToString()

Member Avatar for ScarWars9
0
2K
Member Avatar for santosh.pandey.1293575

Create a parameter in your crystalreport then transfer your value into the parameter. Dim crParameterFieldDefinitions As ParameterFieldDefinitions Dim crParameterFieldDefinition As ParameterFieldDefinition Dim crParameterValues As New ParameterValues Dim crParameterDiscreteValue As New ParameterDiscreteValue crParameterDiscreteValue.Value = Textbox1.text crParameterFieldDefinitions = CrystalReport1.DataDefinition.ParameterFields() crParameterFieldDefinition = crParameterFieldDefinitions.Item("Name of Parameter") crParameterValues = crParameterFieldDefinition.CurrentValues crParameterValues.Clear() crParameterValues.Add(crParameterDiscreteValue) crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)

Member Avatar for ninjatalon
0
2K
Member Avatar for ninjatalon

I have this form that i need to save on Mysql database but i'm stuck on what I should do. This form needs to be done every 3 or 4 months. Every saved information stays saved in a row. This form has alot of radiobuttons,textboxes and comboboxes that I save …

Member Avatar for hericles
0
195
Member Avatar for Iamateur

you first call for homepage then you close then current form. If you looking to open your homepage when ALL forms are closed then you need to check if all forms are closed during the closing event of every form.

Member Avatar for poojavb
0
249
Member Avatar for salman_hundekar

Not sure on Crystal Report, but it you create a parameter and you can use vb.net, send the string through the parameter and you can either padleft or padright. example: string=45 string.padleft(5,"-") will show "---45" string.padleft(5,"0") will show "00045" string.padleft(5,"1") will show "11145" string.padright(5,"-") will show "45---" string.padright(5,"0") will show …

Member Avatar for salman_hundekar
0
104
Member Avatar for hassan980

Your if statement is wrong. siubox.text will always equal to si. Because you declare si to equal to siubox.text so it will always calculate bubox.text=a * si try an if statement of if siubox.text<>"" then si=cdbl(siubox.text) bubox.text=a * si else b=cdbl(bubox.text) siubox.text=pi * b end if

Member Avatar for G_Waddell
0
160
Member Avatar for game4tress
Member Avatar for ninjatalon

I have multiple datatables containing multiple columns. I need to combine all of them to a single table. Here is an example: TABLE1 ================================================== -ID---NAME---AGE---ACOLUMN3---ACOLUMN4---ACOLUMN5- ----------------------------------------------- -1---JON----23------TRUE------FALSE-------TRUE -2---JANE----29------TRUE-----FALSE-------FALSE- -3---JOE----32------TRUE------TRUE--------TRUE ================================================== TABLE2 ================================================== -ID---NAME---AGE---BCOLUMN3---BCOLUMN4---BCOLUMN5- ----------------------------------------------- -1---JON----23-------TRUE------FALSE------TRUE -4---JOEY----34------FALSE-----TRUE-------TRUE -3---JOE----32-------TRUE------TRUE-------FALSE ================================================== COMBINED TABLE ================================================================================= -ID---NAME---AGE---ACOLUMN3---ACOLUMN4---ACOLUMN5---BCOLUMN3---BCOLUMN4---BCOLUMN5 --------------------------------------------------------------------------------- -1---JON-----23------TRUE------FALSE------TRUE-------TRUE------FALSE-------TRUE -2---JANE----29------TRUE------FALSE------FALSE------FALSE-----FALSE-------FALSE -4---JOEY----34------FALSE-----FALSE------FALSE------FALSE-----TRUE--------TRUE -3---JOE-----32------TRUE------TRUE-------TRUE-------TRUE------TRUE-------FALSE ================================================================================ Can someone …

Member Avatar for ninjatalon
0
134
Member Avatar for ninjatalon

I'm implementing Direct Deposits for our clients, but i would like advice on how to keep it from getting it to the wrong hands. I manage our information through our MySQL Database in a dedicated server. I would like to keep this information as secure as possible. That information should …

Member Avatar for thines01
0
109
Member Avatar for ninjatalon

Can someone please help me on getting a formula round off to the next highest .25. example: 2.35->2.50 2.26->2.50 2.24->2.25 2.51->2.75 I can't use the Round function because if I have 2.26 then it will round off to 2.25 which is unacceptable. I have been using the Ceiling function but …

Member Avatar for ninjatalon
0
194
Member Avatar for ninjatalon

I've created an application where our clients can have access to our program by logging in. It uses our database for most information. I want to implement a richtextbox where it saves notes but i don't know if i should be saving that information as a file or what. Also …

Member Avatar for ninjatalon
0
84
Member Avatar for arezz09

After closing the forms you will lose all data because all that data was just saved in memory therefore its only temporary. What you want to do is save that data into a database

Member Avatar for ananth3125
0
211
Member Avatar for ninjatalon

How can I add the prerequisite for Crystal Reports Redistributable . I only see Crystal Report Runtime on there. I used to have VS2008 and it was available as a prerequisite. BTW I have already installed CRfoVS_13 to the IDE.

0
161
Member Avatar for ninjatalon

Is there a way to change the ftp password for a certain user programmatically?

Member Avatar for lolafuertes
0
103
Member Avatar for ninjatalon

I've created this application for some clients and for some odd reason it is not working for 1 of my clients. its seems to download a file no problem using this code [CODE] Dim request As FtpWebRequest = Nothing Dim response As FtpWebResponse = Nothing Dim respstrm As Stream = …

Member Avatar for ninjatalon
0
177
Member Avatar for ninjatalon

I'm in desperate need of pointers :( I have this problem. [CODE]private class frmMenu private intX as integer Private Sub btnEstimate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEstimate.Click frmEstimateMenu.Show(intX) end sub end class private class frmEstimate private y as integer Public Overloads Sub Show(ByRef x As integer) y=x …

Member Avatar for codeorder
0
91
Member Avatar for ninjatalon

I have a program where it takes about 4-6 seconds to load(lets call it form2). form2 has a lot of code so what I want to do is create a progress bar. Form1 has the button that takes me to form2. So what I want to do is load a …

Member Avatar for AnkitGuru
0
139
Member Avatar for ninjatalon

I'm pretty sure its a false positive. My program does create and delete files when using it. Is there a way to stop showing as a false postive?

Member Avatar for makman99
0
105
Member Avatar for ninjatalon

My table gets its information from a Mysql database online. I'm not sure which would be quicker to retrieve the row that contains the information specified. EG. table1 Name________Age John_________5 Joe__________20 At this moment i have a while loop that looks for john and gives me the row. But is …

Member Avatar for debasisdas
0
135
Member Avatar for ninjatalon

I have a form let's call it Form1 that calls another form(Form2) Form2 to has a bit a code that needs to load in the LOAD_EVENT and takes about 4 seconds. I have made a new form(frmProgress) that only has a progress bar. I want frmProgress to show up and …

Member Avatar for codeorder
0
3K
Member Avatar for ninjatalon

I have to make a lot of retangular boxes to make my program neat but i'm having a problem of adding boxes. I tried using the draw event in the tab page but everytime i scroll it will draw the lines again and messes up everything. Also when making a …

Member Avatar for ninjatalon
0
165
Member Avatar for ninjatalon

I have a database with a table called BREAKFASTMILK Inside the table I have Two Columns named MENU and FOOD ITEM when using this code if I change the index of one of comboboxes it will change the index of the other. I want to keep both independent but get …

Member Avatar for ninjatalon
0
98
Member Avatar for Jimmyteoh

come on... I bet you have the book... it's not that hard. Put some effort in your homework that's the best way to learn

Member Avatar for Veneficus
-5
112
Member Avatar for ninjatalon

[CODE] If count < max Then If Br.Checked = True Or AM.Checked = True Or LU.Checked = True Or PM.Checked = True Or SU.Checked = True Or EV.Checked = True Then 'Code End If End If [/CODE] is there a way i can put both if statements together like if …

Member Avatar for Jx_Man
0
117
Member Avatar for ninjatalon

I have a table that i'm trying to use as a template that I can then copy to a new page. i only got this much [CODE] Dim oWord As word.Application Dim oDoc As word.Document Dim oTable As word.Table FileCopy("C:/1535.doc", "C:/1535_1" & ".doc") oWord = New word.Application oDoc = oWord.Documents.Open("C:/1535_1" …

Member Avatar for ninjatalon
0
2K
Member Avatar for ayoba01

First off you need to find which types of variables to use. You cannot subtract to string as if they were double You want to create a variable for the cost of the pespi. [CODE] dim pepsicost as double= 2.50 TextBox2.Text="RM " & pepsicost [/CODE] You need to make a …

Member Avatar for Mitja Bonca
0
137
Member Avatar for ninjatalon

I have an assignment where I need to Sort the linked list according to Int Variable after the user has input the information. When I try using bubble sort I'm stuck because I don't know how go back to the beginning. If a user enters : 5 4 3 2 …

Member Avatar for ravenous
0
132
Member Avatar for ninjatalon

Today I was taught about virtual methods but got lost somewhere in the pointers. Here is an example [CODE] class Person { protected: string name; public: virtual string get_name() { return name; } }; class TFaculty:public Person { private: string title; public: virtual string get_name() { return title + " …

Member Avatar for Fbody
0
143
Member Avatar for amna masood

if statements with brackets inside not outside. if (oid<1 && oid>100) { //your code }

Member Avatar for ninjatalon
0
440
Member Avatar for sara90
Member Avatar for moorekwl92

line 24. [i1] did you mean i+1 line 37. sentence misspelled , you used sentance btw try keeping global variables to a minimum. Most of those could go into your main() with no problem. When you call a function such as float Charactercount(string sentence) it creates a new string called …

Member Avatar for rubberman
0
172
Member Avatar for Mike Bishop

Can you explain where will you be getting the customer code from? You want to make the customer code to appear once and then after that leave it blank?

Member Avatar for Unhnd_Exception
0
152
Member Avatar for m_wylie85

When you mean public variables they are global variables correct? You can make a Public Property to send over your variable over to the other form. [CODE]Public Propery pizza_toppings() get return pizzatoppings end get Set(ByVal value) pizzatoppings = value End Set [/CODE] So you can set the value from other …

Member Avatar for codeorder
0
81
Member Avatar for ninjatalon

So I just started reading about serialization of class and how I can save them into a binary file. But after I define my class as <serializable()> and try to save the object it keeps throwing me this exception. [COLOR="Red"]"An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: …

Member Avatar for ninjatalon
0
179
Member Avatar for ninjatalon

I have a checkbox X1 that if checked it will check a column of checkboxes. What i'm trying to do is if the user unchecks at least one checkbox from the column it will uncheck checkbox X1. But I don't want it to run the event from checkbox X1 again …

Member Avatar for ninjatalon
0
153
Member Avatar for ninjatalon

What is the right way to declare an array [CODE]Dim lblname As Label() = New Label(get_num_of_children()) {} Dim mealcheck As Integer() = New Integer(get_num_of_children()) {}[/CODE] or [CODE]Dim lblname() As Label = New Label(get_num_of_children()) {} Dim mealcheck() As Integer = New Integer(get_num_of_children()) {}[/CODE] Thanks for your help

Member Avatar for ninjatalon
0
147
Member Avatar for ninjatalon

What are the purposes of using ifndef and define? When should it be used and why? I made a simple program in class just to go over the basic of Friends in classes but it wouldn't work and I was getting errors all over even though I went through it …

Member Avatar for Fbody
0
117
Member Avatar for Lokril

where's your remainder function? In order to call remainder(num1,num2) You need to have your function which should be [CODE] #include <iostream> using namespace std; int remainder(int x, int y) { int result; // your code to get remainder return result; } int main() { // code that you just posted …

Member Avatar for jonsca
0
143
Member Avatar for caltech

You're calling for the divide function in main and check as if you are declaring a variable. When call for a function say "void something()" in main [CODE] void something(); // void does not return anything other than run code or cout ur stuff int somethingelse(int,int); //int function needs to …

Member Avatar for reemhatim
0
137
Member Avatar for smitty34

your first line should be #include <iostream> Some of your logic is wrong. Overtime hour is anything over 40 hours That means if the person made 50 hours then overtime hours is 10 hours. So iovertime_hours=ihours-40 Same with your overtime pay. Overtime pay is the wage * 1.5

Member Avatar for ninjatalon
0
256
Member Avatar for Sundayy

first you need make a variable where the user inputs the total of numbers then you need to ask is the variable higher than 50 thousand if yes run your if statements to find hours mins and seconds, if not then display error message and exit

Member Avatar for peter_budo
0
446
Member Avatar for ninjatalon

I've tried google a way to sort a table but couldn't get my code working. My program lets the user input enter information such as first name and last name in textboxes, once done they click on update button(so far everything works). On the top right of the form it …

Member Avatar for zy_430l
0
629
Member Avatar for mak_sutt

I'm taking classes of c++ but VC++ is whole new world for me. When making GUI applications I use VB.NET its so much easier. If you're starting to learn programming and wish to just make GUI application I would recommend learning VB.NET

Member Avatar for ninjatalon
0
121
Member Avatar for i4ba1

java would probably be a good language to use. java can be opened from different OS.

Member Avatar for i4ba1
0
173
Member Avatar for txwooley

As I'm still learning in college, we don't get explained of all of them either. But basically you will need to #include <iostream> for your cin and cout. Then also there is other headers that you can use such as #include <iomanip> to set width,length or set how many decimal …

Member Avatar for mike_2000_17
0
121
Member Avatar for Ducklz

[QUOTE=Ducklz;1474564]Still no luck :([/QUOTE] There is no way you can make more than 1 textbox (if thats what you are trying to do) You made 2 controls(textbox and tabpage) and you can't make more than that. Looks like you calling the same tabpage changing its text on depending on the …

Member Avatar for ninjatalon
0
308
Member Avatar for fsefsef23

You can use a pointer , then allocate n amount of Int not sure if I can post you the code but i'll show it to you anyway: int* a; //make a pointer to int //run your code to get "index" a= new int[index]; //use a[index] as your array //don't …

Member Avatar for ninjatalon
0
147

The End.