Member Avatar

Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) Örebro (Sweden) Örgryte (Sweden) Öster (Sweden) Újpest (Hungary) Ústí nad Labem (Czech Republic) Čelik Nikšić (Montenegro) Čelik Zenica (Bosnia and Herzegovina) České Budějovice (Czech Republic) Čukarički (Serbia) İnter Bakı (Azerbaijan) Pls help me with this, so acually i need to take the first bracket on every line and delete the …

Member Avatar
0
28
Member Avatar

Hi boys and Girls, Quick question I cannot seem to find the answer to: Why use CodeDOM to generate a class over say saving the structure of your code as text to a notepad and renaiming it to .cs? or just save it as a .cs file outright? Why go through all the effort of using CodeDOM if it will be easier to read programmatically i.e. string = "using bar;" SaveToFile(file, string); string = "namespace bla" AppendToFile(file,string) string = "{" AppendToFile(file,string) etc. anyone care to venture? Kind Regards Marco p.s. Excuse the pseudo code.

Member Avatar
0
30
Member Avatar

so heres the code import pyHook, pythoncom, sys, logging file_log = 'C:\\LogFile\\log.txt' some other non important stuff here so the issue is that everytime i try to run the program it says that pyHook is not a module. I have downloaded it for my system but it still doesnt work, I have also downloaded pyWin. the error says Importerror: No module named pyHook But I installed it correctly from this website http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook and installed pyHook‑1.5.1.win‑amd64‑py3.3.exe I have win 8 64bit using py3.3 and have an amd processor but it wont work. If anyone knows how to fix this I would …

Member Avatar
0
27
Member Avatar

How can I transfer the data on notepad to comm port? I am using windows xp.

Member Avatar
0
3
Member Avatar

hi, Please can anybody help me with this problem, i am creating an application that outputs to a notepad file on windows 7, i would like to know if there is a python module that i can use to invoke a notepad file(example trial.txt) to output into.THanks

Member Avatar
0
25
Member Avatar

using System; usingSystem.Collections.Generic; usingSystem.Text; using System.IO; namespace ConsoleApplication1 { class Program { stringchoice,c,d,E; public void n() { Console.WriteLine("Welcome To Turning GNIITians Discovery !!!!"); Console.WriteLine(""); Console.WriteLine("Choice-"); Console.WriteLine("A.New"); Console.WriteLine("B.Edit"); Console.WriteLine("C.Close"); Console.WriteLine(""); Console.WriteLine(" Enter Your Choice From The Above:- "); choice = Console.ReadLine(); Directory.CreateDirectory("D:\\SMBRD"); if (choice == "A") { Console.WriteLine("Enter Your File Name(Max 8 characters)-"); string name = Console.ReadLine(); if(name.Length>8 || name.Length<=0) { do { Console.WriteLine("Please re-enter file name"); name = Console.ReadLine(); } while(name.Length>8 || name.Length<=0); } else { Console.WriteLine(" Enter Your Data "); E = Console.ReadLine(); FileStreamfs = new FileStream(@"D:\SMBRD\" + name + ".txt", FileMode.Create, FileAccess.Write, FileShare.Write); StreamWriterst = new StreamWriter(fs); st.WriteLine(E); …

Member Avatar
0
4
Member Avatar

`Inline Code Example Here` **how to run the c program on note pad shall any one give me answer**

Member Avatar
0
7
Member Avatar

Hello I would like to know how to make .bat files with a time trigger some thing like this: I make a file with autorun and it ahs a time trigger and after two monts it opens this file... can someone please help me resolve this problem..... thanks...

Member Avatar
0
9
Member Avatar

i want code for NotePad in java language ^_^ plz help me its Mark by 25 plzzzz

Member Avatar
-1
2
Member Avatar

hi guys! today i tried file writing through VC++ 2010. suddenly a point stroke in my mind to create a file which may not be read by notepad or it gives error or some wrong output as it is mostly seen on opening a pdf file in notepad. for this i tried different formats, (for example: pdf) but this format is also very easy for notepad to read. even the acrobat reader is not reading this file. if anyone can help me, please let me know how to create a pdf file through VC++ or any other format, but the …

Member Avatar
0
5
Member Avatar

You can use and assemble with MASM611 very easily in Notepad++. Ihave find a very nice customization of Notepad++ on a blog. You can find it at [URL="http://easymasm.blogspot.com/"]http://easymasm.blogspot.com/[/URL]

Member Avatar
0
4
Member Avatar

am try to create notepad in java... menu item actionlisteners are not working...except exit... what is the problem with my code??? and is there any sequence follow... because am try to use jScrollpane the text area will be blocked??? code is.. [CODE]import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JFrame; import javax.swing.JTextArea; import javax.swing.JSeparator; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JScrollBar; import java.awt.Container; //import javax.swing.JFlowLayout; import javax.swing.JScrollPane; class Notepad extends JFrame implements ActionListener{ JMenu file; JMenu edit ; JMenu format ; JMenu view; JMenu help; JMenuBar jb; JMenuItem New ; JMenuItem open; JMenuItem save; JMenuItem save1; JMenuItem ps ; JMenuItem print ; …

Member Avatar
0
7
Member Avatar

Hi, I'm trying to make a notepad in Visual Studio 2010 but I have a problem. I want to edit the font and color for richTextBox1, but it wont work. Here's the code: [CODE=C#] private void fontToolStripMenuItem_Click(object sender, EventArgs e) { fontDialog1.ShowDialog(); } private void colorToolStripMenuItem_Click(object sender, EventArgs e) { colorDialog1.ShowDialog(); } [/CODE]

Member Avatar
0
3
Member Avatar

Can Someone please help i need to create a GUI out of this code for 24hours from now. Can someone please send me the code to create this gui. Its all coded in notepad. Thanks

Member Avatar
-2
7
Member Avatar

The program I was attempting to make was going to be 1.open notepad 2.fill 1 - 2 pages with text 3.save the file (named "1") 4.loop with a different saved name each time (IE named 1, then named 2, then 3, etc etc) I can open notepad, and loop that, but filling it with strings has me stumped, along with saving it, I would appreciate any help with this. I'm not sure if its relevant but to open notepad and loop it I used; [CODE]import subprocess notes = subprocess.Popen("notepad")[/CODE]

Member Avatar
0
5
Member Avatar

I want to open a text file at a specific index point. is there an easy was to do it other then building it in a textbox? in notepad and notepad++ they go by line in text and not text index point.

Member Avatar
0
3
Member Avatar

hii frnds i hav creates a txt file in server ,i want to open it in notepad of client machine !!can we?? i think it can be passible wit an ative x but i dont know how! plzz help me :(

Member Avatar
0
2
Member Avatar

Hi ALL =) hope all of u will be right I have been visiting this site constantly and I learned a lot from him, this is the first production in the Java language to me I hope that you like. this is my First Program in java language i hope i see your opinions =) this are some videos for my program :) ----------------------------------------------- part one :- [url]http://www.youtube.com/watch?v=2K_DsucYUb0[/url] ------------------------------------------------ part two :- [url]http://www.youtube.com/watch?v=FM57opeP5cE[/url] ------------------------------------------------- to download and test the program here please :- [url]http://www.mediafire.com/fastnotepad[/url]

Member Avatar
0
4
Member Avatar

I have a problem in my project in C# visual studio 2008, I added a textfile in my project,on button click it opens,After deployement (installation)it works fine in window xp but give error in vista,it do not find the path specified. Folling is the code: private void pictureBox9_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start(@"F:\\DotNet\\Project\\Web\\Web\\Web\\book\\work.txt"); } (work.txt file kept in folder "book" in project)

Member Avatar
0
5
Member Avatar

Well hello! I'm having problem with reading data from notepad.. So here is what I'm trying to do. etc.. I have notepad file "Doc" and in it there are few things: Level= 5 Cash= 100 And what I want from my program to do is to read Level and Cash and than show it in Message Box.. the main problem is that I just have no idea how to do that :D so I can't post any code :( Thanks :)

Member Avatar
0
7
Member Avatar

Hi, I need to write a program to send data from a particular excel sheet in a workbook to a notepad. Say,I've an xl sheet with the following columns: "Name,Age,Salary" with values "john,24,1000" respectievely,Now I need a C# program to read the xl sheet and write the values onto the Notepad (in Tab separated format) as follows: John 24 1000. I need to write all the columns in the xl sheet into the notepad as follows. Before I ask any help,let me make it clear that I'm a beginner to this stuff,and while I have done some programs dealing with …

Member Avatar
-1
2
Member Avatar

Hi everyone... Im starting c sharp scripting today and i wanted to write a script using which i can open the notepad application and write a string into it... This is my code... [CODE] using System; using System.IO; using System.Diagnostics; using System.ComponentModel; namespace Process_StandardInput_Sample { class StandardInputTest { static void Main() { Process myProcess = new Process(); myProcess.StartInfo.FileName = "notepad.exe"; myProcess.StartInfo.UseShellExecute = false; myProcess.StartInfo.RedirectStandardInput = true; myProcess.Start(); StreamWriter myStreamWriter = myProcess.StandardInput; String inputText; inputText = "hithere\n"; Console.WriteLine(inputText); myStreamWriter.WriteLine(inputText); myStreamWriter.Close(); myProcess.WaitForExit(); myProcess.Close(); } } } [/CODE] Once i run the script, all i get is a notepad window and the string …

Member Avatar
0
7

The End.