43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for AnooooPower

I want to outpout part of a richtextbox content to a textbox. Exemple (This is just part of the richboxtext1: [CODE]<meta http-equiv="refresh" content="0;url=?sid=defd7592f5b806ad8a4fa1273bd73077"> <[/CODE] This is code i used but is faulty :( : [CODE]Dim strBuild As String = Nothing strBuild = Split(Split(RichTextBox1.Text, "sid=")(1), "''>")(0) TextBox6.Text = strBuild[/CODE] I want …

Software Development vb.net
Member Avatar for AnooooPower
0
744
Member Avatar for CityThrille

Good day to all. I'm a VB.NET newbie. How can I search, for example ID Number, and want to highlight the listview item found in search from my first form? I'm using combobox from my second form to search. Thanks.

Software Development listview seo vb.net
Member Avatar for CityThrille
0
213
Member Avatar for Frederick2

I'm doing command line compiling, and thought there might be some switch that would list starting and finishing time, but couldn't find anything. I'm using Windows, and trying to work with the default gcc/g++ from mingw installed with Code::Blocks. Or is there some way of doing this with some shell …

Software Development c++
Member Avatar for Frederick2
0
359
Member Avatar for MatGreenfield

Hi, I am writing a piece of code that takes copies the contents of one file to another (which is created by the code, the name is given by user as an arguement). I've managed to successfully open and read in the source file, and the program will create the …

Software Development c open-source
Member Avatar for MatGreenfield
0
102
Member Avatar for fabricetoussain

ok so i have this program here i had to finish, and it was for input and output files, i wrote everything, and even wrote the data.in and data.out files but when i run it i get nothing in return. do the files have to be in the ".in" format …

Software Development c++ file-system
Member Avatar for triumphost
0
295
Member Avatar for Tommymac501

Does anyone know how to copy subfolders from one place to another in VB?. I have a Template folder on a network share I want to use to set up the base folder structure on newly created job folders, however, I can't seem to get any copy methods to take …

Software Development data-structure vb.net
Member Avatar for Tommymac501
0
657
Member Avatar for JOSheaIV

(I'll make this sweat and short, writting in class) Okay so I am working on a sudoku program, and am using a dataGridView for the gameboard. But I need to know how to create different boarders for the cells so that I can make up the 4 black lines that …

Software Development vb.net
Member Avatar for ddanbe
0
654
Member Avatar for patrioticparado

I have no specific question, though I could go on asking random questions for days. I am still rather early in the learning phase as far as c++ goes. I decided to post here for a rather different reason. I was Google searching for a problem related to getch() and …

Software Development c++
Member Avatar for Narue
0
119
Member Avatar for TechNewbie23

Hey! I am creating an application which will allow users to search parents names and display their childen respectively in a datagrid. I have created a form with two text boxes, a search button and a datagrid. The two text boxes are txtFName.text and txtLName.Text. On clicking btnSearch I want …

Software Development display open-source vb.net
Member Avatar for TechNewbie23
0
222
Member Avatar for Sundayy

Hi Guys: I have completed my source code for the following problem using the "if" statement. I have gotten 4 errors which are: Line|26|error: ambiguous overload for 'operator>>' in 'std::cin >> (Total_Number_of_Seconds / 3600)'| Line|29|error: ambiguous overload for 'operator>>' in 'std::cin >> (Total_Number_of_Seconds % 3600)'| Line|32|error: ambiguous overload for 'operator>>' …

Software Development c++
Member Avatar for Sundayy
0
788
Member Avatar for ktimov1

I have a DataSet displaying data on a DataGridView. The current method I am using to filter the grid is as follows: [CODE] foreach (DataGridViewRow row in dgvXML.Rows) { foreach (DataGridViewCell cell in row.Cells) { if (cell.FormattedValue.ToString() != String.Empty) { //Highlight cell if the value from the textbox is found. …

Software Development dataset
Member Avatar for ktimov1
0
100
Member Avatar for schrope

help i can not figure this out. my home is to encryption a four digit number I have to add 7 and use mod 10-- i think i have that part but now i need to swap the first number with the third and second with the fourth. i can …

Software Development c++ encryption
Member Avatar for Crutoy
0
183
Member Avatar for CrashanBurn

Hi, I am trying to get my little program to do some calculations. So far i got 15 textboxes, named TxtPP(followed by product type),so i got TxtPPproduct1, TxtPPproduct2 etc.... At the bottom of the form i got a disabled textbox which shows the total of all the above textboxes. Now …

Software Development vb.net
Member Avatar for CrashanBurn
0
405
Member Avatar for moose333

Hello I am currently trying to read specific data from a .hrm file and then display it within a form in c#. For example I want to read the date data from this file and then display it on the form. All I have managed to do is read in …

Software Development file-system
Member Avatar for moose333
0
488
Member Avatar for schrope

i am taking my first C++ class and i can not clear the following error can anyone help error C2447: '{' : missing function header (old-style formal list?) //christine gershen // Exercise 4.17: Encryption.cpp // Encrypts data given by user. #include <iostream> // required to perform C++ stream I/O #include …

Software Development c++ encryption
Member Avatar for schrope
0
145
Member Avatar for Katana24

Hello all, Im having a problem using the Timer class. In one class it works fine but in the other; though I do the exact same thing, it doesn't work. I know that the constructor for the Timer class allows no parameters and with parameters, as the other classes uses …

Software Development java
Member Avatar for Katana24
0
97
Member Avatar for dooleyis

Hi everyone, I was wondering if it is possible to point to a textbox created in the form designer via a string variable. Basically, I'm creating a golf management system with a feature allowing a user to define their own course. Each hole has a corresponding textbox into which a …

Software Development vb.net
Member Avatar for dooleyis
0
216
Member Avatar for Singlem

I found a small issue in one of my app's. I'm reading data from a database to a array(so to say) [CODE] npc_text.text1[0] = reader["text0_1"].ToString(); [/CODE] Now I'm having the problem that "text0_1" can be a NULL value. The to string complains about it. If I use a variable it …

Software Development
Member Avatar for Singlem
0
113
Member Avatar for atticusr5

Hello all, I know there is a "sort" method in the STL for list. However I am not sure how to use it, and my research was unable to help me out. What I am trying to do is sort my master list by the averages, lowest to highest. Can …

Software Development c++ ios linked-list
Member Avatar for atticusr5
0
147
Member Avatar for mr3army

Hi, I have my program all programmed but, i want to have only one button! How can i make it so if the radio button is selected it will do a certain sector of the code when the the actual button is pressed iv had a good attempt at if …

Software Development vb.net
Member Avatar for mr3army
0
100
Member Avatar for shinsengumi

Hello all. I've previously created a working socket program in C in a 32-bit machine and now I have to transfer it to a 64-bit machine. May I ask if there is anything I have to change in my program to make it work in a 64-bit machine? I did …

Software Development c socket-programming
Member Avatar for Ancient Dragon
0
609
Member Avatar for prahesh

Hi All, I was working on the project that was building very well on Visual Studio 2008 Express Edition. Later I have installed the Visual Studio 2008 professional along with Visual Studio 2008 SP1. Now I am trying to build the project, which shows the following Error. fatal error LNK1181: …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
1K
Member Avatar for kylix_jin

Good day Sir/Maam.. im new here. i have a project in MS Access 2003 that will tanslate numbers into words... is there a code using Asc? to this program... im sorry im newbie in programming.. thanks a lot..

Software Development visual-basic
Member Avatar for AndreRet
0
125
Member Avatar for vishal.patil

This is the code that I have written in C# which shows the contains in the sample.log file. [CODE] class FileRead { public void ReadData() { FileStream fs = new FileStream("sample.log", FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(fs); sr.BaseStream.Seek(0, SeekOrigin.Begin); string str = sr.ReadLine(); while (str != null) { Console.WriteLine("{0}", …

Software Development c# file-system ide
Member Avatar for mcriscolo
0
417
Member Avatar for sneha mehta

i want to include using.System.Transactions header file in c# program but i m not able to do that. whats the problem i am not getting??

Software Development
Member Avatar for Momerath
0
95
Member Avatar for Abdel_eid

hello i want to know how to get Arabic data from jtextfield it is writen normally but when i order to show it , it appears in the form of ?????? please help thanks for you attention

Software Development java
Member Avatar for mKorbel
0
468
Member Avatar for vijeevvv

Hi, I have a gridview in asp.net. Inside that I have a template field control(Link button named "Details" in all the rows). When I click that link button the details of that particular row should be displayed. Say suppose three records are there. When I click the link button in …

Software Development asp asp.net
Member Avatar for vijeevvv
0
107
Member Avatar for computerstudent

I'm trying to put together a code that will basically take a user input string and reprint every 3rd character. i.e. if a user inputs "Superman" it should be reprinted like "S e a" I'm sure this is Uber-simple to you but I'm just starting out, whether it is efficient …

Software Development python
Member Avatar for TrustyTony
0
157
Member Avatar for Aelphaeis

Essentially, my problem is that I have a program that dynamically creates controls. The Controls included are buttons and on click I want the buttons to remove themselves and all related data. The problem is I'm not sure how to identify the buttons from within the delete method. The important …

Software Development
Member Avatar for Aelphaeis
0
192
Member Avatar for abu taher

in a textbox I write 100000. I want another text show automatically "one lac". I mean it aumatically show the in word of that numeric number what I write. how it possible.

Software Development visual-basic
Member Avatar for debasisdas
0
410
Member Avatar for Jake.20

guys, need help please. i have an syntax error on my update statement here is the code. myqry = "UPDATE prodInfo SET " myqry = myqry + " [itemName] = '" & txtName.Text & "'," myqry = myqry + " [comboSize] = '" & combosize.Text & "'," myqry = myqry …

Software Development vb.net
Member Avatar for prvnkmr194
0
116
Member Avatar for PhiberOptik

Hey folks, I'm a student and I have been using Blue J. I have found it rather primitive and was wondering what the majority of other java programmers like to use? I thought about Net Beans but I honestly have no idea, So what do you use ?

Software Development java
Member Avatar for mjason
0
214
Member Avatar for jotae

I'm using Visual Studio c# (spanish) The code: [CODE]cmd.CommandText = "UPDATE cursos SET saldo = saldo - '" + cantidad.ToString() + "' where id = '" + vID + "' ";[/CODE] vID is a string variable. The problem is here: Don't work [B]where id = '" + vID + "'[/B] …

Software Development visual-studio
Member Avatar for kvprajapati
0
108
Member Avatar for br007

Here is the snippet of code I am having issues with. cout<<"So are you a male or female, Please type m/f"<<endl; cin>>sex; if (sex='M','m') { alcohol_distribution=.73; } else if (sex='F','f') { alcohol_distribution=.66; } So I know I have this terribly wrong, but i want the alcohol_distribution based on whether or …

Software Development c++ programming-construct
Member Avatar for br007
0
122
Member Avatar for hitro456

Hi guys I am writing an application in c# I want to create a dynamic log file which would contain all the errors or exceptions occurred during execution of the Component. Log file simply has to append all the errors or exceptions generated with error details and time and date. …

Software Development c#
Member Avatar for ghimangi
0
228
Member Avatar for ChieftanBill

I've recently come upon a frustrating Array Index Out Of Bounds error when selecting any of the "calculations" to be applied to the entered values(maximum 1000 values). I suspect it to be a problem with the [CODE]values[(c+1)][/CODE] in the for loop. I can't figure a way around this problem. Can …

Software Development java
Member Avatar for jon.kiparsky
0
246
Member Avatar for biogig

so I've been trying to write this program that takes the data from a file and outputs the year the rainfall how much it is below/above the average, the average raifall and the std deviation and for some reason I get three C4552 warnings:'>': operator has no effect on three …

Software Development c++
Member Avatar for biogig
0
886
Member Avatar for Archenemie

I have a listbox and what I basically want to achieve is as I click a value within the listbox I want the value clicked to be passed to a function. I could easily do this using a button and listbox.GetValue() but I believe the quality of my finished code …

Software Development python
Member Avatar for Archenemie
0
219
Member Avatar for newack

hello, i wrote a code to encrypt the 4 digit number. i broke the number in digits and encrypted it. It works fine. But the problem comes when first digit in output comes 0. that time i get 3 digit number instead of 4 digit number. i want it to …

Software Development java
Member Avatar for newack
0
84
Member Avatar for johnt68

Hello, I thought that I had sorted this a while back - but testing with fresh eyes has revealed otherwise. I think everything works (of course I may be quite deluded) but if the tick box is checked and a calculation is made it adds 10% - which is good …

Software Development
Member Avatar for johnt68
0
116
Member Avatar for hailsontherocks

Just trying to change the formatting of various bits of my print code. Is there a simple way to do it?

Software Development python
Member Avatar for hailsontherocks
0
134
Member Avatar for Mkmd13

Hey, I have completed my code for Java and I have to put it in GUI, problem is I dont know a thing about GUI or if my program works correctly with it or not. Here is my code and what the code does is you type in random numbers …

Software Development gui java java-swing
Member Avatar for Mkmd13
0
505
Member Avatar for newack

I am new to Java I wrote a code to find largest number [CODE] import java.util.Scanner; public class LargestNumber { public static void main( String args[] ) { int number,largestNumber; Scanner input = new Scanner( System.in ); System.out.print( "Enter 10 numbers to compare" ); for( int counter = 1 ; …

Software Development java
Member Avatar for newack
0
107
Member Avatar for revjim44

I have data consisting of two arrays, string item [], and string location [], How do you create a DataGridView ( or is that even the right component to use) to display the data in a windows form, like in a listbox? Basically I need to write a method to …

Software Development
Member Avatar for Momerath
0
131
Member Avatar for ShadowScripter

I think the title says most of it. How do I, in MS Access using VBA, get information from a workbook which I can then put in as a recordset in a table? I know that excel has an easy workaround for other excel workbooks, and I've read somewhere how …

Member Avatar for ShadowScripter
0
366
Member Avatar for zarifin99ska

Hi I've design a datagridview with 6 columns. But i got a code somewhere in internet,the code make my datagridview added with 8 more columns from database. i dont know how to put the data from database into specific columns in the designed datagridview. on database, i have 8 columns, …

Software Development database-design dataset vb.net
Member Avatar for zarifin99ska
0
105
Member Avatar for Java_90

I have to input a directory in DT, then have Directory recursively return a list of files and folders in that directory. My problem is that at the moment my program is only returning the first file in the directory and then ending. I know that I'm doing my recursion …

Software Development java
Member Avatar for Java_90
0
180
Member Avatar for tukky

Hey :) Im working on a project and ive come across a small problem. I have a listview that contains the details of a person(s) such as their name,address,e-mail address etc. I have a button that opens up another form where the user can edit the details of the customer, …

Software Development listview vb.net
Member Avatar for codeorder
0
124
Member Avatar for zetologos

This bug is killing me. I have no idea what I did wrong. My friend has it the exact same way. This program reads a txt file and reads each line which has a request in it EX: Matt Smith;Event 1;2009;March;29;11;120;40; We take the request cut it up according to …

Software Development java
Member Avatar for zetologos
0
157
Member Avatar for chintan_1671

I am creating new thread everytime in the for loop .. but many times the loop takes the same filename and creates new thread. Doesn't Work: [code] foreach (string s in fileEntries) { t = new Thread(() => Shrink(s)); t.Start(); } [/code] I have tried individually for each file creating …

Software Development c# multithreading
Member Avatar for chintan_1671
0
205

The End.