199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for london-G

Hello, I have my database application containing all the customer information. The application is linked to my SQL using jdbc driver. I would like to know if it is possible to send email automatically every months(like a newsletter) with netbeans? If yes, how can I do it? Thank you.

Member Avatar for london-G
0
109
Member Avatar for Mve83

Hi I know this can be done, just don't know where to start. I am creating a site and have a multiple select box in a form I am going to pass to this form data from a database to be displayed as values. I can do this no problem. …

Member Avatar for pritaeas
0
188
Member Avatar for JellybeanFB

sqlBulk.WriteToServer(excelReader); string removeCharacter = "Select Replace('Price', '$ ', '') FROM #temp"; sqlCommand.CommandText = removeCharacter; I'm importing an excel file into sqlserver, I'm trying to remove the $ sign before I import the field into the database. The above code just does nothing $ sign still imports, also no error.

Member Avatar for Oxiegen
0
361
Member Avatar for CriticalError

I have a column called pEditDate in the table rc_Pages I need to extract the date for each page so when the users goes to page /example the last edit date shows at the bottom. I try to do is but can't. Using SQL Server Comptact and C#

Member Avatar for CriticalError
0
178
Member Avatar for alexandra.lopez.94043

![menu3](/attachments/large/3/menu3.jpg "menu3") MessageBox.Show("COSTUMER" & vbCrLf & TextBox1.Text & "QUANTITY" & " " & vbCrLf & TextBox2.Text & TextBox3.Text & TextBox4.Text & TextBox5.Text & TextBox6.Text & TextBox7.Text & TextBox8.Text & TextBox9.Text & TextBox10.Text & TextBox11.Text & TextBox12.Text & TextBox13.Text & TextBox14.Text & TextBox15.Text & " " & "Description" & vbCrLf & …

Member Avatar for M.Waqas Aslam
0
241
Member Avatar for veledrom

Hi, I want to generate a unique id but stuck at one point where I need a max 10char long output like A2987F2EWS, 234EGT56GT..... unlike SHA1 or MD5 so human can read it. Code is below but the better way is accaptable by me though. Thanks $mysql_id = 1; $mysql_id_padded …

Member Avatar for Biiim
0
248
Member Avatar for iampord

Hi Good Day Guys! Just cant find the answer. I just wanted to ask If there are any way to detect keypress while your application is minimized or not in focused? Thank you very much.

Member Avatar for M.Waqas Aslam
0
135
Member Avatar for godzab

I have been trying to setup swt in eclipse Juno, but it keeps on giving me errors. Here is the error list: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-win32-4233 in java.library.path no swt-win32 in java.library.path Can't load library: C:\Users\DeoFamily\.swt\lib\win32\x86_64\swt-win32-4233.dll Can't load library: C:\Users\DeoFamily\.swt\lib\win32\x86_64\swt-win32.dll at …

Member Avatar for ~s.o.s~
0
417
Member Avatar for ubi_ct83

hi guys, i need help on algorithm to combine letters from a word. for example, i have this word: 'ABCD' . then i want to combine 3 letters from that word. so it comes to these combination: 1- ABC 2- ABD 3- ACD 4- BCD how is the algorithm in …

Member Avatar for JamesCherrill
0
177
Member Avatar for Qonquest

I am getting this output: This is the source stringâ• This is a destination stringâ• â• â• â• â• â• â• â• â• â• â• â• â• â• 5Press any k ey to continue . . . My code is: void Problem5(char strDestination [], char strSource []) { int intIndexOfStrSource = 0; int intConcatenatedStringIndex = 0; int intStringDestinationIndex = 0; int intLengthOfDestination = strlen(strDestination); int …

Member Avatar for deceptikon
0
1K
Member Avatar for benscomputers

In the following code I need to modify it so that the btnSave control's click event procedure determines whether the user has entered the phone number in the required format: three digits, a hyphen, three digites, a hyphen, and four digits. If not a message should display saying the format …

Member Avatar for benscomputers
0
279
Member Avatar for JubalBarca

Okay, my problem goes as follows. I've been writing a small program in python (an adventure game) which has hitherto run via the console. I'm now working on giving it a full interface, which is requiring a lot of changes to my rather simplistic/archaic structure and generally making things something …

Member Avatar for sepp2k
0
236
Member Avatar for bhagawatshinde

Hi guys i have generated PDF file from docx(.rtf also) You need to install bullzip printer and word. Prerequsities - you have to add reference Bullzip.PdfWriter. here is code snippest internal static byte[] PrintToPdf(string appFolder, string tempDocxFileName) { try { string tempFolder = appFolder + @"\temp"; string tempDocxFilePath = tempFolder …

0
169
Member Avatar for Hammad Akhtar

#include<stdio.h> #include<string.h> int compare_string(char *first, char *second) { while(*first==*second) { if ( *first == '\0' || *second == '\0' ) break; first++; second++; } if( *first == '\0' && *second == '\0' ) return 0; else return -1; } int main(void) { char string[1000]; char word[20]; char *s; int len; …

Member Avatar for Ancient Dragon
0
144
Member Avatar for davesmith437

Hi All, here's the query.... $risk_section=$row_risk_category['risksectid']; mysql_select_db($database_auditing, $auditing); $qry_selfsites = sprintf("SELECT tblself.siteid AS selfsite, tblsite.sitename AS sitename, tblsite.address AS address, tblpct.pctname AS pctname, tblresultsnew.total, tblresultsnew.auditid AS auditid, tblriskcategories.risksectid AS risksectid, tblriskcategories.risksection AS risksection FROM tblself LEFT JOIN tblresultsnew ON tblself.auditid = tblresultsnew.auditid LEFT JOIN tblsite ON tblself.siteid = tblsite.siteid LEFT …

Member Avatar for pritaeas
0
806
Member Avatar for Florinmoc

Hi everyone, This October I will start university study (Open University in UK). I’m 35 and work full time (non-scientific, non-IT background). I plan to study to become a software developer in Java (that’s the language the Uni uses; they also have one course in VB.net) I’m not convinced yet …

Member Avatar for florin.mocanu.501
0
221
Member Avatar for DanErik

Hi! I tried to find an answer to this everywhere but no success. But it must be a common issue I guess .... We have a english PHP web project with many PHP source code files Now we want to translate the whole project inte 3 new languages (swedish/italian/spanish) I'm …

Member Avatar for pritaeas
0
177
Member Avatar for phorce

Hello, I'm building an application in PHP and when outputting HTML tags, it shows the tags.. So for example: <?php echo "<b>Hello world</b>"; ?> I would expect Hello world to be in bold.. But no, I get: <b>Hello world</b> as the output Any ideas please?

Member Avatar for phorce
0
69
Member Avatar for shers

I'm creating a WebSite in VWD 2010 Express. The Login page I created turns out to show the Email and Password that I once entered as part of testing to stay in the textbox. How do I delete it? Thanks

Member Avatar for jackandrew123
0
83
Member Avatar for rvntdhillon

HI,I WANT TO LEARN SQL IN PROPER MANNER.PLZ TELL ME SITE FROM WHERE I CAN LEARN ..

Member Avatar for jackandrew123
0
71
Member Avatar for nquadr

Hi, I wanted to find out if there was a way to design a macro that takes information from a column in Excel to a text box on a webpage. I have over 600 records that I can input 15 at a time. I would like to run a macro …

Member Avatar for AndreRet
0
126
Member Avatar for <M/>

So I stumbled upon this question and I wanted to figure out how to find the mean, median, mode, highest number, lowest number, how many evens, and how many odds are in each row... I honestly can't figure this out... I want it to display next to the table I …

Member Avatar for pritaeas
0
743
Member Avatar for Eruditio

Is it possible to alter Excel Viewer print settings via VB.NET and, if so, what is the syntax I need to do this? I would like my application to be able to change the printing preferences of an Excel spreadsheet opened in Excel Viewer (through the application via `Process.Start()`). This …

Member Avatar for Eruditio
0
1K
Member Avatar for iamnot

I am using mysql to fetch this result from the database.I need to caluclate the rank of a prticular user id from this result.What is the easy and smart way of doing it? SELECT a.UserId,d.AreaId,d.SubjectId, SUM( a.Marks ) AS sum, COUNT( a.Marks ) AS count, SUM( a.Marks ) / COUNT( …

Member Avatar for diafol
0
178
Member Avatar for Danny159

Hey Guys, I am having some trouble... I have the following XML from Google: <GeocodeResponse> <status>OK</status> <result> <type>street_address</type> <formatted_address> 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA </formatted_address> <address_component> <long_name>1600</long_name> <short_name>1600</short_name> <type>street_number</type> </address_component> <address_component> <long_name>Amphitheatre Pkwy</long_name> <short_name>Amphitheatre Pkwy</short_name> <type>route</type> </address_component> <address_component> <long_name>Mountain View</long_name> <short_name>Mountain View</short_name> <type>locality</type> <type>political</type> </address_component> <address_component> <long_name>Santa …

Member Avatar for veedeoo
0
181
Member Avatar for DWIZARD1

Please people i was given a project in school to write an application that can serve as a reminder in Java ... is there any one that can help me out on this???? please i need help

Member Avatar for JamesCherrill
0
154
Member Avatar for complete

What is MVC really? Is "model-view-controller" basically the way all ASP.NET programs in Visual Studio are made? Is it the default way WPF applications are arranged?

Member Avatar for princysharma90
0
388
Member Avatar for Eruditio

I have a ListView control on a tab page. The backcolor of the items of the ListView are changed according to certain criteria, but whether or not the backcolor changes appears to be pretty random. The tab page containing the ListView is not the default tab page on application startup. …

Member Avatar for Eruditio
0
1K
Member Avatar for sri.

i have a lot of mysql data (2 Lakhs data) how to collect data with in a seconds ? any idea thanks in advance

Member Avatar for diafol
0
376
Member Avatar for phpHelp

Hi, I have 7 variables...each vriable is having either of two values "0" or "1" e.g. a=0, b=1, c=1, d=1, e=0, f=1, g=0 Now I need the total of all these 7 variables but only which are having value "1" (in the above case b+c+d+f) My problem that it's dynamic...i.e …

Member Avatar for phpHelp
0
199
Member Avatar for bobstein

OK, so when I use open(<filename>, 'w') the program either writes to the specified file or creates a new one if it doesn't exist, right? Is there a way to create a folder path or something? Like to create D:\My Documents\Folder and create a file in that folder? How would …

Member Avatar for TrustyTony
0
15K
Member Avatar for 3e0jUn

I've been working on Tkinter, and setting a message box. It worked fine, but I didn't really like the fact that the text displayed was in a small position in the window. Take a look at this code and you'll know what I mean. def About(self): text = Message(self, text=''' …

Member Avatar for 3e0jUn
0
183
Member Avatar for joey_r

Hello everyone, I'm new to C and was hoping ya'll could review my code. It is a simple workout program that prints a list of exercises into a .txt file. The major bug is in main.c line 18 and the generateProgram function in boxing_functions.c line 57. I'm still learning pointers …

Member Avatar for WaltP
0
119
Member Avatar for LastMitch

Hi I'm having an issue SELECT to database, I been working on it all day. I'm still new to MYSQL. I created a table: Records Table: **Records** Fields: ***id*** (INT(25), primary key, No Null, auto-increment) Fields: ***title*** (VARCHAR(256), No Null) Fields: ***content*** (TEXT, No Null) <php if (isset ($ _POST …

Member Avatar for LastMitch
0
159
Member Avatar for iFrolox

Hello everyone, im currently stuck because i'm not sure how to start on this part of my program. What i'll need help is controlling another application, my program is suppose to run another application, and be able to hide it, show it, verify that is running, it also needs to …

Member Avatar for iFrolox
0
3K
Member Avatar for mchung90

Hello, I was curious to how I would go about modifying an existing text file (to all upper case) by the use of mapped memory. I think I have done the mapping correct, however I am stuck on how to modify the file. Help would be much appreciated, thanks! #include …

Member Avatar for mchung90
0
139
Member Avatar for Xufyan

here i've created the first applet but it is not working, [CODE] import java.applet.Applet; import java.awt.*; public class FirstApplet extends Applet { public void paint(Graphics g) { g.drawString("Look at me, I'm a Java Applet!",10,50); } } [/CODE] i am getting no errors but when i am opening the html file …

Member Avatar for _aven
0
241
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { int a[400],n,i; printf("enter the no of elements: "); scanf("%d",&n); printf("enter the no: "); for(i=0;i<n;i++) { scanf("%d",&a[i]); } n=n+1; printf("enter the no: "); scanf("%d",a[n]); for(i=0;i<n;i++) { printf("%d",a[i]); } } i inserted elements after that i again inserted its not working.it shows 0 errors but …

Member Avatar for sfuo
0
90
Member Avatar for malockwood

Hi every one I have a very simple form and it just will not submit to the db. Could some one please tell me where I am going wrong? <?php if ( $_SESSION['logged_in'] ): ?> (1) <?php endif; ?> <?php if($_POST['formSubmit'] == "Submit") { $errorMessage = ""; if(empty($_POST['social_media'])) { $errorMessage …

Member Avatar for malockwood
0
200
Member Avatar for Maulikpra

Dim mm As New SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=Integrated Security=True;Connect Timeout=30;User Instance=True") mm.Open() Dim mm1 As New SqlDataAdapter("select * from Area_type order by Area_name", mm) Dim ds As New DataSet mmm1.Fill(ds) With ComboBox1 .DataSource = ds.Tables(0) .DisplayMember = "Area_name" .ValueMember = "Area_name" .SelectedIndex = 0 End With mm.Close() 'hi i am student and …

0
171
Member Avatar for hackit

I am learning C. After completing the common core part. I found this unique program which will allow the user to create his own format specifier which will use "%b" as format specifier to convert a integer directly into binary. I want to know more about this code. How it …

Member Avatar for lil_bit
0
396
Member Avatar for MattTheHat

Is it possible to do something like this? [icode]<div id="btn1" onclick="//somehow call page2Link here"><a href="page2.html" id="page2Link">Page 2</a></div>[/icode] Basically it's to try and make the text work with the a:hover text effect I have whilst making the whole layer sensitive to clicks. i tried this already: [icode]<a href="page2.html" id="page2Link"><div id="btn1" ><a …

Member Avatar for Killspree2012
0
24K
Member Avatar for hackit

I read that every class extends a object class by default. then it should cause multiple inheritence and must not be supported by Java. Please help me about this....

Member Avatar for stultuske
0
258
Member Avatar for rjony321

Hi, please first you visit this site http://www.webdo.x10.mx/ this is my practice site.I just starting my php carrer.here i create a search option with button but its not working as my expectation.i think its code is OK".here the code.. <?php $connect=mysql_connect('localhost','root',''); $mysql_db=mysql_select_db('my_database',$connect) or die(mysql_error()); //db name:my_database if (isset($_POST['search_name'])) { $search_name= …

Member Avatar for rjony321
0
375
Member Avatar for rjony321

Hi, This is my first post.I just starting php Hope everyone reply me as possible as. I have signup problem.When i filled the form and click sign up button then it nothing show any result i mean its not home.php "welcome" message and also not store date in my mysql …

Member Avatar for rjony321
0
196
Member Avatar for lmthuan

Hi all, i want to wite an method that can take a String and return boolean , it should return True if the first character of string is an uppercase . Can not using String Apis ? so how can i do ? thank !

Member Avatar for stultuske
0
202
Member Avatar for aekaette

Hello, I am trying to read values from an excel spreadsheet but just for specific cells at a time; say Cell A1 and B1. Then I want to save the respective values into a variable and use the variable through out the rest of the code. Then loop at the …

Member Avatar for belenos46
0
718
Member Avatar for DyO1

Hello can someone give me a code for a program to check your ram and video ram? im pretty sure i have to use eventLog but how is thay going to work? Please help

Member Avatar for DyO1
0
88
Member Avatar for jrmeasures

I am new to Assembly language and I'm getting a problem with the DIV operation. This should output the quotient and remainder if a 1-digit number is divided to a 1-digit number. What is wrong with my code? .MODEL SMALL .STACK 64 .DATA MSGA DB 13,10,"Input first number: ","$" MSGB …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for belenos46

I'm trying to write a string out to a file using File.AppendAllText, but I need to do it several times over the course of the program. I'm not using threading, and to give the file time to close, I'm letting my program sleep for a couple of seconds after it …

Member Avatar for belenos46
0
775

The End.