[RESOLVED] Form.TextWidth alternative

162 byte By r0ach at 2007-12-5 11:40:38
Hi,<br/>Anyone know of an alternative for the Form.TextWidth function? I need to use it in a class, so I cannot use the Form's function.<br/>Thanks

Make Program Configurable

1227 byte By k0zz at 2007-12-5 11:40:33
So, lets say I have a program, with a textbox. The buttons on the form consist of a Set New Info, and a copy EXE. What i basically want to do is, in the textbox, lets say i wrote the number 5. When pushing the "Set New Info" button, i want number 5 to become part of the code. So, for example, le...

[RESOLVED] Form Focus Issue

1434 byte By PMad at 2007-12-5 11:40:29
On this program im making, i have an edit button that opens up another window. I dont want the window behind it to close, because on this edit window, you may need some of the info off the previous window.So what i do to prevent the user from going back to the previous window and changing thing...

how to export crystal report file to excel 8.0(extended)?

129 byte By alsace19 at 2007-12-5 11:40:28
how to export a crystal report file in excel 8.0(extended) format?<br/>i'm using crystal report version 10.<br/>thank you.:)

while loop not executing

957 byte By mrkcse at 2007-12-5 11:40:25
If rs.state = 1 Then rs.Closers.CursorLocation = adUseClientrs.Open "select a.effdate effdate,b.BRNCH_TRAN_ID bid From excel_mof_ad_changed a,rbi_mof_t_brnch b Where b.BRNCH_AD_CAT! = a.badcat and b.brnch_bk_cd = a.bcode and trim( b.brnch_brnch_no)=trim(a.brncode)and b.end_date IS NULL", ConMa...

how to use combobox retreive database display at listview?

1265 byte By gracehskuo at 2007-12-5 11:40:23
hi,please help ,how to use combobox retreive database display at listview?example:Database table name "Partlist" have 2 fields:PartNo and DimensionPartno:7777 Dimension:0.098Partno:7777 Dimension:0.019Partno:7777 Dimension:0.020Partno:7777 Dimension:0.045Partno:8888 Dimension:0.020Partno:88...

plz help me out

512 byte By jshr at 2007-12-5 11:40:21
I am developing one app using autocad 2004 VBA editor..in that app i need to draw some arrows.. can any one tell me code to draw arrow(leader)..i m not getting what i have to pass in Annotation parameter.Dim objarrow As AcadLeaderDim pt1(0 To 2) As Doublept1(0) = CDbl(-100): pt1(1) = CDbl(2700):...

Testbox?!

537 byte By anthony_pacitto3 at 2007-12-5 11:40:20
ok, is there a way to have a textbox and when that text box has a specific word in it then it will change its background color to Blue?Example:I have a textbox that has text in it like so: 9:00 - 10:00 Hello World...

link vb access to excel worksheet

86 byte By gracehskuo at 2007-12-5 11:40:15
hi,please help .how to link vb access database to excel worksheet??<br/>Thanks!:)

I need help making a small Memory Manager program...

1660 byte By Lionheart1827 at 2007-12-5 11:40:11
I'm having a lot of trouble with this. Pretty much I have to input 5 processes with different sizes(user defined at run time) into an array. The processes must be able to be added or removed. I have to implement the First fit algorithm so that if a process is removed, it leaves a hole in...

Bluetooth

84 byte By Dbee at 2007-12-5 11:40:09
Any of you guys & gals every played with creatiing a program for use with bluetooth

Listview component - I want to copy/paste items out of/into it.

373 byte By chrisj206 at 2007-12-5 11:40:06
So i have a list containing information, in this case its ingredients. Well now i want to copy these ingredients(and their subitems) such as listview1.listitems(0).subitems(value ranging from 0 to 8) and paste it back into the list.Would i require API for this, is it even possible? Thanks :) im...

[RESOLVED] combobox, possibly easy, maybe not.

649 byte By AceRimmer at 2007-12-5 11:39:58
Okay you load up your combo box with a bunch of data and then run your app. First up you see a blank "text box" with the drop down select arrow. Cool that's what I want.If you then select from the drop down options you are left with the option in your combo box display textbox thingy. How d...

HELP making a usb guard!

531 byte By jigen7 at 2007-12-5 11:39:57
hi everybody i want to do an application in vb6 that will prompt for a password if a usb/removable media is connected to the pc... if failed to enter the correct password the usb will not be usable or open.the problem is how to restrict the user to open the usb even in the password prompt becaus...

Help with bubble sort

1029 byte By sepalm at 2007-12-5 11:39:56
I've just joined, i've looked at the faq's and looked at the sort page, but it's all too much for me. im a novice programmer, and i've gotta do this sort for my program at college. I've come up with the following code but every time i run it, i get subscript out of...

Lock workstation

160 byte By Gensor at 2007-12-5 11:39:52
Is it possible with VB6 to lock the workstation with the Windows standard lock window ?<br/>Also, is it possible to change the password before locking it ?

Making form transparent but not label

142 byte By GRPsuper9 at 2007-12-5 11:39:47
how would i make my whole form transparent except my Label1? i dont want the background of the label to show, just the text. thanks 4 ne help.

Please help me with this File Shredder issue...

1360 byte By vb_programmer at 2007-12-5 11:39:46
Hi!Currently I'm working on a File Shredder project and I'm not able to find a solution for one concept: "Wipe/Shred Free Disc Space"; here I badly need your expert help! I've seen a few File Shredding Applications in which they claim that they Wipe Free Disc Space. For example, t...

module question

882 byte By coolevo89 at 2007-12-5 11:39:45
hi i did a search but couldnt find anything that related to my problem. what i want to do is when i call a certain bit of code in the module i want it to change a property of the current form. there are many forms so i want to know if there is a way of changing the current form properties.for ex...

Image Viewer, How to...?

515 byte By G-Hawk at 2007-12-5 11:39:42
Hi! I have a simple question (at least is what I think..) I have a form, a Commond Dialog and a picture box. I'm able to search for picture files (*.bmp, jpg, etc.) and select one and display it in the picture box. The form also has 3 buttons (Select, <<, >>). What I dont know...

Simple Question

310 byte By Johno2090 at 2007-12-5 11:39:39
Hi guysjust trying to adopt some code i inherited and i have this section of codeIf (p ^ 2) + (q ^ 2) <> 0 ThenWhat does this mean? im lost it comes out as true or false!Sorry what i didnt say was that p and q are generated in a for next loop and are from -1 to 1....

Making diagonal keys work with the arrows keys...

774 byte By VBAsker at 2007-12-5 11:39:36
I want to figure out how to make up-left happen. Such as moving diagonal in a game or so what.So far I have:Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)Select Case KeyCode Case vbKeyUp sngYFactor = -1 sngXFactor = 0 Case vbKeyDown sngYFactor...

windows media player 11 control

894 byte By ghettohacker at 2007-12-5 11:39:27
i'm having problems using the windows media player 11 activex control. i'm trying to incorperate loop, and shuffle commands with an embedded media player window within my program, but the latest documentation i have is for wmp9, as the wmp11sdk isn't available as a single downloa...

help needed in comparing two wave files

336 byte By shaktimaan at 2007-12-5 11:39:19
hi , i am making a project on home automation . i have to recognise ringtone from mobile. i have stored a mobile ringtone using sapi but now when i take input i am not able to compare that with the stored wav file .plz help me and tell me how to compare the wav file or how can i detect the ringt...

Help Needed Please

726 byte By tunnelvision at 2007-12-5 11:39:18
Im currently creating project that is a player and fixture system an need a little help. Basically i have have three files. Player file, fixture file, availabilty file. I can add,edit delete players etc... however i wish to interlink the availability file and the fixture file. When i go to add a...

change picture in a resource file

171 byte By aikidokid at 2007-12-5 11:39:12
I am about to jump into the world of resourse files, and was wondering, is it possible for the user to be able to change an image (photo - jpg) that is in a resourse file?

Lord Orwell - Permanent File Shredder

2701 byte By Liquid Metal at 2007-12-5 11:39:04
I got most of the concept from this thread and from your post: http://www.vbforums.com/showthread.php?t=195322&highlight=delete+files+permanentlyI modified it a bit because the way how you did it, you load the entire file into memory buffer and process it from there. I modified it because I migh...

how i can do this like photo

229 byte By IYADo at 2007-12-5 11:38:59
Hi<br/>hey look at this photo on this link ( http://articles.techrepublic.com.com/5100-6346_11-5193140.html) ...........:eek: how i can do this bi vb6<br/>pleeeeeeeeeeeeeeeeees fast:rolleyes: :rolleyes: :rolleyes: <br/>iyado

Parsing HTML

7079 byte By Chris001 at 2007-12-5 11:38:56
Hi, I'm having some problems with parsing html. I'd like to check if new posts have been made on a certain forum, so I'm trying to extract topic titles and the name of the topic starter from a html page.I can extract the topic titles, but I'd like to get only the topic titles...

Help with a project

866 byte By rimarj at 2007-12-5 11:38:53
Ive been trying to sort out my personal project for ages now, and basically i am trying to make a tournament schedulerIm hoping the scheduler will be able to pick random members that are already added to the database (VB Written - .dta files), and pair them off for matches, 1vs1 for singles, 2vs...

How Do I Detect Possible Screen Resolutions

270 byte By petebob796 at 2007-12-5 11:38:52
I have some vb code to detect current and change display settings but I would like to bring up a list of possible display resolutions so people don't mess it up and it's future proof. Anybody know how to do this or if its possible. Any code appreciated thanks.

array of labels // array of textbox

281 byte By crivo at 2007-12-5 11:38:49
Hi everybody..<br/>i'm kind of desperate...i spent hours on the internet and on this forum but i couldn't find an easy and clear example of how to create an array of labels and an array of a textbox..:afrog: <br/>is there anyone that can help me??<br/>thx in advance!!!:)

[RESOLVED] Error on delete of last record in a database

880 byte By sujittalukder at 2007-12-5 11:38:44
I am using the following code to delete a record feom the database via adodb connection. This code works well if the current record to be deleted is not the last record.If the last record is to be deleted than an error occurs.The code is:Private Sub cmdDelete_Click()Dim confirmconfirm = MsgBox("...

how to use skins ?

98 byte By hno2005 at 2007-12-5 11:38:42
Hi<br/>i have downlaoded vista skin. but i don't khnow how to use it . <br/>thanks

how to find serial hardware

105 byte By hno2005 at 2007-12-5 11:38:41
Hi<br/>how can write a program that return hardware's serial ? for example the serial of hard disk ?

Highlighting characters in VB6 Textbox while typing itself....

531 byte By rajeshnrh74 at 2007-12-5 11:38:32
Hi Gurus,I need one solutionI'm using VB6, one of its Form contains a TextBoxWhat i need is whatever characters I type in it that should be highlightedexFirst when I type "a" -> "a" should be selectedsecond when I type "b" -> "ab" should be selectedthird when I type "c" -> "abc"...

how to delete a file using vb

60 byte By iyddaz at 2007-12-5 11:38:26
how to delete a file using vb ..<br/>any one let me kno ....

[RESOLVED]writing public function for ocx

714 byte By levent at 2007-12-5 11:38:24
Hi All; I have a graphic ocx which i use in different forms. To use ocx in form first i put ocx in form and writing code like belowform1.myocx.drawlinw(x,y)I want to write a public function by the way i won't put code for each form.I tried something like belowin modulePublic x,y as doubleP...

Looping replace Problem

823 byte By hazedoutdesi at 2007-12-5 11:38:21
If InStr(sPacket$, "Z**") > 0 Then sData$ = sPacket$ Do Until InStr(sData, "Z**") = 0 DoEvents sTemp$ = sTemp & Left(sData$, InStr(sData, "Z**") - 1) sData$ = Mid(sData$, InStr(sData$, "Z**") + 14) Loop sPacket = sTemp End IfWhat...

error in ole control while doing readfromfile

323 byte By nidhijoy at 2007-12-5 11:38:10
I am getting error while trying to read a file from ole control by using method Readfrom File(fnum as integer)this is the codefnum as integercommondialog1.showopenopen commondialog1.filename for binary #filenumole1.readFromFile(fnum)error is :format file error...

Removal of a line in a string.

503 byte By Valleriani at 2007-12-5 11:37:56
Ok so lets say I the contents of a html file, and put it in a string called 'CONTENTS'. Contents would show this:"<HEAD><TITLE>your DESCRIPTIVE KEYWORDS title goes here</TITLE></HEAD>"What I want to do is basicly remove '<TITLE>whateverhere</TITLE&...

Closing App without End

1231 byte By wes4dbt at 2007-12-5 11:37:54
Hi,I have an app that has been working fine for years. When I terminate the app from the startup form unload event (this is the only form open at this point), I've always had an "End" command. This has never caused me any problems. But since I've been reading about the bad things th...

ebcdic ascii hex dec oct chr Binary Unicode

605 byte By Liquid Metal at 2007-12-5 11:37:53
Recently, I am very interest in understanding more about these different formats:ebcdic ascii hex dec oct chrBinaryUnicode-Are there more?-The ones that I have listed, what use do they have and when would you use it? I know some of them already.-Why would you convert from one format to another?...

[RESOLVED] Making certain letters capitalised.

1994 byte By aikidokid at 2007-12-5 11:37:40
I have the following code in the KeyPress event of a textbox (in an array) that capitalises the first character of the text if it is a letter, or capitalised the 5 character if the first character is numeric. E.G.White1st Dan Case 13 'grade, make first letter capital, excluding 1ST...

Please help me

161 byte By almt3a9en at 2007-12-5 11:37:37
I need your help <br/>I want code which offset post in the web page<br/>Example post :<br/>I put the file name in the program compensated in the field: file

[RESOLVED] hide mouse

66 byte By Kaimonington at 2007-12-5 11:37:35
How can I make the mouse invisible, or hide it so it cant be seen?

Hide when clicked?

775 byte By emchooo at 2007-12-5 11:37:30
Hy all, again :ehh: http://img122.imageshack.us/img122/6486/programsh2.jpgSo I need help for this:When M>=4 then add.visible = true ( i set that add is invisile by default).But how to set that when i click on add then add go to invisible, forever?I set on up: If m.Caption >= 4 Then add.Vis...

How to open the file and set its working directory

805 byte By alex30 at 2007-12-5 11:37:16
Hi,I need to open a file and set its working directory in VB6.This is how I do it in VB.NET:If IO.File.Exists("c:\Documents and Settings\User\My Documents\Visual Studio 2005\Projects\My Application\My Application\bin\Debug\My Application.exe") Then Dim myProcess As New Process...

4 letter code detection

265 byte By adnansonic at 2007-12-5 11:37:11
i am playing a game called pirate king online and they added a new feature which makes a small window pop up and you have to enter a four letter code<br/>i was wonddering how i could make an ocr for this.<br/>if a screen shot of it would help i could put one;)

[Resolved]Is it possible to make ListBox have MouseMove then highlight Function?

71 byte By wenight at 2007-12-5 11:37:10
Is it possible to make ListBox have MouseMove then highlight Function??