-
Replied To a Post in Masked Text Box / OR Statement
Which event do you use your code in? -
Began Watching PrintForm - Changing BackColor
Hello -- When using the PrintForm component in VB.Net 2010 I would like to change the back color of the form from black to white just prior to printing to … -
Replied To a Post in PrintForm - Changing BackColor
You need to insert a me.refresh as so: Me.BackColor = Color.White me.refresh PrintForm1.PrintAction = Printing.PrintAction.PrintToPreview PrintForm1.Print() Me.BackColor = Color.Black me.refresh -
Began Watching Remove 'End of Report' Line and format UNIX text
Group, I'm now having to merge several of these text files together. At the end of each of the text files is a line that says "End of Report". I … -
Replied To a Post in Remove 'End of Report' Line and format UNIX text
Hi Don, I think the only thing you need to do is changing: My.Computer.FileSystem.WriteAllText(RestranName2, goodLine, True) to: My.Computer.FileSystem.WriteAllText(RestranName2, goodLine & vbCrLf , True) adding a carrige return and linefeed -
Began Watching The Root Namespace for a new VB.net application
I'm making some "cleanup" changes to my 1st VB.net project that I'm publishing. The project has an "Assembly Name". But I've just realized that the Root Namespace has the default … -
Replied To a Post in The Root Namespace for a new VB.net application
The framework itself doesn't support renaming of projects. However, there are solutions. First make a backup of your project. Then use the first link to manually change items. The second … -
Began Watching Publishing and attaching text files to VB.net program
Group, I've published my first VB.net program (woo hoo!). This prompts me to ask a couple of questions: 1) I'm using a couple of text files to hold some user … -
Replied To a Post in Publishing and attaching text files to VB.net program
Go to Solution Explorer--- Double click on MyProject----Goto Application and where it says Icon ---- select your own Icon. -
Began Watching Comparing 2 Numbers without any sequence
Hey Pals, I was trying very hard to compare 2 numbers when one is not in any sequence. EG: First number: 1233 Second Number: 3321 In this case above, i … -
Replied To a Post in Comparing 2 Numbers without any sequence
It is not very clear what you are asking. In your definition 2 numbers are equal if they contain the same digits. So |123| = |312| etc. But what about … -
Replied To a Post in comunication - client to multiple servers (visual studio)
Very good. Please mark the thread as solved. Thanks. -
Began Watching comunication - client to multiple servers (visual studio)
I creating an application in visual studio where I have a client to request specific information to multiple servers. Someone Knows i can make this communication? For one server i … -
Replied To a Post in comunication - client to multiple servers (visual studio)
This link might be helpful with your quest: http://vb.net-informations.com/communications/vb.net_multithreaded_server_socket_programming.htm -
Began Watching [Help] KeyJammer
Okay hello everyone, so I'm using this class to protect app from user using hotkeys while form is running: Imports System.Runtime.InteropServices Imports System.Reflection Public Class KeyboardJammer Private Delegate Function HookCallback(ByVal … -
Replied To a Post in [Help] KeyJammer
Well, in your settings form button1 you do declare a new form. If you want to just get back to form1 just do: form1.show(). You also don't need to close … -
Replied To a Post in Converting Unfomatted Text into Formatted Text
O.K try to run this script in a file's directory: set fso = CreateObject("Scripting.FileSystemObject") dim CurrentDirectory, Fil,Fso,text,stringname,str1, fcount dim stringfolder CurrentDirectory = fso.GetAbsolutePathName(".") stringfolder = currentDirectory set FLD = FSO.GetFolder(stringfolder) … -
Replied To a Post in Converting Unfomatted Text into Formatted Text
You have 150 folders with one file in it? Why? And yes, the script is meant to run within the folder the files you like to vonvert are located. Now, … -
Replied To a Post in Converting Unfomatted Text into Formatted Text
Nooo! Don't add any code to it. It is a script file. Does the icon of Notepad looks like the one I added. Add a new line under line 17 … -
Replied To a Post in Converting Unfomatted Text into Formatted Text
O.K. here is a vb script file that will do what you want. Again, you need to copy the code into Notepad and save the Notepad file as convert.vbs . … -
Replied To a Post in File Name Wildcards
Check out the proper usage of Streamreader here: http://www.dotnetperls.com/streamreader-vbnet -
Replied To a Post in File Name Wildcards
I just copied the path from above assuming thats what it is. Otherwise: Dim dirs As String() = Directory.GetFiles("C:\Restran Conversion\IPSDATA\PM00213A\" & "*.*") -
Began Watching File Name Wildcards
Group, In a post in VB 4/5/6, I question how to open a file with a wildcard as the file extension ([https://www.daniweb.com/software-development/visual-basic-4-5-6/threads/488809/accessing-a-file-with-a-ever-changing-name](null). That worked fine for VBA. However I'm trying … -
Replied To a Post in File Name Wildcards
Dim dirs As String() = Directory.GetFiles("C:\Restran Conversion\IPSDATA\PM00213A\", "*.*") Dim dir As String For Each dir In dirs Debug.Print(dir) Next -
Replied To a Post in Converting Unfomatted Text into Formatted Text
O.K I can see it now. Try Jim's suggestion and if it doesn't work I shall post some code to strip the quotes. -
Replied To a Post in Converting Unfomatted Text into Formatted Text
Sorry, in the 19kb file I cant see any quotes and the 213 file has only adate in it. -
Began Watching Converting Unfomatted Text into Formatted Text
Hello Group! I am in need of converting a "text" file created by a UNIX based program (it is only semi-formatted) and put it into a more-formatted text (.txt) file. … -
Replied To a Post in Converting Unfomatted Text into Formatted Text
Have look at this link: http://stackoverflow.com/questions/11501531/saving-a-excel-file-into-txt-format-without-quotes If it doesn't work I shall post some code to strip the the text. -
Replied To a Post in Accessing a file with a ever changing name
Glad that it worked. Please mark the thread as solved. Thankyou. -
Began Watching I Need Help here please with this code
what's wrong in this code in part 2 it should give answer same the solution part 1 --------------------- Private Sub mnuFileCloce_Click() End End Sub ---------- 'para1 Private Sub Text1_Change() Dim … -
Replied To a Post in I Need Help here please with this code
If you must use a goto statement you have to mark the line like so: 30: GoTo 30 -
Replied To a Post in Accessing a file with a ever changing name
O.K. we need to be clear about file naming in unix. Unix files don't have an extension. You can have something like: 123456.pdf to indicate a pdf file but the … -
Began Watching Accessing a file with a ever changing name
Hello everyone! Is there a way in VBA to find a file name that has an unknown portion to it? Let me explain: Our computer system is UNIX based. It … -
Replied To a Post in Accessing a file with a ever changing name
Well, you need the full path to the folder but then yes, this should work like: " 20141210.* " which is working on windows. For unix have a look at … -
Replied To a Post in Give an error bx at the end of a loop, only if IF Statement Failed
@ shark 1 maybe you can explain to the forum why you vote me down if you made the mistake. I voted you down because you replicated the mistake in … -
Began Watching Give an error bx at the end of a loop, only if IF Statement Failed
Hey there guys, Im looking for a nifty trick in VB.NET that will help me with an error that is constantly Reoccuring. This is some example code: Dim array as … -
Replied To a Post in Give an error bx at the end of a loop, only if IF Statement Failed
An array starts counting at 0. So your llop shoild be: For loop = 0 to 2 If Array(Loop).text = Data_In_Database then 'Do something next whic gives you the indexes … -
Replied To a Post in Splash screen need help
here is one link but you can try to google others: http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.applicationservices.windowsformsapplicationbase.minimumsplashscreendisplaytime%28v=vs.110%29.aspx -
Began Watching compare date today from saved date in mysql
Hi Guys, Im currently working with application, where it will automatically inform the user that there is an overdue account today. i decided to compare the current date(today) to stored … -
Replied To a Post in compare date today from saved date in mysql
date1 = Date.Today should be date1 = CStr(Date.Today) because you declared date1 as string. -
Began Watching Splash screen need help
i want to make my own splash screen. which appear on start of my program and after it finish my login screen come. i write one program based of 3 … -
Replied To a Post in Splash screen need help
You don't need any coding to display a splash screen. In solution explorer click on My Project and in the Application windown, down the bottom you can select any of … -
Began Watching Resize the form and find the screen resolution
Hi, I wantd to know how to adjust my form size such that, when i run my code in a different monitor with different screen resoultions my program should not … -
Replied To a Post in Resize the form and find the screen resolution
This how you get the screen resolution: Dim intX As Integer = Screen.PrimaryScreen.Bounds.Width Dim intY As Integer = Screen.PrimaryScreen.Bounds.Height Label1.Text = (intX & " × " & intY) and here … -
Began Watching Backgroundworker process types
When kicking off an async job using backgroundworker, the process I tried is a My.Computer.FileSystem.CopyDirectory(a,b). The next step is to check the progress with bw.ReportProgress(x) but that statement doesn't get … -
Replied To a Post in Backgroundworker process types
Maybe this one will get you onto the correct solution: http://www.codeproject.com/Questions/662815/how-to-set-progress-bar-during-copying-file -
Began Watching how to get combobox N also show textbox
in existing project of combobox not just show the the project No. and also show the textbox of the project name this is my code is it corrct: Private Sub … -
Replied To a Post in how to get combobox N also show textbox
Field names with spaces in them will create problems as in "Projcet Name" better to use Projcet_Name or brackets "[Projcet Name]" -
Began Watching how to i show my admin in my listbox in vb from access
Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "SHOW * From tbl_info Where AdminNo = '" & … -
Replied To a Post in how to i show my admin in my listbox in vb from access
There is no Show statement. You need to use the Select statement.
The End.