12,155 Topics
I have a variable declared in a class file. A form is called from the class. When the control goes to the from; the value stored in the varaible is lost. Hence ,when I get the control back to the class from the form, I am unable to get the …
I've tried to create mailbox in exchange 2007 using code that works on 2003-version. It's much faster to create a program in VB6 then in net. So, does anyone know what I have to do to make mailbox on 2007.version with vb6?
Hi all, CAn anyone guide me how to read a .dcm(DICOM) file in vb 6.0 thanks, sam code: please guide hoe to implement to a picture box control so that code works Public Type BITMAPINFOHEADER biSize As Long biWidth As Long biHeight As Long biPlanes As Integer biBitCount As Integer …
hi...i have problem to create login form i have 2 textbox which is Text1.text and Text2.text and im using ms access 2003 for my database table: login field : user and pass please help me...
hi all! I'm usuing VB 5.0. I need to store data getting input in VBform in MSAccess data base. I tried with ADO connection but its not working. Can any one send me the basic code to store data in MSaccess and to read the data. You help is highly …
Hi, Please i need a code in vb6 to compare record stored in databse one after the other to check for the occurence of duplicate record . 1. The check will be the first record compare with other records 2. The check will be the second record compare with other …
Is there a quick way to pass numerical arrays between two VB6 programs? Currently I am dumping the data from one program into an Access Db, then the other one reads it. However, speed is very critical and this is a little slower than I would like. The arrays are …
Hi, I have a friend who's trying to make a memory game and we're kind of stump of what is wrong with the code. We've narrowed down that it pertains to this section of it: [ICODE]If turn = 1 Then tempturn = 2 picval1 = click previndex = Index End …
hi guyzz... i have a code here about chatting using winsock, but it is not working and I tried 2 surf in net but the error cant be solvd cleared.. .i have a runtime error 40006(wrong protocol or connection state....) and the error is refer to the senddata properties... plzz …
Please help me guys... how to show clock in capture video, example in my attachment thanks a lot for your kindness...
Okay I have a new assignment. I think I actually get the whole random access files ( I hope) but I have no clue as to how to set up my form(s). Does anyone have advice on how to set up the forms? Here is the assignment. Objectives: This assignment …
Hi, I am a consultant working at the accounting department of a large multinational company with it' head office in Malmö, Sweden. My main task is to be a resource for database administration and overall administration of Hyperion Business Intelligence applications. I am very eager to learn more particularilly about …
Hi there, I've a vb6 email program, it's enable to receive email by pop3 protocol. what I'd like to do is to decode all the coded base64 media embedded in email message. How can i do that ? ..it's very important for me ..I could buy a therd part software …
ei, can anyone could teach me or give some codes on how to create a password verification when opening the database using (msaccess) dao 3.51... thanx
Hi to all I am very new for this forum. and I am intrested to work on VB. Is there any practical approach to learn VB.Do anybody have the material ont his.
greetings! anybody know how to set the system date value. like for example today date is 11/22/2007 i want to set this date into a new value one month ahead it should be 12/22/2007. THANK YOU IN ADVANCE
Can anyone please post the tutorial for connect SQL server over the WAN. I have been using my SQL server in the LAN without problem. I am not able to connect with the STATIC ip and this is connection string for LOCAL. conString="PROVIDER=SQLOLEDB;SERVER=192.168.1.1;UID=XXX;PWD=XXX;DATABASE=TEST" I have tried with coneectionstrings.com and helpless. …
I am facing problem with vb 6.0 and crystal report 12.0
1.Dim d As String 2.d = Format(Now(), "dddd, yyyy mmmm dd") 3. MsgBox (d) 4.If Dir("c:/", Photos & d) = "" Then 5.rspCreate = MsgBox("Directory doesn't exist, do you wish to create it?", vbYesNo) 6.If rspCreate = vbYes Then 7. MkDir "My Documents/swapna" 8. End If i want to create …
Hi, [code]Label6.Caption = rcsetFran.Fields("franchiseid")[/code] generates an error"Method item of object Fields failed". If i do [code]Label6.Caption = rcsetFran(0)[/code] then doesn't accept '0', i need to give '1'. In this case i can't return first column in the table. 1 returns second column. How can i solve this problem. Thanks
hello there.. i have do some research on the ajax paging,but i cant get any solutions. i wan to query out 5records each time when the Next button is clicked or Preview button is clicked without refresh the page with the querystirng above such as xxx&page=1,xxx&page=2. i get some reference …
I am getting problem in Grouping the data in DataReport. The problem is that the group of records are reprinting n number of times as in the recordset.
hi, i.m working with a project. I creating report in visual basic data report. i use different report size. so i need to use different priter paper size. please any one help how i can use different paper size using vb code. please if you want to help me send …
Taking Computer Programming in high school =) My group is assigned to program a Monopoly game. Using Visual Basic 6. We have the user select how many players using radio buttons in one form. (2, 3, or 4 players). How can we program turns? We have the players stored in …
Hi, with the help of VB 6 and Access I would like to make a software to enter Cheque No and its related bill no. I mean a Cheque could be the payment of number of bills of a firm which varies from time to time. So pl help me …
I've got a VB app I wrote that runs over Access and works pretty well for the most part. However, there are a couple of pages where I get the following error when trying to access a database (no pun intended). I'm getting the error "Unrecognized Database Format (path to …
[B]Is There any way so that we can use Icon with 32 Bit Color Depth as Exe Icon.[/B]
I am new to VB. we are using 6.0. we have just switched from Access 2000 to SQL 2000. I was looking for help on the web, and found this site, and signed up. Thanks for the welcome.
Im having problems with getting the page to stop progressing to the asp one when the user enters the text outwith the limits i.e. no data entered. Could anyone give any guidance? Cheers [code= html] <html> <head> <title></title> <SCRIPT LANGUAGE="VBScript"> dim validation Function MyForm_OnSubmit validation = False MyForm_OnSubmit = False …
Hi everyone here.. Currently i m doing my project which i needed codes for receiving sms by PC using vb6. I would like to knOw if there is any expert who have the codes.. if there is..can send the codes to mi.. thanks alot... I have been trying so many …
The [B]SetupDiOpenDeviceInterface[/B] function retrieves information about an existing device interface . what is an interface here......... please let me know...
Hi there i've just known how to make an exe file now what am asking is how to change the icon of the exe from the default one to one of you choise like in the one cd access program.
Hi, Iam trying to put username and password in some dat file(ADMIN.DAT)from changeLogin page and getting/retreiving username and password from another page from ADMIN.DAT file.... My problem is username and password details are getting stored in dat file in readable text format NOT IN BINARY.. Writing into file part is …
Hello i will like to have an exemple to help me understand random access file(user define data type) using dynamic array in vb6. Please with explanation.
Hi, I'm new around here & newish to VB 6.0 as well! :cheesy: I'm using VB 6.0 to create a random access file, which has 2 fields per record . I know that all the records must be of equal length, but am wondering if there is a practical limit …
Here is my code: If optName.Value = True Then Dim strWhere As String Dim ctl As Control Dim varItem As Variant 'make sure a selection has been made If Me.List1.ItemsSelected.Count = 0 Then[COLOR="Red"][/COLOR] MsgBox "Must select at least 1 employee" Exit Sub End If 'add selected values to string Set …
I need to build a string and then interpret that string as the name of an element in a defined array. Concatination of the string is easy. strCard = R2_5 & "(17)" How then to put strCard into If(strCard = 1) Then ...?
im trying to make a error trap for my program. my program is all about receiving report module, i have to modules, receiving report entry and update. and my problem is how can i make a code if one of the receiving report items were not found in the purchase …
Hello. It Services Manager for a highways authority in UK. Mostly spend time scheduling others' work, but do still get a chance to write the odd script / program in PHP, VBScript, VBScript.Net, VB6.
I feel so pleased to be part of your community. Hope to share with all members some of my limited knowledges and if possible, to learn from people who I am sure, are so smart on several themes related with programming and developing software. I have been linked from a …
hi, i'm working with a project. i'm using data report. i'm using defarent kind of paper size. pls tell me some one how can i use defarent kind of page setup using vb code.
Hello guys,please help me here. Am having a problem with my listview because i cant ediit or delete records in my list view.Please assist me with the codes here
My problem is, i use sql 2000 server, and i'm able to display records on the datagrid. Now, I'm able to display the checkboxes beside the rows of the datagrid. Now, I want whatever row the user checks, the recordset of the datagrid should move accrodingly. Whether the rows have …
Hi, I use Oracle database with vb6. [code]Label6.Caption = rcsetFran.Fields(0)[/code] generates 'Type mismatch and Variable uses an Automation type not supported in Visual Basic'. 0 is a autonumber column. Solution is to use 'Use a variable of a type recognized by Visual Basic'. If i do this, i cannot use …
pls how do i Creating a dynamic report with crystal report 10 in vb 6.I want to display the report by the output of my query result
Hi!! I have a problem to connect VB to Mysql database
Hi I was wondering if anyone knew how to make a highscore list in VB 2005. This is for my project which is basically a quiz, and I would like the user to be able to click on the highscore button so that they can see their name, ranking and …
HELP.. It Is Possible to copy a form,image or pic box to be paste in Ms word
[B]hi i have this function:[/B]Public Function GetFile(Filename As String) [CODE]Dim path As String Dim Fnum As Integer '---read file in one pass! Fnum = FreeFile Open Filename For Input As #Fnum GetFile = Input(LOF(Fnum), Fnum) Close Fnum Exit Function ErrorHandler: Err.Description = "GetFile: " & Err.Description & " -> " …
The End.