| |
thread by: DKn |
last post Jan 16 '08 by: DKn
Hi ,
I am having a .Net Activex control. I have done coding for COMRegistering and Unregistereing in C#.Net. The code is follows..
static void ComRegister(Type t)
{
string keyName = @"CLSID\" + t.GUID.ToString("B");
using (RegistryKey key =
...
|
thread by: themadtux |
last post Jun 23 '22 by: webapp
Quick question, I have a label that is counting the letters that are typed in a textbox. But what I do want with that label is that I need it to be right justified. If I set the properties of the label to have right align it doesn't seem to work. So do I need to align it in the code so when it hits double digits it doesn't run over the item to...
|
thread by: mailsatk |
last post Nov 2 '06 by: mailsatk
Hello people!
I am trying to do something that I don't know if anyone else might have tried before...I am writing a Macro in Excel that will give a user the list of all the folders present within a selected folder. I have been successful in getting that onto a spreadsheet using the Shell command...
This is important for Project Managers who...
|
thread by: beacon |
last post Jan 30 '08 by: beacon
Hello to everybody,
I have a section on a form that has 10 questions, numbered 1-10, with 3 option buttons per question. Each of the option buttons have the same response (Yes, No, Don't know), but each answer is given a different point value for each question.
For instance, question 1 might ask "Do you like candy?" and if you answer Yes you...
|
thread by: sashi |
last post Jan 6 '15 by: delavegas
Set default printer
You will often find yourself in a position where you have designed a report format for one printer and when that report is sent to another printer the layout is messed up.
The following code will allow you to specify the printer that reports are sent to by reseting the systems default printer.
Windows API/Global...
|
thread by: Dave |
last post Jul 22 '05 by: Dave
Hi,
Can anyone tell me the correct syntax when using a variable to control
the color property?
This works ok:
If ABC2flash Then Label61.BackColor = Color.Yellow
This doesn't, showing syntax error in source code:
Dim ABC1col As String = "Color.Yellow"
|
thread by: John |
last post Sep 21 '05 by: pellem
Hi:
I a newbie to VB, though I have a fair bit of experience with other
languages. My problem is that I need to access the command. I have tried
using:
Private Sub ReportViewer_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim commandLine As String
|
| |
thread by: Ali Rizwan |
last post Nov 18 '07 by: Ali Rizwan
Hi All.
Yesterday I was searching on the net for something new for VB when I found a technique by which I am able to convert my VB6 applications into XP styles.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
...
|
thread by: shaiful |
last post Jan 4 '11 by: blurryanthem
Hi all, i have problem with vb6 that copy all files from a folder to other, such as
Source is "D:\Test" and files are a.txt, b.doc. c.dgw: Distination folder is "D:\Test2" , could u pls give some idea abt this, thx advance, shaif
|
thread by: Matthew Wells |
last post Jul 17 '05 by: Bob Butler
I am trying to load a form (load Me) without the form becoming visible. If
I try me.hide or me.visible = false, they load the form and the form blinks
before becoming invisible. Is there a way to load the form without it
becoming visible at all until I say me.visible = true?
Thanks.
Matthew Wells
MWells@NumberCruncher.com
|
thread by: jkarp2 |
last post Jul 17 '05 by: Rick Rothstein
Ok.
I just switched to VB.net, and well, everything seemed find. .NET took
care of buffering, and some nice DirectX features. The code formating
is usless, just a pain to get it way I like it.
But here comes my problem. How do I change the Cursor image???. This
is getting really anoying, and well I have a deadline in two days. lol
So...
|
thread by: maharajakecil |
last post Apr 9 '08 by: maharajakecil
hi... anybody know the source code vb6.0 to convert asii to hex? thanks
|
thread by: Craig |
last post Jul 17 '05 by: DavidB
Hello everyone,
I've got a an issue with comparing dates in VB6 (sp4) and I would
greatly appreciate help that anyone has to offer on this subject...
:-)
I have two variables (start_DateTime and end_DateTime). Both contain
the following date information (this is what is printed in the
'immediate' window when I execute the following...
|
thread by: David Gray |
last post Jul 17 '05 by: Suzette
Greetings all,
I'm working on a program that allows a user to enter notes in a
multiline textbox. I would like to be able to read the contents of
the textbox (as records - one per line) and store in an array then a
file.
Perhaps this is the wrong control to use as there seems no way of
referencing each line of the text box.
|
thread by: ramaraog80 |
last post Sep 28 '07 by: Gandhiraj
Hi,
I want VB Script which converts Excel data into CSV file. Please Reply me ASAP.
|
| |
thread by: gobblegob |
last post Jan 31 '08 by: xtianixm
Hi,
I would like to know how i could read and write in a specific line in a text file with VB6.
eg.
first line
second line
third line
I dont want to read through all lines, I just want to read a certain line as an input and write to a certain line as output.
|
thread by: sitko |
last post Feb 11 '08 by: sitko
Hi,
I have an Order tracking spreadsheet that I need help with.
I have a 2 worksheets "Open", and "Closed".
I have entries on the "Open" sheet which may or may not be grouped together. I've called the rows :Parents and Children. There are basically 3 types of rows. Parents with Children, Parents without Children, and Children. I have a...
|
thread by: Arizonasworld85 |
last post Jun 13 '22 by: MerlinTheGreat
I am working on a slot machine project in vb6. I am trying to figure out how to change this:
If (a = 1 And b = 1 And c <> 1) Or (a = 1 And c = 1 And b <> 1) Or (b = 1 And c = 1 And a <> 1) Or _
(a = 2 And b = 2 And c <> 2) Or (a = 2 And c = 2 And b <> 2) Or (b = 2 And c = 2 And a <> 2) Or _
(a = 4 And b = 4 And c <> 4) Or (a = 4...
|
thread by: Chuck Rittersdorf |
last post Jul 17 '05 by: J French
Hi There
I am having a problem using the win32 API from VB6.
I am trying to send a command string to a printer(zebra TLP 2742) on
LPT1
using the folowing API functions
CreateFile and WriteFile
I have written C code which works fine, just the VB translation/port
|
thread by: Mohan Krishna |
last post Nov 23 '07 by: Mohan Krishna
Hi everyone!
I am entering only numbers with decimal points/values in a TEXTBOX on the VB form. I need to get only the decimal values.
How can I? Please help me as I tried in this way (for 2 Decimal places)
VB6
Dim x As Double
Dim dc As Integer, dcStr As String
|
thread by: witchiz brews |
last post Jun 25 '06 by: vb_help
Hi
ShellExecute Me.hwnd, "open", "notepad", currentFileName, vbNullChar, SW_NORMAL
I know the aboce code forces my .txt file to open up in notepad.
However, i want to open it into another program called ABC.exe.
ABC.exe is not a windows programme.
How do i make the file open in ABC.exe?
I am currently using VB 6.0.
|
thread by: Sir_Scriptor |
last post Apr 24 '08 by: NeoPa
Hi, I am trying to understand Batch files for logging Text. I have a general understanding, but I am little lost on some of the command strings I keep seeing. I went out and Bought Microsoft Windows Scripting, and Command Line books. I am trying those command lines, and I am getting error messages. I guess you can’t run VBS command lines, and...
|
thread by: pds79 |
last post May 11 '07 by: pds79
Hi everyone,
I'm a newbie to the forum.
I have an issue and was hoping to get some assistance/ideas:
Im trying to read a XML file into two record sets.
I can acheive looping through the first level element but i can not loop the the second level (child elements), any ideas??
I need to be able to loop thru each patient record and read...
|
| |
thread by: ruane |
last post Dec 15 '06 by: axtens
Hi,
I am using a MultiPage on a UserForm in Excel, does anyone know how to switch between the tabs along the top of the bar, as I am completely unsure as to how to do it! So, when you load the form, I want it to display the title bar, but currently it just reverts to the last viewed page.
I am using Office XP/2002 and using Windows XP!
...
|
thread by: Anuj |
last post Dec 13 '06 by: kuzure
Does any one know how to communicate through Ethernet in VB
please tell me as soon as possible.
|