120 Topics

Member Avatar for
Member Avatar for TularePC

Hi everyone, My name is Jeramy and I am new to the forums. I did a search and tried to find a similar post and one came up with certain search terms - however I forgot which it was =( I'm an independent contractor and I setup HDTVs, PCs, networks, …

Member Avatar for TularePC
0
182
Member Avatar for neosonic

Hi all, I need your help. I have an insert query which insert a few rows into the table A. TableA has two primary keys, which are fieldA and fieldB. The SQL is written as follows: INSERT INTO TableA (fieldA , fieldB, fieldC, fieldD) SELECT DISTINCTROW TableB.fieldA, TableB.fieldB, TableB.fieldC, TableB.fieldD …

Member Avatar for neosonic
0
187
Member Avatar for iamthesgt

Is there a way to move data from one map to another without it being re-sorted? Ex: I have a map of [ICODE]<int, pair<string, int>[/ICODE] where the key is the number of vowels in the string (int) and the pair contains a moviename as string and rating as int (multiple …

Member Avatar for iamthesgt
0
203
Member Avatar for imobby

I am making a game that will be completely playable via mouse. I want to know is it possible to use Scroll-key to do this action:?:? any coding would be very helpful.

Member Avatar for jingda
0
93
Member Avatar for Frengerdany

Hi I have a problem with RSA encryption/decription of txt files, I have one method to create a pair of RSA keys and save them into a file, then i made two methods, one for encryt and one for decrypt, encrypt method works fine, but when I want to decrypt …

0
143
Member Avatar for agr8lemon

Hello everyone! I'm wondering if there is a way to assign the values of a column in SQL as the key name in a multidimensional array. Here is what I have, my database looks like this: Table Name = SJCFPCB date | totalin | cdulep | icu | ----------------------------------- 2011-01-27 …

Member Avatar for agr8lemon
0
185
Member Avatar for matt_platts

Im trying to use a regular expression backreference to reference a hash key. Here's an example of the non working code so you can see what I'm trying to achieve (I hope!): [CODE] $str="String of text containing item1 and item2"; $x['item1']="Item 1"; $x['item2']="Item 2"; $str=preg_replace("/item1/","$x[\${1}1]",$str); print $str; [/CODE] I want …

Member Avatar for matt_platts
0
137
Member Avatar for ak24

How can I prevent the beep sound when I use the SendKey command in NumericUpDown1 Box? Here is the code: [CODE] Private Sub NumericUpDown1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles NumericUpDown1.KeyPress Static SAME As Short = TB2 TB1 = SAME - NumericUpDown1.Value If e.KeyChar >= "0" And e.KeyChar …

0
111
Member Avatar for warlord902

So my problem is that, i have a text area with 3 rows. Its a part of a chat application which receives text from a user. I want to send the text and clear the text area as soon as the user presses the enter key. Now the problem is …

Member Avatar for warlord902
0
1K
Member Avatar for limepebblez

Hey guys I'm really stuck in this very urgently needed solution, been working for 3 weeks plus and still can't come up with a working solution! Help needed asap. [U]ISSUE:[/U] The problem is simple. I have 2 PCs. One is 'master', second is 'slave'. On 'master', I have my .NET …

Member Avatar for limepebblez
0
175
Member Avatar for knan

Hi can anyone tell me how to remove empty keys in the following dictionary d={'a':[],'b':['1','2'],'c':[]} I want it to be d={'b':['1','2']} I tried this. But its showing error. I know its wrong to change the size of a dictionary during iteration. But is there any other way? [CODE]>>> for x …

Member Avatar for TrustyTony
0
18K
Member Avatar for 0xCMD

Greetings, I have table CUSTOMER: [CODE] mysql> describe CUSTOMER; +---------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +---------------+--------------+------+-----+---------+-------+ | CUSTOMER_NUM | char(3) | NO | PRI | NULL | | | CUSTOMER_NAME | char(35) | NO | | NULL | | | STREET | …

Member Avatar for 0xCMD
0
247
Member Avatar for arctushar

Hi I m thinking about combined key system. say i have mysql table having field 1. user_name 2. father_name 3. mother_name 4. Address Now I can mark [B]user_nam[/B]e field as key for u[B]nique value[/B]. But I dont want that. I want that same user name is possible but same [B]user …

Member Avatar for hielo
0
146
Member Avatar for Beat_Slayer

ITunes Library Persistent ID Editor. Sample usage: [CODE]fxml = 'iTunes Music Library.xml' # path to xml file fitl = 'iTunes Library.itl' # path to itl file itk = ITunesLibKeys(fxml, fitl) print itk.file_xml # prints path to xml file print itk.file_itl # prints path to itl file print itk.xml_key # prints …

0
1K
Member Avatar for tincho87

Hi everybody. I'm developing an application that sends keystrokes to another background application. The problem is that i have so send a "Alt+F", but i can't get it to work. I'm using PostMessage: [CODE] [DllImport("User32.Dll", EntryPoint = "PostMessageA")] private static extern bool PostMessage(IntPtr hWnd, uint msg, int wParam, int lParam); …

Member Avatar for tincho87
0
3K
Member Avatar for wolfeater017

[This is a really long code so im just going to put the traceback part in and where I think the problem is] [def directions(): enter=0 nwscreen() Font1 = pygame.font.SysFont('ActionIsShaded', 25) d1 = basicFont.render('Directions',False,WHITE,BLACK) d2 = Font1.render('Directions',False,WHITE,BLACK) d3 = Font1.render('ALL ANSWERS MUST BE LOWERCASE',False,RED,BLACK) d4 = Font1.render ('Press enter to …

Member Avatar for TrustyTony
0
172
Member Avatar for morpheus916

Google offer a free "key word" generator that you can locate by search. [url]https://adwords.google.com/select/KeywordToolExternal[/url] Here you can organically find what words are of value and discount the others that are not. I use this tool to rank all of my websites and it is all free. All of my blogs …

Member Avatar for Beau19
0
197
Member Avatar for white feather

[CODE] private Map<String , String> c = new HashMap<String , String>(); .... //regx to get mString c.put(mString.group() , mString.group()); ..... //regx to get mNumber c.put(mNumber.group() , mNumber.group()); ....... Set set = c.entrySet(); Iterator i = set.iterator(); while( i.hasNext() ) { Map.Entry me = (Map.Entry) i.next(); System.out.println(me.getKey() + " : " …

Member Avatar for white feather
0
174
Member Avatar for zipgenius

Hello. I am using Delphi 2010 to build a small application that builds a very very simple database in CSV file format. I am using the Jcl and JVCL libraries (TJvCSVDataset, TJvDataSource and TJvDBGrid). I set up the fields ("Last Name", "First Name" and "Email"), where "Email" is the only …

Member Avatar for est69dog
0
321
Member Avatar for SgtMe

Hi guys! I am in the process of making a game...similar to this one: [url]http://www.miniclip.com/games/nfl-lateral-collateral/en/[/url] I am using the following code to detect key presses: [CODE] pygame.event.pump() key = pygame.key.get_pressed() if key[pygame.K_LEFT]: ... [/CODE] How can I detect if a key is released? I have seen this done with using …

Member Avatar for tbone2sk
0
14K
Member Avatar for tomin

windows logo key shortcurts are very tricky if you find the use of it. [COLOR="#ff0000"][URL="http://digitdiary.blogspot.com/2010/03/windows-logo-key-shortcuts-in-xp-vista.html"]Click here for the original source page[/URL][/COLOR] [COLOR="#ff0000"]and complete list [/COLOR] Windows: Display the Start menu Windows + D: Minimize or restore all windows Windows + E: Display Windows Explorer Windows + F: Display Search for …

0
129
Member Avatar for P.manidas

Dear Sir/Madam, I have developed a software on game using VB 6.0 and Access, and I want to make that software as a Register Version. The software may ask the user for registration key at the time of installation or after specified period of time being installed. I can make …

Member Avatar for kinwang2009
0
302
Member Avatar for YottaFlop

Hi, in a Java Applet there the keys control movement, I have a couple of questions (sorry for the disorganized nature of multi-item requests). 1.[CODE=C] if (key=KeyEvent.VK_RIGHT) { x++; } [/CODE] But, as you might have guessed by this post's title, the movement delays before continuing its motion, as a …

Member Avatar for YottaFlop
0
189
Member Avatar for ooandioo

Hi, I'm implementing a hotkey tool that globally captures key press/release and sends out keyboard events when receiving a defined key combination. I started implementing a global system hook that generates keyboard press/release events. Some Code snippets: [CODE] // installs an application-defined hook procedure into a hook chain // [DllImport("user32.dll", …

Member Avatar for Ravenheart
0
1K
Member Avatar for Matt323

Hi, i'm newish to this website, (i've googled a lot for answers to my questions and often came accross very useful answers to my problems on this website) and i'm also in the middle of learning C++. As i learn new things i decide to make little programs that actually …

Member Avatar for mitrmkar
0
372
Member Avatar for vivek4020

Hi I have a textbox and a listbox. If i write something into the textbox and press the enter key, i would like the content of the textbox to appear in the listbox. What is the best way to do it? Thanks in advance

Member Avatar for sknake
0
2K
Member Avatar for heso10

Hi, i am doing a project about key management and i need a good book that discusses key management in details, thanks for your help.

Member Avatar for brayan
1
148
Member Avatar for Clawsy

Hello, I build my java desktop application using NetBeans 6.7, visually. So I click on the Frame -> Events -> KeyTyped and I add a new handler. The problem is the key events are not detected! My components are Swing components. Why is this happening?? :( [CODE] private void formKeyTyped(java.awt.event.KeyEvent …

Member Avatar for Clawsy
0
429
Member Avatar for mstrlouis

My code is a php search function which is supposed to search from two tables in my database and displays matching results from the two tables in a line after line format. It is supposed to match the two tables with a common key field. However, the primary table has …

0
178
Member Avatar for John A

It's just been around a week since the previous threat of cracking Vista almost worked -- until we found out it was fake. Well, this time around, [URL="http://filenetworks.blogspot.com/2007/03/vista-32-bit-one-click-activator-bios.html"]a Vista crack[/URL] appears to be working this time, as numerous reports have said that it works, and the crack has already been …

Member Avatar for werty
0
174

The End.