132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vaishnu

Hi all I have created a custom buttom round in shape .Now i want the color of the button to be changed at the mouse click of the button . Designer.cs [code] using System.Windows.Forms; using System.Drawing; using System; using MyNamespace; public class MyForm : Form { public MyForm() { RoundButton …

Software Development
Member Avatar for vaishnu
0
166
Member Avatar for PinoyDev

Good day! How to detect if ctrl + c or copy keyboard action in a combo box and put the text in that combo box to clipboard..and then ctrl + v to second combo box then paste the text from clipboard that waste copied. Thank you!

Software Development visual-basic
Member Avatar for PinoyDev
0
863
Member Avatar for pankajagar2002

Hi, In my application i want to get the explain plan of all the query executed and want to log that explain plan in log file. I am planning to use the hibernate or Ibatis. Could any body help me to tell that which one support to get the explain …

Software Development java
Member Avatar for dayoj
0
257
Member Avatar for Naveed_786

How can i display currently login user in crystal reports i.e when i run crystal report through my report form the username should be displayed in crystal report i am able to view the currently login user on my forms but didn't know how to schive this in crystal reports …

Software Development vb.net
Member Avatar for anuj6928
0
93
Member Avatar for TIP.Synergy

i tried to delete or to clear the textbox but i got an error "Conversion from string "" to type 'Double' is not valid" here's my code textbox1.Text = Format(Val(textbox1.Text), "###,###.00") anybody can help me please? thanks...

Software Development vb.net
Member Avatar for anuj6928
0
148
Member Avatar for jgat2011

Hi people, I am working on a project and I would like to create a report whose data are retrieved from my sqlserver database. Can anyone explain to me how to do it or any link that can help me?

Software Development vb.net
Member Avatar for saj_amo
0
65
Member Avatar for sarc007

How to Convert Copied Clipboard Image Data From Excel To Byte Array. Basically I am trying to save Excel CopyPicture image to the database. For which first I need to convert clipboard image to byte array and update in OLEDB Field of access database. I tried this code below [CODE] …

Software Development image
Member Avatar for himanshi arora
0
2K
Member Avatar for jack1234

I am using visual C++ 2005(native C++) I got the error error C2065: 'CString' : undeclared identifier for the following code, [CODE]#include <cstring> using namespace std; int main(){ CString ab; ab="a"; }[/CODE] what is the problem?

Software Development c++
Member Avatar for Yellaiah
0
10K
Member Avatar for senthilamp4

Dear Experts, Here i am written code for convert the text to CSV file conversion. i am facing a problem in while compare the two array to print the values row wise. below i have mentioned my code,input and output format. input : "OC192-11,OC192:CVS,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:ESS,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:SESS,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:SEFSS,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:CVL,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:ESL,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:SESL,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" …

Software Development perl
Member Avatar for poorrich
0
195
Member Avatar for hughesadam_87

Hey guys, I am writing a GUI program, and one of the routines requires that I choose a file to be my data file. If the data file is chosen correctly, then my program will send it to a subroutine which will perform a bunch of methods and ultimately construct …

Software Development gui python
Member Avatar for hughesadam_87
0
138
Member Avatar for DarkPyros

i wrote a program to take text from a file of my choice named "data" and print it out on the screen, how can i tweak this so taht when the text comes out , it would be all in upper case using toupper?? this is the code [CODE]#include <stdio.h> …

Software Development c
Member Avatar for DarkPyros
0
184
Member Avatar for marcux

Hi all! I have been hacking some Qt before, but now I want to try to code in Gtk and std C++. I have been searching the web but I can not realy find what I am looking for. As I can see Gtk is written in C. Is it …

Software Development api c++ qt
Member Avatar for GreenDay2001
0
226
Member Avatar for syria718

please help me fix these problem,,,, when i'm running the program it exits emediately [CODE]main()/*Start of the function main???*/ { do{/*do while loop initialization*/ print(); scanf("%c",&choice1); switch(choice1){ case 'A': case 'a': addContact(); break; case 'F': case 'f': search(contacts); break; case 'v': case 'V': list(); break; case 'e': case 'E': edit(contacts); …

Software Development c
Member Avatar for syria718
0
160
Member Avatar for u8sand

I programmed this vector class to support different types and different amount of dimensions. (class T,int D) D is the dimension. I don't use templates much and I'm running into an error, my constructors aren't working. Here is my class [CODE]#include <stdio.h> #include <stdarg.h> template <class T,int D> class Vector …

Software Development c++ ui-ux
Member Avatar for mike_2000_17
0
249
Member Avatar for pixma

Hi! I just want to ask if it is possible to take a focus by a camera then generate it into text because I am planning to propose a thesis topic which is Subdivision Entry Pass wherein the security camera in the gate will focus the camera on the plate …

Software Development vb.net
Member Avatar for adam_k
0
164
Member Avatar for raghujosh

I want to be able to match a HTML tag in a given string. The string could be like this [CODE]<a href = "http://learnmore.com">Learn </a>. [/CODE]I have a replace function that replaces the HTML tag with whitespace when I hard code the tag, but I want a regex pattern that …

Software Development html-css java regex
Member Avatar for raghujosh
0
179
Member Avatar for gspeedtech

I am trying to populate a dataset with data from a dynamic SQL dataset created by a code generator (PDSA). If I want the first row of data, or I use a specific "Where" clause to retrieve 1 row, I have no problem. But, when I loop through the dataset …

Software Development dataset vb.net
Member Avatar for gspeedtech
0
200
Member Avatar for sear899

I am starting to learn Java and I downloaded JDK but when i open java.exe or javac.exe it opens then instantly closes. Any answers?

Software Development java
Member Avatar for sear899
0
79
Member Avatar for magnetic rifle

Is it possible to assign a variable to be a random vector. The only syntax I could find was rand.jumpahead but further research did not seem promising. Thank you, Suhail

Software Development python
Member Avatar for Gribouillis
0
160
Member Avatar for Xufyan

Hello Everybody, please explain me what is pass by reference ,i know what does it mean but i could not find any of its simple example that differentiate between pass by reference and pass by value :( please help me i have spent almost 4 hours searching for it but …

Software Development java
Member Avatar for Zetlin
0
360
Member Avatar for Gold Falcon

Hello! To get straight to the point, I can't seem to get division to work. I haven't been programming in Assembly long, and I've been trying to get this to work for a couple of days now with no success. Anyway, here's my code: [CODE=assembly] section .text global _main extern …

Software Development assembly
Member Avatar for Gold Falcon
0
358
Member Avatar for debasishgang7

Hi all, I am trying convert IP addresses form Decimal format [Like 192.168.12.13] to HEX format [c0 a8 9d 80]. For Example the IP "192.168.157.128" is equivalent to "c0 a8 9d 80" in HEX. How to do that.??

Software Development lan-wan python
Member Avatar for debasishgang7
0
2K
Member Avatar for arjen

Guys i need help with this code with the code regarding using the getasynckeystate for ctrl + c and ctrl+ v or copy and paste..How will I do that in this code? For example when i type in notepad it should also do in the richtextbox with this code it …

Software Development vb.net
Member Avatar for arjen
0
595
Member Avatar for caierhui

I am making a request form with a uniqe FORM NO. in order to recall the data faster. The FORM NO. is formated as follows, yyyyMMdd-000 the 000 will be incremented for every transaction made that's easy... but the problem is how to reset it back to 000 the following …

Software Development java
Member Avatar for javaAddict
0
316
Member Avatar for coroll

Hi! my code gives me this error. "An object reference is required for the non-static field, method, or property 'HD.RegisterMember.CN'" Plz can anyone help me. This is my code(Class); [CODE] private SqlConnection CN; public static String getLastMemID() { String ID = null; try { CN = new SqlConnection("Data Source=BJ-PC\\SQLEXPRESS;Initial Catalog=DB;Integrated …

Software Development open-source sql
Member Avatar for kapojian
0
158
Member Avatar for bklynman01

I'm having trouble populating a combobox from a table. I do it probably 100 other times in this same program and there are no problems. When the box populates, it just displays [ICODE]System.Data.DataRowView[/ICODE], even thought the display member is set properly. Any ideas? [CODE] Dim tbldoc As DataSet1.docHeaderDataTable tbldoc = …

Software Development vb.net
Member Avatar for bklynman01
0
108
Member Avatar for sneekula

I need to read in a text file, replace selected words and write the changed text back out to a file. Is there an easy way with Python?

Software Development python
Member Avatar for halamas
0
20K
Member Avatar for cozmo87

Hi guys, I'm making a class for importing a table from a text file with tab delimited data. It works perfectly as long as there are no empty cells in the text file. (see attached example) Any suggestions how to detect an empty cell and what to fill the ArrayList …

Software Development java
Member Avatar for JamesCherrill
0
110
Member Avatar for senergy

Hi, how can I make program execute code when I will turn my PC off or hybernate him?

Software Development c++
Member Avatar for ktsangop
0
144
Member Avatar for Xufyan

Hello everyone, i was reading java tutorials on the internet then i saw this program, [CODE] class Cat { private String mCatName; Cat(String name) { mCatName=name; } public String getName() { return mCatName; } public void setName(String strName) { mCatName = strName; } public void messWithCat(Cat kitty) { kitty = …

Software Development java
Member Avatar for JamesCherrill
0
276
Member Avatar for ktsangop

Hi everyone! I am using a dll to hook keyboard strokes for my application. The hook works fine, but now i want to disable some keystrokes while my application is running. So i did the following : [CODE]_declspec(dllexport) LRESULT CALLBACK KBHookProc(int Code, WPARAM wParam, LPARAM lParam) { if (Code < …

Software Development c++
Member Avatar for ktsangop
0
1K
Member Avatar for kishanillur

I am writing some application for Android. Here my app receives sms and as soon as it receives, it launches another activity,say a browser with some url supplied. So here, I need two classes, broadcastReceiver( to receive sms) and Activity. But in java i can inherit only 2 classes. Since …

Software Development android-development java oop
Member Avatar for JamesCherrill
0
245
Member Avatar for mrbungle

So I have a text box in a form. The test box needs to take the value entered and insert it into a column within a row in MySQL. I know it's connecting to the MySQL online, I have a message box telling me so upon a successful connection. I'm …

Software Development mysql vb.net
Member Avatar for mrbungle
0
272
Member Avatar for MagnetoM

I would like to learn java. Can anyone recommend an up to date java book. There seems to be many java versions, if that is the correct term of course, such as jdk 5, jdk 6 etc. Which one is good to learn. I posted this in a different thread …

Software Development java
Member Avatar for pro_learner
0
110
Member Avatar for debasishgang7

Hi all, I am trying to send Binary data using In python raw socketusing socket.send(). For that i will do following. [CODE]s = '\x01\x00\x12\x59' # some binary data sock.send(s) # assuming "sock" is a valid, open socket object[/CODE] i have created a DATAGRAM in HEX in by sniffing a network …

Software Development python
Member Avatar for debasishgang7
0
1K
Member Avatar for nokomoli

Hi guys, i am facing problem when i need to create an excel file and insert some data inside. Can anyone help me? i am using vs 2005 and excel 2003.

Software Development vb.net
Member Avatar for Nikita Jetani
0
2K
Member Avatar for SakuraPink

Hi everyone, I have a text file which looks like this: [CODE] ( 3,3,0 ) 0.9984104 0.000503 ( 3,3,1 ) 1.000613 0.000484 ( 3,3,2 ) 1.001192 0.000571 ( 3,3,3 ) 1.002418 0.00063 ( 3,3,4 ) 1.003345 0.000583 ( 3,3,5 ) 1.000215 0.000512 ( 3,3,6 ) 1.000911 0.000537 ( 3,3,7 ) …

Software Development shell-scripting
Member Avatar for Aia
0
319
Member Avatar for mohana88

When I try to add a dll file into my project the following error occurs : A reference to dll could not be added. Please make sure that the file is accessible and that is a valid assembly or COM component. But I have imported the dll file using DLLImport …

Software Development assembly
Member Avatar for mohana88
0
8K
Member Avatar for yasirfarid

I want to show record list in Datacombo through coding , using SQL Server 2000,VB6. Following are the coding. ******************************** Private Sub Form_Load() Dim CNN As New ADODB.Connection Dim RST As New ADODB.Recordset Set CNN = New ADODB.Connection CNN.Provider = "SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Maintenance;Data Source=YASIR" CNN.Open Set RST = …

Software Development open-source visual-basic
Member Avatar for Rajeev3010
0
367
Member Avatar for aaje

i have problem here regarding update data when i checked value in checklistbox control. no problem when i want to insert data for the first time, but got problem when i want to update it where the previous data that i checked is still available, plus the latest data i …

Software Development vb.net
Member Avatar for aaje
0
226
Member Avatar for [V]

Im using Matplotlib, and plotting a basic line graph. I have an very large set of data and I need my Y-axis to be much bigger. How do o make my graph much longer but not any taller? I found I can increase the overall graph size in proportion using …

Software Development python
Member Avatar for griswolf
0
471
Member Avatar for Nana.vb

[COLOR=gray]Hi,[/COLOR] [COLOR=gray]I work with Microsoft Visual Studio 2005.[/COLOR] [COLOR=gray]I'm about to build a simple paint editor similar to MS Paint program.[/COLOR] [COLOR=gray]of course, it has Edit menu, with Undo, Redo, Cut, Copy, Paste, Delete... etc.[/COLOR] [COLOR=gray]I have a problem with Undo and Redo![/COLOR] [COLOR=gray]How to do them with drawing?[/COLOR] [COLOR=gray]have …

Software Development vb.net visual-studio
Member Avatar for dyahalifda
0
726
Member Avatar for jadzrev13

Hi, I am making an student registration program as my project in school. But I had some problems making it. Our professor asked us to make an program where there are lists of subjects offered. Then the student will choose what subject/subjects he/she likes, then it will be computed. The …

Software Development c++
Member Avatar for jadzrev13
0
3K
Member Avatar for jemz

Hi, Hello can you help me please how can i make a refresh button so that i will never close the program if there is update in the data to be made in other computer... example if two computers or more..have installed the program and if one computer is making …

Software Development visual-basic
Member Avatar for PinoyDev
0
283
Member Avatar for Fritz.fx

Hi All. I'm hoping somebody could help me out with this little problem I'm having, I've been at it for 8+ hours so far and just can't nail it. The 2 blocks of code below I'm using to log into a fresh install of phpbb forums, and they work just …

Software Development php phpbb
Member Avatar for Fritz.fx
0
453
Member Avatar for Jake.20

Guys need help. i'm having problem in setting the font-size of my jtfText. every time i set the font-size of jtfText all the panels and buttons is also getting bigger but not their font-size just the buttons. This is my code [CODE]import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import …

Software Development java java-swing
Member Avatar for Ezzaral
0
209
Member Avatar for sunjcarkey

i'm not too familiar with java...though... actually i'm trying to insert the values entered by the user into the access table but every time i click the add button on my application it shows [I]java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement. [/I] error... [CODE]String str="insert into …

Software Development java microsoft microsoft-access sql
Member Avatar for Ezzaral
0
380
Member Avatar for Riteman

I created a small c++ program. Now i wanted it to create an .exe file. Once i compile, i get the exe file in my BIN folder.. but, the alignment of the files are not correct. Well i do get the correct alignment in turbo c++ compiling..(ctrl + f9).. but …

Software Development c++
Member Avatar for thecoolman5
0
176
Member Avatar for thecoolman5

hi, i am writing a program that keeps track of the money in my debit card account. i need the program to be able to pull out a value (such as 1.56356) from a text file, round it to the nearest hundredth, and put it back into the file. any …

Software Development c++
Member Avatar for m4ster_r0shi
0
467
Member Avatar for CrankyMero

Hello Everyone For a project from skool, I been in charge of development, and we already have the system, but they wanted to add images to the project, and since i been using the TableAdapter.Insert commando to add records to the database, I need to know how to send an …

Software Development image sql vb.net
Member Avatar for ZidaneXero
0
404

The End.