11,868 Topics

Member Avatar for
Member Avatar for Bashir ahmad

[B]I enter 3 identical records in an sql database table. Normally this should not have happened as the DBMS must check for identical records. Now when I try to delete or update these records, an error message is shown. What to do?[/B]

Member Avatar for Bashir ahmad
0
255
Member Avatar for neosonic

Hi, I load many of the picturebox (I named them pic) with the index 0 to 10 (pic(0) to pic(10)) on top of my main (biggest) picturebox. My problem is, pic(1) will always be on top of pic(2). pic(6) will always be at the bottom of pic(5) and so on.... …

Member Avatar for neosonic
0
109
Member Avatar for arunvb

Hi.. Am using vb6.0 and crystal report 2008 in my project. Am getting lots of temp files on the root path.. Application will taking more than 2 hrs to load. After loading, the application is terminating automatically.. And when i try to open .dsr files it ll showing an error.. …

Member Avatar for vb5prgrmr
0
100
Member Avatar for death.cometh

I'm trying to display some data from a MS Access database to a data report. It was successful, unfortunately, I need to display it in the format below: [B]emp_name[/B] [B]date[/B] [B]remarks[/B] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [B]emp_name[/B] [B]date[/B] [B]remarks[/B] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] …

Member Avatar for Bashir ahmad
0
128
Member Avatar for Teseng

The normal VB forums werent much help unfortunately, so i've joined the great looking community here :) So, sorry if anything about this post is wrong, i'm new! But anyways, can anyone give me any insight on how i can accomplish this? I will need to pass the vb6 udt …

0
39
Member Avatar for pankaj.garg

Hello, I am using MScharts and want to mark individual datapoints in the chart. I am using following code for adding marker - with mschart1.plot.seriescollection.item(3) .SeriesMarker.Auto = False .DataPoints.Item(-1).Marker.Visible = True .DataPoints.Item(-1).Marker.Size = 60 .DataPoints.Item(-1).Marker.Style = VtMarkerStyleX By using above, I am able to mark the entire series, but the …

0
58
Member Avatar for duncangjacks

[CODE]Sub From_sheet_make_array_col() Dim myarray As Variant myarray = Range("A1:A10").Value 'Looping structure to look at array. For i = 1 To UBound(myarray) MsgBox myarray(i, 1) Next End Sub[/CODE] [CODE]Sub From_sheet_make_array_row() Dim myarray As Variant myarray = Range("A1:J1").Value 'Looping structure to look at array. For i = 1 To UBound(myarray) MsgBox myarray(i, …

Member Avatar for duncangjacks
0
97
Member Avatar for igreenb

Can anyone offer help for the following Macro I am needing in Excel 2007. The function would be as follows. Need help with turning this into code. Thanks so much in advance!! 1) Open file name: Y:/P21.xls 2) Open file name: Y:/PriceSheet.xlt (Note: Pricesheet.xlt pulls data from P21.xls) 3) Save …

Member Avatar for Ionelul
0
105
Member Avatar for Daocsm

yes im kinda new to vb and hoping someone can help me, i'v tried google with no luck. so i am creating a database program using access SQL statements to load the data, everything works perfictly except i cant figur out how to upon first install of the program the …

Member Avatar for Ionelul
0
99
Member Avatar for bhavin12300

hi, i am facing strange behaving of my application. i have developed one simple application, which will fill up some fields in webbrowser control webpage. this webpage has iframes in it. domain of both iframe are same and fields which i am filling with my code is in iframe. but …

Member Avatar for bhavin12300
0
729
Member Avatar for anjal_pawar

I want to load a form of project2 on click event of form of project1. how to do this?need answer urgently......

Member Avatar for AndreRet
0
98
Member Avatar for stuhawk

Private Sub Average_Click() Dim Test1 As Integer Dim Test2 As Integer Dim Test3 As Integer Dim Test4 As Integer Dim Test5 As Integer Dim Test6 As Integer Dim Average As String Test1 = txtTest1.Text Test2 = txtTest2.Text Test3 = txtTest3.Text Test4 = txtTest4.Text Test5 = txtTest5.Text Test6 = txtTest6.Text Average …

Member Avatar for vb5prgrmr
0
87
Member Avatar for jokers6

Hey guys i have this program and i want you to tell me what is wrong cuz i can't figure it out !! This is what i have to do: (the code follows) When the form is loaded, read the records in P3S3 Data File For Import.txt to a listbox …

0
63
Member Avatar for CanYouHandstand

Hey All I've been programming in C# for a while, but thought I'd get back to my C++ roots. Was wondering, does visual studio have a shortcut for automating the "->" operator? I'm so used to C#'s intellesense, I'm afraid I may go crazy. Many thanks Cam

Member Avatar for Ancient Dragon
0
87
Member Avatar for jemz

hello can you help me please.. i have this trapping that will trap the characters..but my problem my code is too long..are there other ways to shorten my code..please help me ...hoping for your positive responds... [CODE]Public Function mchnotrap(KeyAscii As Integer) If KeyAscii >= 33 And KeyAscii <= 44 Or …

Member Avatar for jemz
0
83
Member Avatar for romaguera

helo i have assignment on vb6 can anyone help me how to make a codes of search button, random and sequential tnx...

Member Avatar for AndreRet
0
34
Member Avatar for Pradnya.117

I am using MS Access 2003 to connect with VB. I have added all the referencess. Still there is an error in the line [code]If conn = "" Then conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Automobiles.mdb;" conn.Open [/code] Will you please help me to solve this problem?

Member Avatar for AndreRet
0
84
Member Avatar for kanayda

i have to write a program for a palindrome on vb that uses a loop and a decision and i don't think i need any arrays or any other real big complications. this particular program when i tried it cause i cant actually use this one due to plagiarism didn't …

Member Avatar for vb5prgrmr
0
114
Member Avatar for Alazzawi

Hi guys, i really need help in VB 6, the problem is that i have an old project that i make as a setup file, and now i need to re construct my project from that setup file, so i can make some modification because unfortunately i don't have the …

Member Avatar for asaukani
0
117
Member Avatar for shazzy99

Hi, I've been trying to capture video from webcam using openCV functions and openGL for rendering. The code is working fine and I can acquire and display both the cameras. Now I'm trying to record the captured video's and saving them to a file using openCV createvideowriter object. I can …

Member Avatar for shazzy99
0
317
Member Avatar for rambok4

What is the problem with the following login code? [code] Dim conn As SqlCommand = New SqlCommand("Data Source=RAHUL-034890AF0\SERVER2005;Initial Catalog=user_accounts;Integrated Security=True") conn.Prepare() Dim command As Data.SqlClient.SqlCommand = New Data.SqlClient.SqlCommand("select", conn.Connection) command.Parameters(1).Value = txtusername.Text command.Parameters(2).Value = txtpass.Text Dim i As Integer = command.ExecuteNonQuery conn.BeginExecuteNonQuery() If Page.IsValid Then Response.Redirect("~/salesbill.aspx") Else Lblerror.Text = "Username …

Member Avatar for kvprajapati
0
239
Member Avatar for Vaibhav Kumar

All I want to know is that how is that L1.exe protected with that coding? What is that technology called? What is the software used for making this? How is the code generated? Note that MID & Site code will wary from system to system. This file cannot be run …

Member Avatar for kvprajapati
0
269
Member Avatar for complete

I have a brand new computer which was freshly loaded with Visual Basic 6.0. I have copied all the code from the previous computer to this new one. But loading a project produced the following error. Class MSGrid.Grid of control grdS101 was not a loaded control class. So I did …

Member Avatar for kvprajapati
0
1K
Member Avatar for rejina

I have to develop a code with visual basic to open a file then read each line of the text file one string at a time then output these strings to individual cells in excel. Can anyone help?

Member Avatar for vb5prgrmr
0
523
Member Avatar for romeroe

Hi, i want to know how to select and print from my data report an especific record. i want to select it usin the id number

Member Avatar for Steve Lalanne
0
46
Member Avatar for bryansworld

Hello everyone! I am wondering how I would transfer items from one listbox to another. Both these listboxes are multicolumn and I need to transfer information from both those columns to the other two columns. Here is my code so far: [code] Private Sub cmdAdd_Click() '****************************************************** Dim intPosition% Dim strTransfer$, …

Member Avatar for AndreRet
0
131
Member Avatar for Bob_Magalhaes
Member Avatar for AndreRet
0
63
Member Avatar for kayjenx

So I have a database (for tracking customer applications through to approval etc.) in MS Access form & and all (but access just isnt the best way to do this for many reasons I wont get into). I have looked at lots of programming language and decide that VB was …

Member Avatar for kvprajapati
0
180
Member Avatar for Agent-of-Chaos

hi, i am trying to design chip 8 emulator on visual basic, i have found source code of it but the problem is i am not getting the idea how the code works, i understand some part of it.. please help me.. here is the full source code.. [CODE]Dim ram(8192) …

Member Avatar for Agent-of-Chaos
0
361
Member Avatar for leviathan185

Hi All, I have been doing a little VBA in excel and I am tring to work out how to add 2 hour {or any amount of time} to the current time. Google has failed me in finding the answer, most of the things i have found is formulas but …

Member Avatar for vb5prgrmr
0
319

The End.