8,298 Topics

Member Avatar for
Member Avatar for jigoro
Member Avatar for disablealex

Hello guys!i am kinda new to C# and i am just learning....the thing is..i want to make a little app.I made something like a login form with a username and password textbox.i need these textboxes to go into the acces database(which i succesfully added to the project and all it …

Member Avatar for Ramy Mahrous
0
202
Member Avatar for EricTetz

Is is possible to define a method which returns a delegate, without first creating a delegate type? For instance, in C or C++ I can define a function pointer type, then define a function which returns a function pointer of that type: [code=c]typedef int (*IntVoid)(); // function pointer type IntVoid …

Member Avatar for EricTetz
0
360
Member Avatar for n30h4x

So my goal for a project of mine, is to output the values of variables into their respected locations in PDF file. Where would I need to look to get started on this? Are there any library's anyone would recommend?

Member Avatar for n30h4x
0
127
Member Avatar for abcdabid

[CODE]<Security> - <User> <Username>jon</Username> <Password>khan</Password> <UserFolder>aliHomeDIR</UserFolder> </User> - <User> <Username>bob</Username> <Password>khan</Password> <UserFolder>aliHomeDIR</UserFolder> </User> </Security>[/CODE] I have xml file and i want to remove specific element having username jon [CODE] foreach (XmlNode parentNode in parentNodes) { for (int i = 0; i <= parentNode.ChildNodes.Count - 1; i++) { XmlNode childNode = …

Member Avatar for papanyquiL
0
91
Member Avatar for sfener06

im getting this error while im trying to use matlab function from my dll in c#. how i can fix that? 'MathWorks.MATLAB.NET.Arrays.MWArray[*,*]' to 'MathWorks.MATLAB.NET.Arrays.MWArray'

Member Avatar for ddanbe
0
42
Member Avatar for NH1

I have an MDIParent form with a button in it. I have it so that when i click the button it gets disabled. What i need help on is that, I need to know how to re-enable the button after i exit out of the form that opens when i …

Member Avatar for NH1
0
14K
Member Avatar for Edvin76

The Xml: Micfosoft(TM)'s modified Books.xml: The price attribute of the last book item was modified by me, now it appears two times, once as attribute of book and second time as a separate item inside the book item. [code=xml]<?xml version='1.0'?> <!-- This file represents a fragment of a book store …

Member Avatar for Edvin76
0
169
Member Avatar for tom3.14

Hello, I'm in need of color highlighting individual words with in a tooltip. I'm thinking that the standard tooltip in c# can't do that since it looks like it just takes a unicode string. (Is that correct or is there some gucci way of getting around that?) I did some …

Member Avatar for Teme64
0
792
Member Avatar for bigcheesy

Hello, I am having some trouble figuring out an assignment I was given in class. I am not looking for any code, but need a better explanation that what the teacher has given. Basically the program will calculate the number of days between any two days from 1/1/1900 through 12/31/2099, …

Member Avatar for JeyHey
0
7K
Member Avatar for anant.mgm

Hi ALL, I want to develop mobile application for Symbian60 OS (nokia mobile) in asp.net. Could you please tell me what are the requirment for this. I have VS 2003 , 2005 and 2008 on my machine. Thanks ANANT

Member Avatar for finito
0
100
Member Avatar for UNOWN

Hey guys, I am needing to detect when the last item in a listbox is selected. I first tried comparing the listbox.items.count with the listbox.selectedIndex, but unfortunately, whenever i load the items from a file to the listbox, there are 1 or two extra items at the end that are …

Member Avatar for UNOWN
0
916
Member Avatar for Rajnesh

Can someone demostrate with a tutorial thru which the Operating System could be developed in C#, i have no idea in System programming in C#. Also tell if the same could be done in other langauges such as Java or J#...If someone already have a coded tutorial for OS in …

Member Avatar for kvprajapati
0
929
Member Avatar for yukikochan

i'm just a newbie here in c# and still a lot more to learn, but i just want to know how can i convert into uppercase the first letter in a textbox inputted by the user if they input a lowercase letter. can somebody help me? please..just needed to complete …

Member Avatar for kvprajapati
0
75
Member Avatar for yukikochan

can naybody help me how can i get data from sql database and display it in a listbox or combobox? thanks for the help.

Member Avatar for kvprajapati
0
45
Member Avatar for dimios

Hello there, I am trying to figure out the advantages of C++ STL containers over C. Correct me if I am wrong. a)in C++ containers classes are standardized. C doesn't have any standardized libraries for data structures beyond the native array type. b)each of these containers in C++ has member …

Member Avatar for NathanOliver
0
218
Member Avatar for sureshrajanmca
Member Avatar for carrythe1

Hi, I have a form application that has a number of pictureboxes. As the program runs it changes the pictures in the boxes depending on buttons pressed on the form via a function 'updateGUI'. The program runs for a limited period and eventually i get an error: An unhandled exception …

Member Avatar for carrythe1
0
1K
Member Avatar for Dr-Delta

Hi Please tell vb.net equivalent of following method: [B]C# Syntax[/B] [CODE] public class RecentPosts : Control { static RecentPosts() { BuildPostList(); Post.Saved += new EventHandler<SavedEventArgs>(Post_Saved); Post.CommentAdded += delegate { BuildPostList(); }; Post.CommentRemoved += delegate { BuildPostList(); }; Post.Rated += delegate { BuildPostList(); }; BlogSettings.Changed += delegate { BuildPostList(); }; } …

Member Avatar for sknake
0
254
Member Avatar for judithSampathwa

hi there, does anybody know a good encryption method that can be used the C#.NET to encrypt and decrypt the password in C#.NET desktop application? thanxxxxxx

Member Avatar for sknake
0
157
Member Avatar for sodevrom

Hello, I have a project for school and I need it finished a in a few days. What the project does is reads data from a txt file. Each row of the txt file contains a timestamp hh:mm:ss,mmm (example: 00:05:33,141). Whenever the system time is equal to one of the …

Member Avatar for sodevrom
0
508
Member Avatar for noobday

Hi, I am currently programming using c++ language and want to take advantage of some very useful wolfram mathematica functions : By that, i mean sending external datas or using symbolic calculus, applying required functions, and taking the result back in an array of my c++ program for example; I …

Member Avatar for noobday
0
92
Member Avatar for umair.sabri

i m developing website in C#.net but my exception message is not displaying in alert box how can i disply my exception in text box in try catch any body pls tell me

Member Avatar for kvprajapati
0
1K
Member Avatar for BonaDrag

Im trying to write c# form validation for a xaml-form. The only two things that seem to work are the lines of code that clears the text- and passwordboxes and displays the messagebox. Are my regex-examples wrong, or do I need to work with some kind of while-statement(s)? [code=c] //start …

Member Avatar for BonaDrag
0
124
Member Avatar for anuragcoder

Hi guys, Here's my project finally. It's name is C.L.O.S.E - The Command Line Open Source Editor Please review and comment. Mention errors if any, Also, for this code to work. Please download open.cpp, find.cpp, new.cpp, append.cpp, compile them and place all of them including the main source in a …

Member Avatar for anuragcoder
0
327
Member Avatar for lllllIllIlllI

I am currently doing a project where i am using C# and databases. I am using visual C# 2008 and i am having issues accessing the tables that i made. So what i have done is that i have a couple of tables, one with students in it, another with …

Member Avatar for kvprajapati
0
217
Member Avatar for bill_kearns

OK my programming/accountant friends, this is very long but I need your help again with an ad-hoc report! I am having a hard time getting my brain around solving this part of an application I am programming and was hoping to get your point of view. Maybe I'm going about …

Member Avatar for bill_kearns
0
1K
Member Avatar for fellixombc

Alright, so everything works, except there are a couple minor bugs. Also, is there a more efficient way in doing my listen method? Thanks. Bugs: -First client does not recv the information it sent, until the 2nd client connects. (the server sends it back) -Everyother click recv's everything twice. Server.cpp …

Member Avatar for fellixombc
0
491
Member Avatar for judithSampathwa

hi there, i have a excel file which have purchase order information. the file contains of the information of the user and the the items that he ordered with the order item quantity and the price but there may be any amount of items in the excel sheet. the thing …

Member Avatar for nick.crane
0
219
Member Avatar for sdhawan

Hi I am trying to use replace function in c# but it doesnt seems to work.Am i doing anything wrong.Thanks [code] private void btnSpanish_Click(object sender, EventArgs e) { SimpleSpanishDict.SimpleSpanishEnglishDictionary ins = new SimpleSpanishEnglishDictionary(); Hashtable aaa = ins.AllWords(); StringBuilder insertCommand = new StringBuilder(); IDictionaryEnumerator en = aaa.GetEnumerator(); if (aaa.Count > 0) …

Member Avatar for jlenriquez
0
184
Member Avatar for Dr-Delta

Hi I using C# to VB.NET code converter which gave me this: [CODE] Public Class PostCalendar Inherits Calendar [B]Implements [U]ICallbackEventHandler[/U][/B] //--Class 'PostCalendar' must implement 'Function GetCallbackResult() As String' for interface 'System.Web.UI.ICallbackEventHandler'. ¿¿?? //----------------------------------------------- Shared Sub New() [B][U]Post.Saved += Post_Saved[/U][/B] End Sub //----------------------------------------------- Public Class RecentComments Inherits Control Shared Sub New() …

Member Avatar for Luc001
0
300
Member Avatar for justme369

can anybody help me transcribe this into vb.net [code] public string WriteNReadBuffer(byte [] TelnetNegotiation, NetworkStream stream) { stream.Write(TelnetNegotiation, 0, TelnetNegotiation.Length); Byte[] data = new Byte[256]; Int32 bytes = stream.Read(data, 0, data.Length); string returnval; returnval = BitConverter.ToString(data, 0, bytes) + "\r\n"; //textBox2.AppendText(BitConverter.ToString(data, 0, bytes) + "\r\n"); return returnval; } public void …

Member Avatar for Teme64
0
291
Member Avatar for mugilan

Hi friends, I am new to c++, just find this example from the book, but when i try to run in my visual studio,its gives problem. there is no error in the codes, it compile well, and in main screen ask the user to input the selection that they want, …

Member Avatar for mugilan
0
150
Member Avatar for carrythe1

Hello, Please disregard any small syntax errors I have made in this question, I’m trying to simplify a program that is many pages long. I have a program that has 2 parts, main.cpp and a form GUI.h. Both have functions that pass variables between themselves and I don't want to …

Member Avatar for nbaztec
0
2K
Member Avatar for Nerathas

Greetings, I have a array filled up with random value's (being positive and negative). What i wanne do is have a recursive version that counts -only- counts the postive values in that array. Recu version that counts all the elements (that works but is not quite yet what i seek) …

Member Avatar for apegram
0
113
Member Avatar for Sudripta

I have a C# dll and a C++ executable. I am using COM to communicate between the unmanaged and the managed layers using COM interop. Everything is fine except for one problem. I have one time consuming operation to be done within the C# dll. I need to notify the …

0
23
Member Avatar for ebiemami

Format of the connection string to access an ACCESS database in c# over network? I want to make a OleDbConnection in c# and connect it to an access database in another PC on my lan. This is an example of a connection string to connect to a database on my …

Member Avatar for Ramy Mahrous
0
467
Member Avatar for sachintha81

I'm trying to set a MIME type for a certain file extension (.jdf) using MimeMapClass in C#. Following is the code I use which works fine. [code] // directory is a virtual directory, say BSS // extension = ".jdf" // type = "text/xml" private static void SetMIMEType(DirectoryEntry directory, string extension, …

0
91
Member Avatar for Poab9200

Hello all I've got a question. I have a datagridview control with autocomplete features with it. And was wondering if it would be possible to add 'Tooltips' to the suggested entry. What I'm trying to accomplish is what Visual Studio has done with their intellisense/auto complete feature. For example when …

Member Avatar for bbman
0
199
Member Avatar for dimios

Hi everyone, can you help me please with then following?? a)The C++ Standard Template Library (STL) contains a number of container data types, explain with suitable examples the advantages these give to the programmer over a procedural language such as C. b)Demonstrate using suitable code the usage of the STL …

Member Avatar for bandtank
0
221
Member Avatar for xander85

Hello all, I am trying to finish an assignment in my programming class and I can't seem to get this compilation to work... For some strange reason the program will not sum the elements in the array... It is only returning the first input that I enter... Any hints??? I …

Member Avatar for LoganJames
0
1K
Member Avatar for coding101

Im learning java, and having trouble with some simple code. Heres my code, can you tell me why the output is disregarding the "Correct!" statement at the end package Otm; import java.util.*; public class Otm { public static void main(String arg[]) { Scanner sc=new Scanner(System.in); String Wash="Washington"; String Ham="Hamilton"; String …

Member Avatar for coding101
0
118
Member Avatar for JOSheaIV

Okay so I am writing some C# and the program at one point reads in a file and stores each line in a string array. This part of the code works I have tested it. Well then I have the string displayed in a listBox with this string array using …

Member Avatar for JOSheaIV
0
3K
Member Avatar for Exaktor
Member Avatar for Ramy Mahrous
0
137
Member Avatar for Exaktor
Member Avatar for Ramy Mahrous
0
132
Member Avatar for yayaza

I am supposed to create a c# based visual studio application called "TaxCalApp"The purpose of the application is to determine the tax that a person has to pay based on his taxable income. i have done my homework and head cracking.....i cant run the program right.what is wrong with my …

Member Avatar for yayaza
0
490
Member Avatar for leowasif

hi, i have Ms Access database having three fields ID username password and i want to make form that update them, my table name is studentLoginData [CODE] MessageBox.Show("the password is matched"); String conString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:\\Documents and Settings\\Wasif\\My Documents\\studentLogin.mdb"; SqlConnection objConn = new SqlConnection(conString); try { objConn.Open(); } …

Member Avatar for Orion2k
0
283
Member Avatar for leowasif

i write following code to update database but every time i got update syntax error is anyone help me to .. [CODE]MessageBox.Show("the password is matched"); String conString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:\\Documents and Settings\\Wasif\\My Documents\\studentLogin.mdb"; OleDbConnection empConnection = new OleDbConnection(conString); String insertStatment = "UPDATE StudentLoginData Set ID='" + this.txt_id.Text + …

Member Avatar for kvprajapati
0
163
Member Avatar for TotoTitus

Hello everyone, I need some advice. I have been given an assignment to construct some kind of chat application which uses push technology (In C#, so i have socket objects and all that) Reading on the internet, i came to know that push technology means in essence, that not the …

Member Avatar for Diamonddrake
0
935
Member Avatar for LennieKuah

Hi Good Guys, I need your help. Please Help me. I am trying to extra CustomerID, CompanyName, from XML File to Update SQL SERVER using xpath function. Being new to XML I don't know how to do it. Please help me with sample coding so that I can learn the …

0
76

The End.