vba x 200

12,155 Topics

Member Avatar for
Member Avatar for gee_azizi

Hi, in my VB6 app, there are ADMIN and USER type that can log in. Is it possible that ADMIN can monitor USER activities like when they delete the data, who had log in into the app and else? Thank you

Member Avatar for AndreRet
0
268
Member Avatar for nagatron

I would like to know to remove spaces from start and end of a string without removing the middle space. Ex. _ _String _ Sample _ _ = String sample I have a code: [CODE]Text1.text = Replace(Text1, " ", "")[/CODE] The code removes all the space in a text. Ex. …

Member Avatar for AndreRet
0
185
Member Avatar for Naveed_786

I am using this method to take print of data peresent in textboxes but it prints on top left corner i want to take print in a sequence and distance as it apears on form also want to increase font size waht should i do please help me. [CODE]Printer.Print txtstudentid.Text …

Member Avatar for AndreRet
0
303
Member Avatar for SkyVValker

I am using the code below to update the fields in a table.bt it update only first recorde ..where m i doin wrong plzz. help me..! [CODE] StChk.Open "SELECT * From SPINF WHERE STATUS='Active'", Con, adOpenDynamic, adLockOptimistic FeeTrans.Open "select * from TBLFEE ORDER BY VOUCHERNO", Con, adOpenDynamic, adLockOptimistic Do While …

Member Avatar for AndreRet
0
97
Member Avatar for blazeenterprise

Hello, Im creating a application in Microsoft access. I need to protect it with a license manager. I have built one but works from the computer. Whats i realy need is that i puplish my license database on the internet and in the application when you press active software it …

Member Avatar for AndreRet
0
136
Member Avatar for bnelle01

I am in the early stages of working with programing. Everyone I talk to around here who is in programing knows how to do the hard stuff but everyone of them said they did not have to start off using basic. I am trying to make that numbers game. I …

Member Avatar for AndreRet
0
158
Member Avatar for beginninphp

Hello all, I've been stumbling (more like Stumbling, I hope) across the web looking for something that can do occasional screen captures using a cron job on my casual gaming site server. I was hoping to be able to save screen captures of a few characters as I leveled them …

0
200
Member Avatar for kinv001
Member Avatar for AndreRet
0
432
Member Avatar for ash07

Hello aLL I need a small help from you guys.. I am creating project in VB6.0 and access 2003, form has combobox,tab control,textbox msflexgrid .. I am trying to retrive data from database.I have a sub procedure which is nicely working for all controls except combobox. while debugging I found …

Member Avatar for AndreRet
0
227
Member Avatar for saranyashanthi

hai can any one help me to write the codings for hospital management in visual basic on basic forms of bloode donation list,admission form,etc

Member Avatar for PoisonedHeart
0
98
Member Avatar for TheDocterd

Hi there recently I received help on how to ensure that a user don't close a form before he/she completes all outstanding entries on a calendar. That works perfectly, but now the problem is I have to complete all entries up to say the year 2020. I only want the …

Member Avatar for AndreRet
0
121
Member Avatar for damson

Can anybody help me in on how to connect my VB interface to a database. I have already designed the interface but I do not know how to connect it to Dbase. Damson

Member Avatar for AndreRet
-2
2K
Member Avatar for Wahoo

Hey there. I'm 19 years old and I'm currently a student at a local community college. I came into college thinking I wanted to be an engineer, but after a few engineering-specific courses (Statics) I decided that engineering is not for me. Now I am looking into computer science and …

Member Avatar for theonly
0
167
Member Avatar for fritzgarcia_29

I have dtpker1 and dtpker2 to choose from the date and I want to display in Listview. the problem with this code is that it cannot display dates from the listview. Please help me with the right syntax plzzzzzzzz.........:) Thank you so much!![code]Option Explicit Dim rs As New Recordset Dim …

Member Avatar for AndreRet
0
2K
Member Avatar for weasel7711

Hello, I am new to Access and VB, but I have used C# and C++. I am trying to update a whole bunch of records in a table, only one field. For example [CODE] [Employees] [ EmpCode ] [ FirstN ] [ LastN ] [ 019871 ] [ John ] …

Member Avatar for AndreRet
0
267
Member Avatar for arvin2006

Hi everyone. I am developing a vb app which uses reg free com. How can I get the IDs of the DLL file to insert it into the manifest file I am creating also with vb. Is this possible?

Member Avatar for AndreRet
0
2K
Member Avatar for mrwest321

I need to create a project for college using visual basic 2008 express edition. I have to create a quiz with a login and password facility, so when you run the project the user will have to enter their username and password then be taken to the quiz. How would …

Member Avatar for Netcode
0
81
Member Avatar for Naveed_786

Can any one tell me how can i make privileges for user to restrict them and only administrator have all rights. Please help me Thanks in advance.

Member Avatar for AndreRet
0
134
Member Avatar for gagan83

hi can u help me in converting this PDL into flow chart : [CODE]sum = 0 If Condition1 or not Condition2 then for i = n1 to n2 If not Condition3 and Condition4 then for j = n1 to n2 Body1 Else for j = n1 to n2 Body2 return …

Member Avatar for AndreRet
0
88
Member Avatar for kamaamin

I am new in VB 6. I am have created text boxes and trying to add new data to the MS access. Whenever i add new data it replace the already exixting data in my table. I want new data to be entered without disturbing any existing data in my …

Member Avatar for peter_budo
0
137
Member Avatar for shabadoo

I am using a collection of Workbooks that are supposed to work in sync. When the main "System" Workbook is opened it initializes showing a sequence of userforms which get information from the user to determine how to proceed. One of the options is to "check inventory", when chosen it …

Member Avatar for AndreRet
0
96
Member Avatar for JohnKelly

We have an application that reads data string coming from various serial ports and is written in VB6. We use the API method of reading the data CreateFile(sPort, ..... where sPort is the appropriate Serial Port e.g. "\\.\Com60" to read Comm 60. This has worked a treat for serveral years. …

Member Avatar for AndreRet
0
190
Member Avatar for bklynman01

Hello, I'm writing code that will populate a listbox with the contents of a folder (a list of excel and word files). Naturally, the listbox has all file names with the ".xls" or ".doc" extension included. How can I get rid of this? I have tried [CODE]fileName.Remove()[/CODE] and [CODE]fileName.Replace()[/CODE] functions …

Member Avatar for AndreRet
0
300
Member Avatar for TheDocterd

Hi there all I'm looking for a way to ensure that users don't exit my application before they complete all outstanding calendar entries. It is a job book application we use in office. The thing is that users only complete the day's entry in the calendar, and then leave the …

Member Avatar for AndreRet
0
122
Member Avatar for NewOrder

[CODE]using System; using System.Collections.Generic; using System.Text; namespace Project1 { public class Homework { public static void Main(string [] args) { Dad d = new Dad(); d.LitCig(); Helper h = new Helper(); } } public class Dad { void WithDrawMoney() { Console.WriteLine("Father: Money Withdrawn"); } internal void Mercedes() { Console.WriteLine("Father: drive …

Member Avatar for NewOrder
0
277
Member Avatar for MrConfused

I have been given the following code to convert a string to a "byte array" (which is then passed to other software) but it does not appear to work. I have practically never needed to use a function and am even less familiar with the data type byte and Hex …

Member Avatar for FSandlewould
0
980
Member Avatar for jjemphoung

good day! i know theres a way to kill a process in task manager using vbscript. but i've tested all of the codes i've seen upon googling it, still no luck. how can i do it right? sorry if i post this to javascript forum becos there's no vbscript forum …

0
82
Member Avatar for Naveed_786
Member Avatar for AndreRet
0
271
Member Avatar for ArtistScope

Am sending email using CDOSYS and finding that it works ok with a hard coded email address in the TO field but it doesn't work when I use a variable. This works... [ICODE]ObjSendMail.To = "myEmail@some.com"[/ICODE] This doesn't work... [ICODE]ObjSendMail.To = strEmail[/ICODE] giving an error... Microsoft VBScript compilation error '800a0401' Expected …

Member Avatar for ArtistScope
0
81
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
674
Member Avatar for Member #854131

hi.i m new in the visual studio basic 2010..can i noe how to import txt file to datagridview? the txt file like below: name>date>id jay,2010,a111* cheryl,2011,a222* i had successfully import the data to the datagridview. but i cant import for the attribute.. the attribute and data will always change if …

0
60
Member Avatar for DavidRathbone

Looking on the web very few have got VB.net 2008/2010 using object arrays working. I felt it was time to give back what I have taken from the web for any other users. VB6 had a simple object array system which has been lost in VB.net As a C#/ C++ …

Member Avatar for AndreRet
1
3K
Member Avatar for zachattack05

If I add an imagelist control to my project it asks me to select images from the hard disk. When my application is compiled and distributed are the images I selected serialized and/or compiled into the exe? or do the images need to reside on the end-user computer in the …

Member Avatar for zachattack05
0
84
Member Avatar for divakar.it

Hi, I am currently developing a tool in VB 6.0. I am facing a problem when i generate reports in Excel format. The issue description: - When I click the 'Produce report button', the vb code will run a query and fetch the record into record set - and then …

Member Avatar for AndreRet
0
118
Member Avatar for ayetar

Dim A, B, C As Integer Dim jam As Timer Private Sub Command1_Click() A = Text1.Text B = Text2.Text C = Text3.Text End Sub Private Sub Timer1_Timer() If Time = TimeSerial(A, B, C) Then shutdown.exe -t End If Text4.Text = Time End Sub

Member Avatar for AndreRet
0
137
Member Avatar for Learning_Curve

I am currently working on an application for use with scanning an printing devices. I use the ManagementObjectSearcher in order to retrieve device names and Id's: For example using (Don't forget to add the reference to System.Management.dll in the framework 2.** folder if you're trying the code) [CODE] Dim searcher …

Member Avatar for AndreRet
0
429
Member Avatar for sham
Member Avatar for abelingaw

I have finish coding some of my Payroll Program modules. But im having a problem on the log-in. I would like the log-in to determine the type of the user logging in, a User or Admin (Level Access of course). If it is a User, all command buttons in every …

Member Avatar for AndreRet
0
293
Member Avatar for mozy40
Member Avatar for AndreRet
0
56
Member Avatar for Talguy

I am programing VBA for excel and was wondering if anyone knows where I can fidn the documentation for the selection object. Also do you know how I can get the VB editor to recognize thet object so when I type Selection and put the period after it, it pops …

Member Avatar for AndreRet
0
89
Member Avatar for Naveed_786

When i mahe setup using setup and deployment wizard it make the setup perfectly but when i try to install it gives me error what is the best way to make a setup and run it perfectlly please help.

Member Avatar for AndreRet
0
117
Member Avatar for nagatron

Hello to all, I am always mad about this problem. If I type a name with two words in a textbox like "google corporation" it will be registered in the database ms access as "Google Corporation" now that is okay. What I want is, there should be no duplicate of …

Member Avatar for nagatron
0
235
Member Avatar for Naveed_786

Hi guys, Can any help me i had a peoblem please just give me idea. I want to calculate the share of a teacher let me explain how 1.if a teacher teaching three subjects in 10th class and three subjects in 9th 2.i have to calculate 50% of the fee …

Member Avatar for AndreRet
0
161
Member Avatar for kayjenx

So I have a small database for managing stationery orders (internally with my company - I order from the stationery dept). In the orders forms i have a subform with the list of items being ordered. I have the Item_ID, description, UnitsOrdered,UnitPrice, TotalPrice. What a code that will lookup the …

Member Avatar for AndreRet
0
172
Member Avatar for mtug

Hi All, Obviously Im a newbie here. Firstly let me first make it clear that I am not really a programmer or a software developer but I have a basic background in Programming, I had 8 units of C++ in college, I am more of inclined into IT Networking. However, …

Member Avatar for AndreRet
0
139
Member Avatar for dragonheart

HI all,, im having some VB exe files which i have done small games,,, is there a way to convert them into .avi or .flv ? i need to upload them into youtube.. please help !

Member Avatar for AndreRet
0
161
Member Avatar for Violet_82

Hi there, I have a question about header files/source files in Visual C++ (I use visual c++ 2005 express). I used to put all my code in one single .cpp file but now I have a test program (done by my tutor at Uni) which has 3 files: 2 .cpp …

Member Avatar for Violet_82
0
461
Member Avatar for prakash.arul87

[code]Private Sub Command1_Click(Index As Integer) If KeyAscii = vbEnter Then If Len(Trim(txtlogin)) > 0 And Len(Trim(txtpwd)) > 0 Then If CheckPwd(txtlogin, txtpwd) = "ok" Then MsgBox "Password ok" Else MsgBox "Wrong password or Login not found." End If Else MsgBox "Login and password should not be blank" End If End …

Member Avatar for AndreRet
0
147
Member Avatar for abi62

Hello Every One. I want to read weight from an electronic weight machine which is connected with computer and save it in a database. Please if any one know the procedure, please help me. Thanks

Member Avatar for AndreRet
0
113
Member Avatar for gangadharpanda

hai i want to code of this problem my problem is i have data in msflexgrid i want to print in datareport of vb 6.0 so i want to print only one record at a time

Member Avatar for AndreRet
0
109

The End.