199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for BrunoRosales

Hi everyone, I have a question and I would greatly appreciate any help with it. Here it goes: I have a SQL Server Database that I am trying to display data to a data grid with. However, I have a drop down box and three radio buttons that will allow …

Member Avatar for daniel955
0
113
Member Avatar for racoon8995
Member Avatar for vijayan121
0
173
Member Avatar for Frederick2

My title says it all! I'm completely mystified by this - have been working at it all day with no resolution. The fundamental assumption under which I am laboring is that when a Dll is loaded into a host's process, the Dll will receive a DLL_PROCESS_ATTACH message. I have been …

Member Avatar for Frederick2
0
1K
Member Avatar for dansnyderECE

I need to convert an ASCII string like... "hello2" into it's decimal and or hexadecimal representation (a numeric form, the specific kind is irrelevant). So, "hello" would be : 68 65 6c 6c 6f 32 in HEX. How do I do this in C++ without just using a giant if …

Member Avatar for vijayan121
0
220
Member Avatar for personx1212

Hello there, i have this problem when i try to combine a variable file name that is in languages other than English with a path, like this : path = 'C:\\Files\' path+=UnicodeName+'.txt' it gives the following error : UnicodeDecodeError: 'ascii' codec can't decode byte 0xda in position 7: ordinal not …

Member Avatar for personx1212
0
119
Member Avatar for har58

Hi, I need to select 5 distinct random numbers out of 20 in my java program. I am able to select 5 random numbers, But I want these 5 numbers to be distinct,,,i.e. unique for e.g. I dont want them to be like these 5,6,9,6,1 because 6 is repeated I …

Member Avatar for tong1
0
175
Member Avatar for cocoll

hello! i create a programme that's used my hotmail account so i send e-mail to another account so it's worked but on another computers it's doesn't work and i don't know why in my laptop the programme work and in another laptops or desktops the programme don't do anything. so …

Member Avatar for cocoll
0
93
Member Avatar for مصعب علي

hi all, this is first time connect php with mssql 2005 code : [CODE]<?php $myServer = "srv\ins"; $myUser = ""; $myPass = ""; $myDB = "db1"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); //select a database to work with $selected …

Member Avatar for pritaeas
0
1K
Member Avatar for phploveisgood

Hi! Please do anyone knows how i can implement something like this in my ecommerce shop? Here is the link:[url]http://www.restorationhardware.com/rh/design-gallery/index.jsp?link=designgallery_home&cm_re=DG-_-Category-_-Home&navAction=jump&navCount=0&categoryId=cat1699014[/url] Best Regards to everyone

Member Avatar for pritaeas
0
148
Member Avatar for ftl25

Hi. I am a C/C++ newbie. I am looking for advice on best practice. I am building an application which will take an input command (string), compare it with a list of stored commands, and go off to the relevant function. What i'd like to know is; what is the …

Member Avatar for mike_2000_17
0
181
Member Avatar for jingo1126

hello guys? i was recently studying how ajax work, problem is i followed some codes on the net and check if they work..they work on the site,but the time i tested those codes it wont work anymore..any ideas?ive tested js and it works on my browser... [code] <html> <head> <script …

Member Avatar for jingo1126
0
115
Member Avatar for technopup

Can anyone help? I want to execute a function depending on what select dropdown is chosen. The select name is dynamic so I need it to happen in one function loop For e.g. The following function works and returns the correct class but its not going to work for my …

Member Avatar for technopup
0
149
Member Avatar for java_programmer

I am writing a web service using apache axis which will accept a XML Message , process it and return another XML Message. But I am not getting any hints how to describe the input and output in WSDD file. Could anyone please suggest?

Member Avatar for sam2011
0
153
Member Avatar for manavsm

Please help me to develop this simple windows login form problem is i am unable to validate my user name and password... [CODE] namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { login(txt_username.Text, txt_password.Text); } public Boolean …

Member Avatar for raj_developer
0
357
Member Avatar for zia zia

I need some help with my coding:(. I have a php file with a delete link. It flags the user record with "1" when delete is clicked. What I don't know is that "how to remove the user record from my php file". The user record is fetched from mysql …

Member Avatar for manzarr
0
4K
Member Avatar for Malinka

Hello everybody! I have to go through each subfolder and extract matching strings from each of the files (File_1, File_2, File_3, File_4, etc.). Unfortunately, I don't know how to do that under Linux. I have the following structure: MainFolder: ---Subfolder A ------File_1 ------File_2 ------File_3 ---Subfolder B ------File_4 ------File_5 ------File_6 ---Etc. …

Member Avatar for Gribouillis
0
9K
Member Avatar for dlnicholas1

I am desperately trying to figure out HOW to add tracking code to my rotating banner. I have random "onload", rotating banner ads on my website. The script works like a charm and will randomly load a banner ad when you go to the site and will continue rotating the …

Member Avatar for dlnicholas1
0
178
Member Avatar for newworldcoder

I am very new to development and have been sinking my teeth into C#. I have an application that was written in C++ which is out of my depth, and I was wondering if someone could explain how I would recreate this in c#. The application sends message to linux …

Member Avatar for sundip
0
364
Member Avatar for ahmksssv

Hi frnds.... i need Javascript Validations...these validations by using [B]onchange or onblur[/B] events..i mean when focus out from a textbox or any field then immediatley shows the error msg and focus will be at error field(not after submitting the form)..i want error immediatley focus out from the field...plz provide 4 …

Member Avatar for Sam_john_2010
0
116
Member Avatar for Naveed_786

Dear All, I have a problem i have made setup of my project when i install it and run the program it asks for the complete path of database like this "C:\Paymentsystem\PaymentSystem\bin\Debug" is there any way i want to change the path i mean i want to place database in …

Member Avatar for Naveed_786
0
92
Member Avatar for Matt Tacular

Does anyone know an easy way to do array's of arrays? I'm not 100% sure this is the thing I want though because I just need a simple way to make a loop able to change the list it's comparing. I have the loop done, I just can't figure out …

Member Avatar for chanthutshamsu
0
171
Member Avatar for samivel

please guide me how to insert a picture to a particular cell in excel sheet? I used the following code, but it inserts the picture in the excel file not in the cell I specified. Dim xApp As Object Dim xWb As Object Dim xWs As Object Dim img as …

Member Avatar for Pilgrim-Last
0
175
Member Avatar for LloydFarrell

Hello all, I have spent a good few days looking over daniweb trying to get the right answer, But I am yet to find what I am looking for. I have successfully upload my image to a folder store and named my uploaded image. The path and file name is …

Member Avatar for metalix
0
474
Member Avatar for ankitpsaraogi

This is the form.cs in my REMOTE SERVER [CODE=c#] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; using Microsoft.Win32; namespace remoteserver { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, …

Member Avatar for ankitpsaraogi
0
168
Member Avatar for MDanz

when posting a new message on my forum and it contains a url. How do i automatically add the bbcode url tags to a url in the message?

Member Avatar for metalix
0
86
Member Avatar for sw22

Hello, What is the right way to delete an object I do not need to use anymore ? is the next line right only in VB6 ? myObj = nothing thank you

Member Avatar for rkmasternet
0
56
Member Avatar for Eclipse414

guys, i have this function: [code] Public Function GetDataSource(ByVal dataItem As Object) As DataTable Dim intNo As String = DataBinder.Eval(dataItem, "Item_No") Dim blahdt As DataTable = tempdt [COLOR=Red]'blahdt.DefaultView.RowFilter = "Item_No='" & intNo & "'"[/COLOR] [COLOR=Navy]'blahdt.Select("Item_No='" & intNo & "'")[/COLOR] Return blahdt End Function [/code] i want to filter my datatable, …

Member Avatar for awaishafeez86
0
152
Member Avatar for Hardz

H! There! I have a problem in c# that require sorting of names of students in a sql database and i want it to be specific, i used data grid view to view the data of the students as shown below: Students First Name: Ann Antoinette Bernadette Brenda Jeannette Judith …

Member Avatar for Hardz
0
117
Member Avatar for shane711

Dear all, let me explain how my datagrid work. The datagrid have 10 columns and 21 rows. The datagrid value will be updated every 5 minutes. Actually what I want is to compare the value before 10minutes with the current value which show in the datagrid. The value that I …

Member Avatar for Geekitygeek
0
194
Member Avatar for pratz

Hello, If I am not wrong then the method with protected access modifier can be accessed by the same package and the sub-class outside the package. But I have problem regarding the same I have two packages p1 and p2, but when I try to access the method (protected) of …

Member Avatar for masijade
0
220
Member Avatar for pamikrom
Member Avatar for wade2462

(Read Title) I honestly have no idea how to do this. I've tried diagnostics.stopwatch, system.timespan , and system.datetime, but I can't wrap my head around how I would do this. Any suggestions?

Member Avatar for Geekitygeek
0
153
Member Avatar for Maya Pawar

Hi friends, Plz anybody can tell me, How to retrieve only date from DateTime in vb.net in dd/MM/yyyy format and I have a field in table in access 2007 which has date/time datatype. Data is stored in datetime format.(04/08/2010 12:01:07 AM) I want to retrive only dates which are in …

Member Avatar for raj_developer
0
110
Member Avatar for umandajayo

hei flocks, I am developing a website using phpwcms. I need to develop a file upload module module for it.I need to study it.can you guid me..? thank you.

Member Avatar for umandajayo
0
60
Member Avatar for daniel955

Hi everyone, Creating a software with C#, does it require many forms? because I want to create a elementary grade 4 math courseware, but I only know how to create a basic calculator with C# >_<. I just started 3rd year computer science and, our group's thesis proposal has been …

Member Avatar for octavia
0
107
Member Avatar for Rkeast

I am posting this code snippet as I continue to see login and user registration scripts that store passwords in databases as unsalted md5 hashes, and passwords in cookies as raw text. This snippet includes an example user registration function, as well as an example user login, login check, and …

Member Avatar for metalix
0
519
Member Avatar for manavsm

hey can u help me out with the below problem The problem i that when i click on country i should be able to select the corresponding states...i have done this in asp.net and it works fine but here when i try to select the country here nothing happens and …

Member Avatar for Geekitygeek
0
91
Member Avatar for yoni0505

Hi there, I want to make a program with visual C++ 2010 using windows form. My problem is that I want to include "windows.h" and I can't find out how to do that. I want to include "windows.h" to use functions such as SetPixel() and some others... If it's possible, …

Member Avatar for yoni0505
0
960
Member Avatar for metalix

To view this tutorial with notes at [URL="http://www.effectivewebdesign.co.nz/tutorial.php"]http://www.effectivewebdesign.co.nz/tutorial.php[/URL] yes I am aware this is more php than mysql. howerver I get asked how to do it so often I thought I'd post it here aswell :)

0
791
Member Avatar for akanchha

hello, iam a newbie in the .net world recently i have been assigned a project by my organization to make a portal using vb.net which would list all the files and folders kept at the server, and i need to add a functionality wherein on a single click the user …

Member Avatar for Oxiegen
0
2K
Member Avatar for cgcgames

Hi Everyone. I have been Looking around for a Tutorial on Forms in Visual C++ I found a nice graphical calculator walkthrough for C# but the code for C# and C++ is a little diffrent and I cant get it working in C++. I am trying to make a Form …

Member Avatar for kirennian
0
238
Member Avatar for AngelicOne

I'm rather curious about sound effects in windows form, instead of showing messagebox alone, is voice prompt exist in visual studio 2008 -- maybe using an mp3 or wav file?

Member Avatar for Geekitygeek
0
79
Member Avatar for niths

hi all, i am having a page with date picker. so now when i select a date, images uploaded on that date will be displayed in a table.The date picker will not change,only the below div will change. so now i had a edit button beside date picker.so when i …

Member Avatar for metalix
0
143
Member Avatar for ecksdee

Hello... I am pretty new to Java and I am experiencing some frustration with loops. I have a few problems here and I hope that you guys could point me in the right direction. My first problem is with the looping in the program below. No matter what is input …

Member Avatar for danzz143
0
175
Member Avatar for DATABASE

[COLOR=darkred]hi I have some questions in VB.Net[/COLOR] [COLOR=darkred][/COLOR] [COLOR=darkred]1- how can I retrieve data by VB.Net from database using MS Access database? 2- can I retrieve data from a database and list them in a [COLOR=blue]CheckedListBox[/COLOR]? [/COLOR] [COLOR=darkred][/COLOR] [COLOR=darkred]thanx[/COLOR] [COLOR=#8b0000][/COLOR] [COLOR=#8b0000]Please help me :-| [/COLOR]

Member Avatar for durgeshmali1987
0
325
Member Avatar for newperlniu

Hi, all, I am a Perl newbie. I need to read multiple files in a loop and read each file into an array. I wrote the following code, but it doesn't work. Basically my question is how to assign a different array in the loop? Can anybody help? Thanks a …

Member Avatar for balamurugan_g
0
3K
Member Avatar for viv0411
Member Avatar for sundip
0
116
Member Avatar for preetg

hi.. i m getting parse error ...... can anyone help me how can i remove it........... [B]Parse error: parse error in c:\apache\htdocs\newhr\attendnce.php on line 21[/B] [CODE] <?php mysql_connect("localhost","root","root"); mysql_select_db("master"); $dates = array(); $employee = array(); $attendance_record = array(); $getdates = "select * from mar10 order by Date" or die(mysql_error()); $dates_resultset …

Member Avatar for amitrohilla
0
690
Member Avatar for libathos

so i have written a c program...my question; is it possible in any way that it will execute itself whenever say a flash disk is in input or the file that contains it is opened??

Member Avatar for libathos
0
94
Member Avatar for lm111

Hello, I'm trying to create an app where the user can search the database using different controls. For example let's say the user can search by date (calendar control), country (DropDownList), states (DropDownList) and cities (DropDownList). So far I have the DropDown controls working. The user selects whatever they want …

Member Avatar for rohand
0
103

The End.