8,298 Topics

Member Avatar for
Member Avatar for pseudorandom21

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 …

Member Avatar for Ancient Dragon
0
336
Member Avatar for arunkumars

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 …

Member Avatar for kvprajapati
0
111
Member Avatar for Joey_Brown

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 …

Member Avatar for Adak
0
175
Member Avatar for lochnessmonster

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 …

Member Avatar for gerard4143
0
104
Member Avatar for ashishkumar008

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 …

Member Avatar for zinnqu
0
1K
Member Avatar for vedro-compota

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!)

Member Avatar for vedro-compota
0
120
Member Avatar for xanawa

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 …

Member Avatar for xanawa
-2
237
Member Avatar for Nemo_NIIT

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 …

Member Avatar for ashishkumar008
0
1K
Member Avatar for Baby G

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. :(:(

Member Avatar for Baby G
-3
264
Member Avatar for pseudorandom21

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" …

Member Avatar for pseudorandom21
0
73
Member Avatar for TheDocterd

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) …

Member Avatar for TheDocterd
0
207
Member Avatar for jainendra.shah

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 ....

Member Avatar for Amit Dhemar
0
194
Member Avatar for moone009

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 …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for john_zakaria

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 …

Member Avatar for jonsca
0
103
Member Avatar for stevanity

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. …

Member Avatar for stevanity
0
139
Member Avatar for walerhola

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 = …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for meensatwork

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?

Member Avatar for ddanbe
0
246
Member Avatar for pikkas

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 …

Member Avatar for pikkas
0
271
Member Avatar for GAME
Member Avatar for uchiha203

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 …

Member Avatar for jugosoft
0
82
Member Avatar for triumphost

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 …

Member Avatar for jonsca
0
362
Member Avatar for umair.sabri

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????

Member Avatar for KushMishra
0
92
Member Avatar for Joey_Brown

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 …

Member Avatar for Joey_Brown
0
111
Member Avatar for Arbus

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.

Member Avatar for JSPMA1988
0
132
Member Avatar for zaverijuhi

hello, please help me with the code for IR CONTROL using ATMEGA128 MICROCONTROLLER IN C LANGUAGE.PLEASE HELP.URGENT. THANKYOU.

0
58
Member Avatar for fullmetalboy

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 = …

Member Avatar for kvprajapati
0
214
Member Avatar for JPByD

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 …

Member Avatar for JPByD
0
259
Member Avatar for meensatwork

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 …

Member Avatar for IdanS
0
106
Member Avatar for vigneshkbv

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....

Member Avatar for Mitja Bonca
0
94
Member Avatar for sha11e

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 …

Member Avatar for subtracktor
0
152
Member Avatar for sairakhalid

[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; …

Member Avatar for sairakhalid
0
154
Member Avatar for localp

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++ …

Member Avatar for Narue
0
807
Member Avatar for vigneshkbv

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.

Member Avatar for vigneshkbv
0
444
Member Avatar for Girum1

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 …

Member Avatar for kvprajapati
0
204
Member Avatar for MasterGberry

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 …

Member Avatar for ravenous
0
199
Member Avatar for thelostboy

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 …

Member Avatar for thelostboy
0
146
Member Avatar for 3BeeData

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.

Member Avatar for 3BeeData
0
124
Member Avatar for itsvineet
Member Avatar for fawi

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. …

Member Avatar for fawi
0
306
Member Avatar for er.sajal

can anybody tell me how can i create array of buttons so that i can give same code to every button

Member Avatar for S.Santosh
-1
3K
Member Avatar for MasterGberry

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 …

Member Avatar for MasterGberry
0
2K
Member Avatar for MasterGberry

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

0
41
Member Avatar for goleyass

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%>

0
100
Member Avatar for Arbus

can somebody explain me about parameters in initgraph in c++ graphics???

Member Avatar for mrnutty
0
64
Member Avatar for Joey_Brown

Hello Is it possible to somehow place another string inside a string ? Example: char array1[4]= "!!!" char array2[5]="joey" //Replace e with array1 Output : jo!!!ey Thank you for any kind of input

Member Avatar for Joey_Brown
0
90
Member Avatar for pikkas

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. …

Member Avatar for pikkas
0
113
Member Avatar for goleyass

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%>

0
49
Member Avatar for delia99

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 …

0
164
Member Avatar for riahc3

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 :)

0
59
Member Avatar for exekiel101

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; …

Member Avatar for Clinton Portis
0
185

The End.