8,298 Topics

Member Avatar for
Member Avatar for Peter4n31

I am quite desperate about a random crash. The memory could not be "read" error. I would be very happy for any help. Thank you. [CODE]HRESULT CSceneNode::UpdateAll() { D3DXMATRIX backup_local_tm = ei.world_tm; Update(); SceneNodeIterator begin=FirstChild(); SceneNodeIterator end=LastChild(); for (;begin!=end;begin++) { (*begin)->UpdateAll(); // Here is the random Crash !!! } ei.world_tm …

Member Avatar for Peter4n31
0
192
Member Avatar for localp

Hello, i have written a code in 'C' using visual C++, and i was able to create a DLL out of it. Now i need to access a method of this DLL, from my C# Main() method. How do i do this? The steps that i followed so far; 1.) …

Member Avatar for localp
0
167
Member Avatar for pro_learner

I'm novice to C#.net & i'm using Visual Studio 2010 as the IDE.I have created a Desktop Application in C# & i want to connect it with the Database in SQL server 2008.Friends can you tell me the code or web links to solve this issue.....

Member Avatar for pro_learner
0
1K
Member Avatar for Buffalo101

Hi, What's the best way of integrating a Paypal button in a WinForms application? I can make a tiny WebBrowser and render the form html in it, but when clicking it, processing should be done by the default browser, not the WebBrowser in my application. LEdit: Or I could just …

Member Avatar for Buffalo101
0
228
Member Avatar for SasseMan

Hello all! I'm having problems with running c++ on iOS. I have a iOS openGL project in Xcode 4 and an external library written in c++ that has to be a dependency to the iOS target so it can run on an Ipad. right now I'm testing with the iPad …

Member Avatar for SasseMan
0
105
Member Avatar for eaon21

i learned earlier how to move between two forms back and forth. but what if there are more forms? this is my code for form1: [CODE]Form2 form2 = new Form2(); private void aboutoldtrafford_MouseClick(object sender, MouseEventArgs e) { this.Hide(); form2.ShowDialog(); this.Show(); } [/CODE] when i click the button I can go …

Member Avatar for Bridgekeepers
0
2K
Member Avatar for rEhSi_123

Hi Guys, I am working on converting a console application into a user friendly GUI. The actual application is written in visual C++ and person has no information none what so ever on how to run it. So to understand the technique I am trying to experiment with the application. …

Member Avatar for JasonHippy
0
340
Member Avatar for whodoes21

Hello :D we've been working on this simple student database where we can add, edit and delete a student record... sooo going straight to the point I'm having problem with displaying details from two different tables as you can see we can only open using one connection string and try …

Member Avatar for whodoes21
0
208
Member Avatar for khocmedemmua

At present, my source code project is in disk E, this is its path : [COLOR="Red"]E:\WindowsApplication1[/COLOR] In this folder has a folder Files, with path : [COLOR="Red"]E:\WindowsApplication1\WindowsApplication1\bin\Debug\Files[/COLOR] I have a form with a browse button to choose file, after choose file, it will save into folder Files automatically. My chosen …

Member Avatar for crishlay
0
364
Member Avatar for rminator

string valeur = ligne.Split(ChrW(59))(0); what is the equivalent of that in C# please???

Member Avatar for samueal
0
276
Member Avatar for user20000

Hi, I need to make a browser in C# (I can use webbrowser I guess), and I need to create 2 buttons, one is on and one is off. If user selects on browser will load all the pictures in the page, if user selects off browser will load only …

Member Avatar for crishlay
0
941
Member Avatar for vuyiswamb

Good Day all i have a SQL Job and i want to change the times in the job programmatically from C#. The application that will change the Job Settings will be accessing the job remotely. Is is possible ? Thanks

Member Avatar for crishlay
0
69
Member Avatar for historymaker333

Hey, as a part of my semester project. I've made an application which is using the database from the data directory. But i wanted this application to be distributed and for others to be useing it on the same lan etc. So do i just have to change the connection …

Member Avatar for Ken Peterson
0
543
Member Avatar for Edward472

I am writing a .Net application trying to automate keystrokes in a Thin Terminal called Persona. I can open the program and set my focus to it but what I need to do is click the connect button in the menu bar. I used Spy++ to look at the window …

Member Avatar for oredigger
0
160
Member Avatar for Nurder

Hello All, I've got a problem and I hope you'll help me, because I'm desperate. I've been finding everywhere on the websites, but I haven't found it yet :( .... I found this website [url]http://www.codeproject.com/KB/miscctrl/ClickAndDragPictureBox.aspx[/url] , where it the same function what I want to do it. I want to …

Member Avatar for ddanbe
0
126
Member Avatar for Chair

Hi, I need to have all the letters of the alphabet displayed across my tabpage, with each letter clickable. Can someone pls help me; I can't get this right, I only have the letter A displayed: [CODE] Label[] lblalpha = null; lblalpha = new Label[26]; string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char[] …

Member Avatar for Chair
0
9K
Member Avatar for Stefan_Lam88

Hi everyone. I have a few question to ask regarding email notification in c#. I have the following codes: [CODE] SmtpClient smtpClient = new SmtpClient(); MailMessage message = new MailMessage(); message.To.Add("alex@hotmail.com"); message.To.Add("alex2@gmail.com"); message.Subject = "Test"; message.IsBodyHtml = true; message.Body = "<html><b>Hello World!</b></html>"; smtpClient.Send(message); [/CODE] While in my web.config I do …

Member Avatar for Stefan_Lam88
0
146
Member Avatar for leo88

hi, I am from c# field and now are doing a project using VB, I wants to ask about question as below: 1) private static DataSet ds; I wants to convert the C# codes above to VB syntax, but VB seems like don't have equivalent keywords of "static"(Correct me if …

Member Avatar for leo88
0
294
Member Avatar for judithSampathwa

hi there, i have a project which is build in visaul studio 2008 with the database used the mdf file. how can i keep the mdf file in a local network so that everbody can access if from the application. how can i do this. i want the mdf file …

Member Avatar for historymaker333
-1
809
Member Avatar for apanimesh061

I have made a program to plot the time domain signal of a wav file and its FFT using C# and Matlab. The link to the application is ... [URL="http://www.mediafire.com/download.php?2e06a68w5supcg9"]http://www.mediafire.com/download.php?2e06a68w5supcg9[/URL] The application was built without errors but, I am having an unexpected exception regarding loading of an assembly file. Please …

0
51
Member Avatar for ricardo.crudo

Hello Everybody. I'm with a classic problem in C preprocessor concatenation. This is the situation: [CODE] #define BAUDRATE(VAL) (B ## VAL) //... const uint32_t BAUDRATE_VAL[] = {1200, 2400, 9600}; //... br = BAUDRATE(BAUDRATE_VAL[i]); //... [/CODE] This code, result in the error: BBAUDRATE_VAL undeclared I need that the result of concatenation …

Member Avatar for Narue
0
95
Member Avatar for jamesrichards

Hi, Lately I found a C# sip sms example. With it an efficient system can be built for sending sms information or notification. I want to ask your opinion if I should try it or not. It can be found here: <URL SNIPPED> Thank you.

Member Avatar for jfarrugia
0
103
Member Avatar for vehpurple

okay so i have to make a windows form app in c# for a car catalog company as an assignment for school. i was about half way done, and i simply dont have time. i could email you my half done app if you would like. i have all the …

Member Avatar for vehpurple
0
2K
Member Avatar for ScepterMT

When I began the programming for [snipped link], I quickly noticed that Asp.net does not support the MessageBox class that I was familiar with in windows forms. Since Asp.net runs on the server it doesn't have access to produce a modal dialog box on the client. However, by using a …

Member Avatar for zmeditation1
0
662
Member Avatar for talala
Member Avatar for NETProgrammer
0
169
Member Avatar for nocloud

I have a class that looks like this [CODE] //the mem_data class======================================// class mem_data { public: mem_data(int,int,std::string); ~mem_data(); private: std::vector<reader> mem_store; int complete; friend class model_base; }; [/CODE] Now, I would like to let the class model_base access mem_store My main code will contain the following: [CODE] mem_data test_data(20110601,10,"test_file.csv"); model_base …

Member Avatar for nocloud
0
954
Member Avatar for dmizz002

Hi, I seem to have an issue with this code...its giving me an error at this line: lblDB.Text = currentRecord.ToString(); The error is [B]System.NullReferenceException was unhandled by user code[/B] I have debugged and connection to DB is working and the dataReader does have the record in it but I am …

Member Avatar for svilla
0
130
Member Avatar for nocloud

I have a custom date class that is constructed in the following way: [CODE] date date_file("dates.txt"); [/CODE] I want to put this object into a new class as a private member, e.g [CODE] //the mem_data class======================================// class mem_data { public: mem_data(int,int,std::string); ~mem_data(); private: std::vector<reader> mem_store; int complete; date date_file; }; …

Member Avatar for mike_2000_17
0
278
Member Avatar for MasterBerd

Hey Guys! Below is my code of Battleship game. I keep getting "Process terminated due to StackOverflowException." error. It keeps pointing to [CODE] char[,] Grid = new char[10, 10]; [/CODE] and i have no idea what it's asking to fix. Please help me. Thanks! [CODE] using System; using System.Collections.Generic; using …

Member Avatar for MasterBerd
0
1K
Member Avatar for literal

[CODE]int i, j; for(i=2;i<1000;i++){ for(j=2;i/j;j++){ if(!(i%j)) break; if(j>(i/j)) cout<<i<<" is prime\n"; } }[/CODE] Can somebody experienced clear me how this program actually finds prime numbers... The line with the last if condition confuses me most -> j > (i/j)

Member Avatar for Distantearth
0
164
Member Avatar for yobbko

It is possible read/use data from DDE serve. This function is possible in Micrsoft Excel.

0
50
Member Avatar for nocloud

I've been scratching my head for quite some time with the following compilation error and I was hoping somebody could shed some light... I have the following in my header (.h) file: [CODE] //the mem_data class======================================// class mem_data : public reader, public date { //multiple inheritance public: mem_data(int,int,std::string); ~mem_data(); private: …

Member Avatar for caut_baia
0
385
Member Avatar for vTr

Hey there, I was wondering if anyone had the time to look over my code and give me some tips or tweaks to help me get it running. The program is all about inheritance, where i have the derived class using the base class clockType (with using strings) to add …

Member Avatar for mrnutty
0
628
Member Avatar for gladtoplay5

I have just finished my tic tac toe game but wanted to make it look nicer so i added some colors at the winning scene... [CODE] cout << "congratulations player 1!" << endl; cout << "[W][I][N]" << endl; cout << "[W][I][N]" << endl; // checking if the game has been …

Member Avatar for iamthwee
0
208
Member Avatar for sourav_kings

Hi experts, I am trying to figure out code working for an auto testing as follows: (in C# code, SQL database used) 1. Check whether database (having credentials) is working fine or down? 2. If working, run a select query in it & check for succesful execution. 3. In any …

Member Avatar for jfarrugia
0
150
Member Avatar for dashby

I have a bmi application that was written in Java via netbeans but now I am trying to convert the Java to C#, I have pasted a sample of my Java and under that what I have so far for my C#. I would be grateful for some help with …

Member Avatar for dashby
0
184
Member Avatar for drax12

hey everybody, i'm developing a small utility to change chrome browser search provider to some thing else (ex. google to yahoo,bing,etc...).i want to do this programmatically using c#. its settings are located inside C:\Users\"username"\AppData\Local\Google\Chrome\User Data\Default\ most of the settings are saved in preferences file.i could not find how to change …

0
74
Member Avatar for pok.kys90

my professor gave a .o file and we are supposed to write a function that links to his file in ssh. his code is struct grades { int lab; int prog; int mid; int final; char name[10]; } void fillArray(grades a[ ], int & num); these two are given and …

Member Avatar for VernonDozier
0
212
Member Avatar for pok.kys90

I am new to c++ and i am supposed to do a test case using my stub with hand calculated mean & standard deviation of number of students that are saved in the .o file in linux. my code is [code] #include <iostream> #include <fstream> #include <cmath> using namespace std; …

Member Avatar for pok.kys90
0
244
Member Avatar for Sandmann

Hi there!... i was seeing some codes in Python, but i can't understand it, so... i really don't want learn phyton, by that reason i want to know some things (specific things) for try convert it, now... if someone can convert it for me, i'll be sooo glad :P. Here's …

Member Avatar for vegaseat
0
169
Member Avatar for wyzbs

Hi guys, I have a windows form frm1 that calls another form frm2 by the following code: [CODE] this.hide(); frm2 new_frm2 = new frm2(); new_frm2.ShowDialog(); this.Close(); [/CODE] it takes about 5 sec for the frm2 to show so I'd like to use waitcursor. I found that the waitcursor can only …

Member Avatar for skatamatic
0
227
Member Avatar for vuyiswamb

Good Day All I have a Generic function that in my Static Class. i have this Class in Silverlight [CODE] public static BitmapSource LoadImage(Byte[] imageBytes) { BitmapImage bmpImage = new BitmapImage(); MemoryStream mystream = new MemoryStream(imageBytes); bmpImage.SetSource(mystream); return bmpImage; }[/CODE] Now this looked fine for me until i had to …

Member Avatar for vuyiswamb
0
2K
Member Avatar for papanyquiL

Hi, here's the site I'm currently working on: [code]http://www.johnernaut.com[/code] Under the 'contact' tab I have some behind the scenes C# code that SHOULD send me an email whenever the submit button is pressed and all fields are validated. This isn't working for some reason. The host I'm using is GoDaddy. …

Member Avatar for aspproject
0
734
Member Avatar for dmizz002

Hi all, I am quite a beginner to C# and ASP.NET development so if you can help out it would be really appreciated: I wish to build a small library of custom functions to be used throughout the entire website. For example say I need to build 5 functions which …

Member Avatar for aspproject
0
177
Member Avatar for himvj

Hi, I want to know while creating setup how to put serial key form and validate it during the setup installation in c# vs2005. Thanks in Advance.

Member Avatar for abelLazm
0
371
Member Avatar for apanimesh061

[CODE] using System; using System.Reflection; using MathWorks.MATLAB.NET.Arrays; using MathWorks.MATLAB.NET.Utility; [assembly: System.Reflection.AssemblyVersion("0.0.*")] #if SHARED [assembly: System.Reflection.AssemblyKeyFile(@"")] #endif namespace dotnet { /// <summary> /// The dotnetclass class provides a CLS compliant interface to the M-functions /// contained in the files: /// <newpara></newpara> /// C:\Users\User\Documents\MATLAB\waveCS\wavread.m /// <newpara></newpara> /// deployprint.m /// <newpara></newpara> /// printdlg.m …

Member Avatar for abelLazm
0
698
Member Avatar for dotancohen

I am replacing some very small bash scripts with Mono (C#). I have noticed some differing practices in C# tutorials online regarding convention. I'd like to know the reasoning behind them. If I should break this question up into multiple questions, let me know. 1) Use a namespace? I see …

Member Avatar for dotancohen
0
146
Member Avatar for Nurder

Hi everyone ... I've a problem with fill color. I just want to fill a part of it. For ex.: if we have a face with eyes and red mouth, i wanna to color each part of the face when the user click down the mouse. Thanks for your advice....

Member Avatar for Nurder
0
361
Member Avatar for raj03

I am unable to solve the errors found in this program. Can someone be kind to help me solve it? Thanking in advance. :) [CODE]#include "stdafx.h" #include <iostream> using namespace::std; class detail { protected: char address[50]; int age; char name[25]; public: int a; int b; int c; void getdetail(void) { …

Member Avatar for tkud
0
192
Member Avatar for drax12

Hey i'm developing a role based user authentication in my desktop application.i need to add few roles like Admin, operator, etc... i can get users role if i have user name of the logged in user.but after logging in the username cannot be retrieved again.So it has to be saved …

Member Avatar for jfarrugia
0
1K

The End.