8,298 Topics
![]() | |
Using C++/CLI-- Is there a good way to return a value (not a DialogResult) from a form shown as a dialog? I plan to use Invoke on a method to update the previous form from within the dialog, if not. I also would like to thank the fine members of … | |
Hi, In my current project we have been inserting quite a few records into the data base, we dint chk abt implementing locks, my client doesnt want any duplicate records for a column in a table, there is no primary key constraint on any of the column for the table … | |
Hello So I have a simple structure : [CODE] struct students { char name[30]; unsigned int noofcourses; char course[50]; char status[30]; }arr[50]; //50 students [/CODE] I would like to know is how could I read multiple courses in per student from memory.[CODE]Example: Joey Brown 4 Math$Chem$Phy$Cooking Enrolled m8!! [/CODE] So … | |
pretty much here is a rough outline of what i have done [CODE]struct monster { int health; int armor; monster *nextaddr; }; int main() { int num; monster *pointer; printf("how many monsters do u want"); sscanf(%d, &num); pointer = (monster*)malloc(num * sizeof(monster)); //Here i need some kind of LOOP to … | |
hello, Actually, i want to play sound file from [COLOR="green"]resource[/COLOR]. I am using [COLOR="green"]WindowMediaPlayer[/COLOR] Control for window application. But there is only option is "[COLOR="Red"]URL[/COLOR]" (Property of control) to play sound file. I don't want to use [COLOR="Red"]URL[/COLOR] property. Because my sound file is present in the [COLOR="Green"]Resource[/COLOR]. Any body … | |
hi guys)) please -someone who use MS Visual C# Express Edition - tell me is there System.Math (with mathematic functions) library there? Thanks in advance!) | |
Hi, I am studying to become a software developer. This year is the last year of school and to pass i need to create a System myself. I know C# very well not as good as java. I wish that the software project will be programmed with C#. What ideas … | |
Hi I want to generate sequence number in C# window application I have got one link on Google, but I it is not helpful. I want that on click to add button an order sequence number should generate and stored in SQL Database i have written this code but it … | |
heyz... i need help. i new to C#. i need to add timer to my code. but i don't know how to do it... can help mi!! all i have done to the code is declared int time. :(:( | |
For some reason, and it's probably one of those accessibility things like tab ordering, when I hit the spacebar after selecting a button on my form, the spacebar clicks the button. This is NOT acceptable, and I have considered a work around of selecting an invisible panel or other "dummy" … | |
Can anyone perhaps help me with my problem please? I want to apply security to my winform application but I am stuck.. This is the code I have that will run when the view job button is clicked and I it doesn't work [CODE] private void viewJobBtn_Click(object sender, EventArgs e) … | |
hi frds, i have create a .txt file and write some data. i want to open on screen that .txt file for reading by a click a button. if you have the answer, so please help me. thanks in advance .... | |
Hello! Basically I need this program to go line by line down my text file and tell me if it sees "000-00-0000"......we use this as a dummy number otherwise the file wont process. Right now the program will tell me it sees "000-00-0000" in the file but a few lines … | |
hi guys thanks everyone for help in my last post now i made my windows service that get response from a web service and everything is working well. all that i need now is: 1- The windows service should pop-up something saying there is a new application to be downloaded … | |
Please help me debug this. Ive used a permutation generator class as a dll file. Its not loading. Please help me. Main Project: [code]http://www.mediafire.com/?7glk636ncm49spx[/code] DLL: [code]http://www.mediafire.com/?l41b3l2uaugqmwz[/code] Thanks. I had some problems with strings and stringbuilders. It would be nice if someone could suggest a better solution after seeing my code. … | |
The bit of code below is giving me the error: Cannot read from a closed TextReader. [CODE]public static int maxUsers(int logMinute) { StreamReader maxNum = new StreamReader(@"C:\Users\jplishka\Desktop\LoginSorted.csv"); string sortedstrline = ""; string sortedUser = null; string sortedComputer = null; string sortedDate = null; string sortedInTimeSec = null; string sortedOutTimeSec = … | |
I tried many codes in internet for this but it says Access violation. Can somebody provide me the code snippets in C++ and C# for this? | |
hi, i m trying to make something like a login page and i used the following code to compare the Users password from a password text box and then compare it with the Database password to see if it is the same. nevertheless when i compare the strings the system … | |
| |
Hello everyone, before i ask this question i would like to say first that im a beginner in asp c#. I would like toask for a tutorial on making a download button for binary datas. My file upload is already working fine. I just need a download button so i … | |
The code below is what I'm having problems with... The combobox part is getting me angry and i've searched everywhere, code guru, msdn, stackoverflow, daniweb... And I cant figure it out. Its for a game my friend plays. I play and quit on and off.. I decided to do a … | |
i m giving my file path in image.imageurl but it is not show picture how i can show image can any body help me???? | |
Hello I have a following line inside a .txt file This$is$my$Input$203 I would like to know whether is it possible only to store the 203 value in variable using fscanf. So without declaring char arrays to store all those strings. I was thinking of something like this ; [CODE]fscanf(fp,"%*[^$]$%*[^$]$%*[^$]$%*[^$]$%d",&number)[/CODE] But … | |
Hello friends.Can anyone help me in this.Here is the code. [CODE]circle(320,240,100); textmode(BW40); cout<<"\n\n\n\n\n\n\n\n\n\n\t\thello";[/CODE] The problem is hello is displayed without circle. ![]() | |
hello, please help me with the code for IR CONTROL using ATMEGA128 MICROCONTROLLER IN C LANGUAGE.PLEASE HELP.URGENT. THANKYOU. | |
The main problem is that I recieve the following message: "base {System.SystemException} = {"Unable to create a constant value of type 'BokButik1.Models.Book-Author'. Only primitive types ('such as Int32, String, and Guid') are supported in this context."}" based on this LinQ code: [CODE] IBookRepository myIBookRepository = new BookRepository(); var allBooks = … | |
I have a C# website that includes AJAX. The site has a master page and sub pages. I am revamping the photo gallery sub page to include a jquery function that displays a larger version of a thumbnail image when hovered. The thumbnails are listed in a xaml file, at … | |
Hello, I have created a C++ dll with some functions and structures.I need to access the structure in my C# program. When i searched the net, i found that there is no way to include header files in c#. What is the alternate way to use the structure definitions in … | |
in my masked text box, the mask property is setting like aa aa aa aa.my issue is, the mouse cursor is not setting the initial character automatically,when i click the mask text box..pls help me.. Thanks in advance.... | |
Hey, My codes asks for a number, if the user inputs something else it gives an error message and asked for a number again. If the user inputs a number, it should cout whatever number the user chose. But it doesn't work as intended... I get the error message the … | |
[CODE] #include<iostream> #include<time.h> #include<conio.h> using namespace std; class adclist { struct list { int data; list* next; }; public: void makelist(); }; void adclist::makelist() { list** table = new list* [10]; for(int j =0; j < 10 ; j++) table[j] = NULL; for ( int m =0; m < 10; … | |
I wrote a C++ program that could sendKey. the code is as Follows; [CODE]s.SendKeys(_T("{Enter}"));s.SendKeys(_T("{Enter}"));[/CODE] this piece if code is inside a function. Now, i need to access this method from a C code. When i added the includes, i get alot of errors. Some says, that you can't access C++ … | |
In my form have a text box...My requirement is... when is type characters in that box... before typing the 3rd character the space should come automatically or programmatically...the sturucture is look like 21 33 44 55..pls help me...Thanks in Advance. | |
I create a simple data base table using Microfoft SQL Server 2005 and i want to display this simple table as a hole in my form.I use DataSet and DataAdapter to communicate with my SQL data base.i try to pull all the record at data base in to the DataSet … | |
Ok, I have this function that was provided by you guys, and it works, but I needed to tweak it a bit, and I can't seem to get it tweaked right. Trying to make it so it takes a 3rd parameter which takes an integer which will determine how many … | |
Hi all, I am currently studying for my degree in software development and have just started using java. In an effort to get ahead of the game I have bought some books on c++ and can happily report I have ubderstood everything up until the part about bitwise opertaors I … | |
the syntax should be something like this: <% function("var") %> ...but this does not work. The function is called and no errors are produced. The function return value simply does not print. Please help, I know this is a very simple explanation. | |
Hi, First I am beginner in C#. 1-But I need to know how to use wor automation and save the new file in other location then print it when need, that was first. 2-I also need to know how to play a specific video from a path using Microsoft.Directx.AudioVideoPlayBack library. … | |
can anybody tell me how can i create array of buttons so that i can give same code to every button | |
I have heard there is a C++ split function, but I have not yet found anything to help me work with what I have. I have the following: [CODE]001E3897 1024 HV regread set [rootPos: 0001CBE7, offset 1862832 ][/CODE] I need to be able to take this and split it into … | |
Okay, so I have pretty much changed my entire program around to be strictly C++, and this last question I have is a very simple one. [CODE]Generic::IEnumerable<Item^> ^Items;[/CODE] What is a good equivalent for this? Just a simple vector? Ty :D | |
Hello everybody. I've a question about resources: When can we use <%= %> and when use <%$ %>? what is deffernce between them? the question is about this code:<%= GetGlobalResourceObject("LangResource", "Map")%> and <%$ Resources:LangResource, Map%> | |
can somebody explain me about parameters in initgraph in c++ graphics??? | |
hi, i m trying to make something like a login page with C# using VS 2010 and SQL server database. I am using the following code to get the password from the appropriate username but i get an error of Object reference not set to an instance of an object. … | |
Hello everybody. I've a question about resources: When can we use <%= %> and when use <%$ %>? what is deffernce between them? the question is about this code:<%= GetGlobalResourceObject("LangResource", "Map")%> and <%$ Resources:LangResource, Map%> | |
We may set one password for a file if we don't want others to open it, especially the secrete document. Generally speaking, we are used to writing articles or papers in Microsoft Word. And we may need to encrypt Word document if it is very important for security. Also, when … | |
Hello Im intrested in making a small online store mockup just to test a bit how it would work. Id like simply a "shopping cart" with a login system where I can add products to the shopping cart and "buy" them. Any guides, tutorials, tips, snippets, etc? Thank you :) | |
how can i return cases 1,2,3 and default in to the main function? when i press 1 as key to return to the main function.. the prompt will appear "press any key to continue" how can i return it to the main menu? [CODE]#include <iostream> #include <cstdlib> using namespace std; … |
The End.