EDIT:<br/>Ok<br/>I've finally got it all working apart from one problem its taking a snapshot of the wrong form<br/>It's taking a snapshot of the main/start up form instead of the template form - I've uploaded a new attachment<br/>Any ideas?
762 byte By
hsteo at 2007-11-20 10:16:40
hi gurus,I have been trying to code for a program which could actually detect all the signal strengths from the available APs. So far I have found a code which is in vbscript but it only works when the network adapter is connected to the AP, is there a possible way of detecting the signal strength o...
i am having my project in vb6.0,i have binded my controls at design time with Maindata(RecordSet).Now i am binding DataCombo control at runtime(with new RECORDSET),when i am writing this code i am getting error in other events when my maindata(recordset)is getting updated.error is "Operation was can...
669 byte By
RajWolf at 2007-11-20 10:17:34
Hello Gurus,Can anybody help me with this ??I want to create an application/ service running in the background which popsup the IPAddress of the computer connected/connecting to my computer on a LAN and what is it doing? like accessing my files, copying, deleting or viewing my desktop through remote...
I had an Oracle procedure I called passing 3 parameters; sSQL = "" sSQL = sSQL & " call" sSQL = sSQL & " package.p_name('" sSQL = sSQL & vInput_1 & "'" sSQL = sSQL & ",null,'" sSQL = sSQL & vInput_3 & "')"The code worked with no issues.then the DBA added 2 retur...
3604 byte By
Giftx at 2007-11-20 10:18:02
Hello everybody.I need your assistance. I populated excel spreadsheet and everything is okay. In processing, I am splitting one record into two so that half of the record prints on one row and the other half prints on the next row. The problem is that only the first record on the spreadsheet print...
EDIT:<br/>Took a quick break had a fag and cup of coffee then came back and worked it out :)
Finding HTML elements/tags - vertical, horizontal positions X,Y by JS/VBS?There is a Visual Basic 6 application with WebBrowser in it.This application is about statistical information on what html tag was loaded, where it is being located - it's position X,YAnd one of the problems is I don'...
hi<br/>i want to draw on a picturebox (pset,line,...) and then save it as a vector file like emf metafile on disk(not memory or dc).<br/>i can't find a sample for usage of gdipRecordMetaFile or any needed api.<br/>please help me.
HiI'm trying to say that if there is NO picture to pull from the database then do nothing else add the picture. This is the code I have so far but I'm getting an error on the ' = nothing then' partPictureChildImage.Picture = GetPictureFromRecordset(rs, "ChildImage")If PictureChi...
Hello guys, Is anyone who can explain to me clearly the meaning of Freind and when do we use CALL. I search already in msdn but im confusing about thier explanation.Private Sub Command1_Click()Dim x As Integer, z As Integerz = 0compute zcall compute(z)MsgBox "The value of Z= " & zEnd SubFriend Sub...
2075 byte By
randy2008 at 2007-11-20 10:18:42
NEWBIE at this!!!The Value_Update comman grabs data out of a Programmable Logic Controller that monitors our tank levels, pH's, on/off of motors/pumps. What I am trying to accomplish is when the value is either on or off, >90 or <90 etc... is to send an email out to notify me and other ma...
2386 byte By
hsteo at 2007-11-20 10:18:44
Hi gurus,After some tedious researching, I finally found something which I could use to detect the signal strength of all access points. However there is this problem, every seconds the code will return me the MAC address of the access points and the signal strength BUT I noticed that the access poi...
I am a new programmer. I have created a table called "tblOrder" and "tblTransaction" in Microsoft Access. The relation between them is one to many. I am creating an entry in tblTransaction only when I create tblOrder's entry. So 1 Order can have multiple transaction.Now I want to find a field c...
Hai<br/>i am having som confusion betwee the parent window and Owner window.<br/>What is the diffrent between Them?
Hello,I have to make a program so that we can control the number of cars on our property and to who the car belongs. The licences are in a private database.So, when a car is driving thrue the gate, there will be made a picture with acamera and the program has automaticly find the licenceplate and re...
On one of my forms I have this code to look for the last number in the database then adding the EntryId in the next available number using this code:lngRecordID = 0 'this is for find out the first entry is there or not 'otherwise the code will show an error rsTem.Open "ChildDetail...
Hi AllI'm having probs sending emails from VB using CDO due to the fact the gmail, hotmail, ntlworld and yahoo don't support stmp access anymoreSo is thereanother way to send emails without having the stmp access problems? I have outlook 6 on my pc which my gmail account is already connect...
I'm using the code in the attachment but I don't know how to add an attachment to the email - I've wrote and rewrote code but I can't seem to get it working<br/>Any ideas?<br/>EDIT: RESOLVED
Hi AllI'm trying to get two pictures to be displayed and saved - One small and one bigThe big one is to be the snaphot of the form (this all works btw) then the smaller picture box to view what is in the bigger box but on a smaller scaleI was thinking of using the line of code:Me.Picture2.Paint...
I'm trying to pull all the items from a listbox on form 1 and put them into a multiline textbox on form 2This is the code I have but it doesn't work:Dim i As Integeri = 0For i = Form1.ListEmail.ListCount - 1 To 0 Step -1Form1.ListEmail.Text = Me.txtRecipients.TextNextAny ideas?...
I feel stupid asking this... bus seemingly I am in need of some very 'basic' help.I just purchase a flow chart program to help me out with a rather large and probably not too well structured VB6 project file (.vbp)program that I started several years ago. I was thinking that the .bas file...
Previous post: " .bas file ... VB6 project (.vbp)"I still cannot find where the source code is stored. I can still edit and run the code by opening the project file (.vbp); so it is apparently located in or somehow attached to the the project file. I do not see a Modul1 or other file ... just a...
HEllo guys, I have a problem on randomize a number. When i click the cmdRandom, it gives me a result of 8,6,6,1 and 3. When I close the application and run then click again the cmdRandom, it gives me the same result 8,6,6,1 and 3.Can anyone help me this one. Thanks a lot...Private Sub cmdRandom_Clic...
I had all of my code in the forms module.<br/>I Just moved the code to a module.<br/>How to I go about tying them back together? :confused:
717 byte By
mark103 at 2007-11-20 10:20:04
Hey everyone!I have decided that I have find a different way of creating the skin form. However I have no idea how to enable popsystemmenu on taskbar. I have put with none bolderstyle because I don't want any border to see on. I only want a flat border and there are no arrow to show if I am try...
Hello all, I have created One activeX control and create One BackColor Property. when i use this ActiveX in any vb project it shows me the above property and if i change the backcolor it shows the chages. but when i run the application with the control the changes lost....
375 byte By
saheer85 at 2007-11-20 10:21:01
hi, i want to create a report using certain particular criterias such as index num i just dont no how to write the correct statement bekoz i'v tried loadsi no that "select * from DB" will result in displaying all the records in the DBbut i want for example, for a particular name or index number...
1277 byte By
M@t at 2007-11-20 10:21:23
I have a function callback from a C++ DLL which is being used in a VBA macro. The callback works fine when I just echo the parameters to the function to the screen using the MsgBox function. It fails, however, when I try to use the callback function to update the textboxes on the main userform. From...
Okay so I finished a project of mine where I am able to enter whatever data I need to in the textboxes, comboboxes etc on my form, I send, it saves to an access database. So I have run this through Visual Basic 6.0 and everything works fine, not ONE hiccup. It is working superb! BUT... I compile my...
Hello geniuses! :wave:I'm currently busy with an application which will allow me to change All the XP Taskbar settings through code. In fact, it is finished, but I'm not entirely happy with it.The whole problem ( it seems ), is the updating of the settings. For example, I can use the SHAp...
2341 byte By
Antman78 at 2007-11-20 10:22:19
Can anyone help me rewrite this old program?It sends CNC programs to an Okuma Vertical Mill. It was custom written by my Boss in QBASIC like 20 years ago and I cant seem to translate it myself very wellIt runs off of a 3.5 boot Disk in DOSWhen it boots up you see a menu with three options 1, 2, and...
1852 byte By
dglienna at 2007-11-20 10:22:31
I am trying to get a few long web pages in a row. I have a loop set up to send parameters, and do another Inet1.Execute.The problem is that it loops before the file is done, and gives a "Still Executing" error. I tried using an error trap, but it doesn't work.I've tried tracking the buf...
Hai,<br/>What is the VB Function to check a piece of string is unicode or Ascii ?<br/>Thanks
Hi All,I am doing a project in Visual Basic 6 which is then linked to a Microsoft Access Database. I have created several forms with data links. I need to know how to create a search function in these forms, so that the user can search for a record in the database once the project has been completed...
Hi,I am working on an activex control. I want to hide some properties of ocx , if certain properties are set.e.g.The control has a Multiline and a MaxLines property. I want to hide the MaxLines property, if the Multiline property is set to False, and display it if Multiline property is set to True.I...
I am creating a application using vb and mysql database. I have to select the Candidate name for which I am going to view the crystal report.Please help me how to link and get the crystalreport through visual basic 6.0 and mysql.<br/>I am using crystal report 11.0
Hi Folks,I have inherited quite a large project VB6 and the name of the exe generated now needs to change. Is it possible to change this in the project settings? I have tried to do this but it seems the name will not change. I know I could rebuild the project from scratch but this will change the...
668 byte By
jvd00 at 2007-11-20 10:24:26
I have a problem with the user interface I created.I have two workbooks. Workbook 1 contains my macro's, User Interfaces, etc., Workbook 2 contains data.My User Interfaces open Workbook 1. If I want to enter some data, manually, in Workbook 2, my User Interface blocks me from doing that. I have...
Hai all,<br/>how do i allow the user to type unicode charactors in the text box. Because i see normally it prints ?? marks for unicodes.
I am working on an application which takes some input (as parameter) and displays the report to the user (using data report) meanwhile, means, the moment the user click on "Preview" button and the report is actually displayed to the user, I need to display a small kind of animated progressbar (I am...
821 byte By
suvinaik at 2007-11-20 10:24:55
if i want to set timer so that i can keep printing part of data every hour n forwarding the page about 2 cm from printer.how to set the timer for this??Private Sub cmbPrinters_Click() mvarPrinterName = cmbPrinters.Text InitialisePrinter ExitPacketMode End SubPrivate Sub Command1_Clic...
546 byte By
hootie at 2007-11-20 10:25:10
I'm creating a toolbar app.One thing I have to do is allow users to create their own buttons and links.With files I have no problem. Now I'm stuck in capturing URL's. When a user drag&drop an URL from the browser to my app, I can get the URL, but I cannot see the Title of the page.I g...
Hai,my below code works. it shows the 'File Downloaded message'. I cant find the file on the Desktop or in mydocuments folder. Currently IE downloads every thing to Desktop. Private Sub Command1_Click() Inet1.Execute " http://www.dev-archive.com/forum/images/cg-logo.gif", "GET" Do...
240 byte By
stin at 2007-11-20 10:25:43
On my tool bar in the IDE, I have 3 buttons for VISIO. I don't want them there. I remove them everytime I start VB, and yet the persist in re-appearing when I restart the IDE. How can I permanently 'customize' my toolbars?
VB6 HTML elements offsetParent recursive problemHow to recursively go through all parent elements of the current element on html page?I do this and get error :(While (TypeOf elem Is IHTMLElement)parentall = "-Parent Tag=" & elem.offsetParent.tagName & _elem.id & ",l=" & elem.offsetLeft & ";t=" & ele...
70 byte By
ikcha at 2007-11-20 10:26:32
need code to close a local file if opened from a remote PC?. win2k OS.
i want to display data in datagrid,then its displays error atset datagrid1.datasource = rs Run-time Error: 7004error: "The rowset is not bookmarkable"MY Code is as follows:-Dim rs As ADODB.RecordsetSet rs = New ADODB.Recordsetrs.CursorLocation = adUseClientcon.Open "Provider=SQLOLEDB.1;Password=111;...
385 byte By
chunks at 2007-11-20 10:26:56
I know how to work with Resource Editor At Design Time. But i have come to a need while developing a software. I need to Add the images to program at run time and save them in another file called .abd and when this .abd file is open again the images should be displayed in the program because program...
hi,I need help with why the Replacement formula fails. All i get when trying to replace the "#value!" with a formula is "False", not the result of the formula. What i want the replace code to do is to get the value of another cell 4 columns to left. myLastRow = Cells(Cells.Rows.Count, "A").End(xlU...