8,298 Topics
![]() | |
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 … | |
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 … | |
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. … | |
[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 … | |
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 … | |
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 … | |
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.... | |
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 … | |
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 … | |
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 … | |
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 :) | |
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 … | |
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] | |
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 … | |
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 … | |
Give Me Reply to Develop Faster Loading Sites..:) | |
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 … | |
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")); … | |
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 … | |
hi.. How to create the sub total in data gridview in asp.net using c# | |
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 = … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 | |
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 … | |
[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 … | |
i want the user should enter only time in the textbox in C#.e.g 09:00:00 how it is possible? | |
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 … | |
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.. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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!!! | |
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?? | |
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. | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … |
The End.