132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Reapt

Newbie programmer here. I want to really learn C#. Other than VS what other IDE's are there?

Software Development c# ide
Member Avatar for JOSheaIV
0
264
Member Avatar for leomax09

hi guys can you help my project my system is Poit of sale and inventory i want to subtruct my itemsstock to quanty that i buy for every items cen u help me guys? thank!!!

Software Development vb.net
Member Avatar for Santanu Das
0
123
Member Avatar for Soutta

This is my second attempt and for some reason won't Calculate. I get $0.00 as my result. VB tells me something is wrong wth CalcMiscCharge missing a return statement, but don't see where. Any Ideas? Public Class Form1 Private decLabFee As Decimal ' To hold Lab fee. Private decMeds As …

Software Development vb.net
Member Avatar for Santanu Das
0
173
Member Avatar for Joemeister

Hi all, I was wondering if you can help me out with this. I have a dataGridView with a couple of books saved on it. When I click on a book, the book's story loads in a richTextBox. When I change that text and want to save it I want …

Software Development
Member Avatar for Joemeister
0
188
Member Avatar for Tycellent

Hey guys, Was wondering if someone could assist me in elaborating the c_str() function... I understand that it returns a pointer to an array that contains a null-terminated sequence of character but could someone further elaborate upon this, perhaps with a simple example. Cheers,

Software Development c++
Member Avatar for Lerner
0
186
Member Avatar for aurgiwilllearn

Hello, I need help!!! I have a program that uses an array for the user to enter in 5 integers. After those integers are added I want to sort them using a bubble sort. My problem is I'm really confused on where I place my bubble sort? Any help would …

Software Development
Member Avatar for mridul.ahuja
0
183
Member Avatar for rgrgrg

I need to create a program like Hangman... I did successfully the following: Bring a file into VB which has a list of 100 words --> ok Then, user enters a number --> ok VB identifies the number to a word--> ok Convert word into *****--> ok appear input box--> …

Software Development vb.net
Member Avatar for oussama_1
0
178
Member Avatar for Soutta

Having trouble when executed. Can someone point me the right direction? Public Class Form1 Private Sub btnEnterNumber_Click(sender As Object, e As EventArgs) Handles btnUserInput.Click 'This will sum of the numbers Dim strUserInput As Integer Dim intUserInput As Integer 'Number entered by user Dim intSum As Integer = 0 strUserInput = …

Software Development vb.net
Member Avatar for Soutta
0
363
Member Avatar for Mike Bishop

Morning all, I have some code which says if a text box is empty show a msgbox asking user to input data into this textfield. i then want only an O.K button to show on the msgbox but then no to continue with the sub. [CODE] If Me.txtLine2Rcon.Text = "" …

Software Development open-source vb.net
Member Avatar for Deep Modi
0
259
Member Avatar for rianbattle

Good morning, I'm curious on how one would go about encoding the data for a UPS Maxicode barcode on a ZPL label. Currently we generate our own ZPL file using a template which we fill our data in with through a VB.NET program. The Maxicode barcode command is using all …

Software Development vb.net
Member Avatar for rianbattle
0
2K
Member Avatar for david.1982

Hi Everyone, Fairly new C# coder here. I'm currently writing a small application that will be deployed on several computers, each of which will need to connect to a remote SQL server. I'm wondering what the best way to store a username and password for this would be? Each deployment …

Software Development
Member Avatar for JOSheaIV
0
556
Member Avatar for analys

I'm trying to output binary file information something like this: File size : 5 KB Start : 0x00 End: 0x 20 But I don't really know how to output the end of file. Hope somebody can help me. Thanks. public static void binaryread(string file) { FileStream fs; BinaryReader br; FileInfo …

Software Development file-system
Member Avatar for JOSheaIV
0
206
Member Avatar for shahab saeed

hi! i have written a code of linked list using character array to add and display data, it can add data but not display. can anyone help?? thanks. #include<iostream> using namespace std; class node private: char data[30]; node* next; public: char showdata() { return data[30]; } void setdata(char c[40]) { …

Software Development c++ linked-list
Member Avatar for tinstaafl
0
146
Member Avatar for CodeAssasian

How to save informations in one dat. I think that is datebase or something. Please help me!!!

Software Development c#
Member Avatar for JOSheaIV
0
175
Member Avatar for filipgothic

Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some …

Software Development vb.net visual-basic
Member Avatar for J.C. SolvoTerra
0
312
Member Avatar for VasquezPL

Hi Guys, I have a big problem. I want to merge two oft/msg outlook templates. when I try to open my oft/msg outlook template with: Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem newMail = (Outlook.MailItem)oApp.CreateItemFromTemplate(path); newMail.Display(); It works - pictures are visible.. The problem is that I need to merge two …

Software Development c# ui-ux
Member Avatar for cgeier
0
773
Member Avatar for shaziya

Hi I dont want the extra bracket inside the list thats been outputted so how would I fix that? This is the code: def my_code(list1, list2, index): index = ['a','b','c'] list2 = [2] list1 = [1,2,3] list1.insert(2,index) return list1 and it returns: [1, 2, ['a', 'b', 'c'], 3] I dont …

Software Development python
Member Avatar for snippsat
0
176
Member Avatar for Jack_9

Hello. I work for a company that does alot of stuff with python and I was wondering what methods are better then the one I use for finding a bug in millions of lines of code. What I like to do is find out what the bug does. Let's just …

Software Development audio python
Member Avatar for vegaseat
0
335
Member Avatar for moaz.amin.37

i write a program its output is below G:\Java\Multithreading>java NewThread Child Thread Thread[main,5,main] Main Thread 1 Child Thread 1 Main Thread 2 Main Thread 3 Main Thread 4 Main Thread 5 Main Thread Complete Child Thread 2 Child Thread 3 Child Thread 4 Child Thread 5 Child Thread Complete in …

Software Development java multithreading
Member Avatar for moaz.amin.37
0
293
Member Avatar for ali11

error: no suitable method found for toArray(int[]) return intList.toArray(new int[intList.size()]); ^ method Collection.<T#1>toArray(T#1[]) is not applicable (inference variable T#1 has incompatible bounds equality constraints: int upper bounds: Object) method List.<T#2>toArray(T#2[]) is not applicable (inference variable T#2 has incompatible bounds equality constraints: int upper bounds: Object) method AbstractCollection.<T#3>toArray(T#3[]) is not applicable …

Software Development java
Member Avatar for jwenting
0
4K
Member Avatar for razamughal67

Hello Everyone i am new in java language. and iwant to hide any <div> tag on my site site example: 'www.mysite.com' and i have a div in my website. like <div id='header'> when we load my site the java script run and check my site url. 'www.mysite.com' if the url …

Software Development java
Member Avatar for razamughal67
0
172
Member Avatar for strRusty_gal

Hi Everyone, Thank you for viewing. I would like to check how to disbale HTML button in c#? Can anyone advise on this?

Software Development html-css
Member Avatar for RichardGalaviz
0
219
Member Avatar for Dudestreet

Hi Team, I'm stuck with my code and I found out this snippet to save(Export) an Excel file to **D:**. However, I would like to give a User an option to save it according to his/her necessity. Please find the Code Snippet below: Private Sub Button1_Click(sender As Object, e As …

Software Development open-source vb.net visual-basic
Member Avatar for hericles
0
317
Member Avatar for kayleigh0411

I have to create a program that will calculate the the average miles per tank and the cost to fill tank of a car. The inputs are tank capacity, miles per gallon, and price per gallon, the outputs are average miles per tank and cost to fill tank. I have …

Software Development java java-swing
Member Avatar for Tarek_2
0
207
Member Avatar for catastrophe2

hi so this code here as i test it on paper provides paranthesis on every leaf node, disregarding priority (operator precedence) how can i make it add those paranthesis based on precedence of operators? void printInfix(Node n) { if (n == null) { if (n.isLeaf())//if n is a leaf, therefore …

Software Development c++
Member Avatar for catastrophe2
0
243
Member Avatar for Sudha Granger

I am trying to add a coloumn from database into a listbox in VB6. The following code works. The selected item from this listbox is used to find and add records to the ListBox2. Using Oracle 11g Express Edition and Visual Basic 6. Working code: (Displays the artist column from …

Software Development oracle visual-basic
Member Avatar for cgeier
0
592
Member Avatar for VasquezPL

I have a code foreach(Control grpbox in this.Controls) { if (tb is CheckedListBox) { tb.CheckedItems... } } and I need to use tb.CheckedItems as above...but somehow CheckedItems is not visible there... I can see other things related to "Control" but not related to "checklistbox" how to fix that?

Software Development
Member Avatar for VasquezPL
0
184
Member Avatar for Joshua_9

Can you make me a program that does this: Amount of numbers:5 // any number 123 // arrays 343 424 34234 344 // random numbers output mean: //calculates the mean standard deviation: //calculates the standard deviation

Software Development c++
Member Avatar for David W
0
309
Member Avatar for engrjd91

I have the following code: import java.util.Scanner; public class WhileLoop { public static void main(String[] args) { int number; int maxValue = Integer.MAX_VALUE; int minValue = Integer.MIN_VALUE; Scanner input = new Scanner (System.in); System.out.println("Enter the length of numbers"); int loop = input.nextInt(); for(int i=1; i<=loop; i++){ System.out.println("Enter a number: "); …

Software Development java
Member Avatar for oussama_1
0
241
Member Avatar for moaz.amin.37

hello i have a problem with Priority when I set priority of any thread then I get wrong output my code is below class Run implements Runnable{ private String st; public Run(String s){ st=s; } public void run(){ for(int i=1 ; i<=10 ; i++){ System.out.println(st+"="+i); } } } class PriorityCheck{ …

Software Development java operating-system
Member Avatar for moaz.amin.37
0
259
Member Avatar for Danny_7

Dim FrenchMark As Integer = 0 Dim GermanMark As Integer = 0 Dim SpanishMark As Integer = 0 Dim PercentageMark As Integer Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click EnterMarks() End Sub Private Sub EnterMarks() Try FrenchMark = InputBox("Please enter a whole number between 1 …

Software Development vb.net
Member Avatar for Reverend Jim
0
689
Member Avatar for kimangel

Hi expert, Just want ot ask the correct code format for moving message to a new location. MsgBox "Do you want to save?", vbYesNo, 10, 10 Thanks

Software Development visual-basic
Member Avatar for J.C. SolvoTerra
0
268
Member Avatar for cool_intentions

Hello, I’m trying to bind Dictionary<string, object> parameters with my combo box, but I don’t know how to do that. This is my code: [CODE=C#] Dictionary<string, object> parameters = new Dictionary<string, object>(); parameters.Add("option1",parameters); parameters.Add("option2", parameters); parameters.Add("Option3", parameters); [/CODE] I would like to get option1, option2 and option3 in combobox on …

Software Development
Member Avatar for jeryymanly
0
2K
Member Avatar for SQLpower

Hello, So I basically loaded to 2 keys and I want to verify them after I've signed something with one of them, but I a having difficulties. I am getting verified: false at the end without any error. Can someone please point out the flaw? package fliesigning; import static fliesigning.FlieSigning.verifySig; …

Software Development apache java
Member Avatar for SQLpower
0
288
Member Avatar for Alexandra Nichole

Using an array write a program that asks for 10 numbers of type int stores it in an array and traversing each item counting the number of items that are greater than 5.

Software Development c++
Member Avatar for Schol-R-LEA
0
94
Member Avatar for Miyuki

I want to use Python to make something similar to the fc command found in MS-DOS and Windows. How would I handle opening 2+ files and reading them a byte at a time for comparing?

Software Development python
Member Avatar for Jack_9
0
532
Member Avatar for filipgothic

Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some …

Software Development visual-basic
0
95
Member Avatar for devnar

I'm using the following swap function to swap two elements of an array. The element pointed to by 'x' and 'y' and the one right below it, to be particular (then i want x and y to point to the second of the swapped elements, hence i use auto increment). …

Software Development c
Member Avatar for anveshnaidu
0
162
Member Avatar for Xavier_1

Hi guys!, I have a code here having a problem about double and I'm kinda lost so I don't know what to do. btw thanks for reading my thread, I would greatly appreciate if you can help me fix this thing. #include <stdio.h> #include <conio.h> #include <string.h> #include <stdbool.h> #define …

Software Development c
Member Avatar for Moschops
0
198
Member Avatar for Diellza S.

/ I want to debug this code but I can't? How can I debug it in console application using System; using System.Collections.Generic; using System.Text; namespace BucketSort { class BucketSort { public static void Sort(int[] integers) { //Verify input if (integers == null || integers.Length <= 1) return; //Find the maximum …

Software Development c# linked-list
Member Avatar for deceptikon
0
239
Member Avatar for catastrophe2

hello I have an inquiry about reading from a file. so if i have a file and if it opens (meaning it is there) how do i check if there is data? ifstream file("example.txt"); if (file.good()) { //file.open("example.txt"); // is this necessary again???????? i read that the ".good" provide checking …

Software Development c++ file-system
Member Avatar for catastrophe2
0
3K
Member Avatar for 21310051

what are the benefits of using a multiview?

Software Development
Member Avatar for RichardGalaviz
0
111
Member Avatar for PinoyDev

good day! I just want to ask if is it possible to have count on dinstint? I have a query below but it produces error in the expression. Im pulling data in MSAccess using ADODB. SQL = "SELECT" & _ " (SELECT COUNT(DISTINCT DateOInvoice) FROM InvoiceMain AS A WHERE (DateOInvoice>=DateValue('" …

Software Development visual-basic
Member Avatar for PinoyDev
0
285
Member Avatar for DS9596

I did some don't know how to read into the vector, need help on this assignment: Rich Software Inc. has hired you for an internship position to create new payroll software for their employees. Your goal is to create a program that reads the newdata.txt file with their salaries. After …

Software Development c++ display
0
154
Member Avatar for Sarkurd

Hi I have tried to implement Linked-List data structure and i was folowing a guide but i have an `error` in line 12 in `contactlist.h` I have included `contact.h` properly but still not working :-/ contact.h #ifndef CONTACT_H #define CONTACT_H #include <iostream> #include <string> #include "contactlist.h" class Contact { private: …

Software Development c++ data-structure linked-list qt
0
102
Member Avatar for Perry31

Hi, I'm facing some problem while returning string. I want to return final string value and print it. Below is the code that i tried, int main() { int Input = 0; //Tried using tmpstr also //char *tmpStr = NULL; scanf_s("%d", &Input); //Tried as below also but it was crashing …

Software Development c
Member Avatar for Perry31
0
191
Member Avatar for oanahmed

Hi! Few days ago, I had learned C language. It took me almost 8 to 10 months to learn the whole language. Now I wanna want to make real world applications using it. I'm an Ubuntu user or more generally a Linux user. The point to ponder is that I …

Software Development c gui open-source ubuntu
Member Avatar for DeanMSands3
0
3K
Member Avatar for sing1006

im new in objective c.i have come out with the getter and setter but not sure is correct or not. .h #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(nonatomic, retain) NSString *myText; @property(nonatomic, copy) NSNumber *opacity; @property(nonatomic, assign) id delegate; @end .m #import "ViewController.h" @interface ViewController () @end @implementation ViewController @synthesize …

Software Development objective-c
0
170
Member Avatar for faroukmuhammad

I write this post to ask where I can make bulk purchase of computer science e-books (say, 1000 books on a CD).

Software Development
Member Avatar for pi man
0
235
Member Avatar for cambalinho

i continue with problems for use a callback function in a class member :( class Timer { private: typedef std::function<void(void)> timerprocedure; timerprocedure tmrprocedure;//can't be static int MilliSecondsTimer; bool blnDestroyed; UINT TimerId; HANDLE Timer1; static void CALLBACK MyTimerProc( HWND hwnd, UINT message, UINT idTimer, DWORD dwTime) { tmrprocedure();//call the lambda timer …

Software Development c c# c++
Member Avatar for Banfa
0
498

The End.