16,916 Topics

Member Avatar for
Member Avatar for deftones

Hey people, I have quite a big code and want it to be repeated until the conditions are met. The problem is that every time I try to use Do...Loop statement, my program becomes "hung". Or even when I try to replace that statement with other methods, the program still …

Member Avatar for deftones
0
96
Member Avatar for abu taher

I use data control to link access file by data properties not code. use simple code like move next etc. I use find next to find data. but when i want to find i write the criteria like Name = taher. But i want I write only taher in find …

Member Avatar for electrosoul456
0
233
Member Avatar for davidao

Hi, I am trying to find a solution for a problem.. I've got a string but I need to format it in a specific type.... #-0.6|141.443719976486|59.8780753410541|-0.6|140.736613195299|59.1709685598 #534359|59.1356132208082|-0.6|140.821466009042|59.1851106954913| #17|-2.03|141.39422501803|59.828577866371|-2.03|140.78611066998259.2204660345 #9042|59.1851106954913|-2.03|140.821466009042|59.1851106954913|#40.82146600902.03140.786110669982|59.2204660345506|-2.03|140.786110669982| #9042|59.1851106954913|-0.67|141.429577840862|59.7932225273117|-0.67|#140.821466009042|59.185110695491| I am trying to end each line with "|" and move the rest of the characters to the next line.... …

Member Avatar for selvaganapathy
0
80
Member Avatar for andy_aphale

hello all, my self anil i am doing some timepass work in VB for practice. i am creating a webbrowser and i need some help i am creating it by using some components like microsoft internet controls. now i have created stop,refresh,back,forward,home buttons succsessfuly but i want some help from …

Member Avatar for selvaganapathy
0
188
Member Avatar for matt_wroe

Hello, I have written a program in visual basic 6 for controlling pumps on an addressed rs232 or rs485 network. Currently the names and addresses of these pumps are stored in an excel file which can then be edited by the software at runtime to add/remove pumps from the network. …

0
40
Member Avatar for masterjiraya

My target is to make a code of Cartesian coordinating points of a rectangle... then it must be tested by quadrilateral and square. If the tested point is a rectangle then the out put program will be like this..... Program Output: ************************************************************ ....+y .....+ ..............+ ..point a............................................................................. point b ..............+ …

Member Avatar for Alex Edwards
0
92
Member Avatar for kux

I try to create a generic binary tree class but when i try to define an inserting function I get these compilation errors error C2072: 'Btree<T>::recins' : initialization of a function error C2143: syntax error : missing ';' before '*' c:\documents and settings\kux\my documents\visual studio 2005\projects\btrees\btrees\btree.h 54 Error 6 error …

Member Avatar for ArkM
0
749
Member Avatar for hell_tej

Hi Frends, I m creating an access to VB6 connectivity Project. I ahve problem that VB6 Gives not me permition to leave any field NULL so when i save my record it genrate ERROR 94 That is invalid use of null value In my project it is not necessary to …

Member Avatar for manoshailu
0
133
Member Avatar for Teropod

Is there any way how i could compare arrays like pattern matching or should i write my own code? Thanks.

Member Avatar for manoshailu
0
379
Member Avatar for AUGXIS

hi guys, i was trying to sum up all the balances of clients to know which of them has reach their credit limit but my codes are not working. It shows an error and highlights on this code [code] rsArmaster.Open "select sum(balance) as credit from ArMaster where shippercode= '" & …

Member Avatar for AUGXIS
0
92
Member Avatar for kmacker

Ok. Need some help with a project at my work. Wanting to create a useful map of the windfarm where I work. (Once completed, will be the largest windfarm in Europe :-)) Anyway have created a map of the site showing the locations of each turbine. Using this map as …

Member Avatar for kmacker
0
173
Member Avatar for Bill Purkins

Hi, using VB 2008 Express, I have a button on a form which is to use a datareader to loop through all the records in a file. When I try to run it I get a message indicating it could not connect. I assume something is wrong with my connection …

Member Avatar for Bill Purkins
0
371
Member Avatar for originaldaemon

I have created a new windows form application and made a form using the editor in visual studio. This is the code that was generated in form1.h: [CODE]#pragma once namespace DatabaseForm { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; …

0
50
Member Avatar for mode17

hi i'm creating a program with the same effect as the green screen used in the movies and i'm having problem in getting the right value of green colors, but when i uses black or white as a color to be mask it works but not with the green, can …

Member Avatar for selvaganapathy
0
89
Member Avatar for arun_kumar112

Hi All, I am new programmer, I have to create list of item which are selected from list box . It should be displayed like " a,b,c,d,e,f " How can I do ? it can be in a string or numeric . only selected Item is required to display displayed" …

Member Avatar for selvaganapathy
0
102
Member Avatar for Djali

Hi Guys, I want to ask about dat file. How can I create a code for read and write dat file with VB ?, eg : string string 0.5000, 40 0.7699, 60 0.8431, 70 1.6754, 50 string string For above example,The code read string value in line 1 and 2 …

Member Avatar for selvaganapathy
0
104
Member Avatar for orion_nsk

Hello Everyone, I'm Uploading this Project for the ones who need Help regarding VB's MSCHART CONTROL!!! This Sample Shows : [B]1) How to Show Data from an Access2003 Database on Chart. 2) How to Print Data from MSChart Control. 3) How to "Save As..." the Chart, as .Bmp file.[/B] Hope …

Member Avatar for Djali
0
334
Member Avatar for prasethavm

What is the difference between crystal report and data report in vb. how to create crystal report and data report in vb.

Member Avatar for debasisdas
0
45
Member Avatar for hell_tej

Hi, I m inserting Record in Access using VB6 SQL statement as follows [code]Dim str As String On Error GoTo solve str = "INSERT INTO [compinfo]([cID],[cname],[address],[add2],[city],[Postno],[mob],[phno],[faxno],[email],[workday],[offtime],[saldate],[duedate],[amount],[paytyp],[web],[type],[expdat],[charge]) values (" & "'" & txtcomid.Text & "'" & _ "," & "'" & txtcomnam.Text & "'" & "," & "'" & txtcomadd.Text & …

Member Avatar for debasisdas
0
249
Member Avatar for matmox

Hi........ i'm currently working for an application that requires reports. So i used crystal reports. I did the standard way of connecting database and adding table to the report. However after doing all the necessary part, when i click the "preview report" button it doesn't show required output. Instead it …

Member Avatar for matmox
0
96
Member Avatar for apuamy

i have developed an application which uses TRIM command and MSCOMM command. When i am running the exe file in any other computer, error shows in TRIM command.Error shows some component missing. Then i loaded VB 6.0 in the new computer still error continues. Then i tried my software in …

Member Avatar for apuamy
0
83
Member Avatar for 11silversurfer1

Hi, I was wondering with the menu bar how to open, save and make a new file on the menu bar [code] case MENU_FILE_ID_OPEN: { //something to open the file } break; [/code] i have no idea at all how to do this, i have searched the net but it …

Member Avatar for 11silversurfer1
0
157
Member Avatar for mstrauss

I have created some subroutines and User Defined functions in Excel's VBA. Internal to them, I have created arrays. I would like to use Excel functions on these arrays, but can not seem to. For example I would like to use the determinant function, which is mdeterm in excel. If …

Member Avatar for vbCNEW
0
156
Member Avatar for bytigma

Hi guys, Hope you will be able to help me with this problem. The problem that I have is that I have two .xsl files that are uploaded to the same specified folder at 4pm everyday. The file names are the same apart from the end digits specifying the date …

Member Avatar for vbCNEW
0
99
Member Avatar for jtomacelli

I need to copy the data from the top row of a worksheet to all those empty rows underneath it UNTILL you get to a row that has data…then start over and copy that new data into the empty rows….and so on… I have the code that we've written so …

Member Avatar for vbCNEW
0
106
Member Avatar for fireportal

hi, I juz started learning vb and using visual studio 2005. I need to get the info from datalist to show in another page. eg. first page displays the summary list of products available using datalist and i wan to make it so that when a particular product is clicked …

0
53
Member Avatar for Ajith S Kulgod

Hello, a)How to add components to the visual studio 2005 toolbox. b)How to convert a windows form project to a web-application project.

Member Avatar for greeny_1984
0
72
Member Avatar for ymidexterous

Hi Everyone! Need help in my new Project with Visual Basic 6.. I need to send a 5 volts signal from my pc using a VB6 program to the serial port where I could place a relay... Thanks :) Dexter A.

Member Avatar for ymidexterous
0
673
Member Avatar for deftones

Ok, I have this code as an ex.: [code] Private Sub Command1_Click() Dim L As Long, L1 L = Label1.UBound L1 = L + 1 Load Label1(L1) Label1(L1).Move Label1(L).Left + Label1(L).Width Label1(L1).Visible = True End Sub [/code] If I press the button two times, it will make two copies of …

Member Avatar for deftones
0
84
Member Avatar for drichird

Here is some old VBA code inside a Word 2003 document to open and then save a word document: [code] Documents.Open FileName:=docFileName, ConfirmConversions:=True, _ ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _ PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _ WritePasswordTemplate:="", Format:=wdOpenFormatAuto 'do stuff to the opened file here... ActiveDocument.SaveAs _ FileName:=docFileName, _ FileFormat:=wdFormatDocument, _ LockComments:=False, _ Password:="", …

0
103
Member Avatar for deftones

Hi everyone, I have a tiny problem here but just cant handle it, since I'm new to VB6.. I want to put a code into a module which contains a lot of lines with same objects. I have an idea of relating those objects with variables, so instead of, for …

Member Avatar for selvaganapathy
0
105
Member Avatar for ocw

hihi.. how can i upload a folder to the FTP Server instead of uploading file by file. ??? ocw

Member Avatar for inf4mi5
0
126
Member Avatar for Ajith S Kulgod

In Visual Studio 2005 iam getting an error:- GetTypeHashCode() : no suitable methods to override. The class names that i have mentioned are same(ie in .aspx and .aspx.cs)

0
55
Member Avatar for veledrom
Member Avatar for veledrom
0
474
Member Avatar for lIGhT4umEnAll

Hi friends I need some help from VB and Oracle guru's. I am trying to create a dynamic table from VB 6.0 in Oracle (mean I want to create a table whose name is dynamic issue) For this purpose I code as follow and get error table name is not …

Member Avatar for manoshailu
0
151
Member Avatar for Jemjoo

Hello, I have an problem with updating a database after I have deleted or edited a database row in VB.NET. When I insert a new row it works well. When I delete I get the following error message: [I][COLOR="Red"]Update requires a valid DeleteCommand when passed DataRow collection with deleted rows[/COLOR][/I] …

Member Avatar for RipperJT
1
264
Member Avatar for brain

Hello, Would you please give a hint to define a template class specialization in a template class which is in a namespace I have tried following code with gcc 4.1 and get an error message but Visual studio has no problem with it. [code] namespace A { template <typename T> …

Member Avatar for vijayan121
0
136
Member Avatar for sddproject

Hi everyone! I want to have a coin toss on my program: i have two images (a heads and tails) and i want the user to click on a button which will generate one of these pictures randomly. There's all this code on how to create a random number generators, …

Member Avatar for Teropod
0
291
Member Avatar for veledrom

Hi, When i click on a datagrid, the selected row's id is added into a text or combo or listbox. User will see and navigate through the added items but, can't change. What is the best way to do this? I need to disable changeable property of text or combo …

Member Avatar for veledrom
0
108
Member Avatar for veledrom

Hi, I populate data from database to datagrid but, cursor focuses on last row. How can i make it focused on to first row? Thanks

Member Avatar for Jx_Man
0
85
Member Avatar for veledrom

Hi, I fill the Dbgrid with information that come from database via adodc connection. Is there any chance to add checkbox across the each records listed in Dbgrid? I will check one or several particular records and update them with a record stored in a textbox. For example; [code] ....UPDATE …

Member Avatar for veledrom
0
106
Member Avatar for turbojol

Hello to all, Please can someone help me on how to create a databse at run-time. I have created a database with Access that I am using with the VB application and it is working well. But now, I want the user to be able to create another database that …

Member Avatar for Teropod
0
748
Member Avatar for myVbasic

I have used MS Access to generate a report and can print a particular report history by using macro. Is there a way I can print a specific report of the MS Access report from VB 6?:(

Member Avatar for myVbasic
0
75
Member Avatar for ___SnipeR___

[B]hi all, i try to move it to the up and resize it but i can't, can an one help me, by give my the code for this frm [/B]

Member Avatar for ___SnipeR___
0
93
Member Avatar for tinkel

im trying to create a system where i have 1 server.. and many computers.. with the server, i install a software, how can i install the software to other computers by installing it only in the server.. by using vb6.. is that possible??? hmmm...

Member Avatar for debasisdas
0
62
Member Avatar for iamnoangel26

What version of MS access is compatible to VB 6.0??? And any other application beside of access you can suggest. Thanks a lot...

Member Avatar for Jx_Man
0
80
Member Avatar for splitfinity

Hi guys Im trying to get a pdf file (I'm using as a help file in an app) to open up when the help button is clicked. This is the code i am currently using: [code] [I]Private Sub DisplayInstructionManual() Dim AcrobatReader as String Dim pdfFile as String AcrobatReader = "C:\Program …

0
50
Member Avatar for Tony Barber

Hi Everybody I am stuck can somebody help me please. I am testing a very small portable barcode scanner. After scanning I need to upload the scanned data. I am in VB6 I am using the mscomm1 control I tell the scanner to send the data. I have a [B]OnCom[/B] …

Member Avatar for Teropod
0
304
Member Avatar for balla4eva33

I've been interested in working with mouse input in Visual Studio using C++. I'm curious what steps need to be taken to do this. I'm assuming some sort of Windows header file needs to be included, but I have never seen any code for such things. Basically I want to …

Member Avatar for Prabakar
0
249
Member Avatar for pardeep3dec

Hello friends, I need procedure for continous accessing oracle database using visual basic. Follwing i am giving coding use by me but some time it give disconnection error Please help for continous connectivity. [code] dim db as new ADODB.connection dim rs as new ADODB.recordset db.open "Provider=MSDAORA.1;User id=ourpro;Password=ourpro1;Persist Security info=False" [/code] …

Member Avatar for QVeen72
0
136

The End.