8,298 Topics
![]() | |
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. | |
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 … | |
what is the code for showing the button_Click event in a text box.....? | |
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 | |
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... | |
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 … | |
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 … | |
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] { … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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 | |
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 … | |
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) … | |
<!-- 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 … | |
* 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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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> >’ … | |
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 … | |
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 … | |
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 … | |
How do you nudge a message box like the one in msn? Is there a easy method to do it? | |
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 … | |
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!! | |
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 … ![]() | |
![]() | 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" … |
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 … ![]() | |
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, … | |
![]() | 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 … |
![]() | 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 … |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.