8,298 Topics

Member Avatar for
Member Avatar for PoovenM

Hi there, I'm trying to access a resource only dll (compiled with the [i]/NOENTRY[/i] linker option) within C#. The dll file was created using a rc file that contains a [b]STRINGTABLE[/b]. I used [b]CComBSTR[/b] to load the string resource from the dll in C++; I'm not sure how to do …

Member Avatar for thines01
0
190
Member Avatar for Shillz

I have been trying to send mail through my c# website, but kinda stuck up somewhere and not able to figure out the problem. :-/ M getting SmtpException saying "Failure sending mail". Please help.:icon_confused: [CODE] MailAddress fromAddress = new MailAddress("abc@gmail.com", "n1"); MailAddress toAddress = new MailAddress("xyz@yahoo.co.in", "n2"); const string fromPassword …

Member Avatar for Shillz
0
208
Member Avatar for jain1.anuj

hi, i am working on a USB HID KEYBOARD device. i want to register the device for the notification whenever it gets attached and removed from the system. i want to register it for all windows operating system(for all 32 and 64 bits) starting from XP. it's a proximity device. …

0
64
Member Avatar for surferxo3

[CODE] public partial class DataTrialForm : Form { private String connectionString = null; private SqlConnection sqlConnection = null; private SqlDataAdapter sqlDataAdapter = null; private SqlCommandBuilder sqlCommandBuilder = null; private DataTable dataTable = null; private BindingSource bindingSource = null; private String selectQueryString = null; public DataTrialForm() { InitializeComponent(); } private void …

0
70
Member Avatar for surferxo3

I have the following problem: I have sample form with reportViewer on it & report type is rdlc report on c#. I added a new dataset then selected tableadpater on it then selected the database from mysql and I selected the Filldata method & provided a query to retrieve data …

Member Avatar for surferxo3
0
189
Member Avatar for akshatha.ullur

i have an excel sheet with me. i want 2 retrieve the data in c++ .. the retrieval should be in such a way that if a content of a cell is given it should tel me the content of the parallel cell .. i'm trying out alot for this …

Member Avatar for DJSAN10
0
144
Member Avatar for baby_c

hi friends.! need little help. I couldn't find the way to check a stack is empty before pop up a element. when my program is running its give a error. please help me guys.. thank you in advance....

Member Avatar for thines01
0
4K
Member Avatar for shapna

Hi, I am very new to C#.I am trying to create a webform to save data in SQl server 2008 using c#.My problem is when i click on the save button, the code saves the 1st record every time instead of saving the new record.all my textboxes are showing the …

0
40
Member Avatar for triumphost

I have an idea for a program but I don't know if its possible. I want to write a program that can read commands from a file.. For example, I've seen bots that can parse and read javascript for games and execute whatever is in the .java file.. How can …

Member Avatar for triumphost
0
179
Member Avatar for joy39

i have got a project where i have to connect c program to mysql database. but, i have zero knowledge of mysql. so, iwas looking for a mysql tutorial with c language . but. most of the tutorials online are mysql with php. so, could you please provide me some …

Member Avatar for L7Sqr
0
122
Member Avatar for lastbencher

C++ course has started in my college. I would like to know the best beginner book for C++. My teacher has referred Robert Lafore and The Complete Reference. Since there are a lot of suggestions given in the sticky thread, I am confused. Thanks in advance :)

Member Avatar for lastbencher
0
227
Member Avatar for Macksh

Hey please help me, I'm beginner to C# programming using visual studio 2008 ,i wanted to develop student information management system,so i wanted to create a table in sql database and maintain all information.so i created a new project and went to create sql new database, i right clicked on …

Member Avatar for thines01
0
183
Member Avatar for the_kitoper

I have a problem, whenever I attempt to use the following expression it returns -3. Can you please explain why this is? [CODE] int level = ((RoD * 10) - 50) / 15; std::cout << "Level = " << level << std::endl; [/CODE]

Member Avatar for LRRR
0
177
Member Avatar for VidyaYadav

Hi, In my application i am taking multiple image files from user using openfiledialog and display those image files in flowlayoutpanel. After pressing on Insert button i used to copy all those images in a folder (C:\Images). When there is no file exists the file get copied easily, but if …

Member Avatar for technext
0
683
Member Avatar for Kunal0

Hi, I have a basic understanding of C++ and was creating something myself with a class of 6 integers and a string what I want to do is to be able to find the mode values for each of the six integers and strings I have instantiated a set of …

Member Avatar for ravenous
0
288
Member Avatar for SindhujaNagaraj

hi, i have a html file which contains placeholders. i read the html file and replace the placeholders with object values of DB and display it in lable control. & now when i click the download i need save the contents of lable as html file . iwant to show …

Member Avatar for SindhujaNagaraj
0
104
Member Avatar for narendrajarad
Member Avatar for sachintha81

Can someone please tell me what is the event that is triggered when a user clicks on the + sign in C# TreeView? To elaborate more, here is my problem. I have a tree view that is populated at the time of Form_Load. Then the user can expand/collapse/select etc with …

Member Avatar for jerry32uk
0
838
Member Avatar for climberboy

I am having a problem fixing this error: Object reference not set to an instance of an object, [CODE]namespace FaultTrees { public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); this.LoadXML(); } private void LoadXML() { List<FaultTree> faultTrees = new List<FaultTree>(); XDocument FaultTreeXML = XDocument.Load("testtrees.xml"); faultTrees = this.GetFaultTrees(FaultTreeXML.Element("HiP-HOPS_Results")); …

Member Avatar for lxXTaCoXxl
0
753
Member Avatar for pritiB

hi...I am familier with C# programming language.I am a NewB in c# programming. I like to extract the data from a website([url]www.shopzilla.com,www.shopping.com[/url]) and store it to my database running on my machine.Is that possible in c#.If so which API I should use. for example, i want to fetch price and …

Member Avatar for thines01
0
185
Member Avatar for baladeveloper
Member Avatar for Jessurider

can anyone tell me why this c# console command not running on java?.............. i've made a c# console program as given below [CODE=C#] using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace face { class Program { public static void Main(string[] args) { String path = …

Member Avatar for thines01
0
282
Member Avatar for gingank

Hi guys, I am a newbie that starting to write programming in C#? Anyway got any good suggestion that i can learn the C# example books, website or tutorial? Thanks you

Member Avatar for budbjames
0
162
Member Avatar for tobby501

Hey guys! I'm new to programming and C++ is my first programming language. I have studied books on the language but I know the real job is the application of what I have been studying. I am planning to do a project this semester that will help me to actually …

Member Avatar for tobby501
0
132
Member Avatar for slowly_but_sure

I'm creating a program in C# that do not allow intersecting lines. How will I modify my code? Thank you. I've already attached the whole source code of my program for you to check the other class I've included.But here's the code for the drawing process: [CODE] using System; using …

Member Avatar for lxXTaCoXxl
0
240
Member Avatar for lxXTaCoXxl

I'm trying to learn how to create plugins, the only problem is my friend only knows .NET, I know C# and can partially read .NET. Is there anyone in this section that can convert this all over to C# for me so I can truly study it? [code]Public Interface IPlugin …

Member Avatar for lxXTaCoXxl
0
193
Member Avatar for dr_iton

I need help in the following C# programming: [I]Vehicle manufacturers always offer new saving fuel cars to new drivers. The Renault manufacturer has taken this in consideration and offered new car Renault Clio to a driver Syle LeSylani for one year use. Syle has kept evidence of past kilometers at …

Member Avatar for thines01
0
143
Member Avatar for mmazeemahmad

Hi All, I want to build my final year project in human resource management system in C#............. But after a lot of search on the web i didn't find any source code for it to develop.... kindly give me some references that make it easier for me to develop my …

Member Avatar for mmazeemahmad
0
545
Member Avatar for weeraa

I'm a beginner to C# and going to develop a application using C# and SQL server 2005. one of my tables has a field named with DATE. data type is also 'datetime'. i can insert data to the database using my application properly. now i want to filter my data, …

Member Avatar for kamilacbe
0
161
Member Avatar for gopal1993

Hello all, Actually i had a program which i was unable to solve i hope youll help me out and post your solutions. The program is: A Bowler is called the Best, if the average wickets taken by him during the year is 5 and above. The number of matches …

Member Avatar for tkud
0
88
Member Avatar for deanus

Hi, I've just learned that Java's 'protected' access specifier has a different effect than that in C++. So is there a way to make a member of a base class visible to its inheritors but not globally? Dean

Member Avatar for deanus
0
108
Member Avatar for influenceuk

Hi i have been asked to create a sample app which pulls data from a txt file. Then outputs it in another txt document depending on certain arguments. Write a console application called 'program.exe' that takes four arguments: 1. Input File 2. Output File 3. Log File 4. Product Codes …

Member Avatar for thines01
0
195
Member Avatar for 3435

[B]Hello everyone!![/B] I am new to Linux forum and have a question related to typecasting in C related to offset of structures.I have a piece of code and having a problem with this: [CODE]void fun(struct c *p) { int offset; struct b *address; offset=(char *)&((struct c *)(&((struct a*)0)->y)->j)-(char *)((struct a …

Member Avatar for Trentacle
0
184
Member Avatar for navi18

i want the user should enter only time in the textbox in C#.e.g 09:00:00 how it is possible?

Member Avatar for lxXTaCoXxl
0
5K
Member Avatar for adil.h

After figuring out my past problem (no instance of an overloaded function), I've come across another problem. [IMG]http://i.imgur.com/SvX1l.png[/IMG] I've pinpointed the code where I know the error is originating from: [code] static int Decode_VL64(const std::string &data){ char* chars = (char*)data.c_str(); return Decode_VL64(data); } [/code] What I'm trying to do here …

Member Avatar for Moschops
0
803
Member Avatar for Shwetha Dali

Hi, I have a application where we upload pdf files.And also i have button in another page to download it.As and wen a new file is uploaded that file should be downloaded on clicking the download button. The follwing code fetches all the pdf files filelist contains all pdf files.. …

Member Avatar for vsa000
0
229
Member Avatar for nice_candy

hi, I want to implement a client server application. here is the scenario. Server listens for client 24/7. Server accept request for client and save it in DB for further process. Once processing is done (it may take few hours), Server will response back to client. in short , client …

Member Avatar for darkagn
0
202
Member Avatar for STiwari0130

I'm new to C#. Trying to learn and implement an RFID application. I'm reading a RFID using serial port and the data is available in rtbDisplay. 11 01 B0 00 01 03 01 E0 04 01 00 0C E0 10 88 7B 61 How do I extract certain data (RFID …

Member Avatar for STiwari0130
0
313
Member Avatar for dynw

hi can someone help me to make a calculator as required? Create class Calculator. This class must contain the following features: constant PI constructor that accepts two integers, operand1 and operand2 method for writing values ​​and operand2 operand1 methods for calculating the four operations - addition, subtraction, division and multiplication …

Member Avatar for mohamed.farag
0
229
Member Avatar for fusionking

I am writing a C# program that reads in a text file of a list of events followed by a date and time, delimited by a comma and prints it out to a textbox along with how much time is left till that date and time happens. It must read …

Member Avatar for BhuvanRam
0
348
Member Avatar for jain1.anuj

hi, i m using HID device. i had registered it. now i want to read and write data into it. how can i do the same!!!

0
62
Member Avatar for jain1.anuj

hello, i have a device with proximity sensor. how can i use it with the help of c#? how can i get the distance of object with the help of the device??

Member Avatar for jain1.anuj
0
171
Member Avatar for jain1.anuj

hi, im developing the application which detects the HID and reads and write teh data into it. i am unable to detect the device arrival and removal. how can i do the same.

Member Avatar for jain1.anuj
0
59
Member Avatar for zoro20002

what is the error in the bleow: 'Public Event OnFilterAdded()' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. [CODE]Imports System Imports System.Collections Imports System.Configuration Imports System.Data Imports System.Web Imports System.Web.Security Imports System.Web.UI Imports System.Web.UI.HtmlControls Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.WebParts Imports Tawammar.CustomControls Partial Class …

Member Avatar for GeekByChoiCe
0
240
Member Avatar for sidss02

Question:I am not able to start the codes of project in c++. Your clock has gone dead because you forgot to wind it or replace the battery, or you had a power outage. This clock has hands, so you must turn them to adjust the time. Which way, and how …

0
58
Member Avatar for navi18

I have a ComboBox,Textbox,save button and delete button..i want to implement Model view presenter so dat the value selected in combobox and textbox are inserted into SQL database..plzz help..thanks in Advance

0
70
Member Avatar for ntrncx

I know that there is a sticky thread and i know that maybe i repeating things that already mentioned but i am totally confused. I am interested to study about game programming,i don't study i bought a book and i am near to finish it about c++. i goggled and …

Member Avatar for Dman01
0
181
Member Avatar for Dakot

hello,i must solve this problem : "Sum all even digits of a given number. That's what i've got so far. [CODE] #include <iostream> using namespace std; int main() { int sum = 0 , num; cin>>num; while(num > 0) { sum+=num%10; num/=10; } cout<<sum; return 0; } [/CODE] the problem …

Member Avatar for burcinerek
0
165
Member Avatar for bhagyap

Hi.. I have 3 DropDownList:- DropdownList1 has status,DropDownlist2 has date and DropDownList3 has duedate and based on these values selected i want to populate the Gridview following is my code.. protected void Button1_Click(object sender, EventArgs e) { string con = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlDataAdapter sda = new SqlDataAdapter("Select * from DropDownFilter where …

Member Avatar for bhagyap
0
842
Member Avatar for ChaseRLewis

So I've programmed using Excel Interop before, but I can't figure out something. I have a spreadsheet with thousands of material properties listed in them. In the excel spreadsheet if I change that enum I can recalculate the sheet retrieving the values I need. I want to form a repository …

Member Avatar for thines01
0
107

The End.