4,588 Topics

Member Avatar for
Member Avatar for vishal anand.s

Hi my name is vishal i was wondering on how to make my global variable accept values from another table in c# windows forms with sql server 2008? So i am developing an application named:**Mini Project** which has a login form named:**frmLogin**. Given below is **c# code** of **frmLogin**: namespace …

Member Avatar for vishal anand.s
0
330
Member Avatar for ocw91

Hi, i was trying to call JQuery function from my backend C#. the JQuery function testtesttest(testurl,counter) { $("'#imgThumbnail"+counter+"').attr('ImageURL','"+testurl+"'); $('#imgThumbnail'+counter+').show(); } backend C# code int counter = 0; while(counter<list.Count) { int imgcounter = 1; string testurl = list[counter]; ClientScript.RegisterStartupScript(this.GetType(), "sc", "testtesttest("+testurl+", "+counter+")", true); imgcounter++; counter++; } I trying to pass 2 …

Member Avatar for ocw91
0
178
Member Avatar for kalidas.rajendran.1

i am lookng for some sample c coding for fuzzy logic, can anyone help me in developig fuzzy logic in c,.. i had developed my fuzzy rules in matlab, now i hav to develop the c coding for the developed model, can anyoe help me in developing the c code, …

Member Avatar for nelsonfaboan.rios
1
2K
Member Avatar for PsychicTide

Hey guys, having a bit of trouble with a customized eCommerce. The part I want to focus on is the adding of an item to the shopping cart (and the details that go along with each item). Everything works as is with the things I need commented... initial call to …

Member Avatar for PsychicTide
0
416
Member Avatar for vishal anand.s

Hi my name is vishal for past 6 days i have been breaking my head on how to get id(user_id or manager_id) of currently logged in user in my application in c# windows forms with sql server 2008. So i have a application named:Mini Project which has a login form …

Member Avatar for vishal anand.s
0
398
Member Avatar for MARKAND911

Following is the code which sends single embedded image very fine from Outlook using c# public void sendEMailThroughOUTLOOK() { try { Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); string imageCid = "image001.jpg@123"; oMsg.HTMLBody = String.Format("<body><img src=\"cid:{0}\"></body>", imageCid); Attachment attachment1 = oMsg.Attachments.Add(@"E:\wallpapers\WRLDMAP.jpg", OlAttachmentType.olEmbeddeditem, null, "img"); attachment1.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001E", imageCid); //Add an …

Member Avatar for cgeier
0
606
Member Avatar for vishal anand.s

Hi my name is vishal for past 6 days i have been breaking my head on how to get id(user_id or manager_id) of currently logged in user in my application in c# windows forms with sql server 2008. So i have a application named:**Mini Project** which has a login form …

Member Avatar for AleMonteiro
0
465
Member Avatar for ahmedsaad8
Member Avatar for MasterHacker110

I was looking around on the web about robotics programming, especially the Lego mindstorm EV3. I was looking at what programming languages this platform supports. I saw that you can program it in Java ME(understandable as Java is everywhere today) and in C#. I thought that C# was a windows …

Member Avatar for MasterHacker110
0
611
Member Avatar for bananacat

I'm a little bit stuck at this moment. As of now, this is the code that I have: private void btnChangeImage_Click(object sender, EventArgs e) { using (OpenFileDialog openFileDialogForImgUser = new OpenFileDialog()) { string location = null; string fileName = null; openFileDialogForImgUser.Filter = "Image Files (*.jpg, *.png, *.gif, *.bmp)|*.jpg; *.png; *.gif; …

Member Avatar for cgeier
0
4K
Member Avatar for Prasadd

Hi ppl, I am new to this grp and looking some friends. anyways, I am facing problems while usign UserControls in C#. the error says that the references might be missing etc. But, Ive used the same previously and it worked without any problems. I'll be thankful to anyone offering …

Member Avatar for ChrisHunter
0
189
Member Avatar for Gurleen_Kaur

In my Windows application, I want to create an automation software using C#.NET which works in two steps: 1. Select particular data and copy it from a page of a website. I have done it using web browser control for SelectAll. The data is not HTML data but databound data. …

Member Avatar for du_1
0
315
Member Avatar for vishal anand.s

Hi my name is vishal for past 3 days i have been breaking my head on how to block/restrict a user on 3 unsuccessful attempts by him/her into application in c# windows forms with sql server 2008. So i am developing an application named:Mini Project, which has a mdi parent …

Member Avatar for fikreyes
0
894
Member Avatar for ashu_avni

I am using below regex to find urls in paragraph.I have to make url as sysetem local path,Network folder path,web urls. Its not working in some cases.I need help to make generic regex which test urls in paragraph as my requirement. @"(?:(/>/>/>(http:\/\/www\.)|(www\.)|(http:\/\/)|(https:\/\/)|(https:\/\/www\.)|((ftp|gopher|telnet|file|notes|ms-help):(/>/>/>//)))+[\w\d:#@%/;$()~_?\+-=\\\&]*)|(?:(/>/>/>\\\\)|[file\:|[\w]\:|[\\w])(\\[a-z_\ \-\s0-9\.]||///+)+(.*)? Url Samples: \\Test-2\Users\IT Administrator \\Test-2\Users\IT Administrator is …

0
140
Member Avatar for nathan.pavlovsky

Hello programmers! I recieved the following assignment to do in C#.net: It is a class that: * Accepts an HTML report string * Converts the HTML string into a PDF file using PDF Creator (free open source library) What are some utilities that I will need to use? I so …

Member Avatar for du_1
0
953
Member Avatar for redalert8
Member Avatar for arunkumars
0
88
Member Avatar for iConqueror

I know that the main difference between an array and a list is that a list size changes dynamically as items are added or removed. Because of this, if we copy an array to a list does that mean that the list must have a static size of the array's …

Member Avatar for deceptikon
0
177
Member Avatar for MasterHacker110

I am trying to write some information to an access database using OleDB but I get an error. I dont know what is wrong with it. I it something to do with my SQL code? // The program will make use of a text file for now but must use …

Member Avatar for MasterHacker110
0
195
Member Avatar for Jack_9

I was wondering because I know that you can do things such as create a website using php and such. And then there can be an instllable file, one for the user one for the admin. Then there can be mobile apps that all run on the same database. My …

Member Avatar for almostbob
0
156
Member Avatar for skp03

Hello Everybody i am using VS2010 C# Windows application i have a doubt how can we encrypt a video file (i have three video files which should not copy and it should not be opened directly) i have designed a application that has a form1 and three buttons in it …

Member Avatar for Mike_Gr
0
594
Member Avatar for Jack_9

In my opinion, c# is better then java. Espicially because it runs upon the .NET framework. But java can run on virtually any device. They re both alot alike, so which one would be better to learn?

Member Avatar for ChrisHunter
-1
235
Member Avatar for JNDZ

When I calling AS400 stored procedure from C# application I get this error MSG - ERROR [42S02] [IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0204 - GVSP07 in TESTGV type *N not found. Please anyone can help me??????

Member Avatar for cgeier
0
2K
Member Avatar for michaelEW

Hello guys, Pls help me, I really need your help! In my workplace we've got a Micron SCORPION Z4120C alarm system that's been connected to the Central Station. But my boss would rather like to monitor the system on his own. And I'm in charge of finding out the best …

0
141
Member Avatar for kalcio

Hi, I want to use the microsoft office theme (rubban for example,the word button's form) in my C# wpf application,is it possible? I work with visual studio 2010 thanks for help

0
159
Member Avatar for vaibhav_3
Member Avatar for Marco25Me

Hello and many thanks to all for your attention. I need to draw an HTML menù (<ul><li>...) over data retrieved from a table with a schema like this: id(int autoincrement), parent_id(int), childs_count(int), description(varchar). Where id fields is a identifier for a category and parent_id identify parent category for child. I …

Member Avatar for castajiz_2
0
144
Member Avatar for Pca.Sherry

Hello there, Basically i'm willing to create an application which could share Video,Mp3 Over the internet to my friends. For suppose I'm hosting file on my PC, and i want to share "D" Drive to my friends but they aren't connected to my network locally. i want to share movies …

0
72
Member Avatar for lithium112

I have been looking everywhere for an answer to this but haven't been able to find one. Would anyone happen to know how to add a button to the cell of a datagridview? Thanks in advance!

Member Avatar for lithium112
0
42
Member Avatar for bigredaltoid

Hi guys and sorry if this is the wrong forum. I am messing around with visual studio and trying to make a picturebox move around on a form when a user clicks a directional button on the form. I am able to move the picturebox any direction I want by …

Member Avatar for bigredaltoid
0
249
Member Avatar for bananacat

First off, I'm sorry if this is gonna be some noobish question. I need advice for managing my multiple windows application forms. I'm programming C#, aided by Visual Studio 2013. Class Program.cs This contains the main method, where everything begins, and everything ends. static class Program { /// <summary> /// …

Member Avatar for cgeier
0
387

The End.