8,298 Topics

Member Avatar for
Member Avatar for RickCJ7

I have searched this forum and see that there are quite a bunch of topics related to files being used by another process. However, none of them seem to fit or work for me. This is my scenario - I have an XML file that is used as a template, …

0
132
Member Avatar for venkateshyeluri
Member Avatar for Mitja Bonca
0
94
Member Avatar for nicewave

Could someone tell me why I can't use the following code? It kept saying 'string' does not contain a definition for 'Match' and no extension method 'Match'. string SearchText = "7,true,NA,false:67,false,NA,false:5,false,NA,false:5,false,NA,false"; string Regex = @"\btrue\b"; int NumberOfTrues = Regex.Match(SearchText, Regex).Count;

Member Avatar for Mitja Bonca
0
194
Member Avatar for riahc3

Hey Im trying to make a social network (local based, not anything to take on other social networks) but Im not going to reinvent the wheel and make everything from scratch. Thats why Im asking if there is any CMS/library/etc to make my life easier. Im going to use C#/ASP.NET …

Member Avatar for riahc3
0
155
Member Avatar for KrossFaith

i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array 01 #include<iostream> 02 using namespace std; 03 int main() 04 { 05 int gradeRange [4]= {0,0,0,0}; 06 int mark = 0; 07 int counter = 0; 08 09 …

Member Avatar for Lerner
0
370
Member Avatar for KrossFaith

i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array #include<iostream> using namespace std; int main() { int gradeRange [4]= {0,0,0,0}; int mark = 0; int counter = 0; while (mark < 101) { cin >> mark; if …

Member Avatar for m4ster_r0shi
0
292
Member Avatar for Andy90

Hi, I have created 2 forms. Form1 and Form2 Form1 contains button to open form 2 Form2 contains a check box and ok button When checkbox is checked and I click ok button, the TopMost property of form 1 is set true. But I m unable to see the change. …

Member Avatar for Mitja Bonca
0
158
Member Avatar for jrosh

I want to implement an event similar to taggin a photo in wpf. Wht functionality should i use to mark a certain area of an image in order to tag it. thakx in advance. ps: i have tried <pres:RadTransitionControl.ContentTemplate> <HierarchicalDataTemplate> </HierarchicalDataTemplate> </pres:RadTransitionControl.ContentTemplate> and <Image></Image> but those dont support that fuctionality

Member Avatar for jrosh
0
185
Member Avatar for bhagawatshinde

Hi Guys, I have created windows application project in framework 3.5, vs2008 with Access database when i changed target platform to x64 it will give me an error like 'The microsoft.jet.oledb.4.0 provider is not registered on the local machine'. How to solve this thread Thanks in advance.

Member Avatar for bhagawatshinde
0
119
Member Avatar for 24x24

Hello, I have an assignment to convert some given jave code into c++. I am currently having an issue wherein when I run the program it tells me that: error C2660: 'approximateSqrt' : function does not take 1 arguments. Any suggestions for moving forward would be appreciated. I have the …

Member Avatar for 24x24
0
217
Member Avatar for samsons17

hi there, I got a software hacking questions which I guess the files were written in C# ..Each of the files will pop out a dialog box which will ask us to enter a string or something..if the string we entered is correct, then the status will be changed into …

Member Avatar for BobS0327
0
338
Member Avatar for motrcolt

Alright so my task was to make a program in C++ that when entering a year would output the date easter landed on and this is what we were given a=year MOD 19 b=year/100 c=year MOD 100 d=b/4 e=b MOD 4 f=(b+8)/25 g=(b-f+1)/3 h=(19a+b-d-g+15) MOD 30 i=c/4 k=c MOD 4 …

Member Avatar for zeroliken
0
612
Member Avatar for apals

Hello, i am working on a section of a project, that uses large number of sum methods. These sum methods are applied on a Datatable To test the best method, i use the following **Datatable structure** Class ParseLog { public DataTable PGLStat_Table = new DataTable(); public LogParser() { PGLStat_Table.Columns.Add("type", typeof(string)); …

Member Avatar for thines01
0
354
Member Avatar for desup

Hi, I've got 2 forms, after click on the button I'm hiding first and showing second.. How to put the second form to the same location as first one? I've tried: MMenu m = new MMenu(); // MMenu is the first form this.Width = m.Width; //Width and Height lines are …

Member Avatar for desup
0
178
Member Avatar for kram54

hi eveyone i have to big problem so this problem have two datatable first table like column1----column2----column3 row11-----row21-----row31 row12-----row22-----row32 i want to inset to other table column1---row11 column1---row12 column2---row21 column2---row22 column3---row31 column3---row32 my code: DataTable orjiTable = new DataTable(); DataTable gecicitable = new DataTable(); adptr.Fill(gecicitable); // orjiTable.Columns.Add(gecicitable.Columns[0].ColumnName.ToString()); // MessageBox.Show(gecicitable.Columns[0].ColumnName.ToString()); foreach …

Member Avatar for Mitja Bonca
0
220
Member Avatar for longlostbro

Background Due to a decrease in advertising profit, your favorite (and previously free) social networking site has decided to charge a monthly fee to each member. Frustrated, you set out to make your own social networking site, VisageTome. For now, you will need to make a class to store each …

Member Avatar for longlostbro
-1
148
Member Avatar for 9tontruck

C programming in IOS? Hi, I am implementing an image editing program in C which should work both in Windows, IOS (iDevices). Ths point is that we do not want to re-write same code in Object-C or Xcode. Let's say that we have a C program that is just resizing …

Member Avatar for 9tontruck
0
311
Member Avatar for mxadam

I have a text file which will look like this :Hand 1: :Hand 2: :Hand 4: :Hand 3: :Hand 3::Hand 1: :Hand 2: :Hand 1: :Hand 4: :Hand 4: :Hand 3: :Hand 3: :Hand 3::Hand 4: So now what I want to know is how do I get the maximum …

Member Avatar for Mitja Bonca
0
197
Member Avatar for dsmoore

I have the following code that I cannot figure out how to get to work: namespace Project2 { public static class Variables { public static List<string[]> tran1; public static List<string[]> tran2; } } private void Submit_Click(object sender, EventArgs e) { //Find the schedules // Variables var; string[] transaction; transaction = …

Member Avatar for dsmoore
0
222
Member Avatar for Roger_1984

Hello guys, Recently, I'm working on a project to develop voice activation detection for my predicative dialer system. I'm using a sample program called Ozeki VoIP SIP SDK and I'm quite satisfied with it. This SDK is very flexible as you can implement it to already existing systems. You can …

0
157
Member Avatar for ScarecrowBS

Hi there, I currently have a code that will search for a bitmap in a screenshot taken by this program, however, the bitmap exists three times in the screenshot and I want it to click the second time it finds it. Is there any way to do this? A lot …

0
60
Member Avatar for Tygawr
Member Avatar for khanthegamer

**Okay i have a problem that i am not able to sort out for couple of days now. I dont know why the code is not doing what it supposed to do. Basically I have written this code for a vending machine. Things i want in a vending machine ------------------------------------ …

Member Avatar for khanthegamer
0
160
Member Avatar for CGorelik

Hello, my name is Carol. I'm currently taking an introductory course in C++ and we just learned about functions. I was wondering about the standard accepted format for placing function definitions. For instance, in the following program, should I have defined the power function before the int main function instead …

Member Avatar for deceptikon
0
299
Member Avatar for kytro360

Hi, Does anyone know how to create a delay in C#? I dont like to use Thread.Sleep because it makes the GUI unresponsive. Do you know of any good alternatives?

Member Avatar for Mitja Bonca
0
296
Member Avatar for cwdaniels

Alright. So I'm fairly new to C#. What i've down thus far is create the beginnings of my program: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace WindowsFormsApplication1 { public partial class BirdNumber : Form { public BirdNumber() { …

Member Avatar for hericles
0
174
Member Avatar for VasquezPL

I have a big problem I dont know how to put unicode text (polish special chars) into myappointment.RTFBody Field. when i type myappointment.RTFBody = "{\\rtf1\\ansicpg1250\\b POWÓD\\b0}; I receive result "PO????" I dont know why it does not work..Especially when I've used "ansiscpg1250" which should change page of formmating to Estern …

Member Avatar for VasquezPL
0
68
Member Avatar for rahul_njain

I am using Webbrowser control to automate the data entry but there is a file upload control for which i am unable to upload file. The code of target page is : <form name="iform" style="margin:0px;" action="http://test.com" method="post" enctype="multipart/form-data"> <INPUT TYPE="button" value="Change Image" style="width:112px;"> <input id="file" name="image" type=file class=hiddenMask onchange="upload();" this.edit="false"> …

0
139
Member Avatar for fka

Hello. I have some problems with recieving text from ListBoxItem. My code is below: ListBox list = (ListBox)this.FindName(e.Parameter.ToString()); ListBoxItem item = (ListBoxItem)list.Items.GetItemAt(0); //****here is exception**** T.Text = item.Content.ToString(); list.Items.RemoveAt(0); The exception throws: Unable to cast object of type 'System.String' to type 'System.Windows.Controls.ListBoxItem'. My ListBox contains numbers, but it does not …

Member Avatar for fka
0
198
Member Avatar for R.K.3

plz help me in solving this question & I need the answer quickly (Set of Integers) Create class IntegerSet. Each IntegerSet object can hold integers in the range 0100. The set is represented by an array of bools. Array element a[i] is TRue if integer i is in the set. …

Member Avatar for R.K.3
0
536
Member Avatar for VidyaYadav

Hi All, I am working on application with a MDI Form, i want to close all opened child forms while opening any of the child form. How can i do that?? Regards, Vidya

Member Avatar for master_lam
0
2K
Member Avatar for Tinier

Recentlt, I need to insert comment in my pf document, but I never try it and finds little information from the intenet, but I found that the PDF has the function of showing the comment and hiding the comemnt, so I try to convert a word document that contains comment …

Member Avatar for pattmorter
-1
205
Member Avatar for Tinier

Recently, I meet a problem that I need to insert header and footer in excel with C#, I use the following code: Worksheet sheet = workbook.Worksheets[0]; sheet.PageSetup.FullHeaderString = "E-iceblue"; sheet.PageSetup.IsPrintHeadings = true; sheet.Visibility = WorksheetVisibility.Visible; sheet.PageSetup.LeftFooter = "everlasting"; But when I launch it, the header and footer do not appear …

Member Avatar for Tinier
0
296
Member Avatar for kiail

Hello, I'm needing help with a query I've been working on for a week now, I've tried using IEnumerable and tried using the query like a var, to no avail. Basically I'm just trying to query a range using LINQ for example, I need to find the range of invoices …

Member Avatar for kiail
0
538
Member Avatar for amberrrrrNJ

Hey everyone. I really need some help with my code for class. Here is the prompt : Write a program to manage a dictionary. The dictionary should be stored on a text file named diction.txt and consist of an alphabatized list of words, one per line. When a user enters …

Member Avatar for amberrrrrNJ
0
203
Member Avatar for masterinex

Hello, I am trying to write a simple program which should read the first line from the file s1, and display it. When I run it , I get the message cannot implicitly convert 'System.IO.Streamreader 'to 's1.Program' which happens for the line Program re = new StreamReader("s1.txt"); using System; using …

Member Avatar for Momerath
0
257
Member Avatar for hwoarang69

hi iam really interested in c++ game programming but i have have no idea how to get started and i have never used c++. i am using C and Java for about 2 years now. could any one let me know where can i learn graphic programming, game programming, where …

Member Avatar for Serapth
0
187
Member Avatar for geekdevil

#include<iostream.h> #include<conio.h> void main() { int z[33]; clrscr(); cout<<"Enter any Password (32 character max): "; for(int i=0;i<33;i++) { z[i]=getch(); if(z[i]==13) { break; } cout<<"*"; } cout<<"\nYou entered : "; for(int j=0;j<=32;j++) { if(z[j]==13) { break; } cout<<(char)z[j]; } getch(); }

1
127
Member Avatar for rick.eavans

C# Query : When I login to my software I select the desired username using combobox. After I login, I want to see the username text in the main window on the toolstrip. I tried get and set method but something is going wrong. Can you please help me out? …

Member Avatar for Mitja Bonca
0
844
Member Avatar for VRamone

Hi,i´m having a terrible time to discover how can i create masks to some field. Like for example,i would like that when someone fills a phone field,would appear (00)xxxx-xxxx, and such. I already tried to make a javascript function,but it seems that it doesnt work with EXT,because the field is …

0
143
Member Avatar for espinosae

Hi everyone. I have a UI Design that I got coded by my software developer and when I change the color of an image and then run under "debug" The image stretches even though I never changed any dimentions or anything. All I did was change the color.Any ideas what …

Member Avatar for nbaztec
0
103
Member Avatar for nirmal.k.2

Hi all, I have a problem with manipulating gridview with a textbox outside gridview but in the same form. My requirement is I have a gridview where cell[1] is quantity, cell[2] is a boundfield which shows the rate and cell[3] is discount and i have a textbox control outside gridview …

0
63
Member Avatar for game4tress

I've an application build with C# and WPF, that is being developed by 3 developers, including me. On a certain stage of the application, an error came up that we can't determine how it happened and how to solve it, so we ask for your help. Although everything works well …

Member Avatar for nmaillet
0
302
Member Avatar for luislupe

The problem I have and can't understand is that I receive a segfault when trying to close the second file (fclose(ofp)). Input file is a xml file that will generate food for output file. At present time, input file is being read for parsing but no output for outfile is …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for shadyreal

Hi. I have this problem with a Windows Form Application. I'm working with the Client, the server is already working and tested. If you look at this code: void WaitForMessage() { bool dropserver = false; while(dropserver == false) { char inputmessage[250]; int bytes = recv(sConnect, inputmessage, sizeof(inputmessage), 0); if(bytes <= …

Member Avatar for thines01
0
174
Member Avatar for apals

Hello friends, I am working an a section of application which needs to Parse CSV Logs generated by PostgreSql server. - The Logs are stored C:\Program Files\PostgreSQL\9.0\data\pg_log - The Server version in 9.0.4 - The application is developed in C Sharp * The basic utility after Parse the Log is …

Member Avatar for apals
0
613
Member Avatar for tendaishava

I would like to find out what this code snippet does. i know it involves extraction from a webpage format gb2312 but can ano\yone explain line by line, i appreciate the help... :) Code blocks are created by indenting at least 4 spaces ... and can span multiple lines if …

Member Avatar for thines01
0
234
Member Avatar for agieli

hi guys! i'm trying to build a wireless sensor network which should be able to detect and track bluetooth devices inside a room,thus it should have an interface(map layout) showing the tracking!!this will involve the use of triangulation methods in finding the target location. i would just like to ask …

Member Avatar for Fiverivers
0
129
Member Avatar for minghags

hello, i wanna ask if somebody can help me with this problem. First code: #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]){ if(argc>1) { int i=1, zmnozek=1; zmnozek=atoi(argv[1]); for(i=1; i<argc; i++) { zmnozek*=atoi(argv[i]); }; printf("Rezultat: %d\n",zmnozek); }else { printf("Nepravilen vnos!\n"); }; return 0; } And there is the problem: …

Member Avatar for minghags
0
123
Member Avatar for VasquezPL

Hi guys, I have a problem I need to make an appointment with some bold text in it. I also want to set a category for it (color)... I heared that it is possible to implict RTF into appointment.body - but I dunno how to do that... My code is: …

Member Avatar for VasquezPL
0
590

The End.