Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Converting numbers into formatted strings in VB.NET
- Irina Medvinskaya presents a simple way to convert the numbers into formatted strings in VB.NET. She also explains the difference between the two types of numeric format strings: standard and custom. Working with numeric values often requires the ability to convert these values into String values in a...
- Tags: Microsoft Visual Basic.Net, Irina Medvinskaya, Programming languages, Microsoft development tools, numeric format specifier, format specifier, Dim numInfo, format string, Visual Basic Tips Newsletter, String, numInfo, C/C++, .Net, Development Tools, Software Development, Software/Web Development
- Technical articles 2006-08-10
Additional Resources
- 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
- 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
- autonumber the workbook header
- i have this macro added in excel, this macro prints the excel files one by one in a specified folder this works finethe problem is that i need to add the increment number in all the workbook header( suppose i have 200 workbooks, i need to add 1, 2 ,...
- Tags: get2santosh@..., sFile, UBound, String Dim
- Discussion threads 2007-07-28
- update,delete,cancel buttons in datagrid using vb.net....
- can anybody plz tell m -whats the error in the code for update button in datagrid-where table name is "table1"its has fields "ID","Name","Age","Sex","Area"..in the code its giving error has::----------------------c:inetpubwwwrootsampleprj1WebForm1.aspx.vb(151): 'Textbox' is ambiguous, imported from the namespaces or types 'System.Web.UI.WebControls, System.Windows.Forms'.------------------------------The code is as followsProtected Sub datagrid1_UpdateCommand(ByVal source As Object, ByVal...
- Tags: preethams_venkatesh4@..., TextBox, CType
- Discussion threads 2007-06-06
- Time Loop
- Cannot understand why first TextBox instruction in next code does not work.Public Class Form1 Dim Value As Double Dim Begin As Double Dim Eind As Double Dim Verstreken As Double Dim Duur As Double =...
- Tags: a.vanstaveren1@..., DoEvents, visual basic 2005 ee, programming, ByVal
- Discussion threads 2007-02-06
- << Previous
- page 1 of 1
- Next >>