How to change 7 to 07 in VB Script?
Hi experts, Here is my code (test.vbs) <<<<<<<<<Start if CHour = 7 then CHour2 = "07" CurrentHour = cstr(CHour) end if MsgBox " Current Hour " & CurrentHour End If I have the number 7, I want to replace it with 07 in my code. What is wrong in the above snippet? In the MsgBox, I se... 22 Feb 2010 22:04
how to set default control modifier to private (winforms)
Hi, In new WinForms project, whenever I drop a control on a form / user control, its Modifiers property defaults to Friend. Is there any way to change it to default to Private? ... 22 Feb 2010 19:50
Hi, I'm testing a LDAP connection to my companies Active directory server and I'm getting the "An invalid dn syntax has been specified." error all the time. Here is my code: Dim entry As New DirectoryEntry() entry.Path = "LDAP://xxxxxx.company.se:389" entry.Username = "uid=MYAPP,ou=users,ou=interna... 22 Feb 2010 08:32
how to force a text box to always be in focus.
Hi, I have an application that has a single text box, but many many buttons, and a few other controls (grid etc). The problem is that the application has a barcode scanner that acts like a keyboard. What I need to have is that the text box always has the focus, so at anytime the barcode scanner is used, the... 22 Feb 2010 14:10
data repeater in power code examples ???
Hi I want to add the data repeater to my existing winforms application. My application does all the database calls via code, so I am not using the designer(s) to create table adapters/dataset etc... Its all done in code. So I am having trouble binding the data repeater to an existing dataset. Does anybody ... 21 Feb 2010 04:55
email@example.com Kit completo deSolenóides ( solenoid ) + chicote Para Câmbio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 41269
Contato: marvendas(a)gmail.com marvendas @ gmail.com marvendas no gmail.com Kit completo de solen�ides para Volkswagem e Audi. O kit cont�m: 5 solen�ides 2 Epc ( solenoides de press�o ) 1 Chicote Serve para qualquer modelo VW ou Audi fabricados de 1995 at� hoje com o cambio autom�tico de 4 marchas � 01M Pre�o: R$ ... 19 Feb 2010 21:07
Exception causes load event to end
Hi guys and gals I'm having a wierd problem with my application. I'm calling a few functions and subs from my main load event, and everything works just fine - except when one of functions throws an exception (which is handled by the function itself). When an exception has ocured (and been handled) in one o... 19 Feb 2010 13:17
Put some RTFs in a printing document
Hi, I have to put some RTF documents in a document like in this picture: http://www.menci.it/Guests/Any/Snap1.gif How can I do that? Does exist an RTF render? I'm use VB on .Net 2005 ... 18 Feb 2010 05:03
Save Icon in different sizes
Hi all, I am using Visual Basic 2008. I have Visual Basic code (see below) which changes the Form icon image with PictureBox image. My question is that what code line I should use in code below that I can save this icon on a path in different sizes like 16 x 16 or 32 x 32 etc. Please can any friend can help ... 22 Feb 2010 06:21
Put a checkbox in the header of the datagridview
Hi, How can I put a checkbox in the header of the datagridview? Thanks ... 16 Feb 2010 07:31