Search:
Type: Posts; User: rockies1
Search:
Search took 0.19 seconds.
-
For the life of me, I can not seem to manage what should be something simple.
I am looking for something like this:
String strMyString = "Smith, Andrew"
If(There is a comma in strMyString)...
-
Anyone know of a way to have a listbox that also allows images with the text?
Can be 3rd party...
Thanks!
-
That helped greatly, THANK YOU!
-
I'm looking for a Java solution, not an SQL solution, but thanks.
-
I am trying to figure out how to determine how many days until a given date from today.
For example, if today is 4/26 and I need to know how long until 5/17, I need to know that it is 21 days.
...
-
Well, I changed it to this:
Function UPCtoISBN(strUPCin As String) As String
Dim strTemp As String
If Len(strUPCin) = 13 And Left(strUPCin, 3) = "978" Then
strTemp =...
-
I have the following Java code:
public static void main(String [ ] args)
{
String isbn = "9781590387474";
if (isbn.length() == 13 && isbn.indexOf("978") == 0)
{
isbn =...
-
My MP3s have gotten out of control....I have so many with no tags or bad tags all in 1 folder, that it is no fun looking for a file...
I have coded something that will allow me to load a folder of...
-
I have this code
<?php #
if (isset($_POST['submit']))
{ // Handle the form.
//put the php here
} // End of the main Submit conditional.
else
{
?>
-
But doesn't the form only get 1 submit button?
I need to have 2 actions with the form. 1 to submit the entire thing and 1 to call the servlet to validate the e-mail.
E-mail will be part of...
-
I will be looking it up in an oracle table.
I don't need to validate the format, just the existance of it in the table.
I really need to know how I can have 2 buttons that submit to 2 different...
-
I have an HTML form that when submitted goes to a java servlet.
Within that form is an e-mail address field that I would like users to be able to validate by clicking a button and then have that...
-
I used this: Public Function ShuffleArray(ByRef data() As String) As String()
Dim swap As String
Dim x As Integer
Dim r As Random = New Random()
Dim...
-
ContextSwitchDeadlock was detected
Message: The CLR has been unable to transition from COM context 0x190768 to COM context 0x1908b8 for 60 seconds. The thread that owns the destination...
-
I have an array of strings.
I need to generate a random list of these strings with no repeats.
Any pointers?
-
That worked great, thank you!
-
Anyone know how to get a count of files with a given extension on a drive?
There may or may not be folders on the drive.
Thanks!
-
2005 Express Edition
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: VB Express
-
I searched to find the free disk space, and found this but I get an error about Directory not being declared.
I'm stumped.
Any suggestions?
Thanks!
Sub getinfodrive(ByVal s As String)
...
-
-
Is it possible to have the StatusStrip the full width of the form and have the items in the strip spaced evenly in it?
If so, any ideas how?
Thanks!
Morgan
-
Looks good but, unfortunately, I am stuck using java 1.4.2 and Scanner appeared in 1.5. :mad:
Thank you for your help on this, I appreciate it! :thumb:
-
I can't change the values in the string as I am getting them from a vendor-provided file and loading them to oracle.
I ended up re-writing the method to this:
public static String...
-
Because the length of the string changes every time and substring requires a specific starting point.
I need the Nth item in a delimited list.
-
I use the follwing method to parse delimited strings so I can get certain pieces:
public static String instanceSearch(String strIn, int intInstance, String strDelimiter)
{
String strToReturn...
-
That worked perfectly, thank you!
-
I have a page with 2 dropdowns. One is called type and contains One-Time and Recurring. The other is frequency and contains many items.
If a user selects Recurring from type, I want the Frequency...
-
I have got to learn to refresh before posting.
I can't believe I spent all that time on so much code when this little bit did it.
Thank you SO much!
-
Thanks for the suggestion. This is what I ended up going with. Not real pretty, but it works.
public static boolean isLeap(int year)
{
return year % 4 == 0 && (year % 100 != 0 || year %...
-
I have a file that I receive from another company. In it there are dates in this format:
2004001
or
2004294
The 2004 is the year, obviously, but the next 3 digits give me the month & day.
...
-
I ended up using this:
BufferedReader in = new BufferedReader(new FileReader( strTheFile ));
StringBuffer sbufReadFromFile = new StringBuffer(in.readLine ());
if ( sbufReadFromFile == null )
{...
-
The line contains many records with many fields that are of different lengths, fixed width-not delimeted.
-
I have a file that I need to process. Some of them are as large as several MB.
The file is a single line of data, each record being 450 bytes.
I've read files using this:
BufferedReader in...
-
Eclipse doesn't like
gc.setTimeInMillis
I found this code that I had for another old project that I'll try and modify:
import java.text.SimpleDateFormat;
import java.util.*;
import...
-
I have the following code for calculating yesterday's date:
public static String CalcYestDate()
{
//Set up date to run for
java.util.Calendar gc;
java.util.Date curDate;
String ...
-
I have a page where users can upload files to me.
The link from the main page pops up an upload window, the user uploads it, and then when they close the popup, I want the first window to refresh...
-
I need to transfer a file from a users PC to our application/web server and have that file associate with the record they are editing.
I've begun with the following HTML:
<!DOCTYPE HTML PUBLIC...
-
Duh...
I changed
FileOutputStream fos; to
FileOutputStream fos = new FileOutputStream( this.getLOCAL_FILE() ); and it works now.
Thanks!
-
Won't compile that way because the compiler says that fos in the Catch may not have been initialized...
public void doFTPGet() throws Exception
{
FtpClient fcMyFtp = new FtpClient();...
-
The file not found is from the source.
The file I want to delete is the zero-byte file that is created at the destination.
|
Click Here to Expand Forum to Full Width
|