8,298 Topics

Member Avatar for
Member Avatar for 333kyle333

Okay, this is probably gonna sound dumb, but I need to know if it's possible to take a variable held using C++ and make it an environment variable in a Linux terminal. If it makes a difference, I'm using Ubuntu Linux with the Gnome shell.

Member Avatar for 333kyle333
0
304
Member Avatar for come_again

Hello everyone, I don't have much experience with C++ and it has been a while since I have last used it. Right now I am writing my own class for quaternions. My problem which I cannot figure out is what is wrong with the operator overload shown below... No matter …

Member Avatar for StuXYZ
0
173
Member Avatar for MaiHunDown
Member Avatar for hassan12345
0
129
Member Avatar for sepadl71

hi to all I'm a c# programmer i have a 1 question : how can i send data to controls of other application windows?? for example : how can i send & received message with C# to this windows ??? [URL="http://aks98.com/images/pkwp4j2ye0ze1djpqe07.png"]http://aks98.com/images/pkwp4j2ye0ze1djpqe07.png[/URL] please help me thanks

Member Avatar for alc6379
0
348
Member Avatar for skyyforever

Hello, I have a problem opening Excel file which I have created using a xslt. Actually, I had a xml file which I transformed to an excel file and saved. I don’t know how to open it. Everything I have tried, didn’t work. Please, if someone knows the answer...

0
82
Member Avatar for aliskov

Hello everyone, I'm a high school student highly interested in computer science in general. I've already taken two Computer Science AP classes, both in Java. I took the Computer Science AP exam last year and got a 5 on it, so I'm OK when it comes to Java. Not too …

Member Avatar for ddanbe
0
299
Member Avatar for new_programmer

Hi all, I have no idea about C#. I know that its a good language +****************************************************+ | I DON'T NEED ANY HYPERLINKS( EXCEPT:Good Sites) | +*****************************************************+ My questions are the following ------------------------------- 1. What is the difference between C#, C++,VB.NEt? 2. What is .Net , is C# and C++ .Net …

Member Avatar for Shilpakmthn
1
203
Member Avatar for Hektzu

I have if statement which doesn't return true even though it should. [CODE] std::vector<__int64> numbers; for( __int64 i = 2; i < input; i++ ) { numbers.push_back(i); } __int64 tmp = 4; for (unsigned int i = 0; i < numbers.size(); i++) { [U][B]if ( numbers[i] == tmp )[/B][/U] { …

Member Avatar for Hektzu
0
107
Member Avatar for trippinz

I have embedded a font SUCCESSFULLY into my program. It works on my computer and on the majority of other computers (all of different versions of Windows OS) HOWEVER For some reason, on some computers, the unicode characters (which normally show up just fine) show up as blanks... Instead of …

Member Avatar for trippinz
0
125
Member Avatar for shahanakazi

Hi.. Can anyone please help me to write the following program: Write a program that will calculate the price to be paid for the development of photographs. The program must use two overloaded functions, each named calcTotal. If the client wants jumbo photographs, and the film is a 36 exposure …

Member Avatar for shahanakazi
0
93
Member Avatar for nirveshverma

hi to all this is my script for login means somebody wants to acess the private folder first it say to login then it redirect o requested page but ther is error when i submit the button please help me i take more than 26 hours but i am unable …

Member Avatar for lifefuture
-1
263
Member Avatar for newton_LA

C program to construct a divided difference table for f(x) = cos x based on five points which are 0,1,2,3,4. Use the coefficient ak (k, cos k). Round up to 7 decimal places. Derive p1(x), p2(x), p3(x), p4(x). Please I need any help I can get on this program. Whatever …

Member Avatar for tito4life
0
1K
Member Avatar for clement99

Hi guys, i'm trying to extract the data "Lady Gaga Fame Monster" from the html below using substr and find, but i wasn't able to retrieve the data. [code=html]<div class="album-name"><strong>Album</strong> > Lady Gaga Fame Monster</div>[/code] I'm tried to extract the whole string first, but i can only extract till <strong>Album</strong> …

Member Avatar for clement99
0
725
Member Avatar for rahulkrishnanr

Hi Friends, How can I change the Command Text based on a Control event like clicking a button? I want to change the sql query on clicking a button. Any help is appreciated. Thanks in advance

Member Avatar for rahulkrishnanr
0
126
Member Avatar for mariner92689

Hey everyone, I am developing code to accept TCP communcations from one computer to another. Basically from this forum, all I need is the ability to send a data string to the other computer. here is the code I have to do so. they both are the same application, but …

0
126
Member Avatar for MARKAND911

I have written a code in row_validating event which works fine. now I want to clear this rows containing error in cells of datagridview. I tried this code. [CODE] private void grdvEnergy_RowValidating(object sender, DataGridViewCellCancelEventArgs e) { e.Cancel = true; datagridview1.Rows[e.RowIndex].ErrorText = "Error message"; } private void btnclear_Click(object sender, EventArgs e) …

Member Avatar for nick.crane
0
2K
Member Avatar for fladei

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. --> * MediaWiki version: 1.16.0 beta3 * PHP version: 5.3.3 * MySQL version: 5.1.41 * URL: localhost <!-- Now, please report your error, or ask your support question below. (You can …

Member Avatar for fladei
0
178
Member Avatar for fladei

* MediaWiki version: 1.16.0 beta3 * PHP version: 5.3.3 * MySQL version: 5.1.41 Hello. I've been trying to develop a loader project in C#, but in order to upload a file, the user is supposed to be authenticated in the Wiki website. For now, all what I've got is to use "[[api.php?action=query&meta=userinfo]]", but …

Member Avatar for fladei
0
162
Member Avatar for sana_moi

hellow; im working on visual studio c++ express ediion 2010 when i chose a win32 project i can include any dll as wont and it's work without a problem but when i chose clr application windows form and i include for exempl sql.h i had this error pleas help me …

Member Avatar for safe2010
0
245
Member Avatar for datapham

Hi everyone , i try to validate a [string ID] when user input it in a textBox(C#)for searching datarows in database , but it does not send a message "False Input" if i input a wrong string ID which is different from database . protected void button_search(object sender, EventArgs e) …

0
81
Member Avatar for Benjaminsen

Hi everyone This is my first post here, so sorry if I break the etiquette of the forum. Anyway I am a founder in a small Danish company producing tools and services that help developers build better games. Historically we have focused primarily on flash due to the ease of …

Member Avatar for Benjaminsen
1
342
Member Avatar for c12345n

I have a solution with many projects (assembled sepparetely), all works fine, but I want merge all because i want make only one project (I want it more secure without reflection to make obfuscation process). In process of integration anything appear not be assigned correctly. - I want run unified …

Member Avatar for Venjense
0
176
Member Avatar for magsaleh

Dear all, I have something very weird, never experienced it before with c# express edition - i have a piece of selection query that selects all the records within a specific month. - this query works very fine in msaccess, but doesnt work in the run time in c#. so …

Member Avatar for Venjense
0
162
Member Avatar for trippinz

[code] { private PrivateFontCollection MyFonts = new PrivateFontCollection(); private Font messageTextFont; [/code] [code] public Form1() { InitializeComponent(); // get the message text font byte[] fontResource = XboxLiveBioCreator.Properties.Resources.ConvectionRegular1; GCHandle fontHandle = GCHandle.Alloc(fontResource, GCHandleType.Pinned); MyFonts.AddMemoryFont(fontHandle.AddrOfPinnedObject(), fontResource.Length); fontHandle.Free(); messageTextFont = new Font(MyFonts.Families[0], 9F, FontStyle.Regular); button1.Font = messageTextFont; //other code here } [/code] My …

Member Avatar for trippinz
0
244
Member Avatar for lilfish08

I am fairly new to c++ and have been working on this problem and asked the professor for help, but he has really been non-compliant. I am lost on this and keep gettin error messages that I do not understand how to fix. Any help that could be given would …

Member Avatar for lilfish08
0
209
Member Avatar for judithSampathwa

hi i have a 6 radio buttons in an interface. each two radio buttons are separated in a panel. when i load the form one radio button in the interface is selected. how can i make it so that all the radio buttons are deselected when they are loaded. how …

Member Avatar for judithSampathwa
0
1K
Member Avatar for trippinz

I embedded a font to my winform application and the font showed up on my computer as well as many others. But for some wierd reason it shows up as blank buttons (I used the font on buttons) on some peoples computers. It is not the OS they use as …

Member Avatar for trippinz
1
279
Member Avatar for ziarczak

Hello everyone, I'm having problems with this code: [CODE=cpp] #include <vector> using namespace std; template <class Type> class Some { private: vector<Type> elements; vector<Type>::size_type index; //THIS IS WRONG public: Some() { } }; int main() { } [/CODE] It doesn't compile, giving me [CODE] p.cpp:9: error: type ‘std::vector<Type, std::allocator<_Tp1> >’ …

Member Avatar for Luther von Wulf
0
93
Member Avatar for furtaker

Hi, I am trying to incorporate a struct and class in the same program to calculate overtime pay and hours for one person. I am having a hard time with these two and especially putting them together. I am not sure what to do to get the program to compile …

Member Avatar for Luther von Wulf
0
249
Member Avatar for juhi1

I have two tabs in a form . The first form has some buttons which are common to the second tab. But there are some additional buttons in the second tab which need to be worked on . I have included the buttons in the second tab .But I am …

Member Avatar for arunkumars
0
264
Member Avatar for Hassan Radmehr

I installed Microsoft Report Viewer Redistributable 2008 and use report viewer control in the C# express 2008 win forms, also i installed Microsoft Report Viewer Redistributable 2010 and use it in the C# express 2008 win forms, but in c# express 2010 when i add reportviewer (2008 and 2010) to …

0
131
Member Avatar for vishal456
Member Avatar for imso
Member Avatar for nick.crane
0
223
Member Avatar for judithSampathwa

Hi there, I have a question regarding file open in C# , I have the path of the file saved in the database, what I want is when I open the open dialog button it will show the files in the path that I have saved and when the use …

Member Avatar for judithSampathwa
0
151
Member Avatar for Lazarevsky

The title is pretty much self-explanatory. What I want to know is will I be able to program in VS 2010 and the .NET 4.0 platform using C# 3.0 Thanks in advance!!

Member Avatar for jsjhass
0
65
Member Avatar for judithSampathwa

Hi there, I have a question regarding file delete, for this I use the File.Delete() commend . as a parameter for this I send the file path. Which is “C:\\Documents and Settings\\awaduge\\My Documents\\Visual Studio 2008\\Projects\\Admin Application\\Admin Application\\Details\\P110082010112121\\Report\\Technical Sheet" And Technical Sheet is the file name. the file can be in …

Member Avatar for nssltd
0
186
Member Avatar for Levo

Hi, I am using the following code to download files from the internet: [code=c]size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) { size_t written; written = fwrite(ptr, size, nmemb, stream); return written; } int main(int argc, char** argv) { FILE *downloaded_file; if ( (downloaded_file = fopen (download_path , "w" …

Member Avatar for 0x69
0
2K
Member Avatar for trippinz

I have created a string in (e.g. Button1_click) Call that string "textboxtext" now for some basic text to assign to the string I did the following [code] public void button1_Click(object sender, EventArgs e) { string textboxtext; textboxtext = textBox1.Text; textboxtext += textBox2.Text; textboxtext += textBox3.Text; //Some other code later on …

Member Avatar for saravind84
0
179
Member Avatar for ramilol

ok so im trying to use double buffer to make smooth animation but i can't get it to work here is the code for my drawing [CODE] VOID onPaint(HDC hdc,HWND hWnd) { HDC hDC=GetDC(hWnd); HDC memDC = CreateCompatibleDC(hDC); HBITMAP hMemBmp = CreateCompatibleBitmap(hDC,300,300); HBITMAP hOldBmp = (HBITMAP)SelectObject(memDC,hMemBmp); Graphics graphics(memDC); Pen pen(Color(255, …

0
157
Member Avatar for vbx_wx

I have to do this : define a float variable and take its adress,cast that to an unsigned char and assign to it to an unsigned char pointer: Why isnt this good ? [code] float f; unsigned char* c = static_cast<unsigned char>(&f); [/code]

Member Avatar for Narue
0
77
Member Avatar for nssltd

NOTE: the zip with the code failed to upload please [URL="http://download460.mediafire.com/8o5t64qgch3g/5j62bckuoo9m8pu/Messenger+Code.zip"]click here[/URL] to get the code. Hey, I have been working on a instant messenger in c# as i knew this was possible, i haven't much knowledge in Sockets and network connections but i browsed the internet for some code …

0
72
Member Avatar for jacg4

Hello Everyone I would like to get some help with setting the property Dynamic URL Behavior of a web reference inside VS2008 running on .NET Compact Framework 3.5. I have done some search and I found that it doesn't work cause CF doesn't "support" having a .config file. It can …

0
94
Member Avatar for wm811

I'm very new to C# and using Microsoft Visual Studio. I've been working with a new company for a few weeks and the development of their main website was outsourced. The backend of the website was developed in C# and I have already run into something I am stuck on. …

Member Avatar for jbisono
0
154
Member Avatar for Merlin33069

Ok, i've looked in a lot of places, and on google, and it seems that google is perforated with "packet sniffer" and that not what I want, in other words I cant find what I wanted. I'm working on upgrading my server to the latest version of the client (public …

Member Avatar for Merlin33069
0
104
Member Avatar for imso

This is the partial codes i wrote for an alarm clock application but why the counting down time don't worked? Thanks in advance :) [CODE]int intTimeDelay = 10; private void mnu5Sec_Click(object sender, EventArgs e) { intTimeDelay = 5; //intTimeDisplay = 5; } private void mnu10Sec_Click(object sender, EventArgs e) { intTimeDelay …

Member Avatar for Geekitygeek
0
424
Member Avatar for Shilpakmthn

Hell frinds I want to know the basic that are availble in C# or .net to shortened the code. so any suggestion that are available , u are requested to tell. any suggesion will be welcome. I amd talking suggestion like clone and copy methods in which one is use …

0
59
Member Avatar for arshiyafatima

i have write a c++ progam psudocode on additon of two numbers and average of two numbers enterd from keyboard

Member Avatar for jasikamarshel
0
98
Member Avatar for eligio

Hello! I need to extract a custom shape from a given image. That custom shape can be, for example, a triangle. For example, if source picture is 100px width and 100px heigth, I need to define a triangle with points: (x=0 y=0) , (x = 50, y = 50), (x …

Member Avatar for eligio
0
1K
Member Avatar for damodar405

Hello all, I have a xml file that is saved in UTF-8 but the encoding inside the file shows it to be UTF-16. So, I want to find out in which encoding the file is saved and if it is UTF-8 i want to convert it to utf-16. Is there …

Member Avatar for EricIskhakov
0
188
Member Avatar for LevyDee

Hi guys, Ive been doing c++ for a while now and feel very comfortable with the language. But it seems like the job market is all moving to c# and I feel I need to get started on learning c#. Could you guys supply some links? Ive been doing so …

Member Avatar for LevyDee
0
167

The End.