12,425 Topics

Member Avatar for
Member Avatar for cmcmurugan

[CODE] Public Function AddSlashes(ByVal chk1 As String) As String [COLOR="Red"]Dim ss As String Dim ss1 As String Dim spl As String Dim i1 As Integer Dim j1 As Integer[/COLOR] spl = "$':<>[]{+}""\" ss1 = " " Dim l As Integer Dim chk As String ss = chk1 For i1 = …

Member Avatar for WaltP
0
78
Member Avatar for Alex_2011

How are you, I need some help with the following code (Attached Form1 & AccountClass). I am trying to figure out the following: - Figure out the code in ButtonWithdrawal when the amount is bigger than 0. - Show the (Balance) in ButtonBalanceInq. - Show the List of transactions in …

0
148
Member Avatar for ster_tet

below is a link for my screenshot [IMG]http://www.fileden.com/files/2008/3/26/1838035/Pictures/vbkoh2.jpg [/IMG] in my sreenshot it must print all what it is in in column1 which is: aaa bbb ccc [CODE]DataReport6.Show DataReport6.Sections("Section2").Controls("label1").Caption = DataGrid1.Columns(1) [/CODE] plz help.. tnx.. :)

Member Avatar for abelingaw
0
206
Member Avatar for jeannebria

hello guys ! here's my code , how can i put my data into adodc2 from adodc1 ? look .. there's some error there .. do help me .. Private Sub Command1_Click() Frame3.Visible = True Frame1.Visible = False Frame2.Visible = False Text3.Text = Val(qtyOnHandTxt.Text) * Val(Text1.Text) End Sub Private Sub …

Member Avatar for ChrisPadgham
0
213
Member Avatar for Alex_2011

Hi, In the following code (Class & Form1), I'm trying to figure out the following: - Create an array that stores the 'Clients' (first name, last name, account number) - 'Button List' the array with the (First Name , Last Name , Array Value , Account Balance) I attached the …

Member Avatar for Alex_2011
0
1K
Member Avatar for Alex_2011

Hi, I am trying to "Show" an error message for the user in two cases: 1. If he/she did not enter a correct value for a String. 2. If he/she did not enter a correct value for a Decimal. I know I have to use Try & Catch but each …

Member Avatar for Alex_2011
0
278
Member Avatar for Quinncunx

Hello, I am trying to make a random number generator (its not really a random number generator, more a random order generator) that puts the numbers 1, 14 in a random order, without duplicating the numbers. That is the problem I am having it will often select the same number …

Member Avatar for ChrisPadgham
0
469
Member Avatar for Goitsheka Radit

hie..I've bin working on a program that reminds other students how many days are left to write the final examination,including weekends.....this program is supposed to read as from now onwards up until 23 April 2012........help me with an idea of interface and program Code

Member Avatar for StephNicolaou
0
93
Member Avatar for dwiniers

Hello guys! Can you help me this type of error? Run-time error '8574': The object 'Employee ID:' was not found This is the code: [CODE]Private Sub cmdPreview_Click() Dim rsq As New Recordset rsq.Open "SELECT * FROM qRecord where EmpID = " & Val(txtEmpID.Text) & "", con, adOpenStatic, adLockReadOnly, addUnknown If …

Member Avatar for BitBlt
0
205
Member Avatar for ynehs

Hi, I would like to know how to set the textbox to only accept numbers, also that will only accept numbers 1,2 & 3 only. Thanks in advanced. :icon_mrgreen: i tried but i really don't know how.

Member Avatar for Jx_Man
0
2K
Member Avatar for fadTheRed

Hello! I am a final year student at the University of Mauritius and I am currently working on a project related to facial recognition for computer security. My idea of the project is to build a software to replace the traditional Windows XP password logon screen by one requesting a …

Member Avatar for jbennet
0
178
Member Avatar for ng5

I have two different forms. one has a listbox and the other has a masked textbox. the masked textbox is used as a login and i would like the masked textbox to be checked against the listbox items to be able to "gain access" and login Any ideas?

Member Avatar for M.Waqas Aslam
0
166
Member Avatar for LFCDay123

I'm new to Visual Basic and I am trying to set up a currency converter. I have converted a currency to UK Sterling on the first form and on the second form I want to have the same label with the same amount of UK Sterling as on the first …

Member Avatar for poojavb
0
147
Member Avatar for Farhan_B

im working on this piece of code and for sum reason i cannot understand why i keep getting this message can you please advise me thanks in advance [CODE] 'sql statements strsql = "insert into c_security_user (user_name, user_pwd,) values ('" & txtuser.Text & "','" & txtpass.Text & "')" Dim acscmd …

Member Avatar for kingsonprisonic
0
212
Member Avatar for Sturdy

Hello masters, I want to know how to check an empty textbox in the form. I can check it by assign Text1.Text = "". But i have many textbox in form. Thank you in advance

Member Avatar for Sturdy
0
476
Member Avatar for EkoX

Hi all, How i can split a sentences into words and add splitted words into listbox. Thank you. Best regards Eko

Member Avatar for EkoX
0
279
Member Avatar for mayzebra

I'm in the process of converting a complex system from VB6 and C to C#. However now I'm in a position where I need to call a C# dll from VB6 and I need it yesterday. The only solution I found was using Interop, which didnt work, and seemed to …

Member Avatar for nirdeshdabas
0
3K
Member Avatar for moe0

Hello I need to write Age Category Calculator program but I'm not sure how! I've to reed to inputs years and months This is the instruction : Write a subroutine for the button COMPUTE. The application will compute the user’s number of years as follows: if the number of months …

0
69
Member Avatar for newbie26

hey.can someone help me..??? how can i filter records from the database depending on the length of each record??? example..i only want to display records with the length of the fieldname lastname <> 5. what is the formula for this using crystal report?? im currently using this: length({tablename.fieldname}) <> 5 …

0
54
Member Avatar for LFCDay123

I have made a currency converter which converts a made up currency to UK Sterling. I have made a converter on my 1st form and on my 2nd form I need to add import duties. There are 2 import duties... 1) Air Cargo: 16.5% of Sterling price 2) Shipping: 11.5% …

Member Avatar for StephNicolaou
0
135
Member Avatar for LFCDay123

I have made a currency converter and have converted a made up currency to UK Sterling. I have made it so the amount of UK Sterling appears like '2.32' but I want to have the £ sign before the amount of money to show it is now in UK Sterling. …

Member Avatar for LFCDay123
0
87
Member Avatar for jdjtmeek

Good Morning, I am this --- close to turning in a final project and my instruction states that for my asp.net vb application that we will need to turn in an executable or runtime. Since my project is .aspx I realize that an executable is not required but that I …

0
122
Member Avatar for Sarwat Zodiac

Hi In VB6, I have a Combo Command, and I made meny steps iside it, it is about 48,000 characters, and I need more !! but I got this msg: "Proceduer is too large" !! so, what can I do to complete my steps !? Thanks.. Sarwat.

Member Avatar for Sarwat Zodiac
0
230
Member Avatar for Ritesh_4

Hello, I need advise on the software to use to write a mini program which can be used to monitor the CPU temperature of a computer. The program to be written will also need to control the fan speed whenever needed. Which among the following can be used to interact …

Member Avatar for tungnk1993
0
170
Member Avatar for selman555

Hi all, I have question about sessions in web services (VB). I created a function that allows me to login to my web service. I created a session here and added some values I retrieved from a stored procedure. The code will explain more :) [code=vb] <WebMethod(EnableSession:=True)> _ Public Function …

Member Avatar for thines01
0
280
Member Avatar for crimson08

does anyone here know how to save a visual basic form in any file format such a jpeg??? im currently working on a program wherein i can view an image + i can add labels and save it in jpeg format. pls help. urgently needed... tnx in advance...

Member Avatar for deepakx250
-1
1K
Member Avatar for Zumie

Greetings everyone! im having my final project. My program is all about retrieve data from Excel Worksheet then show/calculate it in VB6. The problem im having here is i keep getting compile error "Procedure too large". I understand that VB6 procedure max is 64k and to make it small is …

Member Avatar for Sarwat Zodiac
0
1K
Member Avatar for marcmanlin2

please i need help on making data report which the database is access 2007 with accdb format. what connection will i use and how and sample codes. thanks a lot in advance.

Member Avatar for marcmanlin2
0
591
Member Avatar for razamughal67

Hello everyone i want to get all file in a folder to a listbox using visual basic 6.0 example: i have many files in a foldre mp3,dat,mpg etc file in D:\musicfolder and we use a listbox and a timer or command botton when i click on command botton then listbox …

Member Avatar for razamughal67
0
5K
Member Avatar for Contagious98

I cant seem to login into my crystal report viewer. It wants me to login with the user name and the password. I've already provided the UN and the PW during the crystal report database connection. I really do not know why it fails. I only have these codes. [CODE] …

Member Avatar for Contagious98
0
215
Member Avatar for Farhan_B

Hey people hope you are well Could You please help me. I am designing a system which when users login i want the system recoginse who is a admin and a user ( option of deleting only to admin) Using mysql and vb.net Thank you in advance

Member Avatar for kingsonprisonic
0
2K
Member Avatar for dwiniers

Hello guys! I need your expertise i made a problem with data report. My problem is when i first time you entering a data you can show the data you entered when you show in data report. But when add another data it added but when you show the latest …

Member Avatar for dwiniers
0
146
Member Avatar for Lle26

This is my first time to do visual basic program Please help me about this problem... When I run the program with maximum attempt of 3 with correct username and password, Illegal user will pop up,,,i really dont know what to do..illegal user must be pop up when i already …

Member Avatar for makdu
0
529
Member Avatar for belber

hey all, i wan't ask, how to make specific report in vb6 using datareport i can make report, but show all of record in my database not a specific record help me plizzz...

Member Avatar for Jx_Man
0
129
Member Avatar for pfaleite

How to get HARDWARE properties in VB Express 2010 like video card name and memory type? Hi, need some help with the above problem, i'm a noob with programming so any help will be ultra cool.

Member Avatar for kingsonprisonic
0
114
Member Avatar for reds8

My problem is after I created 5 rows of text boxes, I want to add random numbers to all of the text boxes in one time when I click the button. Does anybody know how to solve this problem?? Here are my coding to create text box dynamically: [CODE] Private …

Member Avatar for WaltP
0
179
Member Avatar for razamughal67

Hello EveryBody i want to change a file extention property in visual basic 6 Example; i have a File test.txt or test.jpg what we want ? and we use a command botton and two textbox Text1.text = "C:\test.txt" 'Textbox 1 is my file path Text2.text = ".pdf" or ".psd" ' …

Member Avatar for razamughal67
0
1K
Member Avatar for rapirap

Hi! please help me on how to use crviewer in printing data that is in the listview, which is came from the database... help please! rafhael

0
50
Member Avatar for LFCDay123

I have a created a currency converter in 2 forms in Visual Basic for a made up currency which has pounds shillings and pence. I have 3 textboxes for them to enter the amount of each and a button to calculate the amount of UK Stirling using conversion rates given …

Member Avatar for Jx_Man
0
118
Member Avatar for svbs

hi friends i have following code to stop resizing windows form. lStyle = GetWindowLong(Form1.hwnd, GWL_STYLE) lStyle = lStyle And Not WS_THICKFRAME Call SetWindowLong(Form1.hwnd, GWL_STYLE, lStyle) i have a image on form as background. this code i ok, but the problem is when is when i click on the title bar …

Member Avatar for abelingaw
0
69
Member Avatar for darkelflemurian

Hello everyone. I have the following issue: I have a Windows XP computer with excel 2003 installed. we use several automation robots using excel. everything works fine, files area created and all that. but we have a problem. for some reason the document recovery pane of excel is getting filled …

Member Avatar for darkelflemurian
0
243
Member Avatar for jd2369

here's my code access webpage [CODE]WebBrowser1.Navigate("http://" + TextBox1.Text + ":8080/TopAccess/Administrator/Login/Login.htm")[/CODE] create folder [CODE]My.Computer.FileSystem.CreateDirectory("C:\" + TextBox2.Text) System.Threading.Thread.Sleep(2000)[/CODE] access general page [CODE]WebBrowser1.Navigate("http://" + TextBox1.Text + ":8080/TopAccess/Administrator/Setup/General/List.htm") While WebBrowser1.ReadyState <> WebBrowserReadyState.Complete Application.DoEvents() End While[/CODE] save page as*************this is not working [CODE] Dim myWebClient As New System.Net.WebClient myWebClient.DownloadFile("http://" + TextBox1.Text + ":8080/TopAccess/Administrator/Setup/General/List.htm", _ "C:\" …

Member Avatar for kingsonprisonic
0
209
Member Avatar for jd2369

I have a website which has a section under maintenance with a button called create a new file - when you click on this button it does a backup and generate a filename on the same page called *.tbf - the filename changes each time you click on create a …

Member Avatar for thines01
0
361
Member Avatar for madao

So i am currently working on a project about enrollment system and I am having a problem with transferring items from one listview to another. I've been stuck on this problem for a while now. And I'm wonder if you guys and help me out. Here's a photo: [ATTACH]23978[/ATTACH] I …

Member Avatar for madao
0
200
Member Avatar for NCl

The title says it all; I want to make a simple, not all-over-the-place HTML code. I'm asking for help since I'm still in middle school. I understand a lot of code, but if you give me a from college class explanation, it's not going to help until I get to …

Member Avatar for thines01
0
300
Member Avatar for islandsand
Member Avatar for RASHIDDDDD

i need help so how i can make code for these checkboxes and commands .. plz any1 can help me.. even just a hint will be great :)... plzz

Member Avatar for ChrisPadgham
0
98
Member Avatar for dwarvenassassin

OK, I am relatively new to C#, so in order to give myself a 'learning' project, I thought I'd update an application I wrote a couple of years ago. The application uses a ListView control in "Details" mode to display MP3 tag data stored in an Access MDB database file. …

Member Avatar for Momerath
0
195
Member Avatar for selman555

Hello overyone, I have a question about web forms. I've set up a web service and i'm now trying to make a registration page. The one thing I couldn't figure out is how to handle events. For example, I have a simple button with id="Register", how can I handle that …

Member Avatar for selman555
0
310
Member Avatar for november_pooh

The End.