text: Obituaries By: admin April 10, 2000 Robert E. Lee Robert E. Lee, retired assistant general counsel of the Registry of Motor Vehicles, has died. He was 80. Lee was a graduate of New England School of Law and Suffolk University. A B-17 bomber pilot and bombardier, during World War II he served in the Army Air Corps and during the Korean War in ... Subscribe Login Email Address: Password: Already a paid subscriber but not registered for online access yet? For instructions on how to get premium web access, click here.Forgot your password? Share this:EmailPrintFacebookLinkedInTwitterGoogle +1 1:00 am Mon, April 10, 2000 Massachusetts Lawyers Weekly admin


text:
Why Buying a New Phone is Like Having a Baby
I'm due this month—for an upgrade, that is! I ordered my pretty new iPhone 5s last week, and as I wait impatiently for its arrival, it occurs to me: buying an iPhone is a lot like having a baby.
Photo Credit: Anna Hollister Photography; Harry Heng, via Flickr
Sweet Anticipation
The wait seems to last forever. The closer you get, the more slowly time passes. You hear urban legends about how people got theirs early, but no one seems to be able to give you a clear answer as to exactly when you'll get yours.
"Any day now," they tell you. (And still, you wait.)
Photo Credit: Shankar s., via Flickr
Labor and Delivery
You show up to get yours at a vast and mysterious place where everyone walks quickly and with purpose. There are bright lights and complicated terms you don't understand. You leave feeling confused, emotionally spent and financially broke, but it doesn't matter because you have your "baby."
Public Displays of Affection
Before you get yours, you're annoyed by people who can't stop posting on Facebook about how awesome theirs is. After you get yours, you become one of those people.
Did You Hear That
While you're still figuring out how it works, every noise is new and unfamiliar. You jump at every chirp, hum and wail. After the getting-to-know you phase, you learn which noises require urgent attention, and which ones don't.
Photo Credit: Anna Hollister Photography
Do Not Disturb
No one need bother talking to you about anything other than your new arrival for the first month after you get it. You just can't get enough.
It's True. All of It.
Some people say "OMG! My life is forever changed. This is God's gift to mankind!" and other people say "OMG! I can't figure this thing out for the life of me. Help!"
(And the thing is, they're both right.)
Photo Credit: ornello_pics, via Flickr
Handle With Care
For the first few months you handle it ever so carefully, afraid of breaking it with the slightest misstep. As the newness wears off you realize it's pretty indestructible (though you still have nightmares about it falling into a body of water).
Photo Credit: LovelyCaseCo, via Etsy.com
I'll Take One of Everything
The retailers will suck you in with adorable matching accessories. You don't need them, but you'll probably buy them anyway.
Photo Credit: Philippe Put, via Flickr
Time for an Uprgrade
After about a year and a half you're still completely in love…but you can't help thinking about the next one.
If My Baby Had an iPhone in Utero: Text Messages From the WombHad my baby had an iPhone with her in the womb, I'm pretty sure this is what our texting convos would have looked like.view gallery

subset: commoncrawl


text:
New York, NY -- (ReleaseWire) -- 01/30/2014 -- Growing Stock Report expands its NASDAQ Active Stock Watch List adding American Capital Agency Corp. (NASDAQ:AGNC) and Dollar Tree, Inc. (NASDAQ:DLTR).
American Capital Agency Corp. (NASDAQ:AGNC) a company that operates as a real estate investment trust closed up in its previous session (+0.34%) on 3,077,748 shares traded after American Capital Agency Corp. announced it will report fourth quarter 2013 earnings after market close on February 3, 2014. American Capital Agency Corp. (NASDAQ:AGNC) is currently up (+10.56%) from its recent 52-week low which has prompted Growing Stock Report to add the stock to their NASDAQ Active Stock Watch List.
Click Here to find out what other Investors are saying about American Capital Agency Corp. (NASDAQ:AGNC)
Dollar Tree, Inc. (NASDAQ:DLTR) a company that operates discount variety stores in the United States and Canada closed down in its previous session (-1.06%) on 3,208,995 shares traded. Dollar Tree, Inc. (NASDAQ:DLTR) is currently down (-16%) from its recent 52-week high which has prompted Growing Stock Report to add the stock to their NASDAQ Active Stock Watch List.
Click Here to find out what other Investors are saying about Dollar Tree, Inc. (NASDAQ:DLTR)
GrowingStockReport.com monitors and scans the markets for stock related signals as well as any external factors that might bring trading opportunities.
Through a vast network of IR professionals GrowingStockReport.com is often aware of several large investor awareness campaigns being deployed.
Timing is important when trading Small Caps and Penny Stocks.
Simply sign up for free and start receiving exclusive alerts.
Subscribe Here: http://www.GrowingStockReport.com
GrowingStockReport.com is not a registered investment advisor and nothing contained in any materials should be construed as a recommendation to buy or sell securities. Investors should always conduct their own due diligence with any potential investment. Please visit GrowingStockReport.com website, for complete risks and disclosures.
Contact Info:
Growing Stock Report


text:
Directions to Noufara Hotel
- Info
- |
- Rates
- |
- Map & Directions
- |
- Facilities
Map & Directions
Hotel Noufara is located in the centre of Piraeus, Athens port, with direct access to the harbor, and the stadium 'Peace and Friendship', (ideal for athletes that their games are carried out in the particular stage). In hardly a few meters, is found the Municipal Theatre, while all the historical monuments of centre of Athens abstain hardly 10 kilometers. The Hotel's location encourages the service of professional shipping enterprises and another reason is that it is also near the exhibition centre of O.L.P. and close to the commercial streets of Piraeus.


text:
So I get the question "which is better, liquid liner or pencil liner?" a LOT. My answer? Both and neither. There are 4 basic types of eyeliner and they are all used to achieve different effects.
The pencil eyeliner gives a softer look. It's easy to smudge to get that classic smoked out effect. It's best to use for natural looks or looks that you don't want to be too harsh. They can also give a nice bold look with no harsh edges. I think black, brown and white coal liners are a must-have in any makeup bag.
Tips for applying coal liner:
- if the eyeliner is too hard and it doesn't seem to be depositing any color, run the tip through the flame of a lighterfor a couple seconds back and forth and it'll soften it up and make it easier to apply. Just be careful not to out it up to you eye if its hot! That would be bad.
- if you tend to have that tiny gap of skin showing through between your liner and your eyelashes, take a Q-tip and gently push on your eyelid. That'll further expose the skin closest to your eyelashes and makes it easier to fill it in.
- to smudge it out for a gorgeous smokey eye, take a pencil brush or small flat brush or a spongey smudger that comes at the end of some pencil liners and run it back and forth until you get your desired smokey effect.
Liquid liner is GREAT for that sexy winged out cat eye. It give such a nice, clean, sharp finish. For the most part, liquid eyeliner cannot be smudged. Even the non-waterproof eyeliners are hard to smudge and make look right. It looks like more of a smear than a soft smoked out so if use liquid liner strictly when you want a bold, sharp edge.
Tips for applying liquid liner:
- to avoid getting it globed everywhere, start in the center of your eye and sweep it out, then go back and go over the inner part. It helps deposit the most product on the thickest part of the line.
Gel liner is very similar to liquid but it can be smudged out like a coal liner. Gel liner is my go-to ALL the way. I use it almost every day. The ColorStay gel liner by Revlon and MAC black track are my 2 favorites at the moment. Gel liners have a very waxy feel so once they're on, they are very difficult to remove. This is GREAT for the waterline and tight lining the upper water line because once it's on, it won't run or smear. I like to use gel liners for winged eyeliner as well but when it's not smudged it leaves a nice clean finish.
Tips for applying gel liner:
- my favorite method for applying gel liner is using a very small precision art brush. If you bend the metal part of the tip, you can see what you're doing because your hand won't be in the way.
- when applying eyeliner to the water line, I like to dip by pencil into my gel liner and then line my water line. Gel liners are very waxy and can withstand being around the watery parts of the eye without smearing. Putting gel liner on your water will last ALL DAY!
The last type is the jumbo liner. These work great to create a very soft smokey eye. You can also go bold and pair it with liquid liner to spice up an otherwise dull winged cat-eye look. These also work GREAT as an eyeshadow base. It opens up more possibilities to play around with hues and depth of your eye shadows!
I don't really have any special tips for applying jumbo liners because they are so easy to use and are usually paired with any other kind of liner.
Speaking of eyeliners, here is Staci's review of 2 wet-n-wild liquid liners. Check it out!


text:
Birth Details for family of Archie and Janet Campbell
Source: Jack (John) Green, Canada
People: Agnes Taylor, James Cunningham Campbell, Archibald Campbell and 7 others.
Person Details for Lula Crane, "United States Census, 1940" — FamilySearch.org
Liberty, Pickens County, South Carolina, United States
Discover your family history. Explore the world's largest collection of free family trees, genealogy records and reso...
People: Lula Belle Crane
People: Agnes Crane
Past-Present-Future: Summer is Around the Corner
July 8, 1926
Atlantic City, Atlantic County, New Jersey, United States
People: Florence Novek, Fred Crane, Herbert Crane and 3 others.
Windham CT Barbour Collection C-D
Home | Query | Town Index | Records | Volunteers | LinksCT GenWeb | CT Archives | US GenWeb
People: Sarah Crane


text:
Hawaii Insider
Uncovering the best of the islands, from the shores of Hawaii to the San Francisco Bay Area.
Posts filtered on Category
Tim Zagat on Zagat Guide to Hawaii: old faves, new trends
The new Zagat Guide to Hawai'i, released earlier this week, reveals "old faves" and "new trends" among 1,050 restaurants, attractions, shops and nightclubs reviewed by 7,853 people who claim to go "all the time" or "a lot" (generally, eight times a year.) But rather than continue to parody the Zagat "partial quotation signature style" (which […] [Read More]
Temporary paddling, hiking ban at Kealakekua
The state Department of Land and Natural Resources (DLNR) has placed an indefinite moratorium at Kealakekua Bay State Historical Park on certain water activities — including kayaking and stand-up paddle boarding — in order to improve "the management, quality, and sustainability of this heavily visited and significant natural and cultural resource," according to the park's […] [Read More]
Rare jewels in the Waikiki Aquarium crown
Soon Sasha and Malia Obama will be back in school, but perhaps the next scheduled family vacation on O'ahu should include a First Family drop-in at the Waikiki Aquarium. Although small — think an hour's visit, not a day's — the oceanfront boutique facility across from Kapi'olani Park is home to several species found in […] [Read More]
Wyland's charitable brush with dolphins
A brush with spinner dolphins in Hulupo'e Bay is a highlight for many visitors to the little island of Lāna'i. Those lucky enough to be there on Dec. 26 this year can see how the brush of noted marine artist Wyland has captured them — and support two charities at the same time. At the […] [Read More]
Silver Bells: Christmas time in the city, with island flair
Silver Bells, Silver Bells, it's craft fair time in the city…specifically the Kimochi Silver Bells Arts & Crafts Faire, 10 a.m. to 4 p.m. Saturday (Dec. 15) at the Event Center at St. Mary's Cathedral, 1111 Gough St. (at Geary), a short walk from Japantown. The annual fundraiser for Kimochi, which provides culturally sensitive services […] [Read More]
Bay Area Kalikimaka: "Aloha on Ice," holiday crafts & kanikapila
As if the sun peeking out of the clouds weren't enough to warm you, another blast of Hawaiian-style holiday cheer is headed our way. Keep your jacket on for the first one, though: It's time for "Aloha on Ice" at the Embarcadero Center Ice Rink today, starting at 4 p.m., with hot refreshments, Hawaiian music […] [Read More]
Pearl Harbor's submarine "Avenger" at 70: USS Bowfin photo gallery
It's fitting that the USS Bowfin's perch in Pearl Harbor offers views of both the USS Arizona and the USS Missouri memorials. Between the calamity of the surprise attack on the Navy fleet and nearby military bases on Dec. 7, 1941, and the calm of the Japanese surrender aboard the Battleship Missouri almost four years […] [Read More]
Signs of Christmastime in Hawaii, from skating rink to Spam ornaments
Santa says shaka: New and familiar signs of Christmas and the festive winter season in in Hawaiʻi are starting to appear. Among the very newest: "Skating by the Sea" at the Westin Kaʻanapali Ocean Resort Villas on Maui, an outdoor, eco-friendly synthetic ice rink, which opened yesterday. "The rink's surface is made with a synthetic […] [Read More]
Here kitty, kitty! Animal rescue center seeks aid
Since I first wrote about (and shared many photos of) the ingenious, shelter-on-a-shoestring known as the Lānaʻi Animal Rescue Center back in 2009, it has only improved — in its facilities and community outreach. The 20,000-square-foot, open-air enclosure, on land donated by the company of the island's then-majority owner David Murdock (who subsequently sold […] [Read More]
Triple crown of surfing turns 30
The recently released "Chasing Mavericks" movie may bring new attention to the monster wave off the San Mateo County coast — especially if it deigns to appear during the nearly five-month-long Mavericks Invitational season, which opened yesterday. But the chances are somewhat surer that the 30th anniversary of Vans Triple Crown of Surfing will take […] [Read More]
Show More


text:
MS Access
Post Text/Content
Visual Basic
What Is The Code To Quit My Program I Created?
I just finished building my application that I built in VB6. I have an Exit button on the main form that unloads the main form. I have Unload me code already. What is the line of code that ends the running of my code?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Created A Program.. Need Code To Be Verified.
How To Quit Program From Ocx
Quit Program
Program Doesn't Quit.
How Can I Quit A Program Without Using UNLOAD Command
Quit A Program Before Startup Form Is Loaded?
Program Wont Quit On Label Click Event
Weres The Program That Windows Runs To Force Quit Applications?
Using Own Created Dll In Program
VB6 Created Program Will Not Run In XP
What OS's Will Program's Created In VB Run On?
Opening In Created Program??
Help With Packaging The Program Created
Shutdowning Via A Program Created By VB6 0
I've Created A Font Program
Program Error ( *.exe Has Generated Errors...restart Program.... Error Log Created...
Option Menu For Program Created In Vba
Determining When A Window Is About To Be Created By Another Program
Determining When A Window Is About To Be Created By Another Program
VB 3.0 Created Program Crashes Windows ME
Why Are .TMP Files Created Every Time I Run My Program?
Can U Add Code To Objects Created On The Fly?
MSHFlexgrid Created In Code
Can U Add Code To Objects Created On The Fly?
Return Code For Exe Created In VB
How To View File Created And Written By VB Program
Program Hangs When Trying To Read Self Created File
Program Created In Windows XP Not Working In 2000
How Do I Back Up The Registry Files Via VB6 Created Program
How To Name Lines Created By Code Statements ?
Dllregisterserver In <DLL WE CREATED> Return Code Was: 0x80004005
Create Code Behind Dynamically Created Button
Adding A Code To Created At Runtime Object
Retrieving DSNs Created On Remote PC With VB Code
Write Code For A Created Window - CreateWindowEx
Can A Datacombo Have Rowsource As A Recordset Created With Code
Code For Events Of Dynamically Created ComboBox
Adding Code To A Dynamicaly Created Object
Assigning Icon To Custom File Extension Created Using My Program
Problem With Installation Program Created By Package Deployment Wizard
Assigning VB Code To A Dynamically Created Button In Excel
Trying To Reduce Excess Code Created By Recording Macro
Basing A Data Report On A Recordset Created In Code
Question About Code Created By ActiveX Control Wizard
Error In Code That The Data Form Wizard Created!
I Want Code For Names Of User-created Tables From Sql Database
VB 5.0 Code Not Working With Manifest File Created By Prior Install
I Created A Button On Spreadsheet's Toolbar. How To Connect (link) It To Vb Code Within Excel Spread
Unload All Created Picture Box's [created @ Runtime] *slved*
Created A Program.. Need Code To Be Verified.
I created a program to keep track of my DVD Collection. I typed out all the code. however, somehting must be wrong! when i insert a DVD title, it get's stored to my external textfile. But when i run a search for that title, nothing come up. If anyone wants, i can also upload my VB Project.
Here's my Code:
Option Explicit
Private Type Employee
Title As String
End Type
Dim SearchResultWindow() As Employee
Private Sub cmdInsert_Click()
Dim Title As String
Title = txtTitle
Open App.Path & "dvd.txt" For Append As #1
Print #1, Title
Close #1
'Clear Textfield
txtTitle.Text = ""
End Sub
Private Sub cmdSearch_Click()
Dim i As Integer
Dim tempStr As String, tempArr() As String
Dim match As Integer
Open App.Path & "/dvd.txt" For Input As #1
tempStr = Input$(LOF(1), #1)
Close #1
tempArr = Split(tempStr, vbCrLf)
ReDim SearchResultWindow(UBound(tempArr) - 1) As Employee
listResults = vbNullString
For i = 0 To UBound(SearchResultWindow)
match = 0
With SearchResultWindow(i)
'------Check Title----------
If Len(txtSearch.Text) > 0 Then
If InStr(1, .Title, txtSearch, vbTextCompare) <> 0 Then
match = match + 1
End If
match = match + 1
End If
'------If all criteria match, add record---------------
If match = 1 Then
listResults.AddItem .Title
End If
End With
End Sub
Private Sub mnuClear_Click()
txtTitle.Text = ""
txtSearch.Text = ""
listResults.List = ""
End Sub
Private Sub mnuPrint_Click()
Printer.Print listResults.List
End Sub
How To Quit Program From Ocx
First of all, I like to say a billions of thanks to Mr. Gruff. Because he was helped me to much..
Before this, I have posted for "How to put FSCommand inside ocx" title forum.
Now it's done.. Thanks Mr Gruff.
For this forum, I like to ask everyone how to quit program from ocx.
My script is:
If command = "quit" Then
End If
When I compile it, there got an error "Functionality not supported".
How to solve this problem..
Quit Program
The user of my application has the choise of using the menu (file=>quit) or the X button to close the program. I just want to know if i use a correct method. I first didn't put anything in the unload event, but then all the object would still be open?
Now this is how i do it now :
Private Sub mnuClose_Click()
Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
adoCn.Close 'close the database connection
Set adoCn = Nothing 'set my object to nothing
Set adoRs = Nothing
Set frmResizeDF = Nothing
End Sub
Program Doesn't Quit.
I am running a small vb6 exe in a minimized window. It is called from another application, performs it's task and quits.
On my computer it works fine, but on my client's computer the program won't quit unless the window is maximised from the taskbar by the user. Both computers run windows 2000.
I only sent the exe file to my client, no intall program and no other files. Could that be the reason it won't quit? Everything else in the program works fine.
Here is my main procedure code:
Private Sub Form_activate()
If Len(Trim(Command$)) > 0 Then
form1.requestFile.Text = Command$
Unload Me
MsgBox ("You must pass the name of the input file in the command line.")
Unload Me
End If
End Sub
How Can I Quit A Program Without Using UNLOAD Command
I have 2 forms. Form1 and Form2. Form1 calls form2 (form2.show vbmodal). In form2 in the Form_Load sub after checking a condition I want to come out of it without even displaying the form. Now if I use Unload Me then when the control returns back to Form1 I get an error "Object was unloaded".
How can I come out of the FORM2 program gracefully so I don't get any errors?
Please help.
Thanks in advance.
Quit A Program Before Startup Form Is Loaded?
In my form initialize, i check to see if a certian program is running. if it is, i put a pessage saying "you cant run this exe while that one is running. quit it then press ok",
if they press OK it rechecks for the other program and posts the same message
if they click cancel, i Unload Me..
only thing is.. it seem we cannot Unload Me in Form_Initialize, because Form_Load hasnt run yet...
so how to quit this program?
Program Wont Quit On Label Click Event
hey guys I have a label that caption says exit, but when I click on it, it does nothing.
Here is the code for it..
VB Code:
Private Sub Label90_Click() 'boAbort = True Call UnloadAllForms(Me)End Sub
Is there something I missed? Thanks!
Weres The Program That Windows Runs To Force Quit Applications?
Using Own Created Dll In Program
I am working on a Direct3d engine and first made it in an active x usercontroll but now want to use a activeX dll ... how can i make my program use the dll?
also what should i do to call a sub etc etc :S any help will do
can i use it as a refrence? or something ?
VB6 Created Program Will Not Run In XP
I created a program using VB6 under WIN 98. The program uses an ado
When I use the package and deployment program in VB6 on this program
and then install it on a machine with XP Pro on it, I get the Provider
can not be found error..
Any Ideas....I Hope
What OS's Will Program's Created In VB Run On?
If I package up my application into a distributable/installable file what OS's will it run on?
And will it be possible to run on Mac's? Even if I have to include plug-in's etc??
Opening In Created Program??
Well guys,
Let's see if you got an anser on this one.
I want to save a file with te info I filled in textboxes!!
I know i can do that!!
I can write and save it in an txt file.
But now it commes:
When i click this saved file, i don't want to open in the notepad from windows, but i want it to open in my program!!
How do I do that??
Greetingzzz Cybercool, the one and only!!
Help With Packaging The Program Created
I have just created my program and would like to turn it into some kind of self installing program but not sure I can.
My program has a directory full of images, a .dll file from wich it uses a number of functions so it has to be in the same directory as the executable file, it uses the "Microsoft Internet Transfer Control" and also has a reference to "Microsoft Scripting Runtime" plus an .ico file which I would like to use for the executable files.
The problem is that I do not know how to include the images in the "Package and Deployment Wizard". Also I do not know how to change the icon for all of the executable files to my icon.
I tried to use a resource file but the option is not available in my Add-in Manager and I do not know how to create one manualy nor do I fully undestand it.
Thank you for any help.
Shutdowning Via A Program Created By VB6 0
What can I do if I would like to create a program which call a dll of windows NT without calling a .exe or .bat program but using a DLL like "user32","Kernel","rundll32"...
Would you like to help me?
I've Created A Font Program
How can i make my mnuFont_click() pull up the Font Program i created
Program Error ( *.exe Has Generated Errors...restart Program.... Error Log Created...
I have a VB Application in Production for last 4 yrs and in last 2 weeks the users were getting this error.
Error Message Window Header: Program Error
Actual Error Msg: [My program name].exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created.
Buttons: Cancel
This error is happening randomly on different machine(all machines have same image) on random Screens.
I have not seen this error yet on my development workstation.
Any help will to fix this will be greatly appreciated.
Option Menu For Program Created In Vba
I need answers to two questions. Please pardon if this can be found in the forum but I searched for a while...
My program saves the excel document into a hardcoded folder string. I need to give the user the option to change the default save folder, I thought an options menu would be the best way to implement this. I don't really know how to create the menu but I'm sure I can figure it out. My biggest question - how do I get the changes that the user makes to stick after the program and Excel has ended? I of course don't want them to have to change it everytime they execute the program.
default = "c:Documents and SettingsuserMy Documents"
user preference = "h:Excel Documents"
If you have a few minutes and if you know any good threads/documents detailing on how to do this and how to create the menu, it would help immensely!
Let me know if my explanation isn't clear.
Thanks in advance,
Determining When A Window Is About To Be Created By Another Program
Hi all. I've searched this forum, and countless others to determine if the answer to my question exists in an understandable form. All attempts failed; therefore, I am posting my question here in hopes that someone will be able to provide an answer.
I am attempting to determine when a window is about to be created by another application, so I can alter its starting position, and possibly its size. I am also attempting to prevent focus from ever being given to a certain window. In both cases, the window will be sourced in an application not my own (ie. it will already be running when my program starts, or will start running afterwards).
I have looked into using a Hook to hook onto the application I want to modify, or to the system to intercept messages; however, in every place I looked it said something about needing the call to be placed in an outside DLL because it can't be done directly from VB. I have no idea how to do this, can anyone help in this area? Any suggestions, methodologies, or code will be greatly appreciated.
Determining When A Window Is About To Be Created By Another Program
Hi all. I've searched this forum, and countless others to determine if the answer to my question exists in an understandable form. All attempts failed; therefore, I am posting my question here in hopes that someone will be able to provide an answer.
I am attempting to determine when a window is about to be created by another application, so I can alter its starting position, and possibly its size. I am also attempting to prevent focus from ever being given to a certain window. In both cases, the window will be sourced in an application not my own (ie. it will already be running when my program starts, or will start running afterwards).
I have looked into using a Hook to hook onto the application I want to modify, or to the system to intercept messages; however, in every place I looked it said something about needing the call to be placed in an outside DLL because it can't be done directly from VB. I have no idea how to do this, can anyone help in this area? Any suggestions, methodologies, or code will be greatly appreciated.
VB 3.0 Created Program Crashes Windows ME
I have a simple 900Kb program in Visual Basic 3.0 that I gave to a friend who has Windows Millennium. It appears to load but the computer crashes. On restart it says "improper shut down detected" and runs scan disk for errors. The program is in a self extracting setup.exe file that places vbrun300.dll in the window system directory and puts the main program in a directory of its own under program files. Is the problem that I am using 16-bit VB 3.0? If so, what vb versions can I switch to that will import my vb3.0 files? Thanks
Why Are .TMP Files Created Every Time I Run My Program?
I have created a program that allows a user to select up to 6 keywords, from 6 combo boxes. Based on the selections made, and SQL string is constructed and uses as a recordsource for an ADO data control. This works well except that each time I carry out a search a bunch of .TMP files are created and in no time at all I have an out of memory error.
What can I do to prevent these files being created.
any help appreciated
Can U Add Code To Objects Created On The Fly?
can u add code to objects created on the fly?
For example if i run the following code then i want to run some code if a command icon is clicked.
Static X As Integer
Set Commandbject = Me.Controls.Add("VB.CommandButton", "CommandButton" & X)
With CommandObject
.Caption = "Name"
.Top = 500
.Left = 500
.Height = 500
.Width = 500
.Visible = True
End With
MSHFlexgrid Created In Code
I want to be able to declare the recordset of an MSHFlexgrid in code. I have tried

flexgrid1.recordset = SomeRecordset

but I keep getting the dreaded block set error! I know the recordset is good because I have tested that. There is data there. The grid just doesn't like it.
Any ideas?
Can U Add Code To Objects Created On The Fly?
can u add code to objects created on the fly?
For example if i run the following code then i want to run some code if a command icon is clicked.
Static X As Integer
Set Commandbject = Me.Controls.Add("VB.CommandButton", "CommandButton" & X)
With CommandObject
.Caption = "Name"
.Top = 500
.Left = 500
.Height = 500
.Width = 500
.Visible = True
End With
Return Code For Exe Created In VB
I have aproject which is a simple exe project. I have another program in C## launching this VB exe. I want to communicate to the C## program that when my exe encountered any internal error or not while executing.
How do I do that. One way is to write to file and C## program can read the file for the error.
But is there a generic way of exiting the VB exe and returning a status code of -1 or something.
What happens if my VB application comes across a run-time error and exists. What is the return code given back to the calling program.
This is Very Very urgent. Any help will be greatly appericated.
How To View File Created And Written By VB Program
Please help....
I have a read a file containing strings and numbers into an array and have modified the array during run time. Further I also saved the file as a new file while the program is running.
However my problem occurs when loading back the same modified file while running the same program.... that is ....it load the same original file and not the modified version.
If have figured out....that I have to close/exit the program which is running and re-run the program back again....and when I load the modified file... i load correctly.
How is it possible to load the program without exiting the program..
Your replies would he highly appreciated
Program Hangs When Trying To Read Self Created File
I'm still working on that information program for my computer science course (and ive made it far better then what was to be expected) and ive run into a hiccup. i used code given to me from another member of these forums (Philly0494) to detect if a file is missing, then create it if it is missing. the code works flawlessly, and the thread i got it from is HERE.
but when the new file is created and i click the retrieve button again, (it should display a message saying the file is empy and aask you to fill in information and save first) the program hangs at the loop that reads the file, it never hits end of file and i dont know why. the number enver changes from 1. but yet, if i close the program and restart it (meaning the only difference is the file wasnt created that time) then the code runs through properly. im so confused by this. ive included the program below for you to check out and test. in order to get the results you have to delete the info.txt file in the application directory, then click retreive twice.
Program Created In Windows XP Not Working In 2000
Hey everyone,
i've completed my program at last, its all good and i've learnt some basic VB stuff now.
Anyways, I seem to have a problem. I have used the application and deployment wizard to create a setup and I put it on disk (created this in XP). I then put the disk in a Windows 2000 computer and it goes through the motions, but then I get something like following message:
"the files on your system are out of date, would you like to install the updated files. You must restart to continue installation."
I get some sort of message like the above. But when I restart and try and run the setup again it just gives me the same message. I have looked in the temp folder and notice that 3 of the .dll's appear there along with the program files, but the rest of the dll's seem to not be there.
I'm guessing that the first step of the setup is to copy the dll's, hence the other dll's have already been copyied. But then it stops because it cannot copy the other dll's and puts all my program files and the remaining dll's in the temp folder?.
I have also tried deleting the folder within the temp folder and checked autoexec.bat (autoexec.bat is empty).But whatever I do it just doesnt work. Now i'm starting to think that its something to do with the 3 dll's in the temp folder and compatibility with Windows 2000.
Any ideas would be greatly appreciated, thanks (* I will just go and find out what the dll's are, might help)
How Do I Back Up The Registry Files Via VB6 Created Program
I have found where the reg files are located via the Hive key found in the registry, but these files are locked and they prevent me from copying them. I need to find away to back them up via VB6. I know there must be a way as there are expensive backup software programs like Veritas that can do it. If anyone can offer any suggestions as to how to go about doing this via VB6 code I would be very grateful.
I would be happy if there was a way to automatically make a restore point and know where the files are saved, then copy the files from the restore point area for backup to a safe place incase the HD fails or the Reg. is corrupted.
How To Name Lines Created By Code Statements ?
hello ,
if I've created some lines by code , how can I give them names, and how can I copy a line by code statements .
Dllregisterserver In <DLL WE CREATED> Return Code Was: 0x80004005
My friend is writing a plug in for Corel Draw. The problem is that the code installs and works just fine under Windows 2000 but the install chokes on Windows 98 when it tries to register a dll that he wrote.
dllregisterserver in <DLL WE CREATED> return code was: 0x80004005
Any ideas? I told him to come on here and post a question as many of you give insightful technical answers, not the run-of-the-mill "reinstall windows". (which has already been tried on multiple machines)
Create Code Behind Dynamically Created Button
I have found numerous different ways to add dynamically generated buttons to a form (i.e., during runtime). However, how do I dynamically generate the code behind these buttons?
Thanks in advance!
Adding A Code To Created At Runtime Object
Private Sub Form_Load()
Dim newbuttond As CommandButton
Set newbutton = Form1.Controls.Add("vb.commandbutton", "cmdButton", Form1)
With serge
.Top = 200
.Width = 2000
.Height = 900
.Left = 300
.Visible = True
.Caption = "Hi there"
End With
End Sub
i got this code to add a button at runtime but how do i add lines of codes to it
Retrieving DSNs Created On Remote PC With VB Code
Hello everyone
I want to retrieve the list of DSNs created on the Remote PC (connected on LAN) through VB code.
I cannot use any tool for that and i must do it using VB 6 code.
Plus i don't want any code and installation on that Remote PC whose DSNs are to be accessed. All coding must be on local PC.
I have retrieved the list of local DSNs by using following code but unable to retrieve DSNs remotely.
Dim odbcTool As New ODBCTool.Dsn
Dim Dsn() As String, i As Long
If odbcTool.GetDataSourceList(Dsn()) Then
' a True return value means success
For i = 0 To UBound(dsn)
lstDataSources.AddItem dsn(i)
' a False value means error
MsgBox "Unable to read DSN list", vbExclamation
End If
Thanks in advance
Write Code For A Created Window - CreateWindowEx
I have been trying to figure out how to write event code for a button that was created from a sample project by allapi.net. AllApi has a sample program at the bottom of this page http://www.mentalis.org/apilist/CreateWindowEx.shtml called "New Start Button". This sample app uses CreateWindowEx to create a window and return the handle of that window. I would like to write event code for that new control that was created. How would I go about doing this?
Here is the code from that link above:
VB Code:
Const WS_CHILD = &H40000000Const WM_LBUTTONDOWN = &H201Const WM_LBUTTONUP = &H202Const SW_HIDE = 0Const SW_NORMAL = 1Private Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As LongPrivate Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPrivate Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As LongPrivate Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As LongPrivate Declare Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As LongPrivate Declare Function DestroyWindow Lib "user32" (ByVal hwnd As Long) As LongDim tWnd As Long, bWnd As Long, ncWnd As LongPrivate Sub Form_Load() 'KPD-Team 1998 'URL: [url]http://www.allapi.net/[/url] 'E-Mail: [email]email@example.com[/email] Dim R As RECT 'Get the taskbar's window handle tWnd = FindWindow("Shell_TrayWnd", vbNullString) 'Get the start-button's window handle bWnd = FindWindowEx(tWnd, ByVal 0&, "BUTTON", vbNullString) 'Get the start button's position GetWindowRect bWnd, R 'Create a new button ncWnd = CreateWindowEx(ByVal 0&, "BUTTON", "Hello !", WS_CHILD, 0, 0, R.Right - R.Left, R.Bottom - R.Top, tWnd, ByVal 0&, App.hInstance, ByVal 0&) 'Show our button ShowWindow ncWnd, SW_NORMAL 'Hide the start button ShowWindow bWnd, SW_HIDEEnd SubPrivate Sub Form_Unload(Cancel As Integer) 'show the start button ShowWindow bWnd, SW_NORMAL 'destroy our button DestroyWindow ncWndEnd Sub
Can A Datacombo Have Rowsource As A Recordset Created With Code
Can you assign a recordset created by ADO code to a datacombo box? I tried with "datacombo1.RowSource= reordset1", but it does not work.
Can somebody please tell how to do this?
Code For Events Of Dynamically Created ComboBox
Need an help to code events for the dynamically created combobox in VB. As the combobox is created and filled with data at runtime, now if we want to access any event of this combobox how to code for that event. Please if anyone can help me out ..... Thanx
Adding Code To A Dynamicaly Created Object
I know how to create a object in run-time. (Using the load statement) However this is not yet enough. Is it possible to create code in the dynamically created object. For instance use the call statement to use sub's in other forms/objects.
Or is it possible detect an event in the created object from within a base form. Something like if form1.NewObject = clicked then call sub1
Assigning Icon To Custom File Extension Created Using My Program
I had a program created in VB6. This program produces files with an extension of *.xpc. Since this is a custom file type that my program produces, when the file is saved to the harddrive, it is an unknown filetype according to Windows so it is assigned the default Icon Windows uses when it does not know the file type. I would like this to look more professional and would like to use my custom Icon for the .xpc filetype my program creates. I do not need to know how to assign the icon to the programs .exe, I need to assign an icon to the .xpc file type and have it show up on ALL users computers. I do not know how to do this in VB6. Can anyone explain the method in detail? I am pretty new to VB.
Problem With Installation Program Created By Package Deployment Wizard
THis is the error message I get when I use the installation program created by the package deployment wizard in VB6
Does any one know what is going on and how to fix it.
an error occured while registering the file 'C:WINNYsystem32msado25.tlb'
Here is my setup.lst file just in case you need it
SetupText=Copying Files, please stand by.
[Bootstrap Files]
email@example.com,$(WinSysPathSysFile),,,7/15/00 12:00:00 AM,101888,220.127.116.11
firstname.lastname@example.com,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
firstname.lastname@example.com,$(WinSysPathSysFile),$(TLBRegister),,6/3/99 12:00:00 AM,17920,2.40.4275.1
firstname.lastname@example.com,$(WinSysPathSysFile),,,3/8/99 12:00:00 AM,147728,2.40.4275.1
firstname.lastname@example.com,$(WinSysPathSysFile),$(DLLSelfRegister),,3/8/99 12:00:00 AM,164112,5.0.4275.1
email@example.com,$(WinSysPathSysFile),$(DLLSelfRegister),,4/12/00 12:00:00 AM,598288,2.40.4275.1
email@example.com,$(WinSysPathSysFile),$(DLLSelfRegister),,6/19/03 3:05:04 PM,1385744,126.96.36.199
[Setup1 Files]
File1=@MDAC_TYP.EXE,$(AppPath),,,1/20/00 12:00:00 AM,7856352,25.0.4403.12
email@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),4/5/01 1:43:19 PM,118784,126.96.36.199
firstname.lastname@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),7/15/00 12:00:00 AM,77824,184.108.40.206
email@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),7/15/00 12:00:00 AM,299008,18.104.22.168
email@example.com,$(CommonFiles)designer,$(DLLSelfRegister),$(Shared),7/15/00 12:00:00 AM,136192,188.8.131.52
firstname.lastname@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),2/9/99 11:42:26 PM,106496,188.8.131.5207
firstname.lastname@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 12:00:00 AM,647872,22.214.171.124
firstname.lastname@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 12:00:00 AM,118976,18.104.22.168
firstname.lastname@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 12:00:00 AM,140488,126.96.36.199
email@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 12:00:00 AM,244416,126.96.36.199
firstname.lastname@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),7/15/00 12:00:00 AM,57344,126.96.36.19950
email@example.com,$(WinSysPath),$(DLLSelfRegister),$(Shared),7/13/01 8:39:22 AM,81920,2.70.7713.0
email@example.com,$(AppPath),,,9/2/03 12:18:20 PM,229376,18.104.22.168
Assigning VB Code To A Dynamically Created Button In Excel
I have a question. I have a procedure in Visual Basic (Excel) that created several additional sheets with a button on each newly created sheet. I'm using the following code to create sheets and add buttons:
sname = "product" + Str(index1)
NewSheet.Name = sname
Sheets(sname).OLEObjects.Add(ClassType:="Forms.CommandButton.1", Filename:="Sheet1", Link:=False _
, DisplayAsIcon:=False, Left:=233.25, Top:=125.25, Width:=61.5, Height _
Now, how do I assign a procedure(procedures) to the newly created buttons? You see, I want a particual procedure to execute when a user clicks on this button, but I have no idea how to "tie" a procedure to a dynamically created button.
Thanks for your help!
Trying To Reduce Excess Code Created By Recording Macro
I'm really new a this and am learning that some code created by the recorder can be reduced. attached is my string of code I've tried to reduce and failed on step 2 and 3. the hard part is step 2 will write in the same cell as step one at the end of the first statement. step three does the same this works well but trying to learn how to reduce code. any ideas
Worksheets("SI BRIEF DOCUMENT").Activate
Worksheets("SI BRIEF DOCUMENT").Range("C24").Select
Worksheets("SENIOR MEMBER NOTES").Activate
Worksheets("SENIOR MEMBER NOTES").Range("B12").Select
Selection.PasteSpecial Paste:=xlValues
step 2
Worksheets("SI BRIEF DOCUMENT").Activate
Worksheets("SI BRIEF DOCUMENT").Range("C25").Select
newentry = Selection.Value
Worksheets("SENIOR MEMBER NOTES").Activate
Worksheets("SENIOR MEMBER NOTES").Range("B12").Select
oldentry = Selection.Value
If oldentry = "" Then Selection.PasteSpecial Paste:=xlValues Else Selection.Value = oldentry & Chr(10) & newentry
step 3
Worksheets("SI BRIEF DOCUMENT").Activate
Worksheets("SI BRIEF DOCUMENT").Range("C27").Select
newentry = Selection.Value
Worksheets("SENIOR MEMBER NOTES").Activate
Worksheets("SENIOR MEMBER NOTES").Range("B12").Select
oldentry = Selection.Value
If oldentry = "" Then Selection.PasteSpecial Paste:=xlValues Else Selection.Value = oldentry & Chr(10) & newentry
Basing A Data Report On A Recordset Created In Code
I'm used to using Visual Basic 6 data reports based on data commands. My problem is that I have a form which dynamically builds up a SQL statement depending on what criteria is selected by the user. This statement then gets fired to display a datagrid with the results. All that works fine but I need to be able to have those results presented in a nice report.
Is there a way of basing a data report on a recordset created via code or is there a way of creating a data command dynamically, based on a recordset in code which can then be used as input to the report?
Question About Code Created By ActiveX Control Wizard
Dear Sir,
Whenever I create an ActiveX control with the help of theActiveX control wizard, VB adds the following comments before Property Get :
what is it? I also find such trailing comments at the declarations of every events, like :
Event Resize() 'MappingInfo=UserControl,UserControl,-1,Resize
Please help me.
Error In Code That The Data Form Wizard Created!
I used the data form wizard to creat a form, controls and code for a database im practicing on.
Problem is the code that the wizard has created contains error...
Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
'This will display the current record position for this recordset
datPrimaryRS.Caption = "Record: " & CStr(datPrimaryRS.Recordset.AbsolutePosition)
End Sub
It highlights the first line and says
Compile error:
Procedure declaration does not match description of event or procedure hving the same name.
Thanks for you help
- Chris
I Want Code For Names Of User-created Tables From Sql Database
the code should be in vb 6.0
VB 5.0 Code Not Working With Manifest File Created By Prior Install
The code was recompiled with changes on the server with VB5.0. It uses a ocx ss32x25.ocx and is referenced to a MANIFEST file. The executable works on the server but is not working on my local machine where VB is not installed. Could anyone please help.
I Created A Button On Spreadsheet's Toolbar. How To Connect (link) It To Vb Code Within Excel Spread
I created a button on spreadsheet's toolbar. How to connect (link) it to vb code within excel spreadsheet, that is, when I click on the button, it can start the vb program within excel spreadsheet? - thanks
Unload All Created Picture Box's [created @ Runtime] *slved*
Hey yer guys.
OK, i have some Picture Box's, which are created when a user enters my chat room, and then unloaded when the user exit's
These picture box's index are the connection index's to my chat server the user is using.. [ So they are unique to the user ]
Anyhow, i have got them loading when the user enters / leaves the room
But if I Leave the room i need to unload all loaded picture box's except the one with and index of 0
Now, how can i loop through each picture box, in the form?
IE: for unloading forms u can do:
VB Code:
Dim frm as formfor each frm in forms unload frmnext frm
is there a way i can do the same for the picture box's?
[BTW: My name for the picture box's are "imgAV" [if that helps ne?]
Copyright © 2005-08 www.BigResource.com, All rights reserved


text:
Any 'corporation' in India that says the Yamuna is safe – surely must be bribed. Show me a lake, pond, stream, estuary in India that is safe? Even the wells are dangerous.
I wish that there would a clearer understanding of the guidelines. WHO has guidelines for water quality NOT standards. In India the measure to be used is BIS 10500 , which is the National Standard for drinking water quality. Unfortunately this is not legally binding and no utility in India is therefore legally obligated to provide drinking water quality. This of course needs to be changed , apart from the transparency that is needed in the dissemination of the information.
India Real Time offers analysis and insights into the broad range of developments in business, markets, the economy, politics, culture, sports, and entertainment that take place every single day in the world's largest democracy. Regular posts from Wall Street Journal and Dow Jones Newswires reporters around the country provide a unique take on the main stories in the news, shed light on what else mattered and why, and give global readers a snapshot of what Indians have been talking about all week. You can contact the editors at indiarealtime(at)wsj(dot)com.
Check out the main contributors to the blog and their bios here.


text:
|« Prev
|Page 1 | Page 2 | Page 3 | Page 4 | Page 5
|Next »
Re: Roman Enumeration
2012-04-02 09:09 • by P. Almonius (unregistered)
That should be "prmium"
if(r=="III") return "tertium";
Obviously, he should have used switch.
Roman numeral system is being flawed system. The West can be thanking Indian for invention of modurn numerals.
Nice implementation of Y2k12.
Re: Roman Enumeration
2012-04-02 09:19 • by anon (unregistered)
Cool, I'll thank Gray Eagle next time I see him.
One line in Haskell.
Well, on embedded systems with limited processing power, a lookup table is still the best way ... Memory in GB's is cheap offcourse. And, the error return is TRWTF, it should be FILE_NOT_FOUND
Why would you call it a Roman Numerals to decimal numbers converter? A Roman Numeral can, by definition, not be a decimal (the Romans didn't have "0"), and neither did they use decimals (only whole numbers).
A better title for the "project" would be Roman Numerals to Integers (although this would also be wrong, as "integers" both incorporates negative numbers and zero), so the absolute correct naming would be Roman Numerals to Natural numbers (the numbers we learn when we learn to count, which are normally 1,2,3,4,5,6,7,8,9,10 etc)
Re: Roman Enumeration
2012-04-02 09:56 • by Anon (unregistered)
(Fake) Nagesh makes a valid point?!? Must be a late April Fools day joke.
TRWTF is this assignment, since there is no single standard for Roman numerals.
...and the best part of the routine is carefully hidden deep in the list: If you input 'MCMLXXXIX', it returns 'FILE NOT FOUND'.
Because it returns the decimal (base 10) representation of the number. Strictly-speaking, with this name, it's correct to return it as a string (or a decimal datatype, if there is one in whichever language is being used), since returning it as an integer would make it a roman numerals to integer-without-any-particular-representation-or-base (or roman numerals to binary, depending on how you look at it) convertor, rather than specifically roman numerals to decimal.
So you're asking the right question, but for the wrong reasons. Roman Numerals to Natural Numbers doesn't make much sense, really, because all Roman numerals already do represent natural numbers; no conversion necessary. The function just changes the notation, in this case to Hindu-Arabic numerals (which are decimal, although it might not be what Kendall wanted.) If Kendall didn't want the result as a string, he should have either called it a roman numerals to integer convertor, or told the programmer whether he wanted the decimal number as a string, binary-coded decimal, or other decimal data type.
Hmmm... this is a pretty interesting example... and complex too:
public String toNormal(final String roman){
List<Integer> ints = new ArrayList<Integer>();
char[] cArray = roman.toCharArray();
for(int i = 0; i < cArray.length; i++){
case 'I': ints.add(1); break;
case 'V': ints.add(5); break;
case 'X': ints.add(10); break;
case 'L': ints.add(50); break;
case 'C': ints.add(100); break;
case 'D': ints.add(500); break;
case 'M': ints.add(1000); break;
default: throw new IllegalArgumentException();
Integer total = ints.get(ints.size()-1);
for(int i = ints.size()-1; i > 0; i--){
if(ints.get(i) > ints.get(i-1))
total = total - ints.get(i-1);
total = total + ints.get(i-1);
return String.valueOf(total);
Re: Roman Enumeration
2012-04-02 10:26 • by Toodle (unregistered)
Code fail on
The new hire was obviously an Aztec, since he knew from hist calendar that there was no need for years beyond 2012.
Re: Roman Enumeration
2012-04-02 10:37 • by TheJonB (unregistered)
IIX is invalid, 8 is written VIII as any fule no.
[ As an aside, I'm a bit thick, but I just realised that the real WTF is that the captcha answer
is encoded in the viewstate on this site.. ]
A series of "cleverly" nested switches would be even better.
8 being written as VIII aside, wouldn't it also fail on IV first?
Wrong. That is a reason not to include 2013. You still need to include the last year that will exist. December 20th is most of the year.
Re: Roman Enumeration
2012-04-02 10:52 • by PedanticCurmudgeon
I think you're bluffing. Code or it didn't happen.
r = { "I" : 1, "V" : 5, "X" : 10, "L" : 50, "C" : 100, "D" : 500, "M" : 1000 }
def r2d(m, p="I"):
return 0 if m=="" else r2d(m[:-1],m[-1])+r[m[-1]]*(1 if r[m[-1]]>=r[p] else -1)
print r2d("") # 0
print r2d("IX") # 9
print r2d("XI") # 11
print r2d("MDCCCCX") # 1910
print r2d("MCMLIV") # 1954
print r2d("MCMXC") # 1990
print r2d("MCMXCIX") # 1999
Re: Roman Enumeration
2012-04-02 10:59 • by Daniel (unregistered)
Yes, doubly so: it should both remove twice the ints.get(i-1) number (since an instance of it was added in its own loop, and an extra should be removed) AND add ints.get(i).
So "IV" (and IX/XL/XC/LC/CD/CM/DM wherever they occur in a number) would return 0 in the current state.
CAPTCHA: "validus": indeed
Nobody commented yet, but this new-hire MUST have typed Every. Single. Number. In roman numbers.
That's not exactly an easy thing to do unless there's a feature in Excel that I'm not aware of.
+1 for dedication
-100 for stupidity
It wouldn't be that hard with a bit of cut & paste.
Re: Roman Enumeration
2012-04-02 11:22 • by the beholder (unregistered)
There is such a function indeed. He just lost that hard-earned +1
Re: Roman Enumeration
2012-04-02 11:24 • by iToad (unregistered)
...and this is why we will never see a Haskell WTF here. Mere mortals such as us are simply not qualified to tell the difference between god-mode Haskell and WTF Haskell.
The better way in my mind is to use the interpreter pattern and let it build any decimal representation of any given roman numeral representation you give it.
Bonus points for the fact there this is an example found with an easy google search on the interpreter pattern that does this exact same thing.
And, to be fair, the -100 as well.
The function, if anyone's interested, is here: http://office.microsoft.com/en-us/excel-help/convert-arabic-to-roman-numerals-HA010007443.aspx
Using Excel to auto-generate code is delightfully perverse. That's one of those innovations that is just crazy enough to be crazy.
I can always count on TDWTF for my daily dose of pedantic dickweedery.
Re: Roman Enumeration
2012-04-02 11:43 • by JAHH (Just Another Haskell Hobo) (unregistered)
Here's my single line (assuming correctly formed romans):
easy peasy.
Re: Roman Enumeration
2012-04-02 12:09 • by PedanticCurmudgeon
That's not Haskell, that's Python. It's using a language feature that I was previously unaware of, oops. ([value] if [condition] else [alternative])
Fake nagesh has stole words from my key-board. It is "modern numbers", you idiot.
Also Alegbra invented here.
Re: Roman Enumeration
2012-04-02 12:13 • by PedanticCurmudgeon
Some would say that there is no difference.
Re: Roman Enumeration
2012-04-02 12:17 • by foo (unregistered)
A list of integers. Really? I mean ... where's the XML?
Re: Roman Enumeration
2012-04-02 12:20 • by fjf (unregistered)
XML == 1040, according to this function
The average Haskell WTF is something about a guy who, during an interview, forgot to make his Monad an Applicative. Can you imagine such foolishness? Also, missing a perfectly good opportunity to use a zipWith or a liftM is cause for certain derision.
Re: Roman Enumeration
2012-04-02 12:33 • by TheJonB (unregistered)
Etymology suggests it's from them Ay-rabs.
Re: Roman Enumeration
2012-04-02 12:38 • by Meep (unregistered)
rom 'I' = 1
rom 'V' = 5
rom 'X' = 10
All of which can be translated into a single case statement, rom x = case x of { 'I' -> 1; 'V' -> 5; 'X' -> 10 ... }
Since a string is simply a list of characters:
raw_decode nums = map rom nums
Or as a comprehension: raw_decode nums = [ rom num | num <- nums ]
So raw_decode "IXX" yields [1, 10, 10]
Next we want to group up all the IX type cases. Our numerals should always be in descending order, except for those cases, so we can simply group using the < operator.
rollup_prefixes raw = groupBy (<) raw
That gives us a list of lists that may be one or two elements long, by our invariants.
sub_prefix [ num ] = num
sub_prefix [ pre num ] = num - pre
Or as a case statement:
sub_prefix roll = case roll of { [ num ] -> num; [ pre num ] -> num - pre; }
And we then map that out:
sub_prefixes rolled_up = map sub_prefix rolled_up
Then we simply sum the result:
final subbed = sum subbed
Put it all together:
rom2num roman = sum [ case roll of { [ num ] -> num; [ pre num ] -> num - pre; } | roll <-
groupBy (<) [ case num of { 'I' -> 1; 'V' -> 2; ... } | letter <- roman ] ]
If I were more efficient at commenting, this would be first. Perhaps they will assign commenting duties to the marketing department.
So the best solution to this is to create an excel macro to do it. That is Brillant! Then again I have been known to use excel to create 100+ statements (that contain things like counters) for random things like database inserts and xml input files.
Re: Roman Enumeration
2012-04-02 12:42 • by iToad (unregistered)
Crap, you're right. To add insult to injury, I use Python. This is what happens when you post on a Monday morning.
Clearly this problem is screaming for a Perl REGEX!
Re: Roman Enumeration
2012-04-02 12:48 • by Ol' Bob (unregistered)
Who's this Aleg chick? And what're you doin' inventin' underwear for her?
Haskell people are wierd... and they talk funny.
Re: Roman Enumeration
2012-04-02 12:50 • by LANMind (unregistered)
Two comments.
First, any time I see code that might perhaps be more easily understood if represented in cyrilic, or maybe a right to left language, I figure "wtf?" Then again, I'm not building device drivers or something else that requires the most succinct code - I'm solving business problems - and you'd better believe that maintainability is a so-close-it's-immaterial second to whether or not it produces the right result. As sure as God made little green apples, today's correct solution will be incorrect tomorrow. All of that leads to...
Second, the technical debt in our instance would be prohibitively high.
Re: Roman Enumeration
2012-04-02 12:53 • by Jay (unregistered)
The word "decimal" means "base 10". He is converting from Roman numberals to Hindu-Arabic numerals in base 10. The name is perfectly appropriate.
He is not converting Roman Numerals to natural numbers. Roman Numerals already are natural numbers. Natural numbers exist independent of the notation used to represent them.
Even if we understood "integer" to mean "Hindu-Arabic represenstation of integers" and "natural numbers" to mean "Hindu-Arabic representation of natural numbers", your comment makes no sense. Even if the function can never produce zero or negative numbers, so what? If someone says that he has written a "French to English translation dictionary", would it be fair to say he was lying because you found an English word for which there is no corresponding word in French, and which the dictionary did not therefore have an entry for? Or for a closer analogy, would it really be fair to say that there cannot possibly be any such thing as a function to convert short integers to long integers, because many long integers exist which could never be output by this function? So the range of possible outputs is a subset of the domain. So what?
Why doesnt it return a "end of source file not found" error?
If it has a prefixed "e" it can be tested for being an error string too or maybe garbled floating point numbers.
|« Prev
|Page 1 | Page 2 | Page 3 | Page 4 | Page 5
|Next »


text:
And for the security/privacy conscious:
1. Firewall-IP - (BUY don't Pirate!)
2. Ad-Blocker - (BUY don't Pirate!)
3. PMP (Protect my Privacy)
4. iBlacklist
5. Contact Privacy
6. Apps Using Location
Because even "legitimate" App store apps shouldn't be allowed to scan your; Device-ID, location, contacts, photos, sms, email, calendar, music collection, and sell the info to 3rd parties unless you allow!They have been doing it for years on stock iOS and its getting worse. So don't be a "suckled sucker" BUY (don't pirate) the apps above most of which are free, and watch what happens when you launch an app store app. Mind will be blown! Sayin...
Hey Protube 2 for iphone 4 5.1.1. I'm sick of "File type not compatible" popups. Downloads the youtube file name but NO video!! So I bought Bridge also. Cannot import. Cannot download using YouTube URL!!
Total number of YouTube videos downloaded out of a dozen or so attempts = zero!! Be interesting to see if author responds to my email request for help.
Total waste of 4 bucks!!
make sure that you are using the latest version of ProTube 2. Any older versions are not working anymore due to constant changes on YouTube. Also there is no error message saying "File type not compatible" that I know of. If you are using the latest version and you still have issues then please explain in more detail what exactly is not working for you as I can't fully understand your formulation.
Everything I try downloading keeps getting a error saying NetDB: Open nodename nor servname provided, or not known
When you run hundreds of thousands of processes on your personal computer, you'll notice that will will slow down, become unresponsive, maybe even just crash.
This is what the Cydia repository servers are going through right now, although they're just a little more powerful than the average personal computer.
Wait and give the repositories time to appease the traffic. This could take hours, days, even a week or two.
seems quasar 1.3 still not compatible as it crash the springboard
Lockinfo for IOS 6 crashed at first. I uninstalled and reinstalled and all is well. I don't know about add ons as I didn't add any 2nd time
Icon passcode and status tweak both work in iOS 6.. I wonder if weather icon will be updated?? Especially since lock info was.
Did something change about Deck since this article was first released?
It says it's not compatible with iOS6 on Cydia... :/


text:
- 2 years ago
- 107332
- 2 years ago
- 1
This is me.
Glass is thick, and seems nonexistent.
You can not pass through it, for it is resistant.
But you can see miles away when the day is clear.
And allows us safety from what we fear.
I've shattered my window,
The sun is low.
I watch the horizon, and smile,
Those movements so fragile.
My blood drips like a faucet,
But I will repair that.
Tomorrows sun will be brighter.
That horizon will creep closer.
- 2 years ago
- 12
Why is he in a cabinet… o.o Why just his head, who killed him, and severed his head, and smacked him next to a box of cake mix, and frosting…. don't make a cake out of him Dx Who is so evil, as to do such a horrid thing.Source: the22ndpilot
- 2 years ago
- 9
So yesterday I saw Say Anything and it was awesome but there was this girl who was getting all "Lana Del Rey parody on SNL" next to me trying to pull her hair over and over again to make sure it was okay and pulling out her iPhone and checking herself in it twenty-thousand times as if Max Bemis…
Lolol, that's like the one stoned hippy, who hip grinded on me for the entirety of an Anthony Green concert, which was followed by a drunk man cascading across me and my two friends, like a ping pong ball, then the man who looked like ice cube who was actually probably a serial killer…
- 2 years ago
- 76
Arteria Axillaris, Ceramic sculpture
(via decadent-meatz)Source: shigella
- 2 years ago
- 3797
- 2 years ago
- 1


text:
Reader Comments (Page 1 of 1)
Honestly, the best advice to anyone reading these comments is to ignore every comment and even the article itself, and instead go to Maintankadin and learn what it's all about.
On topic - http://maintankadin.failsafedesign.com/forum/index.php?f=3&t=27782&rb_v=viewtopic
Oh, and Randomize? Kudos on "crit-capped" but you messed up with "defense cap", in addition to nerfing yourself by gemming Stamina in a yellow slot when the bonus is +9 or (especially!) +12 Stamina. I'm sure you're not one of those "rng is bad!" knuckleheads, but 1000 Defense is better than 1 Stamina, and likewise 10 Def 27 Stam is better than 30 Stam, especially with the buffs we're getting in ICC.


text:
Pride In Our Schools
Welcome to the Cudahy School District blog. Read positive stories about the students and staff in the Cudahy School District. Stay on top of events and activities in the Cudahy schools. Learn about current school-related information.
Cudahy School District web site | E-mail Superintendent Jim Heiden
7th Grade Orientation at Cudahy Middle School
The Cudahy Middle School will be hosting a morning orientation for incoming seventh grade students on Wednesday, May 14th at 9:00 a.m. All the sixth grade students and teachers will be provided information and a tour of the school.
The students assisting in the tour of Cudahy Middle School are the recently inducted members of the National Junior Honor Society (NJHS). This is their first volunteer and leadership assignment.
This site uses Facebook comments to make it easier for you to contribute. If you see a comment you would like to flag for spam or abuse, click the "x" in the upper right of it. By posting, you agree to our Terms of Use.


text:
Nina that is awesome and I Love your fabric choices! That little baby is absolutely darling! Oh how I remember those days.
Welcome to the Quilting Board!
Nina that is awesome and I Love your fabric choices! That little baby is absolutely darling! Oh how I remember those days.
Very nice little quilt, Nina.......love your colors on a white background.
Absolutely beautiful! I like the 3D stuff, working on a baby quilt that is 3D. All the quilts coming in are just fantastic.
Onalee Rose
"There comes a time in your life, when you walk away from all the drama and people who create it. You surround yourself with people who make you laugh. Forget the bad, and focus on the good. Love the people who treat you right, pray for the ones who don't. Life is too short to be anything but happy. Falling down is a part of life, getting back up is living."
Thanks guys The fabrics came from a coordinated pack my Mother-in-Law gave me. I liked how they stood out against the white background.
Thank you also for the compliments on my son; I am rather taken with him
Wow, there are some beautiful quilts coming in. Yall are so creative. I love seeing all of them.
My avatar is my first grandbaby!! Brantley 10-2-12
**QB Monthly Bee Block Swap Theme (5-27-14)*
**NEW** Trees, Think Fantasy, Think Enchanted, Think fairys and woodland animals. Think brighter fabrics. (Nothing pale or muted.) **TREES** Any kind of block, pieced, embroidery, or applique, your choice.
Buslady I recieved your beautiful doll quilt a couple of days ago. I apologize for not letting you know sooner but I have been sick all week with the flu.......... But I just love it.... Thank you so much..... It has wonderful detail...... Very bright and Happy....Have it hanging up in my sewing room already. Thanks again for being my partner this month.
Take time to pray, It is the greatest power on earth!
abonda, wow how lucky are you, what a gorgeous quilt. Just love the kittys, they look like they could get up to mischief
QB Albums: Lynnie25's Quilts; Lyn's Dolls Quilt Swap Quilts
Abonda, glad you're back with us. What a sweetie Buslady made for you! That is a quilt that just makes you smile ear to ear.
NinaLemon, knowing that you have a little boy explains the Calvin and Hobbs avatar!
Feel the fear and do it anyway!
What a joyful quilt Buslady! I love your flowers and kitties - it DOES make you smile from ear to ear just to look at it! I bet it cheered you up when you were sick Abonda. Glad you are feeling better now!


text:
sowr good
Posted 3 years ago
159 notes
Tags: flight of the conchords, new zealand, funny, hbo, good tv, comedy, sketch comedy, gif, bret and jemaine,
a parrt time modell
They make me smile :) oh god! tututututuruturutu! The Flight of the Conchords
always. reblog.
©2011–2014. Postage by Greg Cooper. Icons by PixelResort. Thanks to Jamie Cassidy & Panic.
*Unlikely to find your lost post using this but you can try...


text:
In Tuesday's Entertainment Fix, the stars came out for the inauguration of President Obama on Monday. Beyonce, Alicia Keys, James Taylor and Kelly Clarkson all performed!
Click the video above to view this story and more.
KTTV FOX 111999 S. Bundy Dr.Los Angeles CA 90025Main: (310) 584-2000News Tips? (310) 584-2025


text:
I'm a Trader Joe's Junkie
Trader Joe's is grocery store porn.
Momlogic's Yvette: The first step to recovery is admitting you have a problem. So here goes, my confession: I'm a Trader Joe's junkie. I have officially become obsessed with grocery shopping and can honestly say that I spend far too much time shopping for, talking about, eating and now writing about the unique grocery store with the laid back vibe.
No, I didn't turn into a grocery store fixated loser overnight. It all started with a simple lunch at a friend's house where she served an incredible ham and gruyere pizza with carmelized onions. It was outrageous and I had to have more, immediately. That led to my first of countless trips to Trader Joe's. At first I had no idea what I was looking for, or what to make of all those bags of frozen food stacked in the freezers or all those pre-packaged foods in the fridge. I left empty handed and frustrated. But then it happened: My girlfriend took me by the hand and walked me down those narrow aisles herself. She filled my cart with things I never would have thought I'd buy -- sea salt caramels, barbecue pulled pork and buckets and buckets of cat cookies. I was hooked.
Since that day, it's been like our very own neighborhood version of telephone. I told two friends and they told two friends and so on and so on. Whenever my girlfriends and I get together, the conversation always turns to our latest Trader Joe's discoveries. We share this information like friends share photos on Facebook. Did you try the peppermint Joe's O's? You have to try the pesto pizza. I can't get enough of the gyoza. My kids love the sweet potato fries.
Now admittedly, my fixation with Trader Joe's is not such a bad thing, I find that I'm saving lots of money on staples like cereal, milk, juice and yogurt -- so that alone make me feel better about my obsession. But here's the problem: I'm so fixated on their food that I find myself eating entire bags of it. I'm devouring whole pizzas, inhaling bags of dumplings meant to serve four people and don't get me started on their desserts -- an entire apple tart went missing as I typed this piece.
When I first came out of the closet and admitted my obsession, I was thrilled to find out that I'm not alone. It turns out there are a bunch of websites out there like traderjoesfan.com and trackingtraderjoes.com for people like me who love nothing more that to brag about their latest purchase, report back on a new find or complain that the dish they became addicted to has suddenly been discontinued. Now, I'm not one to complain. I'm loyal to my Joe and I would never air our dirty laundry or grievances in public, so you won't find me complaining on any of those sites. But, if I ever was tempted to grumble about my favorite grocery store -- I'd want to know why every other store sells Two Buck Chuck but I can't get it at my local store. Come on, can you blame a girl? All I want is to be wined and dined.
How about you? Tell us your favorite Trader Joe's obsession.
LOVE me some two buck chuck! Not to mention the chocolate covered pretzels, and mini carrot cake muffins with the Icing of course. And who can forget the "No guilt" potato chips and the Veggie chips/sticks. If you don't have TJ's your missing out. The staff and store are truly unique.
Hi. A writer is a person for whom writing is more difficult than it is for other people.
I am from Nicaragua and learning to speak English, please tell me right I wrote the following sentence: "Every woman should know topics pharmacy, buy imitrex, cheap imitrex, generic."
Thanks for the help :-D, Spence.
The nearest TJs to me is nearly 400 miles. That doesn't stop my family. We plan trips around TJs and intentionally pack light so we can bring home truffles, hand made tortillas, chocolate covered almonds, and all the inexpensive quality wine we can. I hear TJs *might* be in CO In a few years, but in the meantime, I'll keep vacationing wherev
An impressive share, I simply given this onto a colleague who was doing a bit of evaluation on this. And he in reality purchased me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to debate this, I feel strongly about it and love studying more on this topic. If doable, as you develop into experience, would you mind updating your weblog with more particulars? It's highly helpful for me. Large thumb up for this weblog put up!
|«... 1


text:
From Wikipedia, the free encyclopedia
|This is the template sandbox page for Template:Doi (diff).
This template is intended to allow simple standardized links to digital object identifiers (DOIs). Usually, {{cite doi}} is a much better choice, because it will automatically complete the entire citation in most cases.
which produces:
Usually, this template is preferred:
{{cite doi|10.1016/j.coi.2004.08.001}}
which produces:
- Goldstein, D. R. (2004). "Toll-like receptors and other links between innate and acquired alloimmunity". Current Opinion in Immunology 16 (5): 538–544. doi:10.1016/j.coi.2004.08.001. PMID 15341996.
See also[edit]
|The above documentation is transcluded from Template:Doi/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.


text:
Melsahn Basabe scored 15 of his 17 points in the first half as Iowa throttled Texas A&M-Corpus Christi 88-59 on Saturday.
Devyn Marble added 15 points for the Hawkeyes (6-2), who never trailed and used a 20-0 run in the first half to bounce back from two straight losses.
Joy Williamson scored 14 points to lead Texas A&M-Corpus Christi (1-5).
Basabe came off the bench to spark Iowa's big first-half rally. The junior scored the final 13 points of the 20-0 run during a seven-minute stretch of the half. Basabe made 5 of 6 field goals and 7 of 8 free throws for the game.
Iowa freshman Adam Woodbury added 13 points and five rebounds. Josh Oglesby scored 12 points.
AMES, Iowa (AP) -- Will Clyburn scored a career-high 32 points and Iowa State snapped a two-game losing streak by beating BYU 83-62.
Melvin Ejim added 13 points for the Cyclones (5-2), who shot 48 percent from the floor in a surprisingly easy victory over the Cougars.
Iowa State took control with a 12-0 run spanning the halves. The Cyclones jumped ahead by as much as 58-41 early in the second half and cruised to their 12th straight home win dating back to last season.
Brandon Davies had 20 points to lead BYU (5-3), which saw its three-game winning streak snapped. The Cougars hit just four 3s in 20 tries.


text:
Phone: 940-872-2221
Get the power of credit with the card that works like a check. Instead of charging, paying with cash, or writing a check, Legend Bank customers will enjoy the convenience of paying with a Check Card at the more than 11 million merchants around the world who accept Visa®.
But the Legend Check Card is not a credit card that you'll have to pay back. It's a debit card that draws directly from your personal checking account.
So enjoy the safety, practicality, and simplicity of paying with your free Legend Check Card -- we can order yours as soon as you open your account. Ask us today!
Simple to use, accepted the world over, you don't have to pay it back so get a Visa Check Card today.
See "More Information" tab above for further details
*Non-Legend Bank ATMs may assess a transaction fee
Legend Visa Check Card........................................Free
Replacement Card..................................................$5
Legend ATMs..........................................................Free
Non-Legend ATM....................................................$1.00
Legend ATMs..........................................................Free
Non-Legend ATMs..................................................$1
Check card limits Point of Sale or signature transactions........$1,500 per day per card
Daily ATM withdrawals.....................................................$505


text:
The Waxed Bean
to track and scrutinize my cooking techniques, conquests, and disasters
Sunday, July 13, 2014
Corn salad
Corn and black bean salad
Bbq chicken pizza
Summer squash
Shrimp scampi over pasta
Drizzle some oil in a large pot of boiling salted water, add 1 tablespoon of salt and thelinguine, and cook for 7 to 10 minutes, or according to the directions on the package.
Meanwhile, in another large (12-inch), heavy-bottomed pan, melt the butter and olive oil over medium-low heat. Add the garlic. Saute for 1 minute. Be careful, the garlic burns easily! Add the shrimp, 1 1/2 teaspoons of salt, and the pepper and saute until the shrimp have just turned pink, about 5 minutes, stirring often. Remove from the heat, add the parsley, lemon zest, lemon juice, lemon slices, and red pepper flakes. Toss to combine.
When the pasta is done, drain the cooked linguine and then put it back in the pot. Immediately add the shrimp and sauce, toss well, and serve.
Bbq chicken
Sunday, June 29, 2014
Sushi, it's what's for birthday dinner
1 block of rice vermicelli
4 sprigs of mint, leaves picked
4 sprigs of perilla leaves or thai basil leaves (optional)
2 chinese chives, cut into 10cm lengths (optional)
1 carrot, peeled and grated
¼ cucumber, cut into thin matchsticks
1 soft lettuce, ½ shredded
4 tbsp salted roasted peanuts, roughly chopped
8 rice paper wrappers
For the dipping sauce:
1 tbsp sugar
2 tbsp lime juice
1 tbsp fish sauce
1 garlic clove, crushed
1 bird's eye chilli, finely sliced
- 2 cups short-grain Japanese rice
- 1/4 cup sake-mash vinegar (or white wine vinegar)
- 1/4 cup rice vinegar
- 1/4 cup sugar
- 2 tablespoons salt
- Rinse the rice 5 times, then drain in a colander and let dry for 15 minutes.
- Cook the rice in a rice cooker according to the manufacturer's instructions. Alternatively, in a medium saucepan, combine the rice with 2 cups of cold water and bring to a boil over high heat. Cover and cook over moderate heat for 10 minutes. Reduce the heat to low and cook for 10 minutes longer. Remove from the heat and let stand, covered, for 15 minutes.
- Meanwhile, in a small saucepan, combine the sake-mash vinegar, rice vinegar, sugar and salt and warm over moderate heat, stirring to dissolve the sugar.
- Transfer the rice to a very large bowl. Sprinkle 1/2 cup of the seasoned vinegar all over the rice: Drizzle onto a spatula while waving the spatula back and forth. Using a slicing motion with the spatula, gently separate the rice grains while mixing in the seasoning. Fan the rice while mixing it to help it dry. Wipe down any stray grains from the side of the bowl. Cover the rice with a damp towel to keep warm.