Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for fernandofranca

Sorry I´m new to PASCAL and I´m using Lazarus to program for Windows CE I dont know why I´m getting the error Error: constructors, destructors and class operators must be methods I have my Unit1 where I´m declaring my form procedures as bellow unit Unit1; {$mode objfpc}{$H+} interface uses Classes, …

Member Avatar for fernandofranca
0
738
Member Avatar for fernandofranca

Hi all, I´m having troubles programming with C# for windows CE. I need to listen a serial port, I have the program for windows and it works fine but when I program it to windows CE I dont know why it does not recognize any event function. I normally use …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for fernandofranca

Hello everybody, Let me explain my problem. I have one datatable with all my data and the above function to calculate the eclidian distance. My function returns a DataColumn so I can add this column later to another datatable. The problem is that I´m not being able to populate the …

Member Avatar for fernandofranca
0
278
Member Avatar for fernandofranca

Can I get the control of an object just knowing its name? Something like: [code] Control a; a.Name = "ComboBox1"; ComboBox combo = a as ComboBox; combo.Items.Add("foo"); [/code] Thanks.

Member Avatar for gusano79
0
122
Member Avatar for fernandofranca

I want to select rows from the DataTable using the Select method, but I need to change somes, and I need this changes to be made on the DataTable too. Is there any way to bind the selection to the datatable? Something like this? [code] public void bindDataRowToDataTable() { Siglasul_Qualidade.Dados.BancoDeDados …

0
73
Member Avatar for fernandofranca

I have the following funtion in my ComboBoxControl class, and it only returns to me the control of the comboBox. The foreach works fine but my problem is how to return the ComboBox, becuse if the ComboBox doesn´t exists I need to return NULL or something else. How can I …

Member Avatar for fernandofranca
0
172
Member Avatar for fernandofranca

Hi all, Is there a better way of doing this, I googled it and found de IsNumeric, but it´s for VB and not recommended for C#. Let me explain: I have a string like "something123" and I need to get only the 123 value as a string from the string. …

Member Avatar for fernandofranca
0
146
Member Avatar for fernandofranca

Dear all, I have a form with 36 comboboxes, and I use this fucntion to update them: [CODE] private void controlBox(string boxName) { foreach (Control frmControl in this.Controls) { if (frmControl is ComboBox) { if (frmControl.Name == boxName) { ComboBox _bx = (ComboBox)frmControl; _bx.Items.Clear(); _bx.Enabled = true; _bx.Items.Add("It Works!"); } …

Member Avatar for fernandofranca
0
88
Member Avatar for fernandofranca

The code runs perfectly, but when I press any button, for continuing the system Pause, it gives the error: Run-Time Check Failure #2 - Stack around the variable 'arq_linha_part' was corrupted. [code=c] #include "stdafx.h" #include "Sistema.h" #include <fstream> #include <iostream> #include <string> #include <sstream> #include <cstdlib> #define ZB 100.0 #define …

Member Avatar for fernandofranca
0
921
Member Avatar for fernandofranca

I commented on the code what is my doubt. I don´t know I can´t I simply use arq_linha_part >> parm; If I use that it returns me the error: 1>------ Build started: Project: Interface GaussSolve, Configuration: Debug Win32 ------ 1>Compiling... 1>Interface GaussSolve.cpp 1>c:\users\fernando\documents\visual studio 2008\projects\interface gausssolve\interface gausssolve\interface gausssolve.cpp(38) : error …

Member Avatar for fernandofranca
0
151
Member Avatar for fernandofranca

My entrada.txt jas the following contents: [code] #Commented text #This should be used like: #Bar:Bar_number:Type_of_the_bar; # # Bar:1:PV:1.05 [/code] So the lines that starts with # are commented so the program will not process them. Everything is working fine, but when I used getline() to delimit the string on ":" …

Member Avatar for fernandofranca
0
976
Member Avatar for fernandofranca

Hi, I´m having problem while converting char to string. [code=c] #include "stdafx.h" #include <fstream> #include <cstdio> #include <iostream> int main() { std::ifstream arquivo("entrada.txt"); if (!arquivo) { std::cout << "Arquivo não encontrado" << std::endl<< std::endl; system("PAUSE"); exit(0); } std::string token; char arquivo_linha[255]; while(arquivo) { arquivo.getline(arquivo_linha,255); if (arquivo_linha[0] != 35) { token …

Member Avatar for fernandofranca
0
195
Member Avatar for fernandofranca

I´m using Visual C++ Studio and when I include another .cpp file it doesn´t takes all the what have been included before. Here is an example: main.cpp [code=c] #include <iostream> #include <string> #include <sstream> #include "readtext.cpp" int main() { teste(); return 0; } //readtext.cpp void text() { printf("teste"); } [/code] …

Member Avatar for nbaztec
0
197