On TV.com: THE GIRLS NEXT DOOR photos
1 Resources for

dim strname

  • Subscribe to this listing via:
  • RSS
  • Email

TechRepublic Resources

Use these ASP scripting techniques
By Amy Cowen(6/29/99)In VBScript, you don't have to declare variables or explicitly define their type the way you do in other scripting languages. A variable exists the first time you use it. This feature leaves your code wide-open to typos, however. If you mistype a variable name somewhere in the...
Tags: Scripting languages, technique, Microsoft ASP, Dim strName, Using Len, Amy Cowen, Option Explicit, Response.Write
Technical articles 2003-10-02

Additional Resources

creating folders using vbs from csv
I have a more complex need that i can resolve in vbs if i could figure out how to create script to create folders that are listed in a csv. I can do it from excel but can seem to figure out csv and installing excel just to be able...
Tags: atucakovic@..., strName, csv
Discussion threads 2007-11-01
VB File Copy script failing
Can anyone otut there tell me why this ain't working? The echo's are so I could see how far it was getting. I have a 'Expected If' error but have had all sorts. Need to be able to pass it the filename from the command line. ...
Tags: fsoCopy.CopyFile strFilename, Option Explicit Dim strFilename Dim fsoCopy Dim strDestination, Set strFilename, Matt H, programming, InStr, Microsoft Visual Basic, ElseIf inStr
Q&A 2006-06-28
Error 1026 Using SHFileOperation
I am using SHFileOperation to copy some files from an Install CD to the Target folder. The program works fine on W2K and XP, but under W98, I get a File System Error (1026).I know that this Function needs to have the Null characters added properly, & I have done...
Tags: Error 1026 Using SHFileOperation, Long Dim, icscomputersaz@..., programming, SHFileOperation, String, String Dim
Discussion threads 2005-01-26
VBA Expert..urgent help
****** Following code giving run time error 438 *** how to fix that error..pls help..its urgent'Dim Cell As RangeDim myWord As ObjectDim PathDocu As String Set myWord = CreateObject("word.application") 'Set myWord = GetObject(,
Tags: fanku@..., myWord.ActiveDocument.Bookmarks, programming, software, VBA
Discussion threads 2006-11-03
VBA Expert..urgent help
****** Following code giving run time error 438 *** how to fix that error..pls help..its urgent'Dim Cell As RangeDim myWord As ObjectDim PathDocu As String Set myWord = CreateObject("word.application") 'Set myWord = GetObject(,
Tags: fanku@..., myWord.ActiveDocument.Bookmarks, programming, software, VBA
Discussion threads 2006-11-03
My autologon script won't when scheduled to run at startup.
I am using the following script to auto logon about 20 stand alone xp workstations not attached to a server which all have deep freeze installed on them. I need to be able to auto logon to the workstations so I can run applications. Does anyone know a way I...
Tags: bigdog4579@..., RegLocAutoLogon, REG_SZ
Discussion threads 2007-06-28
Dim the variables
In VBA under Access (A2K) when IDim myStr AsString------------^- no space as you did in your code listing - it throws a error. Same for your second variable
Tags: Scripting languages, ray.learmond@...
Discussion threads 2007-05-18
monitor is dim
I have a HP ZV5000 pavilion laptop. When the a/c adapter was plugged in, the screen was bright and if I worked directly off the battery the screen would be dim. Now from out of nowhere, when the a/c adapter is plugged in, the screen is very dim...
Tags: dlwojo@..., monitor, A/C adapter, A/C, adapter
Discussion threads 2007-08-29
How to check for open Access objects
VBA code that refers to an open Access object will fail if the object isn't open. With good error handling you can capture the error and work around it. A better solution is to make sure the object is open before you reference it. That way you avoid the error...
Tags: Microsoft Access, Object, Microsoft Office, Databases, Office Suites, Software, Enterprise Software, Data Management, Susan Harkins
Blog posts 2007-12-24
urgent help from VBA Expert
'Dim Cell As RangeDim myWord As ObjectDim PathDocu As String Set myWord = CreateObject("word.application") 'Set myWord = GetObject(, "Word.Application") Set myWord = GetObject("g:globalmaheshoffer letter.doc") myW
Tags: fanku@..., myWord.ActiveDocument.Bookmarks, programming, software, VBA
Discussion threads 2006-11-03
Commondialog in VB6
how do i use commondialog in VB6 for the openfiledialog function?I tried to program it as below, but didnt work.Dim openFile As New Commondialogcommondialog.showopenbut I do not get commondialog class from IDE and get a syntax error at the Dim openfile.... line-TIAMparamDIM var as New typevar.methodas inDim MyLabel as New...
Tags: Label
Q&A 2005-11-03
How can I schedule a autologon script to run at a specific time and date
I have the following script that I need to run at a specific time and date. Can anyone help me with this? Here is the script.Option Explicit'''Declarations'''Dim objShellDim RegLocAutoLogonDim keyDefaultDomainNameDim valDefaultDomainNameDim keyDefaultUserNameDim valDefaultUserNameDim keyDisableCADDim valDisableCADDim keyAutoAdminLogonDim valAutoAdminLogonDim keyForceAutoLogonDim valForceAutoLogonDim keyDefaultPasswordDim valDefaultPassword''''Define keys and values''''RegLocAutoLogon = "HKLMSoftwareMicrosoft" & _"Windows NTCurrentVersionWinlogon"keyDefaultDomainName =...
Tags: bigdog4579@..., RegLocAutoLogon, REG_SZ
Discussion threads 2007-06-28
CONVERT FROM TEXT TO DOUBLE IN VB.NET
I'm working on a class project (VB.Net 2003). I'm trying to program my Calculate button, and in so doing I have to convert a field value from text to number double. Here's what I have so far:Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click ...
Tags: Microsoft development tools, .NET, ByVal
Q&A 2005-09-13
Sql Quriery in Visual Basic
Software DeveloperADODBYou need to use ADO DB ActiveX Data Objects components to use sqle.g.Dim con as new ADODB.ConnectionDim cmd as new ADODB.CommandDim recs as new ADODB.RecordsetSet con=Open "connection string"cmd.ActiveConnection = concmd.CommandText="Select * from MyTable"Set recs = cmd.Execute
Tags: Programming languages, amolsuryansh@..., SQL, Microsoft Visual Basic
Discussion threads 2007-10-03
Visual Basic 6.0 help
I'm getting an error Run time error '6' overflow. Help me!! Tell me what's wrong.Private Sub cmdbutton_ClickDim population As IntegerDim years As Integeryears = 0population = 6000000Do While population > 10000000population = population * 0.014years = years + 1LooppicWhen.Print "In"; years; "Population will be"; population;End SubDear Friend,It is very...
Tags: dodotwilson@..., it management, Microsoft Visual Basic, Microsoft Visual Basic 6.0
Discussion threads 2004-10-20
Using VBScript to send printout to printer
I have the a printer that connect to one of the computer in the network, and I have the other computer running the Proficy Ifix SCADA. The SCADA machine have build-in Scheduler, and the script below works if the scheduler running in the Forground and will not work if...
Tags: Printers, Enterprise software, bobbyhoangvu@..., String Dim, printer
Discussion threads 2007-04-23
Needed! script to delete files xDays old
I have a program that writes temp files out to a folder but doesn't delete them. I need something that can run automaticly that will delete any file older than 3 days (because it still may use temp files up to 3 days old). I know you can...
Tags: 3-Day, FileDateTime, FILES, James Schroer, Needed, windows
Q&A 2005-08-10
ACCESS-VBA dim as databsae
I have a module that I am trying to create. I am trying to use a table to hold some varibles. It says that I need to dim a varible as Database. The Database option is not availible on my system. I am using Office XP Pro. Do I need...
Tags: access, DAO, database, GW0001, Microsoft Access, software
Discussion threads 2005-07-14
Autonumber the workbooks in folder
i have this macro added in excel, this macro prints the excel files one by one in a specified folder, thsi works finethe problem is that i need to add the increment number in all the workbooks( suppose i have 200 workbooks, i need to add 1, 2 , 3...
Tags: get2santosh@..., sFile, UBound, String Dim, workbook
Discussion threads 2007-07-28
  • << Previous
  • page 1 of 1
  • Next >>


Server System Inventory Form
It's a good idea to document as much as you can about your server while it's up and running so you won't be left in the dark should a disaster occur. This one-page form includes space for delivery information and server specifications.
Buy Now
Windows XP vs. Mac OS X
This presentation, entitled Standardizing on Windows XP Instead of MAC OS X, provides a pre-packaged option for defending Windows XP against MAC OS X. ...
Buy Now

Fusion