8,298 Topics

Member Avatar for
Member Avatar for king03

Hi there guys may I ask if there's anyone here who has a complete guide or maybe just a guide on how to make the tetris game in c#? Thank you very much I really need your help.

Member Avatar for lxXTaCoXxl
0
2K
Member Avatar for NunsBeachSurfer

Hi, I have a large array of values and would like to find a way to calculate the change in value for each period. I have been attempting to use a for command with an array to do this, but I have not been successful at all. The basic idea …

Member Avatar for NunsBeachSurfer
0
236
Member Avatar for sah

For some days I have been trying to optimize an image processing program (cropping, rotate, changing brightness and undo) written in c# 4.0. Getting suggestions from google I have optimized the code in many ways. At first some disposable objects hadn’t been disposed that’s why exception was shown. But I …

Member Avatar for sah
0
1K
Member Avatar for king03

hi there guys can you suggest me some games that I can program in c sharp in an object oriented way? just simple programs that can be done for maybe less than a week since I'm just starting to learn it yet. Any idea? Please help me guys I will …

Member Avatar for seslie
0
122
Member Avatar for dinosaur123

Hello again! I am still working on a program, and I am now working on sorting an array. Well, the array is a bunch of strings read from a text file. Some of the strings were turned into integers. I need to take the strings and find a way to …

Member Avatar for dinosaur123
0
271
Member Avatar for tendaishava

hello guys my code is not giving me any errors but wont execute the task it just loops can, anyone help me debug it. its a code for extracting book information from a chinese website. thanks in advance. using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Text; using System.Text.RegularExpressions; using System.IO; …

Member Avatar for skatamatic
0
337
Member Avatar for dinosaur123

Hello, I am having trouble with a program I am writing. The problem is that I need to take information from a text file, read it, and then output the information into another text file. I keep getting this output: > <ProductSummary>0015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A0 </ProductSummary> I need it to output something like …

Member Avatar for VernonDozier
0
427
Member Avatar for bobanderson90

I want to push a value to a stack using the assignment operator, I need some help with this.. Thanks Stack s; float x = 5; s = x; class Stack { public: Stack(); float push(float value); float pop(); int Size(); float operator = (const float &right); private: float values[30]; …

Member Avatar for mike_2000_17
0
1K
Member Avatar for moroshko

Hi, Say MyClass inherits from BaseClass, and I write the following constructor for MyClass: [code] public MyClass() { DoSomething(); } [/code] When MyClass constructor is called, does it call automatically the BaseClass constructor (even though I didn't explicitly wrote this) ? Thanks !

Member Avatar for Beata7
0
179
Member Avatar for triumphost

I have an application that will be minimized and running in the background. I want this application to have it's own moveable mouse so that it does not use my current mouse. How can I accomplish this? I'm not exactly sure where to start to create a mouse for it.

Member Avatar for triumphost
0
416
Member Avatar for mrmikemike

Hi all, can someone please help me with my code: Its suppose to input a text file of values then display them and give the max and its index, and inputed values are floats. But I can seem to get the max right. Thanks #include <stdio.h> int main() { FILE …

Member Avatar for mrmikemike
0
165
Member Avatar for king03

Guys I have some questions please help me., 1. if I make a tetris game out of c# will it be difficult to do? 2. Is it possible to finish it in less than a week ? 3. Also what should I use as a game studio? OpenGL, XNA or …

Member Avatar for thines01
0
225
Member Avatar for cool_zephyr

Hello everyone..i'm trying to build a custom installer for my program..could anyone help me getting started?? I need to show a dialog box giving the user an option to choose where to install the program as well as show the installation progress in a progressbar..any help would be appreciated

Member Avatar for charlybones
0
137
Member Avatar for khuzdaar

I made a program, hangman. And I am trying to complete it. I have succesfully been able to compare the input letter by all the characters of the word to be guessed (which is saved in an char array) and display it. But now, I can not figure out how …

Member Avatar for rubberman
0
523
Member Avatar for king03

Hi there guys I need your suggestions. Do you know any system or game that is not that hard to program, like something that can be done for less than 3 weeks because I need it for my term project. thank you for those who will help out.

Member Avatar for thines01
0
118
Member Avatar for mr_scooby

I use mediaportal as my mediacenter, with this I use the plugin mvcentral for my music videos. This generates .db3 file, what I want to do is create a .net interface to view this file, with the intention of making it into an exe to have a portal database of …

Member Avatar for Momerath
0
103
Member Avatar for tamerhanna

Hi, I'm having a problem with a datetimepicker and databinding. I bind the text of the picker to a value from the database and it works perfectly fine and shows the value correctly, however whenever i change the text in the datetimepicker field to update, it changes, BUT gets back …

Member Avatar for mtroli
0
507
Member Avatar for riahc3

Hey I have the following code private void buttonInicio_Click(object sender, EventArgs e) { MySql.Data.MySqlClient.MySqlConnection conn; String constring = "server=localhost;database=bd;uid=user;password=pass;"; try { conn = new MySql.Data.MySqlClient.MySqlConnection(constring); string query = "COUNT (*) FROM table WHERE usuario=" + Globales.usuario + " AND pass=" + Globales.contra; MySqlCommand cmd = new MySqlCommand(query,conn); cmd.CommandType = CommandType.Text; …

Member Avatar for riahc3
0
5K
Member Avatar for sendo63

Hi there guys, I have homework to do a program given as input a document read from a text file will similatae MS words word count tool to create the following statistic: number of word: 45 number of line: 30 number of white space character: 73 number of non white …

Member Avatar for Dani
0
133
Member Avatar for hay123

I am fairly new at C++ and Im having a lot of trouble understanding how to do it. This is part of a homework assignment due next week and I have no idea how to even start it (much less finish coding it). Can anyone out there help? ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Create …

Member Avatar for rubberman
0
153
Member Avatar for CesarG

I have just downloaded this C# Command Line Caller sample program of Ozeki VoIP SIP SDK: http://www.voip-sip-sdk.com/p_163-c-command-line-caller-voip.html It is very easy to use and meets my requirements, but I would really appreciate some extra info from more experienced developers. Has anyone ever built a C# Command Line Caller?

Member Avatar for skatamatic
0
392
Member Avatar for jrpaarlberg

I was wondering if anyone could help me. I am working on a program in VS2008 with C# which has a datagridview populated from 2 SQL Express tables and needs to save to only 1 database. Below is the code I have working so far: public frmGrid() { BindingSource bs …

0
120
Member Avatar for T0pAz

The problem is simple. I have LoadLibrary on my c++ app and I want to load c# library but I don't know the entry point.

Member Avatar for T0pAz
0
2K
Member Avatar for minghags

Hello! I want to ask you guys if anyone can help me correct my current program to read graph from a file instead of adding manual matrix in program. Example graph: graph.txt 8 1 2 3 1 3 6 1 8 1 2 3 2 2 8 2 3 4 …

Member Avatar for minghags
0
261
Member Avatar for Rutu3

Actually im creatg a website as a project so how to create database ,and connect asp page to C# code, hw to change template plzz help

Member Avatar for Zorrro
2
359
Member Avatar for Panathinaikos22

I have 2 files writen in java, if someone can please covert them in C# and give it. The problem is with type of variables and operators, many operators are not overloaded like in java, idk what to say... This one will not work in C# as integer result |= …

Member Avatar for wilen
0
280
Member Avatar for Pundia

Hey everybody, I'm working in a project where we need a multi agent platform like Java Agent Development Environment(JADE). I'm sorry if this is already posted, I searched for it and couldn't find it, and I'm kind of in a hurry right now =) I hope you understand. Thanks in …

0
125
Member Avatar for Infame

Hi! I'm currently making a HTTP protocol bot, it works somewhat fine with a fixed char array, but once there's a website that exeeds 8k, then it cuts off. If it's less, I get weird nonsenscial symbols... Is there a way to know the length before assiging the data to …

Member Avatar for Ancient Dragon
0
157
Member Avatar for memomk

well i have two questions: 1-hey i was wondering is there a library or namespace in c# for creating databases? like anydbm with python?or anyway to do it? 2-witch faster? getting data from huge database or getting it from like a huge database devided to multi database i mean witch …

Member Avatar for faizan11
0
206
Member Avatar for memomk

sorry but i still cant understand what is different betweeen Thread and Process in c# what to use?

Member Avatar for memomk
0
108
Member Avatar for SolTec

Hello, I'm looking to, with code, create a report that is numbered 1 through 10000 using MS Access, Visual Basic.NET or C#.Net. Any assistance, would be greatly appreciated. I know I'll have to use a looping structure, and logic with an If Then Else probably. Thank you in advance.

Member Avatar for adam_k
0
87
Member Avatar for alanso

#include <iostream> #include <fstream> #include <string> using namespace std; int main () { string cosid1, cosid2; int no_cos=0, nostu1=0, nostu2=0; double score, total_1=0, total_2=0, avg_1=0, avg_2=0, avg_group1=0,avg_group2=0; ifstream group1, group2; ofstream outgroup; group1.open ("group1.txt"); group2.open ("group2.txt"); if (!group1 || !group2) { cout<<"Unable file"<<endl; cout<<"Programs terminates"<<endl; } outgroup.open("totalgroup.txt"); outgroup<<"Course ID"<<'\t'<<"Group No"<<'\t'<<"Course …

Member Avatar for nullptr
0
171
Member Avatar for NyQii

Hey guys! can you please help me.... I need my user to login to the application, My program must detect to wich depearment to user belongs to, for example if the sales person logs into the application the sales form should be called.... and so on! Having a little problem …

0
112
Member Avatar for benclifford

I have done this code 5 times in my program for different classes and variables and it has worked fine for 4 of them but the 5th is giving a segmentation fault. The error occurs just after the cout saying 'here' in the main.cpp code below I have run valgrind …

Member Avatar for benclifford
0
388
Member Avatar for VasquezPL

Hi! I am still fighting with outlook myappointment.RTFBODY method... I have found on some page that there is a workround which will give me a possibility to put there html text... I have tried it, and it wokrs - almost... webBrowser.CreateControl(); webBrowser.DocumentText = html; // HTML = HTML CODE Application.DoEvents(); …

Member Avatar for VasquezPL
0
914
Member Avatar for jara33

Hi, I need to do this program in my university and I was wondering how can I do it so that when there are no exits available, the program just says "type q to quite", and skips the 'Type the first letter of the next step or direction you want …

Member Avatar for zeroliken
0
161
Member Avatar for tiredstruggler

My .cs file is not recognizing the objects on my asp page. I m working on Visual Studio 2010, when i reference any object like TextBox1.Text it shoes error, TextBox1 is on the page and its visibility is also true, still it's conflicting :( :'(

Member Avatar for Philippe.Lahaie
0
64
Member Avatar for Daffodil_Thursday

I am writing a quiz program in C# in Visual Studio. When I build it it doesn;t return an errors or warnings. However when I debug, it just brings up a blank screen with no text or buttons etc. I have tchecked all the names match those in the forms …

Member Avatar for thines01
0
231
Member Avatar for tendaishava

hello i am tryna extract information from a chinese website but i dont know which keyword to use to extract certain information. the html code snippet is shown below .this is a result from running a query on c++ books i want to get the following information book title C++反汇编与逆向分析技术揭秘(《程序员》杂志“2011年度十大最具技术影响力图书”,好评如潮) …

Member Avatar for thines01
0
343
Member Avatar for minghags

Hello! I just want to ask you guys if anyone can help me reedit my program from BFS to DFS. I know how BFS works but i can't figure it out how to write the sintax. So i would please ask you guys if you could help me out. Heres …

Member Avatar for Labdabeta
0
451
Member Avatar for Shifter12345

Hello! I started learning C++ and I just discovered pointers. Well, it's a little bit hard for me to understand what's the point of it so I'll just explain my problem. I want to create a code in which I compute results using arithmetic operations (+, -, ÷, ×,%, ^ …

Member Avatar for devninja
0
187
Member Avatar for evamshi88

I am trying to generate random points on the canvas. So i want to the random point on the screen to move to a new random location, when mouse touches it. How do i do this?? this is not happening with any of the mouse events. An example would be …

Member Avatar for Sahil89
0
916
Member Avatar for Behseini

Hi every one, I just wondering how I can draw grid lines (Like Grids in Graphics and Cad Drawing files) on a Panel to better presentation for other Graphic objects on the panel? Is there any way that we can set the Offset and cell size and number base on …

0
83
Member Avatar for mobeen89

Hello I'm relatively new to Microsoft Visual Studio. Now, the project that I am working consists of a GUI class and two separate classes (lets call them A and B). I am working on the GUI and one of the other classes (A). Basically, these classes interact woth some hardware …

Member Avatar for mobeen89
0
178
Member Avatar for samytaqq

Let us suppose that we have 3 books (see table below), each of which contains a number of chapters and every chapter contains a number of sections. For example the book Data Structure contains 3 chapters (Queues and Stacks, Linked‐Lists, Sorting) and the chapter Queues and Stacks contains 2 sections …

Member Avatar for thines01
0
196
Member Avatar for T0pAz

How to convert this on CSharp? const char* data = "\x2D\x90\x01\x00\x00"; int version = 100; // is this 1.0? void* testAddress = (void*)0x4F77BB; if (memcmp(testAddress, data, 5))

Member Avatar for skatamatic
0
79
Member Avatar for glen999

please help i'm stuck on something for a project i'm doing i need to display the numbers 1 to 9 randomly but they cannot be repeated! the code i have so far is this: #include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main() { srand((unsigned)time(0)); int random_integer; int …

Member Avatar for deceptikon
0
160
Member Avatar for annitaz

#include <QApplication> #include <QLabel> #include <QVBoxLayout> #include <QTextEdit> #include <QWidget> int main (int argc, char* argv[]) { QApplication app (argc, argv); QWidget window; QLabel* label = new QLabel("Please enter some text"); QTextEdit* textEdit = new QTextEdit; QVBoxLayout* layout = new QVBoxLayout; layout->addwidget(label); layout->addwidget(textEdit); window.setLayout(layout); window.show; return app.exec(); } 1.Qt provides …

0
119
Member Avatar for jwill222

I meant to post this in the C forum and not the C++ forum. Below is the link to a picture of the debug error window [url]http://www.flickr.com/photos/7629837...in/photostream[/url] It's a program that i'm doing and I keep getting this error here's a link to the programming problem. Its' Number 3 [url]http://books.google.com/books?id=bSy...%2B%2B&f=false[/url] …

Member Avatar for jwill222
0
276
Member Avatar for triumphost

Hey all, I've been searching Rohitab, CodeProject and various other sites to figure out how to write OPCodes to a file and cannot figure it out. I thought I'd ask here because it's the only site I have an account on and I usually get my answers here or hints. …

Member Avatar for mike_2000_17
0
308

The End.