4,588 Topics

Member Avatar for
Member Avatar for someoneelse

I need help with .net c# screen scrape. I can't seem to find an example in c# that works. I have this one in VB that wors but feel like an idiot bc I can't convert it correctly... <%@ Import Namespace="System.Net" %> <script language="VB" runat="server"> Sub Page_Load(sender as Object, e …

Member Avatar for tobyITguy
0
395
Member Avatar for Dankwansere

Hey guys, I've struggling to implement this solution for about a week now. We are using word templates that have inline shapes drawn inside. The inline shapes are used as a place holder to programatically insert image bar codes into the document. Previously we were using Ms.Interop.dll libraries to achieve …

0
116
Member Avatar for JerrimePatient

for example. name of field: f1 = "field1", f2 = "field2", f3 = "field3", f4 = "field4" how can I update the value of f2 and f3 without changing the value of f1 and f4. f2 = "new field2", f2 = "new field3" the new value of fields are. f1 …

Member Avatar for JerrimePatient
0
323
Member Avatar for philjen

Hi Im a newbie in asp.net, im a php programmer though, and i've been working on a pop up div with a search engine on it, in php i have no problem working with json but in asp it took me already two days to find a similar problem, yet …

Member Avatar for philjen
0
643
Member Avatar for Djmann1013

I am trying to make a MP3 player using axWindowsMediaPlayer, and I am running into some issues. When the song stops playing, it is supposed to go on to the next song in the list, but instead it locks up. I don't know how to fix this, I tried googling …

1
258
Member Avatar for mad_1

Hi , i need some help in completing a small task . " How to insert,update,delete record in data grid view using inline i.e (suppose if we update a record in the data grid then after click on the next row the data which is updated should be save directly …

Member Avatar for deceptikon
0
231
Member Avatar for somyms

i want to find efficency of cluster...I am using three clustering techniques kmeans ,dbscan ,hiearachical.How can i calculate best cluster am implementing in c#

Member Avatar for somyms
0
112
Member Avatar for tnd2491

I have 2 buttons name as "Build Start" and "Build Stop". what i want is when i click the stop button it will stop the execution of Building of all the projects. I have tried the Backgroundworker class but when i use the RunworkerAsync() function it will build only one …

Member Avatar for cgeier
0
1K
Member Avatar for DaveAmour

Do we have any TDD experts here? I have some questions but need an expert.

Member Avatar for DaveAmour
0
137
Member Avatar for alladin2010

i want to do the following :- transfer file from client to server using sockets in a windows based application. I am stuck at the server side code. Server side : ------------- my problem : how to receive file from multiple clients and save file on server c:\folder following is …

Member Avatar for modyalaskalany
0
5K
Member Avatar for senzeye
Member Avatar for happygeek
0
68
Member Avatar for Abheek88

Hi guys, I have to create a C# application which is able to mask images but I don't really get on with it... I thought I will use this example for the project: http://www.camera-sdk.com/p_248-how-to-implement-image-masking-in-c-onvif.html Any ideas or experiences? Has anyboby here used this? Any help would be appreciated. Thanks!!

Member Avatar for JerrimePatient
0
2K
Member Avatar for ddanbe

Hi all, Want to write some data from C# to Excel. Code enough I thought, here at DANI's and on the web. So I managed to come up with this : [CODE=csharp]private void DoExcel(string Fname) { Microsoft.Office.Interop.Excel.ApplicationClass excel = null; Microsoft.Office.Interop.Excel.Workbook wb = null; Microsoft.Office.Interop.Excel.Worksheet ws = null; Microsoft.Office.Interop.Excel.Range rng …

Member Avatar for HaiLuong
0
4K
Member Avatar for Abdullahi_1

private void Form1_Closed(object sender, System.EventArgs e) { // Create a PDF document object PDFDocument doc = new PDFDocument(); // Creates a PDF page PDFPage page = new PDFPage(this.Width, this.Heigh,PDFMeasurementUnit.Points); page.MeasurementUnit = PDFMeasurementUnit.Points; // Parses controls on the form for (int i = 0; i < this.Controls.Count; i++) { Label label …

Member Avatar for JerrimePatient
-1
410
Member Avatar for flebber

I am trying to solve a simple problem. But I am stuck by a simple problem I am confused by "context" in c#. So for this simple problem I am solving Euler problem 1. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Timers; namespace Euler …

Member Avatar for cgeier
0
298
Member Avatar for blueshiftdani

I want to deploy a database application in C#. I should write a script for creating a database and its tables. The script should work only at install time and setup the database automatically. Or tell me if there is another better way to do that. Actually I wanted to …

Member Avatar for djjeavons
0
424
Member Avatar for blueshiftdani

I am trying to store a value from a selected row from one table into another. My code is as follows. string CustomerID = textBox1.Text; SqlConnection con1 = new SqlConnection(ConfigurationManager.ConnectionStrings["ConString"].ConnectionString); con1.Open(); SqlCommand myCommand = new SqlCommand("Select CustomerID, Name from TableCustomer WHERE (CustomerID like '" + CustomerID+ "')", con1); SqlDataReader rdr …

Member Avatar for blueshiftdani
0
4K
Member Avatar for DustinS

I made client & server programs in C# based on this example code. c# client program: IPHostEntry ip = Dns.GetHostEntry(tbServer.Text);//"MyComputer-MSI" string addr = ip.AddressList[0].ToString(); TcpClient clientSocket = new TcpClient(addr, 1234); At the last line above, I got the message: An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in System.dll Additional information: …

0
109
Member Avatar for RikTelner

recently ive seen video of a man which showed on how A* works, that is some algorhythm for pathfinding in 2d in games, to show this he made a game in c# (visual studio only), where he could explore the "maze" board in 3d and could see the red square …

Member Avatar for RikTelner
0
2K
Member Avatar for soraa

hello, i m working on connecting sqlData with C# form showing data detail on text boxess like ID,name,occupation.and doing the search by entering the ID on textbox then clicking the button to show the details i'm just a beginner in C# so i did the the coding like this and …

Member Avatar for soraa
0
609
Member Avatar for Yuki_1

Hi,I would like to do a sorting when i had add new record,the new record must shown on the top of datagridview.It will always show latest record on top of the others old records.I had try several method that found from website but still cannot work!!! **code for load database …

Member Avatar for djjeavons
0
301
Member Avatar for Rohith_1

Hi, i am developing an application in C#,i have create database1.mdf by right clicking on my project,add item then creating a database. my intial problem was,i was able to execute query correctly but those modification wasn't reflected in main database finally after lot of surfing i changed copy to output …

Member Avatar for hericles
0
265
Member Avatar for Yuki_1

Hi, in my project i need to update the attn_dateTimeOut in database.After i updated it will automatic delete the specific row record that had been updated. I had two question: 1) in my database there are a few table is assign not null."attn_dateTimeOut" is a table that haven insert any …

0
104
Member Avatar for JerrimePatient

What is the `advantage` and `disadvantage` of the two loops? I don't know their `deferrences` to `each other`. the truth is I don't know where will I use the `for loop` or the `foreach loop`.

Member Avatar for deceptikon
0
370
Member Avatar for AleMonteiro

Good night dani people. I'm current developing a project that needs an web API to list all directories and files, and also provide a method to search by name. I already got it working with Sytem.IO.DirectoryInfo at real time. //Folders foreach (DirectoryInfo info in _dirInfo.GetDirectories()) { } //and files IEnumerable<FileInfo> …

Member Avatar for AleMonteiro
0
225
Member Avatar for kubi081

Hi, I have two projects; First one is a asp.net web project and the second one is embedded http server library project. Embedded http server project is taken from : embedded http server project I want to save a video file from user's local to user's shared storage. I'm getting …

Member Avatar for kubi081
0
354
Member Avatar for coder91

I need a timer of some sort so that my program will send a batch of files every 10 seconds. Not sure if I can do this using threading? or maybe theres some other method. Just looking some advice as to what would be the best option. At the minute …

Member Avatar for pritaeas
0
127
Member Avatar for ddanbe

I’m working on a little matrix class for my own use and because for me, it is just fun! Now I noticed a lot (10 and more) of the methods always seem to follow the same pattern: - Iterate over the rows - For each row iterate over the columns …

Member Avatar for ddanbe
0
354
Member Avatar for get2tk

having problems with this codes. When tested it keeps giving me the error message "Your message failed to send, please try again. " using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Net.Mail; using System.Net; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, …

Member Avatar for DaveAmour
0
1K
Member Avatar for Rohith_1

Hello, I am currently doing my 8th sem project,my project is tracking of surgical instrument in hospital. what i am doing is i will be storing all the details of instrument which are used in operation, in local database. So after operation i will be sending all the instrument name …

0
111

The End.