4,588 Topics

Member Avatar for
Member Avatar for evilmarksman

im really stuck with this program as i was sick when this unit was covered and havent a clue on how to write it *crys* and i dont get it done iv been told i cant do the course for next year dispite passing everything else. level 1 1. get …

Member Avatar for zachattack05
0
97
Member Avatar for Arjun_Sarankulu

There are nearly 150-200 char in the line from a file which i am reading but while writing to another file i want to make it 1000 chars padding spaces after few char from a file which i am reading. Can any one help me for the same

Member Avatar for Momerath
0
104
Member Avatar for ibdatx

Hi, Can anyone get the translation of this xaml code to c# code? In order words, I am trying to set listbox items to be displayed in the textblock encapsulated by stackpanel, datatemplate and within listbox.itemtemplate. I am trying to do this from the back end and not using databinding. …

0
92
Member Avatar for kimmi_baby

Hi there, I'm new to C# and I have to admit it feels very overwhelming. I was wondering if anyone could help me and explain it to me so that I can understand. Here's my code... [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Counter1 { public class Counter …

Member Avatar for lianpiau
0
105
Member Avatar for Jessurider

Hey can anyone tell me how to give an icon image to the project...............the icon image is also attached below

Member Avatar for lianpiau
0
88
Member Avatar for hopefree
Member Avatar for Jessurider

hey i've made a project...........in that form1 is the main page............can anyone tell me how to make form2 as the main page.............

Member Avatar for Jessurider
0
57
Member Avatar for Jessurider

can anyone help me........... i've created a form1 with a progressbar............and i want the form1 to close at the time when the progressbar reaches 100.........and at the same time i want form2 to display............ can anyone help me to do that............

Member Avatar for Jessurider
0
84
Member Avatar for manu_gupta

Dear All, I need to draw a line between any two area's stated in the geographic map( like google map ). From where I can get these kinds of map or can I implement it using ASP.NET/C#. This should be very similar to getting the direction between two places in …

0
39
Member Avatar for murtazanaqvi

[CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="managesurveys.aspx.cs" Inherits="managesurveys" %> <!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 id="Head1" runat="server"> <script type="text/javascript"> function newAttribute() { var d = document; // get field labels var lbl_attribute_new = document.getElementById('js_lbl_attribute_new').value; var lbl_attribute_del = document.getElementById('js_lbl_attribute_delete').value; var lbl_property_new = document.getElementById('js_lbl_property_new').value; var lbl_property = document.getElementById('js_lbl_property').value; …

Member Avatar for prvnkmr194
0
590
Member Avatar for canadiancoder

Hi Folks, I'm hoping this is a trivial question with an equally trivial answer. I've got a C# program that I'm experimenting with, which simply passes an array of doubles and the size of the array to a C++ DLL. The DLL will then simply add 500 to each element …

Member Avatar for canadiancoder
0
136
Member Avatar for borkarparesh

[code]private void webpage_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { SqlCommand cmd = new SqlCommand("SELECT * FROM [blacklist] WHERE BlackListed_Sites = '"+ webpages + "'", cs); cs.Open(); cmd.Connection = cs; SqlDataReader reader = null; reader = cmd.ExecuteReader(); if (reader.Read()) { CheckState.Checked.ToString(); MessageBox.Show("Blocked"); } else { string url = ComboAddress.Text; if (url == "") …

Member Avatar for Wegginho
-1
705
Member Avatar for arjunpk

Hi.... I have just written a c# code which connects to a web server.... Pulls out xml, extracts data and inserts the data onto a database..... however i have a small problem scrubbing certain data of junk values..... few examples of the data i want to scrub are posted below... …

Member Avatar for arjunpk
0
660
Member Avatar for haripriyamca05

I want to send simple mail from my web application through asp.net c# code. I have lot of sample codings to send mail but i need a proper guide to enable smtp server in my localhost since i dont have any static ip or web server. My system is in …

0
83
Member Avatar for lianpiau
Member Avatar for Dasharnb777

I have 5 strings, such as: "one", "two", "three", "four", and "five". I need to get all permutations of these words. I've explored all internet resources, but all solutions are so bulky and it's hard for me to understand it and integrate it to my program. So, maybe you know …

Member Avatar for Momerath
0
2K
Member Avatar for micmo

Hi Guys, I have two forms (Main and Sub). There will only ever be one instance of Main, but can be many open windows of the Sub form. What I want to do is know which Sub form was the last form to have focus when switching to the Main …

Member Avatar for zachattack05
0
10K
Member Avatar for Chellam2

A practice exercise requires the creation of a text file with 4 lines of info for cars, VIN, model, manufacturer, and year repeated over and over for different vehicles. This I do with StreamWriter and have a simple multiline text file as follows: 111111 Echo Toyota 2005 222222 Accord Honda …

Member Avatar for jonsca
0
220
Member Avatar for nutrion

Is it possible to read the registry from VS C# 2010 Express? I don't seem to have all of the necessities in the autocomplete selections: [CODE] RegistryKey key = Registry.LocalMachine; [/CODE] I have "using Microsoft.Win32;" imported and what happens is it doesn't seem like the object is created. I've seen …

Member Avatar for nutrion
0
238
Member Avatar for Jessurider

hey can anyone tell me how to remove the delay in webcam video streaming..........i've created a webcam capturing project but find little delay in the video streaming

Member Avatar for Momerath
0
143
Member Avatar for liam0014

Hello, I posted yesterday regarding my issues with adding rows to a database, this is now solved and I am grateful. Once the rows were added to the database the list box that displays one column of the database did not update so I included the following code after the …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for pdoyle1521

First I want to thank you for the help and I am somewhat new at C# so forgive me if I have something listed wrong. This is what I got: I am working on a school project designing a car dealership website. I have an inventory list that allows you …

Member Avatar for pdoyle1521
0
204
Member Avatar for liam0014

Hello, I am quite stuck. I have my database running on a seperate machine from where I am writing my application. The connection between Visual Studio and the database seems to be fine as I can display data in various controls on the GUI. My problem arises when I try …

Member Avatar for prvnkmr194
0
518
Member Avatar for AniWeb

hello all, I have database named 'Marketing', and want to bound DropDownList control with it using 'add connection' dialog box in the C#.net. I gave datasource: 'Microsoft SQL Server Database File (SqlClient)'. And when I give DataBase file name as 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\Marketing_Data.MDF', I get error while testing the …

Member Avatar for lianpiau
-2
1K
Member Avatar for lianpiau

Hello expert, I had a problem in C# datagridview. I want display last month data or ?days only when form load. I know use SQL query. But the problem is at datetime and string. my idea is today date - 30 days. [CODE]private void OT_Load(object sender, EventArgs e) { ConnectionStringSettings …

Member Avatar for lianpiau
0
1K
Member Avatar for manugm_1987

Hello everyone , Is there any way to add dll reference to a c# proj at runtime ..... FOr eg i hav windows form called form1.cs and dll called projlib.dll. Now when i click a button the reference to the dll should be added at runtime. I.e programatically add dll …

Member Avatar for Momerath
0
58
Member Avatar for ashish101

Hello ppl, I have recently started C# and while going through initial pages of bitwise operators 1 doubt came into mind. v know dat int is of 32 bits in C#. Suppose i take a number and assign some value to it and then after left shifting it by 32,the …

Member Avatar for ashish101
0
199
Member Avatar for devfresher

c# interview questions are generic collection faster. I had a argument with the interviewer and my thought is they are not faster please help.

Member Avatar for khadakbist
0
197
Member Avatar for lianpiau

I'm got write a simple calculation. which only use % and / .but when i key in different number. the result is different.Who can help me. [CODE]private void button1_Click(object sender, EventArgs e) { decimal x = txtPer.Value; decimal y = txtQty.Value; decimal j= y / x; decimal k = y …

Member Avatar for lianpiau
0
242
Member Avatar for Chellam2

Greetings to all, Wondering if someone can help me with a basic VS C# problem? Help much appreciated. I can read my plain text file into an array and display one line at a time on the console with this code. int indexInt = 0; string fileString = ""; string[] …

Member Avatar for Mitja Bonca
0
349

The End.