8,298 Topics

Member Avatar for
Member Avatar for go_4_tli

I'm trying to put a dynamically-generated stackpanel into my ASP.NET webpage. (I must admit, I'm pretty new at this.) Here's my ASPX page in its entirety: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Loader.aspx.cs" Inherits="eFormsIndex.WebForm1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" …

Member Avatar for go_4_tli
0
180
Member Avatar for ragnarok511

I am currently a C# developer with about a year of experience. I am currently working on finishing my computer science degree with a minor in mathematics. I love the job that I am in, but I the things I really want to do are in C++ (i.e. game development, …

Member Avatar for thelamb
0
242
Member Avatar for bhagvad301

Hi, I made setup file, i install it on windows 7, it install successfully , when i execute using shortcut key or .exe file it gives a message "application has stop working" and not open any form and close automatically.

Member Avatar for abelLazm
0
2K
Member Avatar for loafie55

Create a program that is a Point of Sales (POS) system for a restaurant. Your POS system should allow unlimited orders from any number of guest. Each guest should be able to order a drink, an appetizer, an entree, and a dessert. The program should present a total. In addition, …

Member Avatar for loafie55
0
3K
Member Avatar for sathish88

In my application i have database connection but i dont know how to attach my database with application Front End : C#.Net Back End : SQL server 2005 I need to create a setup to run my application on another machine ....

Member Avatar for mono_jit23
0
162
Member Avatar for sha11e

I have a c++ program that uses the rand function and the srand function. It worked fine when I compiled it on my windows machine, but I got errors when trying to compile it on ubuntu linux. After I included cstdlib the program worked fine on the linux too. 1. …

Member Avatar for Narue
0
299
Member Avatar for kimlong008

If I want to make a file connect SQL by file C# which I don't use connect in web.config But I can't call 2 class because when file aspx and Cs they have call [CODE]public partial class _Default : System.Web.UI.Page[/CODE] Help me create file connect SQL in Cs use all …

Member Avatar for kimlong008
0
229
Member Avatar for VasquezPL

Hi guys! I have a code: [CODE] String Lastlogon(string username, string domain) { try { { DirectoryContext context = new DirectoryContext(DirectoryContextType.Domain,domain); DateTime latestLogon = DateTime.MinValue; string servername = null; DomainControllerCollection dcc = DomainController.FindAll(context); foreach (DomainController dc in dcc) { DirectorySearcher ds; using (dc) using (ds = dc.GetDirectorySearcher()) { ds.Filter = …

Member Avatar for VasquezPL
0
1K
Member Avatar for madfase

Problem: How do you dynamically update a chart / graph in a single iteration loop in Visual Studio 2010 WinForms C# application? Scenario: I'm doing simulation-based computations where I have an array to represent values for my function along an interval. The function is time-dependant and so the values in …

0
93
Member Avatar for Moirae

Hello everyone! I have field in database table that is image type. I have to create model for this table (mvc3) and I don't know which data type to use. Any hints??

Member Avatar for crishlay
0
72
Member Avatar for shyla

Hello i am trying to solve the second part of this question i am getting these errors Error 2 Only assignment, call, increment, decrement, and new object expressions can be used as a statement Error 1 Use of unassigned local variable 'i' [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

Member Avatar for abelLazm
0
756
Member Avatar for sachintha81

I want to add a custom configuration section to my App.Config file in my C# 2010 project. I want the section to look like the following. [CODE]<DmModules> <Module Name="Module1"> <add key="DbType" value="..."> <add key="ConnType" value="..."> </Module> <Module Name="Module2"> <add key="DbType" value="..."> <add key="ConnType" value="..."> </Module> </DmModules>[/CODE] Of course there can …

Member Avatar for sachintha81
0
319
Member Avatar for KazenoZ

Hello, I've been looking into implementing a simple networking option to a program I'm working on, and have looked around at what my options are. The program is made in Managed C++(.NET), and so far have worked great. Browsing my options, I've found that .NET is also capable of networking, …

Member Avatar for KazenoZ
0
224
Member Avatar for dyingatmidnight

Just when I think I understand this stuff some else crops up to bite me. This part was supposed to be the easy part of the overall project so this does not bode well... What am trying to do is create an array of 32 variables that will be filled …

Member Avatar for mike_2000_17
0
281
Member Avatar for kool.net

hi, can any one tell me how to i print a page in c#.net. actually i need it to print receipt in my project. Help me. Thanx in advance

Member Avatar for ChrisHunter
0
410
Member Avatar for judithSampathwa

hi there, i want to develop a login in asp.net C#. please can someone give me a guide to develop a login web page using MVC pattern i am using visual studio 2008 please can some show how to create a login using MVC thanks

Member Avatar for abelLazm
0
171
Member Avatar for n3red

Hello, Can someone please explain to me because i do not understand the tutorials on pointers. anyways i have a struct: [CODE] struct driver { int id; char name[30]; int runs; } //I am reading a file which goes in order ID NAME RUNS as: 1 Super Man 5 //I …

Member Avatar for abhimanipal
0
160
Member Avatar for micmo

Hi Guys, I'm trying to create a simple webpage which has a login form. When the user successfully logs in, I want a cookie to be stored with the name "MyCookie", and a value of "1". Then I want the login form to hide and instead display a textbox with …

0
105
Member Avatar for vigneshkbv

I want to develop a Desktop application using web browser control and google local search API . could you give some idea? In my form have text box ,cmd button and web browser control.. when i type a search string in txt box and click button,the web browser control should …

Member Avatar for abelLazm
0
176
Member Avatar for mariusiacob

Any help would be appreciated with this program : I have a file with 5 lines....each line has name, id , phone ...etc... I have to read that intro an array of structures and display the results. This is what I have so far .. I doesn't not display anything …

Member Avatar for abhimanipal
0
3K
Member Avatar for sha11e

I want to make a project, have 3 files: main.cpp header.h declerations.cpp where i have all the function declarations. But I'm not sure how to link them all together. When I make a header file, it automatically types the #ifndef header_h but I thoguht that should be in the declerations.cpp?? …

Member Avatar for mike_2000_17
0
278
Member Avatar for VasquezPL
Member Avatar for VasquezPL
0
2K
Member Avatar for The physicist

Hi all, I'm sure it's an error by me, but I'm having a problem with ifstream inside a loop. The reason for the loop is read in a piece of text from multiple files, and cases within the switch statement change the filename, path is previously declared. The first iteration …

Member Avatar for The physicist
0
2K
Member Avatar for yapkm01

m reading c++ primer 4th edition by Stanley Lipmann and I'm on page 92 about value initialisation. I just don't understand when about value initialisation. I browsed around and I know there are also default initialisation and zero-initialisation. Can anyone explain about value initialisation? Coming to this paragraph .. clause …

Member Avatar for yapkm01
-1
321
Member Avatar for reet_bahl
Member Avatar for shyla
Member Avatar for Wegginho
0
57
Member Avatar for shyla

i am trying to solve that assignment and this is what i have so far [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CarInsurance { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, …

Member Avatar for pseudorandom21
0
184
Member Avatar for MoZo1

Ok, so I want to port my code to windows mobile, and I'm looking for a tutorial. I would like compatibility with WM5, and WM6 is a must. So I'll use the embedded whatever. I've got Visual Studio 2k8 and the 3 addon required to do the job. I've also …

0
149
Member Avatar for reet_bahl
Member Avatar for MackSwagga

I am trying to write a small program to keep track of my movie collection but I can't seem to get the streamwriter(I think thats what its called to work). Right now I am working on writing to a text file. I had a couple of questions though, will I …

Member Avatar for Momerath
0
170
Member Avatar for VasquezPL

I use code to retrive data from accounts in AD: [CODE] public string getproperty(string userDn, string type) { try { if (userDn == null) { err = true; return null; } DirectoryEntry uEntry = new DirectoryEntry(userDn); if (uEntry.Properties[type].Value == null) { return "No record found"; } return uEntry.Properties[type].Value.ToString(); } catch …

0
78
Member Avatar for geekman92

Hi me again! =) if you didn't already know i am making a simple HTTP Server using TCP/IP sockets for a project. i have a method to get an image and send it over to the browser but i am having problems doing so, i have tried doing it different …

0
113
Member Avatar for Skeldave

Hi, I have a few questions which I need answering please. I have a ListView and I need to get the text in the cell which is clicked. At the moment i have this but it only works for the first cell which is clicked and throws an ArgumentOutOfRangeException if …

Member Avatar for abelLazm
0
116
Member Avatar for kirtee2209

Hello. Im trying to add 2 times in C# windows form app. I have a function where I am retrieving a time field from database and adding it to another time which is in a texbox. I am able to retrieve the time field but when I am adding and …

Member Avatar for Mitja Bonca
1
5K
Member Avatar for Dean_Grobler

Hey C# people, Sorry for my topic title, I honestly didn't know what else to call it. I'm a Java developer and I'm looking into learning C#. I've read up a bit on it but I'm rather confuzed (as expected)... 1) Firstly, in java you can choose to use an …

Member Avatar for ddanbe
0
352
Member Avatar for CrazyProgrammer

Hi all, I wasn't sure where to post this, so I thought here might be best :D I have to develop a program that takes a webpage and extracts information from it, so I was wander how would be the best way to do this, without using an external library(like …

Member Avatar for daviddoria
0
141
Member Avatar for geekman92

Hi i need to make a [B]BASIC[/B] HTTP server for a project using [B]JUST[/B] TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =). [B]Anyway my problem:[/B] i have created the server and it all works so far but i haven't …

Member Avatar for geekman92
0
263
Member Avatar for sha11e

It's soon time for me to create some c++ program as a project for my class. But I have no idea what to do, any suggestions?

Member Avatar for floatingDivs
0
104
Member Avatar for loafie55

I'm having a lot of trouble with a project for school. The project calls for me to create a random guessing game with three different levels. Each level should consist of a random number between 1 and 30. I have set my code to show between 1 and 5 for …

Member Avatar for loafie55
0
2K
Member Avatar for Taibah

Hi all, Im started to learn windows.h libary. I want to add example some buttons with messages with more stuff in it but where i need to put that code i didnt find any torial about it can somebody help me out. [CODE]#include <windows.h> #include <stdlib.h> #include <string.h> #include <tchar.h> …

Member Avatar for Ancient Dragon
0
255
Member Avatar for goldeneagle217

I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program?

Member Avatar for Suzie999
0
157
Member Avatar for vincezed

can any one please help me with this... I am trying to load a treeview and listview from sql database but did not work.... so if any one know how to do that please help me with it.... Thanks vince

0
61
Member Avatar for goldeneagle217

I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program?

Member Avatar for Ancient Dragon
0
183
Member Avatar for charchar88

I'm new at C coming from java but I'm learning it in one of my college classes and so far it's a nightmare anytime I write a program with it :'(. I'm writing a Reverse polish notation calculator and I'm using gcc as my compiler. I want to be able …

Member Avatar for WaltP
0
226
Member Avatar for shyla

Hello, i am trying to solve that problem, it was already due for my class, an i am disappointed that i wasn't able to solve it can any body give a descent solution for that Q: The tiny tots tee-ball league has 12 players who have jersey numbers 0 through …

Member Avatar for abelLazm
0
280
Member Avatar for salty11

This is one part of my program, I need a loop that checks through the input(specifically the agent numbers) and then outputs the agent numbers that aren't in the input, from 1 to 20(because there should only be 20 agent). [CODE]void not_part() { ins.open(in_file); int i=0; int sum=0; cout<<"AGENTS WHO …

Member Avatar for WaltP
0
131
Member Avatar for CodyOebel

OK... I have a program that runs and sends output to a game window. It is a magic roleplaying game online. I am using getpixel to look for when my energy is down and then I send a double click to my healing potions. All is well and working. This …

Member Avatar for triumphost
0
1K
Member Avatar for CrazyProgrammer

Hi all, I have had a look around the forums but i could find anything, if someone could point me in the right direction for this. What is the best way to handle an sql connection, in my program I have to get data from the server on a button …

Member Avatar for gusano79
0
237
Member Avatar for easa056
Member Avatar for Behseini

Hi Guys, I am trying to make a connection with Oracle 11g which is installed on a server 2008 BUT have problems with the ConnectionString. Could you please let me know how I set a correct connection String while I have parameters like these: Database name: GISData Server Name : …

Member Avatar for debasisdas
0
328

The End.